Rockbox Technical Forums

Rockbox Development => New Ports => 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: esteaj88 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: esteaj88 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