Rockbox Technical Forums

Support and General Use => Hardware => Topic started by: Milardo on September 23, 2018, 01:08:14 PM

Title: Xduoo X3 II
Post by: Milardo on September 23, 2018, 01:08:14 PM
Hi, is there rockbox firmware for this player?

https://www.xtenik.com/latest-firmware-download/

Has anybody tried it? Anything not working?

They several Xduoo mp3 players at my local retail store Frys Electronics including X3 II.

https://www.frys.com/search?search_type=regular&sqxts=1&cat=&query_string=xduoo&nearbyStoreName=false

Title: Re: Xduoo X3 II
Post by: wodz on October 09, 2018, 05:40:58 AM
I contacted xVortex and he replied that he is coauthor of XDuoo X3 II and XDuoo X20 ports. He promised to return patches once they finish active development stage so thumb crossed.
Title: Re: Xduoo X3 II
Post by: wodz on October 17, 2018, 04:50:49 AM
Just to get you updated. I've got patch for x3II and X20 with permission to merge it upstream. My time is limited but I'll do my best.
Title: Re: Xduoo X3 II
Post by: wodz on November 05, 2018, 07:07:09 AM
https://github.com/wodz/rockbox-wodz/tree/xDuooX3II

I plan to merge this upstream when I find some free time.
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on February 25, 2019, 09:04:19 PM
I'm giving this a shot in just 40 minutes once my music backs up completely to my HDD.

https://www.xtenik.com/latest-firmware-download/

First the software update here: https://drive.google.com/open?id=173jFl2jDa1ASkus30iN3AX5pw-ayu9fj
Then the rockbox install file here: https://drive.google.com/open?id=1Nkt1t1SSDseVo0qirqknQpZC6myhDePk

Supposedly (based on comments on the same site here:https://www.xtenik.com/xduoo-x3-ii-rockbox/)

It is provided by the company itself?

nRoof September 22, 2018   @ 10:52 am

Can you please provide source code of this firmware (or a link to it, if it’s hosted somewhere else)? I wasn’t able to find it. Rockbox is GNU GPLv2 licensed, and the license requires that the source code should be publicly available.

REPLY
   xtenik September 23, 2018   @ 4:37 am

I checked with Xduoo company, but they cannot provide it.

REPLY
   nRoof October 1, 2018   @ 11:29 pm

Are you sure they responded that about the Rockbox port and not about their stock firmware?

Can you please provide the details on where did you get this Rockbox firmware? Do you know who ported Rockbox to this DAP and how to contact them?

I want to remind that it’s a copyright infringement to not provide source code of publicly released binaries of modified code that is GPL licensed (Rockbox in this case).

REPLY
   xtenik October 2, 2018   @ 9:41 am

Yes, we are sure this is the rockbox for the Xduoo X3 II.

The rockbox was shared by Xduoo company directly, and according Xduoo company saying, it is developed by a Russian audiophile. But Xduoo didn’t provide the contact detail to us.

We shared the rockbox on download center is just to let the audiophile to download it more conveniently, if the original developer don’t allow this, please contact us via the contact form. We will remove it. Thanks.

Here is the source code, apparently: https://github.com/wodz/rockbox-wodz/tree/xDuooX3II
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on February 26, 2019, 12:46:53 PM
Okay, so it totally worked!

Few things: the russian language appears on the startup/shutdown menu of the stock firmware, as well as the volume changer. This is below the english language. Just worth noting

The .rockbox folder is not to be found? I can't add themes or play with stuff like that.

The dual boot function works flawlessly.

To install, simply download the rockbox here https://www.xtenik.com/latest-firmware-download/

Specifically here: https://drive.google.com/open?id=1Nkt1t1SSDseVo0qirqknQpZC6myhDePk
place the update file on the root of your sdcard and use the firmware update option on the settings of the stock firmware.

You will now have a dual boot of an almost totally functional rockbox and stock firmware 1.0 with weird things like the russian stuff, also there is a weird sticking of a specific image as the default now playing image before you play something, just worth mentioning. Wasn't present in default firmware.

To remove, I imagine you'd flash the stock firmware listed on dudes site, I haven't tried yet.

Also images don't always display in rockbox, leading to a lot of album art issues, possibly because they're too high res but idk
Title: Re: Xduoo X3 II
Post by: JimZipCode on April 11, 2019, 10:05:42 PM
Ho.
Lee.
Shit.

It just works!

Some funkiness with the While Playing Screen, if there's no album art.  For that matter, I don't love it when there is album art either.  But it just works!

Sounds great.  Nice heft to it.  Button layout looks insane in pictures; but when you're using it, it's very intuitive.  If you're not looking at the buttons, it's very easy to use.  USB works without kinks – I guess it's booting into the original firmware?  It displays some Russian when you plug in; then when you exit it says "See You Soon" with some Russian text under it.

Other weirdness: when you drill into the menu, or return up thru the menu, the screen refreshes strangely.  Like the bottom half of the screen first, and then an instant later the top half.  So you need to wait a beat as you traverse the menu. 

Oh: it uses USB-C

I'm in love.



There's no .rockbox directory on the card.  The update.upt file is big, like 44mb.  I assume all of Rockbox is in there?  Not sure how that works.  In particular, I'm not sure how I would update a theme or anything like that.

This is a very worthy device. 
Title: Re: Xduoo X3 II
Post by: wodz on April 12, 2019, 09:39:51 AM
Here is the source code, apparently: https://github.com/wodz/rockbox-wodz/tree/xDuooX3II

The sources I got from original author with permission to publish it and eventually merge upstream. Unfortunately I don't have time to work on this.
Title: Re: Xduoo X3 II
Post by: Dandaleon Flux on April 12, 2019, 12:25:24 PM
Here is the source code, apparently: https://github.com/wodz/rockbox-wodz/tree/xDuooX3II

The sources I got from original author with permission to publish it and eventually merge upstream. Unfortunately I don't have time to work on this.
What work is required? Will it work if I just take mentioned sources and follow building instructions? Or it needs some files from the master branch?
Title: Re: Xduoo X3 II
Post by: Chronon on May 19, 2019, 04:01:22 PM
I should think that contains the full source.  Merging would be incorporating the changes in that branch back into the master branch, iiuc.
Title: Re: Xduoo X3 II
Post by: rikm on August 25, 2019, 06:24:43 PM
thanks for the port, and the firmware installs and works well enough, but there is no sound on the 'line out' socket

the orig firmware has a setting "LOvolume" but there is no equivalent in the Rockbox port, and I am not sure if it is a volume issue or if the line out socket is just not getting signal

...fwiw the line out socket works fine in the X3, does anyone have it working on the X3ii ?


thanks,


rikm
Title: Re: Xduoo X3 II
Post by: fossphile on September 05, 2019, 01:29:01 AM
Can or does rockbox for x3II, support:
I believe rockbox does not support bluetooth?
Apparently sd cards bigger than 256gb work? like 512GB but does the hw suport upto 2tb? Like the Fiio M3K?
Thanks muchly
Title: Re: Xduoo X3 II
Post by: XVortex on September 05, 2019, 10:36:17 AM
1. NO
2. Yes. Autodetected upon start.
3. NO. No DSD support.
4. NO. SD Card only.
Title: Re: Xduoo X3 II
Post by: johnb on September 06, 2019, 12:26:48 PM
Hi XVortex,

can you please change this port to host the .rockbox directory on the sdcard instead of internal flash?

I saw that you passed the git repo to wodz. I would like to update keymap etc. and compile myself, but as long as a new build requires flashing instead of replacing files on the SD, I don't feel confident doing this.

Thanks for considering this.
Title: Re: Xduoo X3 II
Post by: XVortex on September 07, 2019, 03:33:08 AM
Recent rockbox version (1c8c71f-190907, on my site) has improved update procedure:
Put your new content into the .rockbox folder on your sd card then boot into the Bootloader, choose Tools -> Update Rockbox....  that's it
Also in this version:
Rockbox sample rate limitation (44.1KHz) has been removed!
  Now we can play files with native sample rate up to 192KHz.
  (Go to Settings -> Playback settings -> Frequency and choose Automatic).

http://xvtx.ru/rockbox/download.htm (http://xvtx.ru/rockbox/download.htm)
Title: Re: Xduoo X3 II
Post by: johnb on September 07, 2019, 02:28:18 PM
 So essentially "Tools -> Update Rockbox" copies the content of .rockbox to the internal file system?
Title: Re: Xduoo X3 II
Post by: XVortex on September 08, 2019, 11:30:43 AM
Yes. Exactly.
Title: Re: Xduoo X3 II
Post by: erha on September 28, 2019, 08:03:17 AM
Hi XVortex,
is it possible to remove sample rate limitation on first version of rockboxed Xduoo X3?

Regards
Radoslav
Title: Re: Xduoo X3 II
Post by: RAPP on October 05, 2019, 09:18:58 PM
Hi--this is excellent news, since my old clip zip died and I've been bereft of rockbox. Could I just confirm a couple of things before purchasing.

1. does the recording function work as usual on the X3 ii? I use it heavily to take notes while listening to music or audiobooks.

2. does the installation involve only copying the single file on XVortex's site into the .rockbox folder on the SD card? Then: tools --> update. I.e. there's no earlier installation step?

Many thanks for the hard work--
Title: Re: Xduoo X3 II
Post by: q3cpma on October 12, 2019, 08:43:35 AM
Thanks a lot for this port, I finally have a replacement for my Fuze+ with its horrible touch interface. The only problems I've found for now is that the screen update can get artifacts (I had a lot in the "set time" menu) and that the file list scrolling is VERY slow and can interrupt playing when done for too long; as if there's no dirent caching being done. Any idea?

EDIT: I can't see the "Disk" option under Settings > System. Is this normal?
Title: Re: Xduoo X3 II
Post by: JimZipCode on November 02, 2019, 10:56:08 AM
Recent rockbox version (1c8c71f-190907, on my site) has improved update procedure:
...
http://xvtx.ru/rockbox/download.htm (http://xvtx.ru/rockbox/download.htm)

Are there themes that work for the X3II ?
Title: Re: Xduoo X3 II
Post by: ubervison on November 18, 2019, 02:00:42 PM
XVortex: I see that there was an updated rockbox firmware in october, thanks a lot for that ! However, the repo at https://github.com/xvortex/rockbox has had no activity since 2017, and the one at https://github.com/wodz/rockbox-wodz/tree/xDuooX3II is also one year old at this time. Where could I find the sources for the very last update ? the X3ii_v1.2_5bbc553-190915.zip file to be precise.
Title: Re: Xduoo X3 II
Post by: Njones on February 28, 2020, 06:34:42 PM
Does this work with Xduoo x3II 1.3 firmware?
Title: Re: Xduoo X3 II
Post by: speachy on April 03, 2020, 08:58:39 AM
I've dusted off the X3II source code dump sitting in wodz's github repo, and have managed to get it banged into sufficient shape to cleanly build (hopefully working) mainline rockbox for the x3ii and x20.

If there's anyone out there that wants to be a guinea pig, please PM me and I'll point you at my WIP builds.   The sooner we get confirmation these builds are fundamentally functional, the sooner it can land in the mainline.
Title: Re: Xduoo X3 II
Post by: speachy on April 07, 2020, 11:33:49 AM
As a general FYI, the X3ii and X20 targets are fully integrated into the mainline and as of this morning, part of the daily build set.

As an added bonus we can also automagically patch the stock factory images (but only on Linux).

I still need to write up a proper wiki page for these targets with instructions and some pre-patched firmware images.
Title: Re: Xduoo X3 II
Post by: cereal_killer on April 10, 2020, 03:51:40 PM
That is great news, speachy. Thank you for your work.

Does the 256GB limit for microSD cards still apply, when usimg Rockbox, like is this a hardware limitation?
Title: Re: Xduoo X3 II
Post by: speachy on April 10, 2020, 03:58:40 PM
Does the 256GB limit for microSD cards still apply, when usimg Rockbox, like is this a hardware limitation?

AFAIK there is no hardware limitation, though you may need format the SD cards as FAT32 instead of exFAT.

Title: Re: Xduoo X3 II
Post by: Njones on April 10, 2020, 06:44:10 PM
Does this work with the Latest firmware 1.3?
Title: Re: Xduoo X3 II
Post by: speachy on April 10, 2020, 06:51:37 PM
Does this work with the Latest firmware 1.3?

The bootloader code can be patched into any firmware version, but yes, v1.3 has been specifically tested.

I'm still working to enable rbutil to do this patching, but there's no real timeline for that so PM me and I'll toss you a patched firmware image that contains the rockbox bootloader.
Title: Re: Xduoo X3 II
Post by: Njones on April 11, 2020, 09:29:02 AM
PM sent Thanks
Title: Re: Xduoo X3 II
Post by: Dandaleon Flux on April 11, 2020, 10:52:16 AM
Hey-o! Will gladly join testing. Any news on Bluetooth support? I've seen some talking about it in AGPTEK Rocker thread and to my understanding it's in early concept stage but I wonder how hard it would be to adapt possible BT implementation for this device.
Title: Re: Xduoo X3 II
Post by: speachy on April 11, 2020, 11:25:38 AM
The Rocker and X3ii share the same underlying hardware (and hosted Linux) platform, so when BT (eventually) works on one it'll work on the other.

Most of my attention these days is taken up by bigger-picture stuff (eg hosting transition and dealing with the regressions from trying to uprev the toolchains) but when that's done, if wodz hasn't come up with something for BT by then, I may take a crack at it.

Title: Re: Xduoo X3 II
Post by: johnb on April 12, 2020, 09:01:19 AM
I am not really using BT myself on this player, but somebody is doing lots of tweaks/improvements to the OF mainly regarding BT on github:
https://github.com/SinuXVR/xDuoo-X3II-custom-firmware/releases

Maybe this is helpful ...
Title: Re: Xduoo X3 II
Post by: Njones on April 14, 2020, 10:31:16 PM
Downloaded the bootloader, extracted from the adobe acrobat file, renamed it update.upt, Put sd card into player. chose update player says update not found. What am I doing wrong?
Title: Re: Xduoo X3 II
Post by: speachy on April 14, 2020, 10:57:49 PM
The file is _not_ an acrobat file, and intstead of "extracting it" you should be using it exactly as is downloaded.

If it's giving you trouble I'd suggest downloading it with a different browser, and/or uninstalling the plugins/extensions that are mucking with your downloads..
Title: Re: Xduoo X3 II
Post by: Njones on April 15, 2020, 12:46:55 AM
Firefox or Chrome it downloads as a pdf file. player says no update found.
Title: Re: Xduoo X3 II
Post by: speachy on April 15, 2020, 08:43:00 AM
Firefox or Chrome it downloads as a pdf file. player says no update found.

First, I cut-n-pasted the same instructions to everyone; so far six folks have reported success.  The files themselves (and the links) are fine.

Meanwhile, the ".upt" file is actually an ISO9660 filesystem image, suitable for putting onto a blank CD or DVD.  Within it are some binary firmware components and text files that describe the update to the player.  The upt file is not a pdf, and contains no pdfs, and google doesn't seem to come up with anything associating the "upt" extension with anything related to Acrobat. 

So if your system is thinking it is a PDF, it is a problem specific to your system (eg the browsers, some browser plugin/extension, and/or a proxy/firewall is silently mis-identifying and corrupting files) and there is nothing I can do about it on my end.
Title: Re: Xduoo X3 II
Post by: Dandaleon Flux on April 15, 2020, 11:56:08 AM
Can also confirm successful install. So far everything looks great and some bugs from previous version are gone. Like scrolling large directories/playlists doesn't work properly or files with Cyrillic symbols in filenames don't play at all.

Although I stumbled into a different problem with files containing Cyrillic symbols. After some messing around with files I was able to came up with following test case. I made two copies of a file and name them with names containing equal number of characters but first one only Latin symbols and second only Cyrillic (with a little mix of numbers and special characters). It looks like this on the root of SD-card:
Code: [Select]
/test_dir/test_directory_.dr/фовтпдфл дедфвлоел/0-lsdkjf[oja89sd9f9j09sadfj kf[ojkja[sdi fioajsdf90u23 09i8o;U(uA)J diojf aisdf09jasidhf823iojads0fj904ja90dfja[df.mp3
/test_dir/test_directory_.dr/фовтпдфл дедфвлоел/ФдолфывлфлдывоаждфлоывлаофывпфДОфдывдаодлитячснрлфоывалофжылвофлоывжлдфоыаждвлофывопщошфывадрмрфо2903гкофлдовлдфыв.mp3
The first one plays OK while second one doesn't play with error "Error accessing playlist file". My PC reports filesystem as VFAT and can access both files as usual without errors.
Title: Re: Xduoo X3 II
Post by: speachy on April 15, 2020, 12:51:03 PM
Are those Cyrillic filenames in UTF-8?  If they are, then each visible character most likely takes up two or more bytes, thereby exceeding the maximum file+path length despite the same number of "characters"


Title: Re: Xduoo X3 II
Post by: Dandaleon Flux on April 15, 2020, 01:45:00 PM
Are those Cyrillic filenames in UTF-8?  If they are, then each visible character most likely takes up two or more bytes, thereby exceeding the maximum file+path length despite the same number of "characters"
I suppose that filenames in UTF-8. Don't know how to check for sure, but on my PC filesystem was mounted with utf8 option and as far as I know other filesystems on Linux (from which I copied those files) use UTF-8 by default so that's most likely the case. Multi-byte nature of upper UTF characters also came to my mind as probable cause but I have no idea how to investigate this problem further. Any instructions?
Title: Re: Xduoo X3 II
Post by: Njones on April 17, 2020, 10:45:43 PM
inside the pdf file for the bootloader were these files.
_GITIGNO
SYSTEM.UBI
UBOOT.BIN
UIMAGE.BIN
UPDATE
VERSION
I put those into a new folder .Named that folder update.upt
Put that folder onto sd card.
Set system to update. Get message no update found.
Title: Re: Xduoo X3 II
Post by: Njones on April 18, 2020, 06:13:39 PM
Finally downloaded the bootloader on old laptop. It didn't show up as a pdf. Renamed and loaded onto player. updated  than I loaded rockbox from dev builds. Album art won't show and can't find a frequency setting.
Title: Re: Xduoo X3 II
Post by: Njones on April 18, 2020, 06:30:34 PM
Also, can't set date & time. Do you delete rockbox and or update.upt from sd card when completed? Also, I can't change Font size.
Title: Re: Xduoo X3 II
Post by: avs2000 on April 18, 2020, 07:30:40 PM
Updated and seems to be working ok. 

Will there be an option to skip over the xDuoo screen and hiby/tools/rockbox menu and boot directly into rockbox sometime in the future?

@Njones download the Font Pack and put the Fonts folder in the .rockbox folder.  http://download.rockbox.org/release/3.15/rockbox-fonts-3.15.zip

Title: Re: Xduoo X3 II
Post by: Njones on April 20, 2020, 08:39:24 AM
Remove adobe acrobat Reader from computer and then bootloader downloads just fine.
Title: Re: Xduoo X3 II
Post by: speachy on April 20, 2020, 09:06:07 AM
Remove adobe acrobat Reader from computer and then bootloader downloads just fine.

Acrobat should never have tried to take over that file type  (ie ISO9660 filesystem image)

Glad you have it working now though.
Title: Re: Xduoo X3 II
Post by: Njones on April 20, 2020, 09:31:16 AM
Down loaded font pack. Still can't set time, themes only show up as text without album art, no option to change font size and no frequency  setting option.
Title: Re: Xduoo X3 II
Post by: Njones on April 23, 2020, 01:50:01 PM
Can the bootloader be uninstalled and if so, how?
Title: Re: Xduoo X3 II
Post by: speachy on April 23, 2020, 01:55:57 PM
Can the bootloader be uninstalled and if so, how?

Download and flash the manufacturer's firmware.

Title: Re: Xduoo X3 II
Post by: Njones on April 23, 2020, 02:01:29 PM
ok thanks
Title: Re: Xduoo X3 II
Post by: Njones on April 24, 2020, 10:35:06 AM
I think I will wait until rock box utility is available and album art is displayed and time date can be adjusted and a frequency setting is available. Also Bluetooth. Keep up the good work!
Title: Re: Xduoo X3 II
Post by: Bilgus on April 24, 2020, 11:53:04 AM
you know without people testing builds that'll be a longer time
Title: Re: Xduoo X3 II
Post by: Dandaleon Flux on April 24, 2020, 02:05:24 PM
I think I will wait until rock box utility is available and album art is displayed and time date can be adjusted and a frequency setting is available. Also Bluetooth. Keep up the good work!

What's your issue with time exactly? It seems working fine for me. Time adjusted by VOL+ and VOL- buttons in case that was your issue. Kinda not very obvious and probably need to add some hints though.
As avs2000 already mentioned to be able to change font you need to download and unpack to your player fonts collection from here (http://download.rockbox.org/release/3.15/rockbox-fonts-3.15.zip).
Album art also works if you install theme that supports it. The one that currently bundled in upt-files from speachy is just a basic stub. Try Acuity (http://themes.rockbox.org/index.php?themeid=179) theme for example. Or go to themes catalogue (http://themes.rockbox.org/index.php?allthemes), sort by "LCD size", look for 240x320 size then pick download and install theme you like.

Frequency setting and Bluetooth need work, yes. But I say that this port in a pretty useful state despite not being as feature-rich as original firmware and some things are rather far from out of box.


Will there be an option to skip over the xDuoo screen and hiby/tools/rockbox menu and boot directly into rockbox sometime in the future?

To my understanding devs prefer to always keep original firmware intact in case it may contain some unexpected or hidden workarounds for bugs in hardware. It probably will possible but in some unofficial "at your own risk" way. That's regarding hiby/tools/rockbox screen. About first xDuoo screen I think that it is part of core loading so I doubt that it is even skippable. Although it would be really cool to at least be able to change loading image.
That's just my thoughts while waiting for answer from someone with more insight of this port.
Title: Re: Xduoo X3 II
Post by: speachy on April 24, 2020, 02:25:12 PM
What's your issue with time exactly? It seems working fine for me. Time adjusted by VOL+ and VOL- buttons in case that was your issue. Kinda not very obvious and probably need to add some hints though.

No effort has been made to tune the keymap.  Or to document what's implemented, for that matter.  Patches welcome!

About first xDuoo screen I think that it is part of core loading so I doubt that it is even skippable. Although it would be really cool to at least be able to change loading image.

There are two distinct logo screens, the first is baked into the early device bootloader code that we have no control over, but the second is a series of PNGs in the OF root filesystem, and can be replaced.  Rockbox only tweaks the filesystem enough to add in the custom rockbox chooser as part of a "minimal change" philosophy, but there's no reason why someone can't put whatever startup images they want on there.

That's just my thoughts while waiting for answer from someone with more insight of this port.

I should mention that I (or any other semi-active rockbox developer) don't actually own one of these X3ii (or X20) DAPs, so any improvements specific to those two players isn't terribly likely.  Again, patches welcome.
Title: Re: Xduoo X3 II
Post by: Dandaleon Flux on April 24, 2020, 03:04:25 PM
No effort has been made to tune the keymap.  Or to document what's implemented, for that matter.

Is there some kind of feature matrix to test against? So far I haven't found any bugs (despite mentioned early UTF-8 file name problem) but I'm sure I use only small part of Rockbox features. It'll be much easier to test with a list of features to test. And regarding keymap would also help to have example of already tuned port with similar key placement as I'm really not sure how to improve current keymap. Ring of cursor keys like on AGPTEK Rocker looks so much more intuitive for Rockbox than this player's keyboard. Probably should look how it works in Hiby player.
Anyway I see what I can do.
Title: Re: Xduoo X3 II
Post by: speachy on April 24, 2020, 03:22:55 PM
Probably should look how it works in Hiby player.

That's an option, but it's mostly just a matter of using the rockbox port and making note of what button choices seem misguided. 

(The X3ii's rockbox keymap was cut-n-pasted from original X3, but the physical repositioning of the buttons means that what worked well for the first X3 might not be ideal)
Title: Re: Xduoo X3 II
Post by: Njones on April 24, 2020, 03:43:26 PM
Did not know about the vol. buttons to adjust time. Who would've thought? Down loaded font pack and using lebellium samsung like theme 240-320. I'm not new to Rockbox. I have these players all Rockboxed: Fuse v1&v2, Clip Zip, Clip+, Agptek Rocker, Fiio M3K. Had a Fuse+ but it did not survive being left outside in the rain even after being put into a bag of rice for several days to dry it out.
Title: Re: Xduoo X3 II
Post by: johnb on May 08, 2020, 06:26:27 AM
I filed a ticket for the (sometimes) missing album art display on the Xduoo X3ii:
https://www.rockbox.org/tracker/task/13196
Title: Re: Xduoo X3 II
Post by: ubervison on May 16, 2020, 09:17:23 AM
Thanks a lot for this port, I finally have a replacement for my Fuze+ with its horrible touch interface. The only problems I've found for now is that the screen update can get artifacts (I had a lot in the "set time" menu) and that the file list scrolling is VERY slow and can interrupt playing when done for too long; as if there's no dirent caching being done. Any idea?

EDIT: I can't see the "Disk" option under Settings > System. Is this normal?

Kind of late, but the fix I found for the slow scrolling is to set "Screen Scrolls Out Of View" to "Yes" in General settings -> Display -> Scrolling.
Title: Re: Xduoo X3 II
Post by: Gunthor on May 29, 2020, 03:22:45 PM
@johnb,
Case sensitivity! Rename Folder.jpg to folder.jpg and they will show up. ;D
Title: Re: Xduoo X3 II
Post by: johnb on May 29, 2020, 03:55:31 PM
Thanks for figuring this out. I confirm this is a valid workaround.

Still I don't understand why this only happens with the this player.
Title: Re: Xduoo X3 II
Post by: speachy on May 29, 2020, 03:59:09 PM
The X3ii (and X20, and AGPTek Rocker) run Rockbox as applications on top of Linux, and Linux typically enforces case sensitivity when accessing filenames.  I don't know if there's any easy way to get around that.

Title: Re: Xduoo X3 II
Post by: Gunthor on May 29, 2020, 06:09:07 PM
What a wonderful port - I truly am excited.  :D
I installed it today, walked through settings and tested the functions that I use regularly: Nearly everything already works as expected. To get me thrilled... here is my prioritzied wish list:

(1) Bootloader needs to bypass countdown (Thank you @speachy for putting this on the to-do list already).
(2) Add Advanced Key Lock (in General Settings >> System), so that e. g. only volume buttons work when all others don't.
(3) One question: If I test all the available plugins (Games, Applications, Demos) and let you know the ones that don't work (crash) for this port, will you remove them from one of the future builds? It always sucks when listening to something great, then trying out one of the plugins only to experience a crash. I remember a crash with the Sansa Clip Zip where it wasn't even possible to reset the device in order to trigger a reboot (I had to wait until the battery was drained!). Is there any fail-safe button combination that will always trigger reboot or will cause a shut-off?
(4) In case you want to make it flawless: The Set Time/Date is not used when saving settings: I saved my settings at 21:35 o'clock, but when I look at the properties of the newly created config05.cfg file it shows a time stamp that is 8h off! Two minutes later I took this picture:
(https://i.postimg.cc/SNYSg5dK/DSC05202-1.jpg)

Title: Re: Xduoo X3 II
Post by: speachy on May 29, 2020, 06:23:17 PM
The displayed time/date are queried from the system RTC.  file dates are from what the OS generates when the file is created.

My guess is that the RTC is in UTC, but the OS thinks it's in UTC-8 (US Pacific time?).

It's screwy but I'm not sure what we can ultimately do about it without possibly breaking the OF in the process.
Title: Re: Xduoo X3 II
Post by: Bilgus on May 29, 2020, 06:27:26 PM
On a hosted device you can possibly trigger a reboot if it crashes but I can't say for sure
As far as removing broken plugins from a build I'd rather see them fixed but blocking their execution might be a temporary fix..
Title: Re: Xduoo X3 II
Post by: JimZipCode on May 31, 2020, 09:49:09 AM
The X3ii (and X20, and AGPTek Rocker) run Rockbox as applications on top of Linux...
Oh that's interesting.  I did not realize that.
Title: Re: Xduoo X3 II
Post by: JimZipCode on May 31, 2020, 10:48:07 AM
Recent rockbox version (1c8c71f-190907, on my site) has improved update procedure:
Put your new content into the .rockbox folder on your sd card then boot into the Bootloader, choose Tools -> Update Rockbox....  that's it
So essentially "Tools -> Update Rockbox" copies the content of .rockbox to the internal file system?
"Update Rockbox" is not one of the options I see under Tools.  It just has:
Am I looking in the wrong place?


What's your issue with time exactly? It seems working fine for me. Time adjusted by VOL+ and VOL- buttons in case that was your issue. Kinda not very obvious and probably need to add some hints though.
How do you save the new time setting? 

The volume up/down buttons, and the next button, let me "set" everything.  But then it says "on to save and off to revert".  But there's only one toggle for on/off; so how do you save the new time?

Title: Re: Xduoo X3 II
Post by: speachy on May 31, 2020, 10:55:40 AM
"Update Rockbox" is not one of the options I see under Tools.  It just has:
  • ADB start
  • ADB stop
  • Run Script
  • Restart
  • Shutdown
Am I looking in the wrong place?

If you are using a build from rockbox.org, then rockbox runs entirely from the sd card, and it is updated by unzipping the file on the root directory of the sd card.

The only thing we put in the onboard flash is the bootloader.
Title: Re: Xduoo X3 II
Post by: JimZipCode on May 31, 2020, 12:47:43 PM
If you are using a build from rockbox.org, then rockbox runs entirely from the sd card, and it is updated by unzipping the file on the root directory of the sd card.

The only thing we put in the onboard flash is the bootloader.
Which bootloader?  The same one as Vortex shared?
Title: Re: Xduoo X3 II
Post by: Gunthor on June 01, 2020, 07:26:16 AM
@Bilgus, you are correct: After errors always the return button or pressing the power button did the trick - so a fail-safe button exists.  :)

@All,
I already deleted the malfunctioning games, apps and demos on my device and would appreciate if future builds include them only when other users (or myself) claim them to function properly. Edit 28.06.2020: Within games I found one nuisance where I'd appreciate patching. I also have a general question concerning key mapping: Usually within games and apps (e.g. jewels.rock, maze.rock, lua_scripts.lua) scrolling up and down is done with the left keys. The right keys (fast forward and fast backward buttons with little triangles pointing up and down) would be more intuitive. Then the game pacbox.rock is using the right keys for up and down, but the volume down key is used for going right! >:( My understanding is that key mapping is hard coded into those games and apps. Nevertheless I wanted to ask this in case someone knows a workaround? This could also assist in getting full functionality for calculator.rock (see further down).

Games
Edit 28.06.2020: After playing around a lot with the settings Highscores get saved and games can be resumed. So this one is solved.;D However, I still don't see any *.save and *.score files in /.rockbox/rocks/games! But this may be because I am used to an old build (SanDisk Sansa Fuze+)...
This issue concerns probably all game applications: Quitting a game displays "Saving game..." for a second or so - then exits as expected. However, reentering games does not offer "Resume Game" (I tested 2048.rock, jewels.rock, blackjack.rock and sgt-flip.rock). The *.save and *.score files cannot be found in /.rockbox/rocks/games! Maybe insufficient access privileges? Kindly see also my notes on disktidy.rock further down.
Applications
   
Demos   
Title: Re: Xduoo X3 II
Post by: JimZipCode on June 01, 2020, 11:41:23 AM
Which bootloader?  The same one as Vortex shared?
I got hooked up.   :)
Thanks
Title: Re: Xduoo X3 II
Post by: dhugas on June 03, 2020, 08:02:52 PM
Hello,

Thank you for developing RockBox for newer devices like the X3II. I had a Sansa and an AGPTEK before this X3II and it works much more better than the default players.

I've got an issue with the xDuoo X3II. I installed dual boot with XVortex files and instructions. Everything worked fine and today I saw the new updates made by speachy. I downloaded the last one from the dev build, unzipped on the SD card, accessed tools -> Update rockbox, waited to finish and again it worked fine. For what I understand, it does copy the contents of the .rockbox folder into the internal memory. Then I deleted some themes from the SD card, repeated update and then it said that Rockbox was not properly installed because it could not find the memory card. I changed to HIBY player and the result was the same: no SD card, although the SD works fine.

I've tried to reformat the SD card to FAT (it was originally in this format) with no changes, and without format so I could format it from HIBY settings menu. I've tried different SD cards with the same results. It detects the SD card when I plug it into the player but then I can't update or format the SD card, prompting that there is no card. All SDs can be written on using a computer and even when they are inserted in the X3 II via USB. The dual boot still works fine. I've tried to reset to factory settings from the HIBY menu but the problem persists.

Could you please help me? I've run out of options as all of them (reverting to original firmware or reinstalling Rockbox) require an SD support, which is not detected. Do you have any hints?

Thank you for your time.
Title: Re: Xduoo X3 II
Post by: speachy on June 03, 2020, 09:21:05 PM
The xvortex builds require using the xvortex bootloader.

The rockbox.org builds require using the rockbox bootloder.

The reason for this is that the xvortex builds are set up to execute out of the onboard flash, whereas the rockbox builds execute off the SD card.

(Over the next couple of days I hope to get a wiki page put together, but paying gigs take priority)
Title: Re: Xduoo X3 II
Post by: dhugas on June 03, 2020, 09:46:55 PM
Thank you for the answer.

Strange thing is that although I had XVortex bootloader it still loaded rockbox.org image and worked for a while until I deleted the theme files and updated.

Still, nor HIBY nor rockbox, can't reach the SD card, which now makes X3II unusable as music is played from SD and updates or any other change has to be done through the card. Doesn't look good.
Title: Re: Xduoo X3 II
Post by: speachy on June 04, 2020, 12:03:53 AM
There is a force-into-recovery trick that might work.  if you have adb access, insert the card with the update.upt file, then run adb shell and then:

echo recovery > /proc/jz/reset/reset
Title: Re: Xduoo X3 II
Post by: dhugas on June 04, 2020, 07:01:12 AM
I'm trying to get in the xDuoo through adb but no luck, looks like it is not active. I can't find anywhere something like "developer mode" to activate it, neither in the Rockbox skeleton menu that somewhat works, nor the HIBY, nor the Tools menu where there is a "Start ADB" option.

I'm not used to adb, but last time I used it I needed a driver for the phone I was trying to reach. Is that the case?

Thank you for your help!
Title: Re: Xduoo X3 II
Post by: dhugas on June 09, 2020, 09:09:27 AM
Hello again,

Finally I could get into the X3II using adb, issued the command speachy wrote and recovered the device:

echo recovery > /proc/jz/reset/reset

I can now read from the SD card and I have reverted to the previous working configuration with XVortex dualboot. The problem was with accessing device permissions at the adb end.

Again, thank you for your time and help!
Title: Re: Xduoo X3 II
Post by: marlor on June 21, 2020, 09:45:30 PM
This is a great port. It was simple to set up, and is surprisingly problem-free.

The one issue I've spotted so far while playing with settings is that adjusting Haas Surround while a track is playing will pretty consistently result in a segfault.
Title: Re: Xduoo X3 II
Post by: speachy on July 03, 2020, 12:44:09 PM
FYI, I finally uploaded a current build of the X3ii and X20 bootloaders and binary patches that will update the stock firmware images.

See the installation instructions here:

  https://www.rockbox.org/wiki/XDuooX3ii
Title: Re: Xduoo X3 II
Post by: speachy on July 19, 2020, 05:26:25 PM
Can someone send me the USB VID/PID for the X3ii and X20? 

I need them to finish adding rbutil support.

Thanks!
Title: Re: Xduoo X3 II
Post by: johnb on July 20, 2020, 02:31:51 AM
X3II:
ProductID: 003c
VendorID: c502
Title: Re: Xduoo X3 II
Post by: speachy on July 20, 2020, 03:31:22 PM
X3II:
ProductID: 003c
VendorID: c502

Thank you!
Title: Re: Xduoo X3 II
Post by: passacaglia on August 09, 2020, 12:45:39 PM
I find the Sinux custom firmware much better than the stock one. Is there any way to dual boot Rockbox with this one instead of the stock? I appreciate if someone could point me to the instructions.
Title: Re: Xduoo X3 II
Post by: speachy on August 10, 2020, 08:13:41 AM
I find the Sinux custom firmware much better than the stock one. Is there any way to dual boot Rockbox with this one instead of the stock? I appreciate if someone could point me to the instructions.

Grab the bootloader .bin file from this zip:

http://download.rockbox.org/bootloader/xduoo/x3ii.zip

Then use this script to patch the Sinux firmware image:

https://git.rockbox.org/cgit/rockbox.git/tree/tools/hiby_patcher.pl

Good luck.
Title: Re: Xduoo X3 II
Post by: FFB on August 15, 2020, 02:22:06 PM
I find the Sinux custom firmware much better than the stock one. Is there any way to dual boot Rockbox with this one instead of the stock? I appreciate if someone could point me to the instructions.

Hello passacaglia. Did you success ? can you provide a link with your custom firmware ? Thanks
Title: Re: Xduoo X3 II
Post by: fossphile on September 08, 2020, 11:38:18 PM
Does rockbox on the x3 II support usb host for usb flash drives?
Connecting external usb dac?
Being a usb gadget to be a usb dac to a PC?

I would really like to be able to connect a usb 2.5in portable 4TB hard drive. With a external power supply to power hard drive, i assume would be needed.
Title: Re: Xduoo X3 II
Post by: new_user on September 15, 2020, 11:25:25 AM
Noob question:

How do i use the Hold function? In the normal firmware, a short click on the On/Off button activates it.
Title: Re: Xduoo X3 II
Post by: fossphile on October 06, 2020, 07:51:16 PM
looking back at my prev post, of course for a usb hdd to be connected a external power supply to power it is needed. even for the laptop drives. i guess the usb host hardware only provides enough current for a usb flash drive. i was so optimistic...

Would love a reply to know likely hood of rockbox having such features as usb host. I know the iaudio x5 had some odd proprietary chip for usb host. I guess now in the Xduoo x3 II, usb host is supported by the SOC. Would love to be able to connect these new 1tb £127 relativity cheap usb flash drives for tons of music.

i see for £180~ a 1tb microsd card can be bought https://www.mymemory.co.uk/integral-1tb-ultimapro-a2-v30-high-speed-micro-sd-card-sdxc-uhs-i-u3-adapter-180mb-s.html

i think the x3 II hardware can use 1tb microsd?

not rushing to splash but perhaps in a year when they get cheaper :D
Title: Re: Xduoo X3 II
Post by: speachy on October 06, 2020, 08:15:29 PM
Would love a reply to know likely hood of rockbox having such features as usb host. I know the iaudio x5 had some odd proprietary chip for usb host. I guess now in the Xduoo x3 II, usb host is supported by the SOC. Would love to be able to connect these new 1tb £127 relativity cheap usb flash drives for tons of music.

If the underlying xDuoo Linux OS/platform has the ability to act as a USB host for a mass storage device, then yes, Rockbox would be able to piggyback on that.  If that feature isn't part of the underlying OS image, then we're SOL.
Title: Re: Xduoo X3 II no rockbox boot with usb pluged onto receiver
Post by: pepo46 on October 08, 2020, 10:56:10 PM
So I'm having an issue I hope someone can help: when the xduuo x3ii is connected through usb to a receiver (my car stereo for example) it bypasses the boot firmware selection and goes straight to the stock firmware. This doesnt haooen without the connected usb. That means every time I want to use the device with the car i need to unplug usb, then boot into rockbox, then plug the cable again and it works flawlessly, but defeats the purpose of having a connected device in the car permanently, which is what I want.

Any ideas gow to work around this? Is that a known issue? I need to force rockbox boot at all times or maybe even remove/block the stock firmware from the boot menu. I don't know how to do that. Anyone else experienced this?
Title: Re: Xduoo X3 II no rockbox boot with usb pluged onto receiver
Post by: speachy on October 09, 2020, 06:59:10 AM
So I'm having an issue I hope someone can help: when the xduuo x3ii is connected through usb to a receiver (my car stereo for example) it bypasses the boot firmware selection and goes straight to the stock firmware. This doesnt haooen without the connected usb. That means every time I want to use the device with the car i need to unplug usb, then boot into rockbox, then plug the cable again and it works flawlessly, but defeats the purpose of having a connected device in the car permanently, which is what I want.

This has annoyed me for a while too.  I'd assumed it was an OF feature quirk.. but then, completely coincidentally, when trying to debug a new port I'm working on, I found what was causing this in our bootloader/launcher.

There are a _lot_ of other low-level changes in the launcher (and its integration script) and I need to make sure I didn't cause any regressions on the other targets before I update the public binaries that rbutil uses.

Title: Re: Xduoo X3 II
Post by: speachy on October 09, 2020, 09:12:36 AM
If the underlying xDuoo Linux OS/platform has the ability to act as a USB host for a mass storage device, then yes, Rockbox would be able to piggyback on that.  If that feature isn't part of the underlying OS image, then we're SOL.

The underlying OS/Platform appears to support USB mass storage.  It's not clear how we'd go about polling/detecting a device getting plugged in.
Title: Re: Xduoo X3 II
Post by: darkone1243 on October 09, 2020, 09:15:10 AM
I find the Sinux custom firmware much better than the stock one. Is there any way to dual boot Rockbox with this one instead of the stock? I appreciate if someone could point me to the instructions.

Hello passacaglia. Did you success ? can you provide a link with your custom firmware ? Thanks

Not him, but i got it working. When patching Sinux .upt with hiby_patcher.pl i was getting die error at line 95 (probably some naming problems, might be case sensitivity related?), so i just added a line before that break ($ubiname = "system.ubi"; ). It patched (with bootloader.x3ii provided) and upgraded succesfully.
Title: Re: Xduoo X3 II
Post by: fossphile on October 09, 2020, 09:01:45 PM
If the underlying xDuoo Linux OS/platform has the ability to act as a USB host for a mass storage device, then yes, Rockbox would be able to piggyback on that.  If that feature isn't part of the underlying OS image, then we're SOL.

The underlying OS/Platform appears to support USB mass storage.  It's not clear how we'd go about polling/detecting a device getting plugged in.

Thank you so much for the update! :D

By chance might you have any 512gb micro sd cards to test if there really is a 256gb micro sd card limit too?
Thank you
Title: Re: Xduoo X3 II
Post by: fossphile on October 09, 2020, 09:06:31 PM
looks like  512gb micro sd cards work: https://www.reddit.com/r/headphones/comments/hojgm6/xduoo_x3ii_with_custom_firmware_12se9_sinux/
Title: Re: Xduoo X3 II
Post by: speachy on October 10, 2020, 02:53:48 PM
The underlying OS/Platform appears to support USB mass storage.  It's not clear how we'd go about polling/detecting a device getting plugged in.

I have it working now.  SD card and USB mass storage can be hotplugged.

Of course, if you're actively playing stuff off the device you removed, $badness will happen. 

(This requires a new launcher binary and integration script)

By chance might you have any 512gb micro sd cards to test if there really is a 256gb micro sd card limit too?

Any card up to 2TB will work.  (that's the upper limit of the current SD addressing protocol)
Title: Re: Xduoo X3 II
Post by: pepo46 on October 11, 2020, 12:19:48 AM
The underlying OS/Platform appears to support USB mass storage.  It's not clear how we'd go about polling/detecting a device getting plugged in.

I have it working now.  SD card and USB mass storage can be hotplugged.

Of course, if you're actively playing stuff off the device you removed, $badness will happen. 

(This requires a new launcher binary and integration script)
Thanks for responding to my concern. Any chnace of gettinf a patched firmware or update with it solved any time soon? Or perhaps siome clear instructions on how one can do it? I have never fiddled with the bootloader.

Title: Re: Xduoo X3 II
Post by: fossphile on October 11, 2020, 04:46:46 PM
I have it working now.  SD card and USB mass storage can be hotplugged.
YAY :D :D :D :D :D
Of course, if you're actively playing stuff off the device you removed, $badness will happen. 

(This requires a new launcher binary and integration script)
the launcher and script to cope with problems and clean up old mounts etc, i assume.

Any card up to 2TB will work.  (that's the upper limit of the current SD addressing protocol)
Yay :D :D :D :D :D
Title: Re: Xduoo X3 II
Post by: fossphile on October 11, 2020, 09:18:40 PM
anyone used bluetooth much?
There's this negative review on aliexpress:
https://www.aliexpress.com/item/32944644623.html
Quote
R***n
RU
Color: X3II and case Memory Size: Other Logistics: China Post Registered Air Mail

My views of the player are ambiguous. Of the pros: the price-for such a set of functions is very inexpensive; the sound is good; from the relative cons-strange control-to add/increase the volume you need to press the red button on, the other player does not react. The track switches without this button, but not including the screen. Very poorly made friends with wireless headphones on BT 5.0-constant cracking at high frequencies and loss of communication (with the iPhone headphones work great, player problem). Poor playback of iTunes files (crack). The volume has a very small step-you have to long press the button to add/add it. Russian is translated terrible, but it does not interfere. My score is 6 out of 10, the player makes sense to take only if you use special functions like the output to the amplifier, for ordinary listeners it all spoils management problems and other shortcomings. P.S. do not take with the case-it intentionally blocks the volume buttons, it is impossible to use it. 05 May 2020 11:21
Title: Re: Xduoo X3 II
Post by: fossphile on October 11, 2020, 09:54:18 PM
https://www.rockbox.org/tracker/task/13229?type=2
This is a shame to read, that there is a poor design of hardware that leads to pop sounds and delays or workaround hacks the mean not saving power when not in use for short while due to not switching the dac off. pops are a big no-no for using x3II to play music on sound systems or larger diy boomboxs. hmm....
Title: Re: Xduoo X3 II
Post by: speachy on October 12, 2020, 08:58:24 AM
https://www.rockbox.org/tracker/task/13229?type=2
This is a shame to read, that there is a poor design of hardware that leads to pop sounds and delays or workaround hacks the mean not saving power when not in use for short while due to not switching the dac off. pops are a big no-no for using x3II to play music on sound systems or larger diy boomboxs. hmm....

I should point out that the xDuoo firmware doesn't exhibit these audio glitches.  As I said in the bug ticket, I'm just trying to figure out how to shut up at least the initial power-on pop without cutting off the initial voice prompts.
Title: Re: Xduoo X3 II
Post by: speachy on October 12, 2020, 09:08:49 AM
I have it working now.  SD card and USB mass storage can be hotplugged.
YAY :D :D :D :D :D

Turns out there's also a "feature" where your SD card would be automatically wiped on startup.

So.  Yeah.
Title: Re: Xduoo X3 II
Post by: fossphile on October 12, 2020, 10:46:01 AM
Turns out there's also a "feature" where your SD card would be automatically wiped on startup.

So.  Yeah.
:o oww err. a reason to keep weeks worth of music collection re-encodes on a hard drive copied onto sd card.... not directly on the sd card.
Title: Re: Xduoo X3 II
Post by: Njones on October 14, 2020, 07:36:27 PM
After installing using the Rockbox utility installer I only get sound out of the line out without any volume control. No sound out of the headphone jack.
Title: Re: Xduoo X3 II
Post by: speachy on October 14, 2020, 08:12:14 PM
From the main menu, go to system/debug/hw info when something is playing and your headphones are plugged in, and the volume is turned up!

hp: ?
lo: ?

plug things in and out of the jacks, you should see these change as appropriate.  (note it takes about 1s for audio to switch after the jack state changes)

also keep in mind that the playback volume on the LO jack is pegged at max, whereas the HP jack respects the set volume.
Title: Re: Xduoo X3 II
Post by: Njones on October 14, 2020, 08:21:11 PM
ok thanks
Title: Re: Xduoo X3 II
Post by: speachy on October 23, 2020, 11:03:19 PM
I should point out that the xDuoo firmware doesn't exhibit these audio glitches.  As I said in the bug ticket, I'm just trying to figure out how to shut up at least the initial power-on pop without cutting off the initial voice prompts.

FYI, The latest builds (nightly 2020-10-24 or newer) should exhibit much reduced intra-track audio artifacts.
Title: Re: Xduoo X3 II
Post by: fossphile on October 25, 2020, 09:33:18 PM
thanks for update :).
Title: Re: Xduoo X3 II
Post by: FFB on November 02, 2020, 05:30:32 PM
I find the Sinux custom firmware much better than the stock one. Is there any way to dual boot Rockbox with this one instead of the stock? I appreciate if someone could point me to the instructions.

Hello passacaglia. Did you success ? can you provide a link with your custom firmware ? Thanks

Not him, but i got it working. When patching Sinux .upt with hiby_patcher.pl i was getting die error at line 95 (probably some naming problems, might be case sensitivity related?), so i just added a line before that break ($ubiname = "system.ubi"; ). It patched (with bootloader.x3ii provided) and upgraded succesfully.

Glad to hear that, i wish one day i would be able to do it.
If you have any custom firmware to provide for me, i'm most ofen on original firmware and bluetooth

Thanks  also for Speachy's work.
No problem with 512gb sd card for me by the way
Still Have plugin to test for me
Title: Re: Xduoo X3 II
Post by: JimZipCode on November 07, 2020, 01:44:05 AM
anyone used bluetooth much?
There's this negative review on aliexpress:
https://www.aliexpress.com/item/32944644623.html

Yes.  I've used the Bluetooth with this player a lot -- my wife gave me a pair of very nice Bluetooth earbuds last year -- and the sound is great.  I haven't experienced anything the review mentioned.  Sound is excellent.

Drawback is I've had to use the original firmware, which sux.  Is there any prospect for Bluetooth in Rockbox?  Cuz that would be awesome.

Even more awesome, I mean.
Title: Re: Xduoo X3 II
Post by: Zabizabo on November 13, 2020, 02:22:44 PM
Hi there,

I'm using Rockbox on my X3II since the build of 2020-11-02. My last update was the 2020-11-12 build.

My problem is that some Mp3 or Flac files can't be read by Rockbox while there isn't reading problems with the Xduoo firmware.

I don't know really where the problem comes from. It is not related to the format, Mp3 or Flac files being affected.

If you have an idea, I will be glad to hear it. Tell me what I can provide to help.

Thanks in advance

Title: Re: Xduoo X3 II
Post by: speachy on November 13, 2020, 03:34:50 PM
I'm using Rockbox on my X3II since the build of 2020-11-02. My last update was the 2020-11-12 build.
My problem is that some Mp3 or Flac files can't be read by Rockbox while there isn't reading problems with the Xduoo firmware.
I don't know really where the problem comes from. It is not related to the format, Mp3 or Flac files being affected.
If you have an idea, I will be glad to hear it. Tell me what I can provide to help.

It's not entirely clear; did these files used to work with rockbox, but now do not, or did they never work?

Either way, please open a bug ticket on https://www.rockbox.org/tracker/ and attach (or provide a link to) one of the mp3s and one of the FLAC files causing problems.
Title: Re: Xduoo X3 II
Post by: Zabizabo on November 14, 2020, 09:58:16 AM
I'm using Rockbox on my X3II since the build of 2020-11-02. My last update was the 2020-11-12 build.
My problem is that some Mp3 or Flac files can't be read by Rockbox while there isn't reading problems with the Xduoo firmware.
I don't know really where the problem comes from. It is not related to the format, Mp3 or Flac files being affected.
If you have an idea, I will be glad to hear it. Tell me what I can provide to help.

It's not entirely clear; did these files used to work with rockbox, but now do not, or did they never work?

Either way, please open a bug ticket on https://www.rockbox.org/tracker/ and attach (or provide a link to) one of the mp3s and one of the FLAC files causing problems.

Thanks for your answer :)

These files never worked with Rockbox. In fact, I'm not sure the problem is related to my music files. I have looked precisely and I think it's related to the size of the cover picture in the folder of my albums.

On 8 files unreadable (6 Flac and 2 Mp3s), the size of the covers is between 2,4 and 8,4 Mb and the covers can't be shown on the screen player. On the other hand, the cover' sizes of the readable files vary between 0,1 and 1,9 Mb (even if some covers can't be shown on the screen sometimes).
I will see with lot more files if I have always the same error pattern and will open a bug ticket as you suggested.
Title: Re: Xduoo X3 II
Post by: FFB on November 17, 2020, 07:44:31 PM
I'm using Rockbox on my X3II since the build of 2020-11-02. My last update was the 2020-11-12 build.
My problem is that some Mp3 or Flac files can't be read by Rockbox while there isn't reading problems with the Xduoo firmware.
I don't know really where the problem comes from. It is not related to the format, Mp3 or Flac files being affected.
If you have an idea, I will be glad to hear it. Tell me what I can provide to help.

It's not entirely clear; did these files used to work with rockbox, but now do not, or did they never work?

Either way, please open a bug ticket on https://www.rockbox.org/tracker/ and attach (or provide a link to) one of the mp3s and one of the FLAC files causing problems.

Thanks for your answer :)

These files never worked with Rockbox. In fact, I'm not sure the problem is related to my music files. I have looked precisely and I think it's related to the size of the cover picture in the folder of my albums.

On 8 files unreadable (6 Flac and 2 Mp3s), the size of the covers is between 2,4 and 8,4 Mb and the covers can't be shown on the screen player. On the other hand, the cover' sizes of the readable files vary between 0,1 and 1,9 Mb (even if some covers can't be shown on the screen sometimes).
I will see with lot more files if I have always the same error pattern and will open a bug ticket as you suggested.

My trick for this kind of problem is using dbpoweramp, also avoid increase the size of audio file with very hd picture.
Select your audio file right clic > "Convert to" : ID tag update > Manipulation : select import from folder.jpg (i always keep covert art with same name in the folder) + maximum size art 1100x1100 (maximum size for display cover art in traktor, you can define something else) > then "convert" > done

Once done one time, very easy to do it again (settings are saved in dbpoweramp), and it work in batch mode (you can update your entire library in one click)

Title: Re: Xduoo X3 II
Post by: dhugas on November 22, 2020, 05:54:00 PM
I just had this same problem: a cover.jpg exceeding 6.4 Mb, not embedded in song's ID Tag but in the same folder as the song. The playlist loaded but it didn't play any song. To avoid this problem I usually delete covers from metadata and leave a cover.jpg file in the same directory as the album as it gets recognized and loads as cover art. In this case I overlooked the file size and I had been testing for corrupt files for half an hour until I spotted the cause. Does anybody know the max resolution for cover art that Rockbox (or X3II) supports?
Title: Re: Xduoo X3 II
Post by: speachy on November 22, 2020, 06:30:18 PM
I just had this same problem: a cover.jpg exceeding 6.4 Mb, not embedded in song's ID Tag but in the same folder as the song. The playlist loaded but it didn't play any song. To avoid this problem I usually delete covers from metadata and leave a cover.jpg file in the same directory as the album as it gets recognized and loads as cover art. In this case I overlooked the file size and I had been testing for corrupt files for half an hour until I spotted the cause. Does anybody know the max resolution for cover art that Rockbox (or X3II) supports?

What is the maximum?  I don't know.  But let me put it this way -- On the X3ii, Rockbox has to fit, in its entirety, in less than 8MB of RAM.
Title: Re: Xduoo X3 II
Post by: saratoga on November 22, 2020, 08:11:54 PM
JPEG files are streamable, so the decoder loads only a few kilobytes of data at a time, resizes it, and then loads the next few kilobytes.  With very large files, fully resizing the image can be incredibly slow, but I don't think you actually run into any specific size or memory limit.
Title: Re: Xduoo X3 II
Post by: gevaerts on November 23, 2020, 10:03:59 AM
JPEG files are streamable, so the decoder loads only a few kilobytes of data at a time, resizes it, and then loads the next few kilobytes.  With very large files, fully resizing the image can be incredibly slow, but I don't think you actually run into any specific size or memory limit.

True, but I believe there may be more practical limits on *embedded* art that aren't due to the decoder?
Title: Re: Xduoo X3 II
Post by: Njones on December 05, 2020, 05:38:31 PM
Car adapter mode not working. Also album art does not display on all tracks of the same album.
Title: Re: Xduoo X3 II
Post by: q3cpma on December 21, 2020, 12:23:59 PM
Hello and first of all, thanks a lot for this port, it works almost perfectly here. I only have a few problems/questions:
* Why is there no "directory cache" option (in fact, there's no Disk entry under the system settings)? I had to add a "first artist letter" layer to my directory tree to avoid lag when scrolling.
* The lebellium theme is completely broken, for strange reasons. Works okay on my Fuze+.
* The battery level isn't the same when plugged in or not (right now, I get 90% when unplugged and 68% when plugged).

This is using version 185dfb42c2-201123
Title: Re: Xduoo X3 II
Post by: speachy on December 21, 2020, 03:19:33 PM
* Why is there no "directory cache" option (in fact, there's no Disk entry under the system settings)? I had to add a "first artist letter" layer to my directory tree to avoid lag when scrolling.

Because the underlying operating system handles that for Rockbox.

Beyond that, I can't comment.

Title: Re: Xduoo X3 II
Post by: q3cpma on December 21, 2020, 03:34:41 PM
Thanks for the fast answer, quite obvious now that you say it, no need to reinvent Linux's fs cache.
Title: Re: Xduoo X3 II
Post by: dhugas on December 22, 2020, 12:30:07 PM
@q3cpma Have you tried to update to the last daily build? Lebellium does not work for me either, in fact I can't change the WPS theme, there is no entry at the menu to do so.
Title: Re: Xduoo X3 II
Post by: FFB on January 07, 2021, 04:51:49 PM
Hello, TEST plugin ! hope this can help.
Rockbox version : 1a68856f52-201112

- Games :

2048 > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

BlackJack > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Boomshine > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Brickmania > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Bubbles > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Chessbox > Playable, just one bug : if you complete a game and try to "View Played Games" ----> "Error game analyse" + Not friendly user, left and right button mapping in game (will like if it will be inverted)

Chopper > Everything work

Clix > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Codebuster > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Dice > Everything work

Doom > NOT TESTED

Duke3d > NOT TESTED

flipit > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

goban > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Invadrox > launching then crash : Segmentation fault 77757988 address 0776ad020

Jackpot > Everything work...

jewels > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

maze > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

mazezam > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

minesweeper > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Pacbox > NOT TESTED

Pegbox > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Pixel Painter > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

pong > Everything work > Not friendly user, left and right + stop and return button mapping in game (will like if it will be inverted)

Quake > NOT TESTED

Reversi > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

robotfindskitten > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted). Useless like jackpot omg.

rockblox > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

rockblox1d > ??? Everything work

sgt-blackbox > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-bridges > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-cube >  Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-dominosa > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-fifteen > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-filling > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-flip > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-flood > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-galaxies > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-guess > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-inertia > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-keen > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-lightup > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-loopy > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-magnets > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-map > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-mines > Bad display in game type 30x16. Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-net > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-netslide > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-palisade > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-pattern > Bad display in game type 30x30. Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-pearl > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-pegs > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-range > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-rect > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-samegame > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-signpost > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-singles > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-sixteen > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-slant > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-solo > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-tents > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-towers > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-tracks > display doesn't fit very well but Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-twiddle > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-undead > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-unequal > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-unruly > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

sgt-untangle > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Sliding puzzle > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Snake > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Snake2 > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Sokoban > In Menu "Keys" display a black screen. Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Solitaire > Can't draw new card from main stack. Not friendly user, left and right button mapping in game (will like if it will be inverted)

Spacerocks > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Star > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Sudoku > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Superdom > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Wolf3d > NOT TESTED

Wormlet > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Xobox > Everything work > Not friendly user, left and right button mapping in game (will like if it will be inverted)

Xworld > NOT TESTED



- App Rockbox :

alarmclock : OK, tested

battery_bench : OK, tested

Calculator : App is launched but can't select a single value (Button play not working ?) Not friendly user, left and right button mapping (will like if it will be inverted)

Calendar : OK, tested. Not friendly user, left and right button mapping (will like if it will be inverted)

Chessclock : OK, tested

Clock : OK, tested

Dict : OK, tested with  http://www.rockbox.dreamhosters.com/dict.zip. Not friendly user, left and right button mapping (will like if it will be inverted)

DiskTidy : OK, tested on 512gb sdcard

Keybox : OK, tested

Lamp : OK, tested

lrcplayer : Did not get it what was the purpose of this app, i assume running a skin and can't see properly what is going on... (No description in plugin Index)

main_menu_config : OK tested

md5sum : OK, tested

Metronome : Not Working properly, app can be launch but "tic tic" sounds about three time and app seems too freeze next. Need to reboot after that

open_plugins : Not tested (No description in plugin Index)

OTP : app seems ok, not tested with OATH-HOTP (RFC4226) protocol

PeriodicTable : OK, tested. Not friendly user, left and right button mapping (will like if it will be inverted)

random_folder_advance_config : OK, tested

Resistor : OK, tested. Not friendly user, left and right button mapping (will like if it will be inverted)

Settings_dumper : OK tested.

Stats : OK, tested.

StopWatch : OK, tested. Little display bug when you restart timer, old time steel appear in right half screen.

TextEditor : OK, tested. Not friendly user, left and right button mapping (will like if it will be inverted)


- Demo :

Announce_Status > Version not compatible

Bounce > Working

Cube > Working

Demistify > Working

Fft > Working

Fire > Working

fireworks > Working

fractal > Working

logo > Working

lua_scripts > Working

matrix > When exit demo : bus error at 00000081 adress 0x0000000

mosaique > Working

oscilloscope > Launch, when oscilloscope reach right end of screen : Segmentation fault at 76f219d0 address 0x76e77000

picture flow > Please enable database. Press any button to continue

plasma > Working, but crash if pressing too much time return button.

rocklife > Working

snow > Working

starfield > Working

vu_meter > Working
Title: Re: Xduoo X3 II
Post by: snejdy on January 20, 2021, 08:45:57 AM
Rockbox v.1.3 (http://download.rockbox.org/bootloader/xduoo/X3II-v13-patched.upt) doesn't work for me, what am I doing wrong? It says on the display "Cannot boot rockbox".

Version 1.2 from Xvortex and ver. from Xtenix works O.K.

What rockbox uses GAIN settings? Low or High? Can it be changed?

---edit---
Gain settings is high, I made a measurement.

Line-out jack not working with rockbox!
Title: Re: Xduoo X3 II
Post by: speachy on January 20, 2021, 07:35:48 PM
As per the installation instructions ( see https://www.rockbox.org/wiki/XDuooX3ii ) you have to grab the actual rockbox firmware build and unzip it onto the SD card.

Title: Re: Xduoo X3 II
Post by: snejdy on January 21, 2021, 02:09:35 AM
Yes, of course I did. I have the current rockbox on the SD card, but it still doesn't work.
Title: Re: Xduoo X3 II
Post by: speachy on January 21, 2021, 08:03:53 AM
I don't know what to say; the only way that error will trigger is if the bootoader can't copy rockbox from the SD card (ie .rockbox/rockbox.x3ii) over to to the ramdisk, and then execute it.  Either the loader image flashed wasn't the correct one, or the SD card wasn't set up properly.  What is the model and version shown on the last two lines of the loader's tools screen?

BTW, Line out works fine with the builds downloadable from rockbox.org -- the hardware cannot enable both HP and LO simultaneously, and if both are detected, HP is always preferred.   Nobody here is in any position to comment on (much less support) builds obtained from non-rockbox.org folks.
Title: Re: Xduoo X3 II
Post by: snejdy on January 21, 2021, 09:58:04 AM
my setup:
download this - http://download.rockbox.org/bootloader/xduoo/X3II-v13-patched.upt
and this - https://build.rockbox.org/data/rockbox-xduoox3ii.zip

rename X3II-v13-patched.upt -> update.upt and copy to root SD card
extract rockbox-xduoox3ii.zip -> ".rockbox" folder contents copy to root SD card

boot in Hiby OS -> settings -> firmware update
reboot
3 menus are displayed (rockbox, Hiby, tools)
Hiby work OK,
tools work OK,
rockbox displayed "Cannot boot rockbox"


what is right on SD?
root/.rockbox/content rockbox folder
or
root/content rockbox folder
Title: Re: Xduoo X3 II
Post by: snejdy on January 21, 2021, 10:12:06 AM
ohhh... my mistake,

root/content is wrong,
i fixed it on root/.rockbox/content and work this.

Other rockbox´s (vortex, xtenik) work "root/content"
Title: Re: Xduoo X3 II
Post by: ladiko on January 27, 2021, 11:58:52 AM
Just a question:

The wiki says the hardware / software platform is similar to or even the same as the Agptek Rocker / Benjie T6. So why does the X20 has 4 times the battery capacity but with up to 8h play time, it has 2 hours less than then the Rocker. The larger screen can't be the only issue as it shouldn't be on most of the time.

Thanks and regards
l4d1k0
Title: Re: Xduoo X3 II
Post by: speachy on January 27, 2021, 03:01:02 PM
They are similar in that they are based on the same underlying hardware reference design (Ingenic's Halley2 X1000 design) and software environment (hibyplayer on top of HibyOS aka a customized Linux distro)

Beyond the core SoC + PMIC, very little is the same -- most notably the display and analog components (ie audio output and power supplies).  The Rocker uses the X1000's built-in audio codec to drive a simple headphone jack, whereas the X20 uses high-end external (and very power hungry) external codecs and amps.

(the X20's display is nearly 2x the physical size and about 4x as many pixels.  That comes at a battery life price too)

Title: Re: Xduoo X3 II
Post by: Zabizabo on February 13, 2021, 06:07:59 AM
Hi there,

Rockbox is working well on my Xduoo X3 II. But a function is missing and I don't know if it's a Rockbox option that I miss or if it's something that have to be added in Rockbox (if possible).

I have the Meze 99 classics headphone and it's possible with the native X3II firmware to control the playlist with the cable : one push to pause the music, 2 pushes to play the next song and three pushes to play the previous song.
I didn't succeed to do the same with Rockbox. Do I miss something in the options?

Thanks for your help

Title: Re: Xduoo X3 II
Post by: speachy on February 13, 2021, 07:53:50 AM
I have the Meze 99 classics headphone and it's possible with the native X3II firmware to control the playlist with the cable : one push to pause the music, 2 pushes to play the next song and three pushes to play the previous song.

Hmm, I wasn't aware the X3ii supported this at all.  this feature is typically implemented in the DAC, and the X3ii's AK4490 doesn't support it.

But checking the X3ii's official specs, they list remote support, so it's presumably exported somewhere!

I'll see if I can dig up some compatible headphones and see if xDuoo/Hiby implemented this in a straightforward manner.
Title: Re: Xduoo X3 II
Post by: Zabizabo on February 13, 2021, 11:06:38 AM
I have the Meze 99 classics headphone and it's possible with the native X3II firmware to control the playlist with the cable : one push to pause the music, 2 pushes to play the next song and three pushes to play the previous song.

Hmm, I wasn't aware the X3ii supported this at all.  this feature is typically implemented in the DAC, and the X3ii's AK4490 doesn't support it.

But checking the X3ii's official specs, they list remote support, so it's presumably exported somewhere!

I'll see if I can dig up some compatible headphones and see if xDuoo/Hiby implemented this in a straightforward manner.


I'm happy that I made you aware of this feature :)
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on February 17, 2021, 11:30:31 AM
Hi. I can't get the latest build to boot, had to revert to 27837457ea-210127 to get going again.

I'm not sure what the issue is but it gives me the error at bootloader.
Title: Re: Xduoo X3 II
Post by: speachy on February 17, 2021, 11:43:18 AM
Latest dev build seems to work fine for me:

https://build.rockbox.org/data/rockbox-xduoox3ii.zip (436e64e09e)


Title: Re: Xduoo X3 II
Post by: FFB on February 20, 2021, 12:48:25 PM
I find the Sinux custom firmware much better than the stock one. Is there any way to dual boot Rockbox with this one instead of the stock? I appreciate if someone could point me to the instructions.

Hello passacaglia. Did you success ? can you provide a link with your custom firmware ? Thanks

Not him, but i got it working. When patching Sinux .upt with hiby_patcher.pl i was getting die error at line 95 (probably some naming problems, might be case sensitivity related?), so i just added a line before that break ($ubiname = "system.ubi"; ). It patched (with bootloader.x3ii provided) and upgraded succesfully.

Oh right, seems no one want to give the SinuXVR custom firmware + rockbox dual boot.
Here you are :
 edit : use this one from speachy : https://download.rockbox.org/bootloader/xduoo/X3II-v12se9-patched.upt
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on February 27, 2021, 09:40:37 PM
Oh yessss I'm downloading now.

I was going to ask about this, as the Sinux alternative firmware is far superior to the stock.

I am really glad you went ahead and put it together.
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on February 27, 2021, 09:51:37 PM
Latest dev build seems to work fine for me:

https://build.rockbox.org/data/rockbox-xduoox3ii.zip (436e64e09e)

For a change this time the problem didn't exist between user and keyboard, and I can blame a failing microsd for that build not booting lol.

What can be done about the button layout to make it so the lock button acts like it does with HiBy firmware? It messes with the muscle memory.

Under Rockbox you need to wait a second or two after pressing the lock button before you can press another button. If you aren't looking at the screen it's maddening to figure out when you've unlocked or locked it. Also the pop-up which says "locked" or "unlocked" seems to be part of the problem since that message is what you need to wait to disappear.

If the screen would turn off when locked it would help, but I'm not sure what can be done about that delay.

Great work on this port y'all.

Side note: is there a way to see what changes are done on this port specifically when looking at dev builds? I feel like some builds aren't much if anything changed for this device.
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on February 27, 2021, 10:52:18 PM
I find the Sinux custom firmware much better than the stock one. Is there any way to dual boot Rockbox with this one instead of the stock? I appreciate if someone could point me to the instructions.

Hello passacaglia. Did you success ? can you provide a link with your custom firmware ? Thanks

Not him, but i got it working. When patching Sinux .upt with hiby_patcher.pl i was getting die error at line 95 (probably some naming problems, might be case sensitivity related?), so i just added a line before that break ($ubiname = "system.ubi"; ). It patched (with bootloader.x3ii provided) and upgraded succesfully.

Oh right, seems no one want to give the SinuXVR custom firmware + rockbox dual boot.
Here you are :
https://drive.google.com/file/d/1NVKk_m06WOZ0KhZHnMj4xxzNkw-XKFSA/view?usp=sharing

Well it works great! What's interesting is that I've flashed Sinux before on this device and it remembered all my settings in the Sinux firmware when I flashed the file you linked. I wonder where those settings gets stored.
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on February 28, 2021, 12:30:58 AM
I find the Sinux custom firmware much better than the stock one. Is there any way to dual boot Rockbox with this one instead of the stock? I appreciate if someone could point me to the instructions.

Hello passacaglia. Did you success ? can you provide a link with your custom firmware ? Thanks

Not him, but i got it working. When patching Sinux .upt with hiby_patcher.pl i was getting die error at line 95 (probably some naming problems, might be case sensitivity related?), so i just added a line before that break ($ubiname = "system.ubi"; ). It patched (with bootloader.x3ii provided) and upgraded succesfully.

Oh right, seems no one want to give the SinuXVR custom firmware + rockbox dual boot.
Here you are :
https://drive.google.com/file/d/1NVKk_m06WOZ0KhZHnMj4xxzNkw-XKFSA/view?usp=sharing

Oh wow this bootloader is outdated, it doesn't have the long list of options in the tools menu. I'm going to try and build it myself but let me know if you get there first
Title: Re: Xduoo X3 II
Post by: speachy on February 28, 2021, 09:33:17 AM
Last October, I generated a SinuXR 1.2se9 build patched with the rockbox loader:

https://download.rockbox.org/bootloader/xduoo/X3II-v12se9-patched.upt

BTW, It's not just the loader binary that goes into these modified images; the system gets a bunch of other mods made to it to enable things like hot-pluggable SD and external USB storage.
Title: Re: Xduoo X3 II
Post by: FFB on February 28, 2021, 10:31:41 PM
I removed my link and use yours, safety first !
Title: Re: Xduoo X3 II
Post by: speachy on March 10, 2021, 09:57:04 PM
I'll see if I can dig up some compatible headphones and see if xDuoo/Hiby implemented this in a straightforward manner.

I was able to figure out how support for the inline remote was implemented on the X3ii.  Builds from 2021-03-21 will have it fully integrated.

Only the middle button seems to work (play/prev/next), the volume control does not seem to be implemented.  But hey, that's something!

Also in other news, I reworked the keymapping a bit so that the prev/next keys generally do the right thing, though in the list/menu/settings context they remain as before as that physically maps better (ie upper button means 'up').
Title: Re: Xduoo X3 II
Post by: Njones on March 10, 2021, 11:06:54 PM
If you use the RB Utility to install, will all the latest improvements be installed?
Title: Re: Xduoo X3 II
Post by: speachy on March 10, 2021, 11:33:19 PM
If you use the RB Utility to install, will all the latest improvements be installed?

Yep!
Title: Re: Xduoo X3 II
Post by: Njones on March 11, 2021, 11:32:14 AM
Thanks. Any progress on Bluetooth capability
Title: Re: Xduoo X3 II
Post by: Zabizabo on March 11, 2021, 04:04:30 PM
I'll see if I can dig up some compatible headphones and see if xDuoo/Hiby implemented this in a straightforward manner.

I was able to figure out how support for the inline remote was implemented on the X3ii.  Builds from 2021-03-21 will have it fully integrated.

Only the middle button seems to work (play/prev/next), the volume control does not seem to be implemented.  But hey, that's something!

Also in other news, I reworked the keymapping a bit so that the prev/next keys generally do the right thing, though in the list/menu/settings context they remain as before as that physically maps better (ie upper button means 'up').

Thanks a lot, it's working like a charm  ;). For the volume control, I think you are right, it's not implemented on the X3II.

My best
Title: Re: Xduoo X3 II
Post by: Deltaplouf on March 11, 2021, 05:32:18 PM
Thanks. Any progress on Bluetooth capability

Also wondering... I'm about to buy a Xduoo X3II, but the only thing that keeps me from doing so is my fear of missing the Bluetooth capability once I rockboxed it...

How do you, owners of X3ii, manage? You gave up using bluetooth, or you boot the original firmware when you need to?
Title: Re: Xduoo X3 II
Post by: schwabi on March 14, 2021, 04:58:39 AM
I'll see if I can dig up some compatible headphones and see if xDuoo/Hiby implemented this in a straightforward manner.

I was able to figure out how support for the inline remote was implemented on the X3ii.  Builds from 2021-03-21 will have it fully integrated.

Only the middle button seems to work (play/prev/next), the volume control does not seem to be implemented.  But hey, that's something!

Also in other news, I reworked the keymapping a bit so that the prev/next keys generally do the right thing, though in the list/menu/settings context they remain as before as that physically maps better (ie upper button means 'up').

That is amazing. Could one hardware mod the player to get volume control? I wouldn't mind trying/doing that
Title: Re: Xduoo X3 II
Post by: speachy on March 14, 2021, 10:16:05 AM
That is amazing. Could one hardware mod the player to get volume control? I wouldn't mind trying/doing that

It's a limitation of the linux kernel that the device uses.
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on March 21, 2021, 09:45:19 PM
Can you make the inline remote optional? the only reason my device still is usable is because rockbox doesn't register those.
Title: Re: Xduoo X3 II
Post by: speachy on March 22, 2021, 11:07:01 PM
Can you make the inline remote optional? the only reason my device still is usable is because rockbox doesn't register those.

How does this render your device unusable?  Only thing I can think of is defective hardware..
Title: Re: Xduoo X3 II
Post by: TheHippieCripple on March 27, 2021, 12:15:17 PM
Can you make the inline remote optional? the only reason my device still is usable is because rockbox doesn't register those.

How does this render your device unusable?  Only thing I can think of is defective hardware..

Bingo. i thought it was just a fluke, but I purchased a unit for parts and the same issue, phantom button presses in the stock firmware. I think it must be a failure point when dropped repeatedly. Totally usable with prior builds of rock box.

Bluetooth playback on stock works fine, its only when a cable is inserted into the headphone jack. Line out works fine, but using the headphone jack it pauses forwards and rewinds randomly.

I should be able to build it myself by omitting that change in git correct? Or is it not that simple?
Title: Re: Xduoo X3 II
Post by: speachy on March 27, 2021, 02:47:39 PM
As a general rule rockbox has to assume the hardware is functioning properly, but I pushed a change that makes disabling the remote simpler.

in firmware/target/hosted/xduoo/button-xduoo.c, comment out the line that says #define USE_REMOTE.

Title: Re: Xduoo X3 II
Post by: schwabi on April 15, 2021, 03:43:54 AM
Could it be made possible that if the screen is locked, only the remote can control the player and not the hardware buttons?

It is nice to have the remote to skip and repeat tracks, but when I have it in my pocket the buttons on the device get pushed when I move.
Title: Re: Xduoo X3 II
Post by: SpaceTurkey on May 26, 2021, 01:03:57 PM
Hello everyone, 🙂

First of all, thank you to the devs for making it possible to run RB on the X3 II. My trusty old Clip Plus died on me after many many years of use a couple of months ago and now I finally have a suitable replacement for it in the X3 II. 👍

Maybe I have found a bug, but I'm not entirely sure. It would be nice if someone could verify it.
No matter what I set the 'View files' and 'Show filename extensions' options to, RB just refuses to hide the file extensions in the file browser. I'm using the daily build of RB from yesterday.

That's all for now.
Take care.
Title: Re: Xduoo X3 II
Post by: dhugas on June 01, 2021, 04:32:41 PM
Hey SpaceTurkey,

I just installed last build (2021-06-01, rev 663c5268ac) and I have tested the different options under "Show filename extensions" and all work as intended. Right now I have configured this option to ""only when viewing all types" and they are hidden. The option "off" also hides the extensions and "on" makes them visible.

Sorry I'm not able to help any further.
Title: Re: Xduoo X3 II
Post by: SpaceTurkey on June 06, 2021, 09:51:04 AM
Hey SpaceTurkey,

I just installed last build (2021-06-01, rev 663c5268ac) and I have tested the different options under "Show filename extensions" and all work as intended. Right now I have configured this option to ""only when viewing all types" and they are hidden. The option "off" also hides the extensions and "on" makes them visible.

Sorry I'm not able to help any further.

Thank you, dhugas.
Interestingly enough it still does not seem to work over Here. I say "seem", because I can't verify it visually myself as I'm a blind person and have to use the voice feature. I'm sure it's not the way my Sansa behaved, but could it be that the voice filenames function does not realize that file extensions have been turned off and always spells everything?
Either way, all in all this is a minor issue.
Title: Re: Xduoo X3 II
Post by: undergrounddreamer on June 25, 2021, 07:38:15 PM
Hi, is it possible activate "AB repeat" for this player? I saw it was in older builds for old players, but in the last build for x3 ii this option is not exist...  There should be option AB_REPEAT_ENABLE and add keymapping for this (with combination of two keys or one key).

Thanks.
Title: Re: Xduoo X3 II
Post by: undergrounddreamer on June 26, 2021, 11:52:50 PM
Well, I've try myself, build it with new options:

/firmware/export/config/xduoox3ii.h
  #define AB_REPEAT_ENABLE

/apps/keymap-xduoox3ii.c
   //{ ACTION_WPS_STOP,        BUTTON_PLAY|BUTTON_REL,           BUTTON_PLAY }, //commented
  { ACTION_WPS_ABSETB_NEXTDIR,    BUTTON_PLAY|BUTTON_NEXT,   BUTTON_PLAY },
  { ACTION_WPS_ABSETA_PREVDIR,    BUTTON_PLAY|BUTTON_PREV,   BUTTON_PLAY },
  { ACTION_WPS_ABRESET,           BUTTON_PLAY|BUTTON_OPTION,   BUTTON_PLAY },

Short press "play" + "<<", ">>" set A, B,  and "play" + "options" to reset.

AB repeating is working fine now on flac, mp3, but there is weird pause with shot stutters with Opus (but still usable for learning how to play or sign segment on fly).
Title: Re: Xduoo X3 II
Post by: undergrounddreamer on July 02, 2021, 05:52:02 PM
Hi, speachy, can you add support for all 5 AK4490 figital filters please ?

I have tested it, they are working as supposed. (0=sharp, 1=slow, 2=short sharp, 3=short slow, 4=super slow) (really prefer for some cases the "super slow" mode)

Title: Re: Xduoo X3 II
Post by: niggle on July 04, 2021, 07:08:49 PM
Hi! is it possible to go back to the previous PREV and NEXT configuration, without compiling?
thanks in advance!  :)
Title: Re: Xduoo X3 II
Post by: Pipipi1610 on July 08, 2021, 11:44:53 AM
Guys this rockbox is rock definitely

But i have some questions, apparently some of my theme broke my rokcbox, and now either hiby player or rockbox can't acces sdcard

I've been trying to use echo recovery thing and it doesn't resolved anything. Anyone can help me?

Oh I'm using Xduoo X20
Thanks in advance
Title: Re: Xduoo X3 II
Post by: Pipipi1610 on July 08, 2021, 12:10:45 PM
Nvm guys it's already done

I forgot to put it in adb shell hehe
Title: Re: Xduoo X3 II
Post by: speachy on July 17, 2021, 09:06:36 AM
Hi, speachy, can you add support for all 5 AK4490 figital filters please ?
I have tested it, they are working as supposed. (0=sharp, 1=slow, 2=short sharp, 3=short slow, 4=super slow) (really prefer for some cases the "super slow" mode)

It's finally committed.  Sorry about the time this took; but I'm glad I waited until I had a chance to actually test the patch.

Title: Re: Xduoo X3 II
Post by: maverickronin on July 27, 2021, 07:40:07 PM
Is there any fix for the painfully slow scrolling in both browsing the directory structure and the database?
Title: Re: Xduoo X3 II
Post by: undergrounddreamer on July 28, 2021, 08:15:36 PM
Hi, speachy, can you add support for all 5 AK4490 figital filters please ?
I have tested it, they are working as supposed. (0=sharp, 1=slow, 2=short sharp, 3=short slow, 4=super slow) (really prefer for some cases the "super slow" mode)

It's finally committed.  Sorry about the time this took; but I'm glad I waited until I had a chance to actually test the patch.

It's nice, thank you!


Title: Re: Xduoo X3 II
Post by: mark-1978 on August 09, 2021, 12:15:58 AM
it seems to me that low bitrate files have better quality on hiby os then on rockbox. Is there a solution for this?

*edit: not sure, but i think audioquality has improved on the latest version.

Title: Re: Xduoo X3 II
Post by: q3cpma on August 22, 2021, 03:05:03 PM
Anybody managed to make the "random folder advance" plugin import feature work? The problem is that it searches for the text file only at /.rockbox/, which doesn't exist on the X3II. Looking at the code, ROCKBOX_DIR may somehow not point to the SD, or something?
Title: Re: Xduoo X3 II
Post by: speachy on September 25, 2021, 03:19:48 PM
Anybody managed to make the "random folder advance" plugin import feature work? The problem is that it searches for the text file only at /.rockbox/, which doesn't exist on the X3II. Looking at the code, ROCKBOX_DIR may somehow not point to the SD, or something?

On most hosted targets we do a sort-of chroot so that what rockbox thinks is '/' is actually '/mnt/sd_0/' (or whatever)

So if rockbox can access the other files under ROCKBOX_DIR (eg the playlist control file, plugins, codecs, and so forth) it should be able to see the random folder advance without any issues.  The same logic is used by every other plugin too.  So... I don't have any theories as to what's causing this.
Title: Re: Xduoo X3 II
Post by: seebop on August 05, 2022, 12:19:07 PM
Thinking about getting one of these. Only place they seem to be available is through a couple of different sellers on Aliexpress
Has anyone purchased one through there recently? Are they legit? Do they come with a firmware version that Rockbox can still definitely be flashed to?
Title: Re: Xduoo X3 II
Post by: Avihaa on August 17, 2022, 10:18:34 AM
The Xduoo X3II is a feature-packed entry-level digital media player priced at $119. It boasts of DSD playback, BT, USB DAC, and OTG capability. Disclaimer: The Xduoo X3II was sent to me for the purposes of this review, it is a sample and does not have to be returned.
Title: Re: Xduoo X3 II
Post by: seebop on August 17, 2022, 10:34:38 AM
Thinking about getting one of these. Only place they seem to be available is through a couple of different sellers on Aliexpress
Has anyone purchased one through there recently? Are they legit? Do they come with a firmware version that Rockbox can still definitely be flashed to?

Nevermind, I just realized all the aliexpress listings I was looking at are actually out of stock :(
Title: Re: Xduoo X3 II
Post by: new_user on May 14, 2023, 05:39:32 AM
Hi, i have a problem with my xDuoo X3ii:

About once a week the devices battery is completely empty, when i try to start it.
Is my device broken or is a Rockbox bug the reason?