Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: speachy on October 09, 2020, 08:50:42 AM

Title: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on October 09, 2020, 08:50:42 AM
(https://www.peachyphotos.com/po/image/241104:362360:5.jpg)

There's still a bit of jankiness to sort out, and plugin keymaps to fix, but... it lives!

All five of those players have completely identical hardware, albeit with two different case designs, and are currently easy to find in the retail (and secondhand) channel.

Edit:  There is also an EROS Q II.  This uses a completely different internal architecture to the original models, and the firmware images are *not* compatible.
Title: Re: AIGO ROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Milardo on October 09, 2020, 11:13:50 AM
Hi speachy, are you planning to get bluetooth working in  these players and agptek rocker?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Telehubis on October 09, 2020, 02:34:55 PM
Great to hear that!

As for the devices can anyone share if they're robust for a couple of years usage?
(I've read in the net that in some cases people had hardware issues with HIFI player)
Title: Re: AIGO ROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on October 09, 2020, 09:22:38 PM
Hi speachy, are you planning to get bluetooth working in  these players and agptek rocker?

It's on the to-do list, but I can't give any sort of ETA on this. 

As for the devices can anyone share if they're robust for a couple of years usage?

No idea -- these devices (and their solid metal cases) certainly feel more physically robust than (eg) the AGPTek Rocker.  Suffice it to say I'm not worried about sitting on this.  Or even occidentally driving over it.  :D

But at the end of the day, it still has a LiIon battery, and those will all eventually fail, especially if exposed to temperature extremes from being left in a car.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on October 09, 2020, 10:26:30 PM
I am very interested in the digital spdif audio output feature :). Might spdif be got working in rockbox? Whats this special usb cable needed for spdif output? Can the player be charged/externally powered while using spdif output?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on October 10, 2020, 08:02:43 AM
I am very interested in the digital spdif audio output feature :). Might spdif be got working in rockbox? Whats this special usb cable needed for spdif output? Can the player be charged/externally powered while using spdif output?

I don't see any references to these devices having a built-in sp/dif output.  If you're talking about using something that attaches via the USB port, if the player already has the necessary drivers built-in, then rockbox should be able to utilize it.   If the drivers aren't built-in, then there's nothing we can do -- We have no source code for these or any of the other Ingenic+Hiby-based players so are not in a position to be able to update or compile any kernel-level code.   (In violation of the GPL, not that anyone here has standing to enforce it.  Bleh.)

As for simultaneously charging while using the device as a USB host -- if the player has a properly-implemented USB-C port, then yes, it is possible.  If it only has micro-usb, then no.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: ddscentral on October 10, 2020, 12:16:35 PM
For kernel code, I'm pretty sure Hiby OS uses a variant of X1000 reference kernel which is available from Ingenic. Which one can be approximately determined by the compilation date. Reference kernel cannot be directly used to replace device's stock kernel but it should be enough to build additional modules.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on October 10, 2020, 01:41:36 PM
For kernel code, I'm pretty sure Hiby OS uses a variant of X1000 reference kernel which is available from Ingenic. Which one can be approximately determined by the compilation date. Reference kernel cannot be directly used to replace device's stock kernel but it should be enough to build additional modules.

Yes, it's a "variant" -- with mostly unknown changes.  We don't even have the kernel .config file, and there are half a bajillion options that would affect the final binary ABI.

This is not a path I have any intention of undertaking.    IMO that time is far better spent making a native Rockbox port to this platform instead.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: ddscentral on October 10, 2020, 04:37:01 PM
Completely forgot about that.
I wouldn't bother with kernel without a config file either, especially on embedded platforms.
Some firmware developers do leave /proc/config.gz enabled, but that's not the case with hiby.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on October 12, 2020, 12:21:18 PM
I am very interested in the digital spdif audio output feature :). Might spdif be got working in rockbox? Whats this special usb cable needed for spdif output? Can the player be charged/externally powered while using spdif output?

I don't see any references to these devices having a built-in sp/dif output.  If you're talking about using something that attaches via the USB port, if the player already has the necessary drivers built-in, then rockbox should be able to utilize it.   If the drivers aren't built-in, then there's nothing we can do -- We have no source code for these or any of the other Ingenic+Hiby-based players so are not in a position to be able to update or compile any kernel-level code.   (In violation of the GPL, not that anyone here has standing to enforce it.  Bleh.)

As for simultaneously charging while using the device as a USB host -- if the player has a properly-implemented USB-C port, then yes, it is possible.  If it only has micro-usb, then no.

Handy to know about charging while in usb host mode hopeful will work with usb-c :). i guess its too early to know for sure/ask if that the case with these players?

As ever great shame to here about gpl violations :(. Fiio seam to publish the source code what gpl software they mod/use :). Do they miss anything out? I had wondered. If so i guess there a better brand to buy players from for potently future rockbox support if the hardware is compatible?

By spdif i was taking a guess that was want they meant by digital output over usb port??
Quote
Digital (optical) audio output supported. USB-digital output adapter needed (not included).
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on October 12, 2020, 12:40:37 PM
By spdif i was taking a guess that was want they meant by digital output over usb port??

On these Linux-based players, rockbox uses standard Linux sound APIs, so as long as the OF's kernel already has the drivers for the particular audio dongle you want to use, rockbox will be able to utilize it.

(Most audio dongles use standard USB class drivers, but one can never really know in advance)

That said, rockbox isn't set up to be aware of multiple output/playback devices, much less be able to switch them on the fly.  (That's actually going to be one of the challenges in enabling bluetooth on these things..)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on October 12, 2020, 12:51:52 PM
oh i see. its usb audio interface, not like the audio accessory mode where it some of the pins instead of usb, become analogue stereo signals. i thought digital output was like that but spdif over the usb pins... doh! I understand now, its the option to connect a usb class compliant audio interface to usb host.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on October 12, 2020, 12:56:01 PM
Thanks speachy for the details!  :) I see. bluetooth means a re-write of a fair bit of audio code.

Is the hardware any better designed than the xduooo x3II? No pop, messy power saving of the dac/headphone amp that leads to delay and/or pop sounds in switching tracks, sample rate changes, turn on/off,etc?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on October 12, 2020, 01:16:40 PM
Is the hardware any better designed than the xduooo x3II? No pop, messy power saving of the dac/headphone amp that leads to delay and/or pop sounds in switching tracks, sample rate changes, turn on/off,etc?

I like the Eros Q/Hifiwalker H2 a _lot_ more than the X3ii.     More compact, a better control layout, and so far, no issues with the audio paths.

(I'm actually pretty disappointed with the X3ii, especially after how unexpectedly awesome the original X3 turned out)

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on October 17, 2020, 09:50:15 PM
Is the hardware any better designed than the xduooo x3II? No pop, messy power saving of the dac/headphone amp that leads to delay and/or pop sounds in switching tracks, sample rate changes, turn on/off,etc?

I like the Eros Q/Hifiwalker H2 a _lot_ more than the X3ii.     More compact, a better control layout, and so far, no issues with the audio paths.

(I'm actually pretty disappointed with the X3ii, especially after how unexpectedly awesome the original X3 turned out)

Thanks again for the info!

Tempted by Aigo Eros K in blue, else the Q which is £10 cheaper and has wrist strap attachment hole :).
https://www.aliexpress.com/af/AIGO-EROS.html?trafficChannel=af&d=y&CatId=0&SearchText=AIGO+EROS&ltype=affiliate&SortType=default&page=5

hmm i may get a old x3 when a good condition one pops on on ebay after all. shame i avoided it thinking there was audio problems. 2x sd card support would have been so helpful this last few years!

i guess theres still tons for you to do still ;D in porting rockbox to these players. Any micro updates :) would be received with love but otherwise I patiently and keenly wait :)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on October 17, 2020, 10:51:23 PM
i guess theres still tons for you to do still ;D in porting rockbox to these players. Any micro updates :) would be received with love but otherwise I patiently and keenly wait :)

Yesterday I committed support in the RockboxUtility (no binary builds available as of this writing), complete with patches for the stock firmware images.

A few minutes ago I finished uploading updated bootloader images with some critical fixes for the hotswap and external USB storage support.

It's coming along nicely.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on November 04, 2020, 05:18:22 PM
there due to be £5-7~ cheaper on aliexpress for the 11.11 big aliexpress sale day. £82.48 https://www.aliexpress.com/item/32826674025.html?spm=a2g0o.cart.0.0.6dde3c00P456X6&mp=1

Good time to buy one :).

If i buy one, would it be fairly safe to assume your rockport port may well be ready soonish or in few-6 months? Unlikely to get dropped unless you have life criss,etc?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on November 04, 2020, 05:30:38 PM
It's ready now.

(I'm not going to claim it's bug-free, but it works well enough for daily use)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on November 05, 2020, 09:37:09 PM
oh goodie  ;D
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on November 05, 2020, 09:48:25 PM
Does the bluetooth IC support aptx hd? or does bt codec support depend on the OS not the bluetooth IC firmware?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on November 05, 2020, 09:59:15 PM
Regarding the model you have:
What's the lanyard hole to hang/secure it by, like to use and have? Worth the extra weight? Thanks!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on November 12, 2020, 11:15:51 PM
Unboxing Video, features close up of lanyard/headphone cable hole loop thing:
https://www.youtube.com/watch?v=xOD2emJ80HY
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mariocco on November 19, 2020, 06:53:24 PM
Hello! I just got a HIFI WALKER H2. The firmware onboard is 1.3.
I tried the manual install but at boot i got "Updater 1.1" and then file error.
I tried with different firmwares and I replaced the sd card.
Could it be that the "Updater" program that loads the firmware on the unit is defective?
Any fix possible?
Thanks
Mario
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on November 19, 2020, 07:23:16 PM
Hello! I just got a HIFI WALKER H2. The firmware onboard is 1.3.
I tried the manual install but at boot i got "Updater 1.1" and then file error.
Could it be that the "Updater" program that loads the firmware on the unit is defective?

Unfortunately hifiwalker does not have a v1.3 firmware available for download anywhere  (and has not responded to anyone's inquiry about getting it), so we've been unable to figure out what we need to change to generate a working update image.

...Actually I'm pretty sure I know what needs changing, I just don't know what to change it into.

Figuring this out should be pretty straightforward but it will require disassembly so we can get access to the device's serial port.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mariocco on November 20, 2020, 02:04:23 PM
Thanks. I also wrote to Hifi Walker to see if a copy of firmware 1.3 can be obtained.
By the way

- Do you think this is a failure of the device or simply a characteristic of firmware 1.3?
- Is there any way to "dump" the 1.3 firmware from the player
- Does anyone know what is the difference between 1.2 and 1.3 firmware? I could try to downgrade to 1.2 and install Rockbox but I do not know what I would be missing and there is no way to revert since the stock 1.3 is not available.

Thanks
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: johnb on November 20, 2020, 02:31:19 PM
That's specific to the 1.3 firmware.
I tried multiple other firmware versions, but did not manage to downgrade.

It's likely that 1.3 is checking the 'name' string inside the update image.

I will probably will go and try various name strings (brute force guesses) in the next few days.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on November 20, 2020, 03:11:58 PM
- Do you think this is a failure of the device or simply a characteristic of firmware 1.3?

It could be that there's a hardware incompatibility with firmware v1.3 devices, but more likely they changed the internal name of the player so it can no longer be cross-flashed with the firmware from one of its siblings.

(Speaking of, can you tell me the USB VID/PID of your device?  if you're on linux run 'lsusb' and send the output..)

- Is there any way to "dump" the 1.3 firmware from the player

Not from the outside; Ingenic's tools can only be used to *write* the flash, not read it out.

Taking apart the player one can get access to the serial console, and from a console we can definitely dump things and figure out what needs doing.

- Does anyone know what is the difference between 1.2 and 1.3 firmware? I could try to downgrade to 1.2 and install Rockbox but I do not know what I would be missing and there is no way to revert since the stock 1.3 is not available.

If the existing v1.2 firmware update could be applied onto the v1.3 players, then we wouldn't be having this conversation.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mariocco on November 20, 2020, 05:03:08 PM
On Linux, lsusb:
ID C502:0023

On Windows (if useful)
USB\VID_C502&PID_0023&REV_????
USB\VID_C502&PID_0023

Thanks
Mario


Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on December 10, 2020, 12:35:06 PM
my egos Q came.
firmware version is 1.8
how might i get rockbox on to it?
with stock firmware there's annoying bug where it turns audio output on and off between track change which causes a pop with my tpa316 amp boad and speakers :(.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: johnb on December 10, 2020, 12:39:09 PM
See the bottom section of this page: https://www.rockbox.org/wiki/AIGOErosQK
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on December 10, 2020, 02:29:20 PM
arr brill. good to see there is now a wiki page. arr i see looks like firmware version woes does not apply to the hardware i have :)
Thank you
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on December 10, 2020, 02:32:45 PM
arr brill. good to see there is now a wiki page. arr i see looks like firmware version woes does not apply to the hardware i have :)
Thank you

Are you saying that the patched v1.8 firmware image doesn't work on your EROS Q (which already has v1.8)?

What is the error?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: bluebrother on December 10, 2020, 02:41:26 PM
As for installing Rockbox, current development version of Rockbox Utility supports it. There are test binaries available, see the sticky in the Rockbox Utility forum. Shouldn't hurt if that's actually tried (I'm also planning to update those binaries soonish for an even more current experience :) )
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on December 10, 2020, 03:21:46 PM
installed rockbox. its better but there is a pop sound during audio format change of tracks.

Sounds like the audio hardware powering off and back on. These amp boards im using need a source connected all the time. Else there is hiss like u get from cable being not being plugged into source device or a bit like the pop sound from jack plug being pushed into device while amp switched on. Quite annoying and not good enough to use as a audio player for events :(.

I guess its a bug during audio file format change? flac to ogg for example

Perhaps also add setting to keep audio hardware on all the time? so for events, even when not playing music, no audio hardware turn on/off output connect pop.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on December 10, 2020, 03:24:48 PM
arr brill. good to see there is now a wiki page. arr i see looks like firmware version woes does not apply to the hardware i have :)
Thank you

Are you saying that the patched v1.8 firmware image doesn't work on your EROS Q (which already has v1.8)?

What is the error?

i got worried seeing the other persons problem. Didn't know despite same hardware they had different firmware versions. sorry.

yea the default firmware version is 1.8. its what my eros q came with.

its ok. i installed it now but see my other post for pop sound problem.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on December 10, 2020, 03:26:32 PM
As for installing Rockbox, current development version of Rockbox Utility supports it. There are test binaries available, see the sticky in the Rockbox Utility forum. Shouldn't hurt if that's actually tried (I'm also planning to update those binaries soonish for an even more current experience :) )

brill! looking forward to it. Had a look at trying to compile it but in end easier to install manually but a new official release with binarys, would be fantastic!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on December 10, 2020, 03:46:19 PM
Testing out usb flash drive support :D. Great to a have such a feature at last!! Looking forward to day of hot plug and unplug of different drives.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: bluebrother on December 10, 2020, 04:01:01 PM
brill! looking forward to it. Had a look at trying to compile it but in end easier to install manually but a new official release with binarys, would be fantastic!

I just updated the development binaries mentioned (at least for Windows and macOS). There's no official release yet, but this is getting close. If you run into issues with them please post in the Rockbox Utility forum, I might miss if it's here.

See here: https://forums.rockbox.org/index.php/topic,53588.0.html
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on December 10, 2020, 04:17:34 PM
Thanks! Snag is i don't use windows or mac. At least the last few xduuo x3on ebay, will be easier for people to flash.  :)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: MRCoolAndLovin on December 16, 2020, 12:22:56 PM
I have been trying to mess with the Hifi Walker H2 1.2 firmware file to try and get it to flash over 1.3.
Unfortunately i'm not positive as to where in the binary is the version enclosed that the updater checks.
I also mailed to ask for the 1.3 firmware file, but no response.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on December 16, 2020, 01:07:58 PM
Unfortunately i'm not positive as to where in the binary is the version enclosed that the updater checks.

The "update.upt" image is actually an ISO9660 filesystem.  If you open it up, you'll find (among other things) a file called 'version.txt', and inside that are model id and version that the updater is expecting/checking.

To figure this out we need to open up one of these v1.3 H2 players, get to the serial console, and dump/extract the updater image from the flash.  From there, we can discern what the updater is looking for.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on February 01, 2021, 10:31:37 PM
What do i look out for on git commits to know if there's updates in the daily builds for this player or usb host support? I searched usb,aigo,eros,etc and didn't see anything related recently. Assuming no little updates recently. Will patiently wait. :)

Oh i know dont ask for updates rule... feel free to delete! Sorry! :-[
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on February 03, 2021, 04:23:50 PM
To figure this out we need to open up one of these v1.3 H2 players, get to the serial console, and dump/extract the updater image from the flash.  From there, we can discern what the updater is looking for.

A few hours of work later, I was able to extract the v1.3 firmware from flash, and generated a patched v1.3 update image with the rockbox bootloader:

   http://download.rockbox.org/bootloader/hifiwalker/H2-v13-patched.upt

Note that this is *not* compatible with the v1.2 players.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mariocco on February 10, 2021, 07:00:19 PM
I tried the 1.3 firmware (I mean the http://download.rockbox.org/bootloader/hifiwalker/H2-v13-patched.upt) but my player (with firmware onboard 1.3) does not recognize it.
I copied the file in the root of the card and I launched the update from the menu.
It says that no firmware is available.
Any hint?
Thanks!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on February 10, 2021, 07:11:03 PM
I tried the 1.3 firmware (I mean the http://download.rockbox.org/bootloader/hifiwalker/H2-v13-patched.upt) but my player (with firmware onboard 1.3) does not recognize it.
I copied the file in the root of the card and I launched the update from the menu.
It says that no firmware is available.
Any hint?
Thanks!

Rename the file to update.upt
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mariocco on February 11, 2021, 06:18:06 PM
Thank you! It works!
Really a great work.
Since you were able to extract it, could you also post the original 1.3 firmware for backup/restore purpose?
Thanks!
Mario
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 12, 2021, 11:36:43 PM
Just got my player in the mail and got a daily build installed, I'm enjoying trying out all the cool themes!

I think I've found a few issues specific to this port (as far as I can tell), should I post them here or in the bug tracker? They're mostly button behavior related, but one is an issue with audio during playback, so I feel like it's a fairly important one.

I'm trying to get my head around the codebase to see if I can fix one or two myself, but I'm not sure if I'll get anywhere  :o

Edit: or is this still too new to care about bugs/issues?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on March 13, 2021, 07:32:08 AM
I think I've found a few issues specific to this port (as far as I can tell), should I post them here or in the bug tracker? They're mostly button behavior related, but one is an issue with audio during playback, so I feel like it's a fairly important one.

I didn't put a lot of thought into the button maps, so specific suggestions to improve them are welcome.  Non-trivial bugs are best put directly into the tracker, but there's no harm in mentioning things here.

You will need to explain what you mean by "an issue with audio during playback"  The only issue I'm personally aware of is a crackle/dropout during high system load (made much worse by high-bitrate audio files); This same issue affects many (most?) of the "hosted" players, and fixing it requires a non-trivial rewrite of the audio driver.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on March 13, 2021, 07:36:41 AM
speachy, what about the problem, i previously mentioned?:

Quote
Sounds like the audio hardware powering off and back on. These amp boards im using need a source connected all the time. Else there is hiss like u get from cable being not being plugged into source device or a bit like the pop sound from jack plug being pushed into device while amp switched on. Quite annoying and not good enough to use as a audio player for events :(.

I guess its a bug during audio file format change? flac to ogg for example

Perhaps also add setting to keep audio hardware on all the time? so for events, even when not playing music, no audio hardware turn on/off output connect pop.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on March 13, 2021, 08:56:16 AM
Unfortunately the audio codec powering off / on is a quirk shared by all of the hibyos-based players.

But if this is happening between track changes (presumably due to changing sample rates) it's nothing we have any control over -- our only recourse is to completly mute the audio output, but that takes ~1-2s to switch, meaning you'll lose gapless playback, have voice prompts cut off, and so forth.

(One thing you could try is fixing the output sample rate; Settings/Playback/Frequency -- it defaults to automatic)

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 13, 2021, 09:19:02 AM
I think I've found a few issues specific to this port (as far as I can tell), should I post them here or in the bug tracker? They're mostly button behavior related, but one is an issue with audio during playback, so I feel like it's a fairly important one.

I didn't put a lot of thought into the button maps, so specific suggestions to improve them are welcome.  Non-trivial bugs are best put directly into the tracker, but there's no harm in mentioning things here.

You will need to explain what you mean by "an issue with audio during playback"  The only issue I'm personally aware of is a crackle/dropout during high system load (made much worse by high-bitrate audio files); This same issue affects many (most?) of the "hosted" players, and fixing it requires a non-trivial rewrite of the audio driver.

Ok, here goes:

I think I found two different audio bugs - the first one is the one fossphile had mentioned, where there's a click/pop when playing/pausing and switching between tracks. I need to be in a quiet room, but I can definitely hear it with just regular headphones. It does sound like the amp is turning on and off or something, like it's jumping to some DC bias from zero.

It sounds like you already know abut the other one - a crackling during quiet parts of a song or when the volume is extremely low, like one step above off. I thought it was the same thing as the popping between songs to be honest, like the amp is turning on/off really quickly in extremely quiet parts of the song, but that might just be when I notice it. I'll make some different bitrate files to see if it correlates like you say. It's probably the same issue you're already aware of.

It seems to crackle/pop consistently the same every time for the same audio track, at the same volume level. If the volume changes, the pattern changes. I'll try to get an example file.

(One thing you could try is fixing the output sample rate; Settings/Playback/Frequency -- it defaults to automatic)

Setting the frequency to any value doesn't seem to have any effect on the popping or the crackling  :-\

The button stuff is much more trivial:

In the Settings menu and the Context menu, the back button exits to the Main Menu or the While Playing Screen, respectively, instead of going one level up. It works correctly when exiting from a selection dialogue, like if I'm in Crossfeed (Select Off/Simple/Custom), hit back and it goes back to the Crossfeed menu, but if I hit back again, it goes all the way to the main menu instead of Sound Settings.

I can't lock the buttons while anywhere except the while playing screen, I'm not sure if this is intended or a bug. For instance, on the main menu I would think I could hit the power button to lock all buttons just like in the wps, but nothing happens.

If the screen is off and buttons are unlocked, hitting the power button wakes the screen and also locks the buttons. I would kind of expect it to only wake the screen, like when the power button is pushed and the screen is off, check the lock state and only go to unlocked or something.

This one might just be inherently not how Rockbox works, but I would kind of expect the power button to immediately sleep the screen like the original firmware. Not sure if that would be complicated to implement or not.

For that matter, I think I would expect the other buttons to not wake the screen, but volume up/down to work when locked without turning the screen on. I figured out how to get the behavior like I would expect eventually, but it took a lot of digging in the settings and trying to figure out what different settings did. Does Rockbox have kind of a "default setup" for each device type? Maybe those settings could be set up that way by default to mimic something like the original firmware's behavior.

Oof! Sorry for the long post!

EDIT: Completely forgot to note build number - 2743bde09b-210312
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on March 13, 2021, 09:47:59 AM
thanks for the replys,speachy & dconrad.
Long posts are good ;).

trying the fixxed sample rate 44.1khz. hmm does not seam to be poping between track changes.... been so long i forget what files i tested with... try switching between flac, opus, mp3. ill see...
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 13, 2021, 09:50:02 AM
It seems to crackle/pop consistently the same every time for the same audio track, at the same volume level. If the volume changes, the pattern changes. I'll try to get an example file.

Ok, try this file at -73dB with your most sensitive headphones: https://dconrad.neocities.org/assorted_files/BeginningClip_Glad%20Rags%20-%20Wonder%20Under%20-%2003%20The%20World%20is%20Waiting.flac (https://dconrad.neocities.org/assorted_files/BeginningClip_Glad%20Rags%20-%20Wonder%20Under%20-%2003%20The%20World%20is%20Waiting.flac)

I think it demonstrates both popping and crackling (or are they the same thing? I'm not sure!)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: saratoga on March 13, 2021, 10:39:21 AM
The port uses software volume control (I guess they didn't include an analog gain), so at -73dB you have very little dynamic range left and should expect noise.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 13, 2021, 10:52:03 AM
The port uses software volume control (I guess they didn't include an analog gain), so at -73dB you have very little dynamic range left and should expect noise.

That would certainly explain what I'm hearing. So the hardware is running full blast and Rockbox is reducing the volume of the data that it's sending to it?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 13, 2021, 06:44:11 PM
In the Settings menu and the Context menu, the back button exits to the Main Menu or the While Playing Screen, respectively, instead of going one level up. It works correctly when exiting from a selection dialogue, like if I'm in Crossfeed (Select Off/Simple/Custom), hit back and it goes back to the Crossfeed menu, but if I hit back again, it goes all the way to the main menu instead of Sound Settings.


I managed to get the Back button to actually go back a level in the Settings menu, but no dice yet in the playlist submenu of the WPS Context menu.

In apps/keymaps/keymap-erosq.c:

Require Back button be held in the mainmenu context, and just-to-be-sure, do ACTION_STD_CANCEL on Back button release in the standard context.

Code: [Select]
/*
 * The format of the list is as follows
 * { Action Code,   Button code,    Prereq button code }
 * if there's no need to check the previous button's value, use BUTTON_NONE
 * Insert LAST_ITEM_IN_LIST at the end of each mapping
 */
static const struct button_mapping button_context_standard[]  = {
    { ACTION_STD_PREV,       BUTTON_SCROLL_BACK,              BUTTON_NONE },
    { ACTION_STD_PREV,       BUTTON_PREV,                   BUTTON_NONE },
    { ACTION_STD_PREVREPEAT, BUTTON_PREV|BUTTON_REPEAT,     BUTTON_NONE },
    { ACTION_STD_NEXT,       BUTTON_SCROLL_FWD,             BUTTON_NONE },
    { ACTION_STD_NEXT,       BUTTON_NEXT,                   BUTTON_NONE },
    { ACTION_STD_NEXTREPEAT, BUTTON_NEXT|BUTTON_REPEAT,     BUTTON_NONE },
    { ACTION_STD_OK,         BUTTON_PLAY|BUTTON_REL,        BUTTON_PLAY },
    { ACTION_STD_CANCEL,     BUTTON_BACK|BUTTON_REL,        BUTTON_BACK },
    { ACTION_STD_CONTEXT,    BUTTON_MENU|BUTTON_REPEAT,     BUTTON_MENU },
    { ACTION_STD_MENU,       BUTTON_MENU|BUTTON_REL,        BUTTON_MENU },

/*    ACTION_STD_QUICKSCREEN,
 *    ACTION_STD_KEYLOCK
 *    ACTION_STD_REC
 *    ACTION_STD_HOTKEY
 */

    LAST_ITEM_IN_LIST
}; /* button_context_standard */

static const struct button_mapping button_context_mainmenu[]  = {
    { ACTION_TREE_WPS,       BUTTON_BACK|BUTTON_REPEAT,     BUTTON_BACK }, // need to hold, otherwise causes
       // back to always go to main menu root

    LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_TREE),
}; /* button_context_mainmenu as with sansa clip mapping - "back" button returns you to WPS */

I kind of expected the button context in the Settings to be, well, settings, rather than mainmenu. Is that intentional? I had a lot of trouble figuring out what context applied where. Is there an easy way to find that information?

I would put this up on gerrit, but I can't get it to accept my ssh key for some reason.

EDIT: okay, one more thing: The playlist menu appears to also be mainmenu context, however ACTION_STD_CANCEL behaves differently there. I'm not sure why.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on March 13, 2021, 10:35:29 PM
In the Settings menu and the Context menu, the back button exits to the Main Menu or the While Playing Screen, respectively, instead of going one level up. It works correctly when exiting from a selection dialogue, like if I'm in Crossfeed (Select Off/Simple/Custom), hit back and it goes back to the Crossfeed menu, but if I hit back again, it goes all the way to the main menu instead of Sound Settings.

This should now be fixed.

I can't lock the buttons while anywhere except the while playing screen, I'm not sure if this is intended or a bug. For instance, on the main menu I would think I could hit the power button to lock all buttons just like in the wps, but nothing happens.

This too (in general)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: saratoga on March 14, 2021, 10:46:16 AM
The port uses software volume control (I guess they didn't include an analog gain), so at -73dB you have very little dynamic range left and should expect noise.

That would certainly explain what I'm hearing. So the hardware is running full blast and Rockbox is reducing the volume of the data that it's sending to it?

Yeah. I don't know why, but a lot of these hifi players seem to pick fancy DACs but forget that people might want a way to change the volume.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 14, 2021, 11:20:33 AM
In the Settings menu and the Context menu, the back button exits to the Main Menu or the While Playing Screen, respectively, instead of going one level up. It works correctly when exiting from a selection dialogue, like if I'm in Crossfeed (Select Off/Simple/Custom), hit back and it goes back to the Crossfeed menu, but if I hit back again, it goes all the way to the main menu instead of Sound Settings.

This should now be fixed.

I can't lock the buttons while anywhere except the while playing screen, I'm not sure if this is intended or a bug. For instance, on the main menu I would think I could hit the power button to lock all buttons just like in the wps, but nothing happens.

This too (in general)

I'm not seeing either of these fix the issues here unfortunately.

Unless I'm not understanding correctly (very real possibility hah), the context in the settings and context menu is mainmenu, and the flow goes mainmenu -> (tree, if enabled) -> list -> standard. I found that the issue was the ACTION_TREE_WPS action in the mainmenu context, if I moved that to a held button then it started working.

EDIT: I added a change in gerrit to fix the above.

I tested out the power button yesterday when I was messing with it and any other action in that context can be assigned to the power button, but ACTION_STD_KEYLOCK doesn't work for some reason.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 14, 2021, 03:45:40 PM
Yeah. I don't know why, but a lot of these hifi players seem to pick fancy DACs but forget that people might want a way to change the volume.

Is it that it's just not available in the OS, or that it's not physically hooked up? I hope it's the former!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: saratoga on March 14, 2021, 05:55:42 PM
Yeah. I don't know why, but a lot of these hifi players seem to pick fancy DACs but forget that people might want a way to change the volume.

Is it that it's just not available in the OS, or that it's not physically hooked up? I hope it's the former!

Looks like they forgot to include a volume circuit.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on March 14, 2021, 07:12:38 PM
Its a shame it has this design flaw. How is the xduoo x3 II looking now? I know it had a problem with power saving causing a pop and having to hacked around.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 14, 2021, 08:55:04 PM
Yeah. I don't know why, but a lot of these hifi players seem to pick fancy DACs but forget that people might want a way to change the volume.

Is it that it's just not available in the OS, or that it's not physically hooked up? I hope it's the former!

Looks like they forgot to include a volume circuit.


That's a major bummer. I do see a Low/High gain setting in the original firmware, maybe that's a hardware function? Though I just tried it with some bluetooth headphones and the gain setting still has an effect on them, so I doubt it.

I just tried an A/B comparison with the original firmware (using my roommate as a test subject, hah!), and the original firmware can definitely play the same song quieter than when the pops and crackles start on Rockbox, so it's definitely possible. I reckon there's just some magic there that's not apparent yet.

Side note, I never really tried to even use the original firmware until now, holy cow it's bad! Glad Rockbox is taking shape on this thing  ;D
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 16, 2021, 10:05:07 PM
What if in the WPS, holding the Play button brought up the Playlist rather than Stop? The rationale being, if you get to it from the Context Menu it's 3 button presses, which seems like a lot to get to the current playlist. Also, I'm going to go out on a limb and say Stop is probably not a widely used feature. I would think most people would Pause instead.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: JimZipCode on April 04, 2021, 01:59:10 PM
I like the Eros Q/Hifiwalker H2 a _lot_ more than the X3ii.     More compact, a better control layout, and so far, no issues with the audio paths.

(I'm actually pretty disappointed with the X3ii, especially after how unexpectedly awesome the original X3 turned out)

Speachy, can you elaborate on this?  I've had an Xduoo X3ii for two years, and I haven't been displeased with it.  What disappointed you? 

I thought the control layout *looked* crazy when I saw it.  But, surprisingly, it's been intuitive to manipulate by touch (ie without looking at it).

Anyway – I'm always on the lookout for the next player.  (Esp since my X3ii now has some loose part rattling around inside of it: might be on its way to becoming unusable.)  If the model in this thread is better in some specific way, that's super interesting.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: JimZipCode on April 04, 2021, 02:01:51 PM
Unboxing Video, features close up of lanyard/headphone cable hole loop thing:
https://www.youtube.com/watch?v=xOD2emJ80HY

That video is marked private.  Do I have to request permission to view?

Anyway, here are three other unboxing / intro vids:
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 02, 2021, 10:35:32 PM
I thought I would update this thread in case anyone here hasn't been following the commit progress as closely as I have for this player - the "big bug" (for me anyway) of the crackling/popping at quiet volumes has been fixed! Gerrit #3312 (https://gerrit.rockbox.org/r/c/rockbox/+/3312).

So I definitely recommend getting a new build if you haven't updated in a while.

Here's a couple other changes that might be of interest:
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on May 03, 2021, 05:16:37 AM
Unboxing Video, features close up of lanyard/headphone cable hole loop thing:
https://www.youtube.com/watch?v=xOD2emJ80HY

That video is marked private.  Do I have to request permission to view?

Anyway, here are three other unboxing / intro vids:
  • https://www.youtube.com/watch?v=2CrqLUjyz0I
  • https://www.youtube.com/watch?v=kKWQ20GTPiQ
  • https://www.youtube.com/watch?v=dxUgDLOsMI4  (FF to 3:05)
idk why it is marked as private. its not my video. shame :(
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fossphile on May 03, 2021, 05:39:13 AM
I thought I would update this thread in case anyone here hasn't been following the commit progress as closely as I have for this player - the "big bug" (for me anyway) of the crackling/popping at quiet volumes has been fixed! Gerrit #3312 (https://gerrit.rockbox.org/r/c/rockbox/+/3312).

So I definitely recommend getting a new build if you haven't updated in a while.
Great  news! I look forward to trying it :).

Here's a couple other changes that might be of interest:
  • Line Out volume can now be set via the volume limit. The line out at maximum is very loud, so now it can be tamed. Gerrit #3259 (https://gerrit.rockbox.org/r/c/rockbox/+/3259)
  • Text entry controls work as expected now. Gerrit #3260 (https://gerrit.rockbox.org/r/c/rockbox/+/3260)
  • Volume dB scale is now numerically (approximately) correct. I might be the only one in the world that cares about this, but the numerical dB scale is now at least within reason of the actual dB of the output signal (referenced to maximum volume). Gerrit #3328 (https://gerrit.rockbox.org/r/c/rockbox/+/3328)

Calibrated dB scale is very handy to me. Did wonder if dB scales in products,DAPs where calibrated. handy to be able to set output vol. I do find a high output voltage is useful for sound systems and car DSPs. They need the higher level and helps to bury noise floor. Great to have a choice about output level. I hope its a separate volume control not tired to headphone output volume and keys.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 03, 2021, 08:22:20 AM
Calibrated dB scale is very handy to me. Did wonder if dB scales in products,DAPs where calibrated. handy to be able to set output vol. I do find a high output voltage is useful for sound systems and car DSPs. They need the higher level and helps to bury noise floor. Great to have a choice about output level. I hope its a separate volume control not tired to headphone output volume and keys.

The line out volume is set by the Maximum Volume Limit under Sound Settings, so it can be all the way to 0dB (maximum) or -74dB if you wish. It's independent of the regular volume setting for headphones, but it is still the Maximum Volume Limit that the headphone volume won't go above.

Just be aware you can't have both headphones and line out plugged in at the same time - it will prefer the headphone level to protect them (and your ears!) if both are plugged in.

"0dB" is about 6.2 dBV with a full-scale tone from the Line Out, make of that what you will.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on May 03, 2021, 09:29:12 AM
I can't find a way to set repeat, shuffle and so on on the fly rather than having to go through the playback menu which is kinda cumbersome. Am I just not understanding Rockbox, or is this something that simply hasn't been implemented for this player yet? It doesn't have that many buttons so I guess it would need to be implemented through some button combination.
EDIT: Some themes seem to specify functionality mapped to a "hold button", does that have a mapping yet?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 03, 2021, 10:12:45 AM
I can't find a way to set repeat, shuffle and so on on the fly rather than having to go through the playback menu which is kinda cumbersome. Am I just not understanding Rockbox, or is this something that simply hasn't been implemented for this player yet? It doesn't have that many buttons so I guess it would need to be implemented through some button combination.

Somebody else might be able to chime in since I don't regularly use these features, but the fastest way I know if is to go into the playback settings via the Context Menu (hold Menu on the While Playing screen). Unless that's what you're already talking about?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on May 03, 2021, 10:14:32 AM
I can't find a way to set repeat, shuffle and so on on the fly rather than having to go through the playback menu which is kinda cumbersome. Am I just not understanding Rockbox, or is this something that simply hasn't been implemented for this player yet? It doesn't have that many buttons so I guess it would need to be implemented through some button combination.

Somebody else might be able to chime in since I don't regularly use these features, but the fastest way I know if is to go into the playback settings via the Context Menu (hold Menu on the While Playing screen). Unless that's what you're already talking about?
Yeah, that's what I was talking about. I'm pretty sure there would be a faster way to do it.
By the way, edited my last post before I noticed that you had replied. Some themes specify functionality mapped to a "hold button", is that something that has been set up as of yet?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 03, 2021, 10:39:22 AM
Yeah, that's what I was talking about. I'm pretty sure there would be a faster way to do it.
By the way, edited my last post before I noticed that you had replied. Some themes specify functionality mapped to a "hold button", is that something that has been set up as of yet?

Oh, yeah to my knowledge nothing like that has been set up yet. I'm not familiar with what you're describing, maybe someone more knowledgeable about that will chime in.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on May 03, 2021, 10:58:00 AM
Yeah, that's what I was talking about. I'm pretty sure there would be a faster way to do it.
By the way, edited my last post before I noticed that you had replied. Some themes specify functionality mapped to a "hold button", is that something that has been set up as of yet?

Oh, yeah to my knowledge nothing like that has been set up yet. I'm not familiar with what you're describing, maybe someone more knowledgeable about that will chime in.
It's apparently some button you're supposed to hold down to access certain features. In the theme FreshOS this is used to display the album artwork.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on May 03, 2021, 05:59:23 PM
Normally the hold switch is a slider that you can flip back & forth, it locks the other keys so you don't accidentally press them in your pocket. It's like a screen lock, but for physical buttons. Mostly you see it on older devices. It seems it's not very popular anymore.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rayjgu3 on May 06, 2021, 06:41:32 AM
Got me a surfans f20. Rockbox loaded, it boots and plays fine on everything I plugit into headphones speakers but I have a pair of speakers it just won't work with. Changed the cord several times, each time original firmware  plays just fine but rockbox won't. Any ideas I am stumped.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 13, 2021, 10:29:11 AM
I can't find a way to set repeat, shuffle and so on on the fly rather than having to go through the playback menu which is kinda cumbersome. Am I just not understanding Rockbox, or is this something that simply hasn't been implemented for this player yet? It doesn't have that many buttons so I guess it would need to be implemented through some button combination.
EDIT: Some themes seem to specify functionality mapped to a "hold button", does that have a mapping yet?

Oktan, you might be interested in this patch that was merged the other day: Gerrit #3408 (https://gerrit.rockbox.org/r/c/rockbox/+/3408).

This implements Quickscreen, so to change the quick settings, hold down play on the while playing screen and then scroll left/right with the scrollwheel or up/down with the seek buttons. You can add any option in the settings to the quickscreen from the context menu when you're hovered over them in the settings (if that makes sense). I think by default it has shuffle and repeat on left and right.

Otherwise, Stop was moved to holding the power button, and the hotkey (by default, this shows the playlist) can be brought up by moving the scroll wheel on the while playing screen.

Sidenote, I wonder if themes which do something when the hold switch is activated generally do the same action when the softlock (press power) is activated?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 13, 2021, 10:32:36 AM
Got me a surfans f20. Rockbox loaded, it boots and plays fine on everything I plugit into headphones speakers but I have a pair of speakers it just won't work with. Changed the cord several times, each time original firmware  plays just fine but rockbox won't. Any ideas I am stumped.

How do the speakers connect? If it is via the headphone or line out, it should work just fine. If it is via USB, rockbox doesn't do any sort of audio over USB to my knowledge.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on May 14, 2021, 11:30:05 AM
I can't find a way to set repeat, shuffle and so on on the fly rather than having to go through the playback menu which is kinda cumbersome. Am I just not understanding Rockbox, or is this something that simply hasn't been implemented for this player yet? It doesn't have that many buttons so I guess it would need to be implemented through some button combination.
EDIT: Some themes seem to specify functionality mapped to a "hold button", does that have a mapping yet?

Oktan, you might be interested in this patch that was merged the other day: Gerrit #3408 (https://gerrit.rockbox.org/r/c/rockbox/+/3408).

This implements Quickscreen, so to change the quick settings, hold down play on the while playing screen and then scroll left/right with the scrollwheel or up/down with the seek buttons. You can add any option in the settings to the quickscreen from the context menu when you're hovered over them in the settings (if that makes sense). I think by default it has shuffle and repeat on left and right.

Otherwise, Stop was moved to holding the power button, and the hotkey (by default, this shows the playlist) can be brought up by moving the scroll wheel on the while playing screen.

Sidenote, I wonder if themes which do something when the hold switch is activated generally do the same action when the softlock (press power) is activated?
Fantastic, now all we need is something like the hold button for themes that use that to show the album artwork, but I guess that's partly on the theme designers.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on May 14, 2021, 12:03:30 PM
Fantastic, now all we need is something like the hold button for themes that use that to show the album artwork, but I guess that's partly on the theme designers.

The theme engine already treats softlock the same as a physical lock switch, so if the theme was set up to do something when the screen is locked, then it should work as expected on the ErosQ series.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on May 16, 2021, 08:19:52 AM
Fantastic, now all we need is something like the hold button for themes that use that to show the album artwork, but I guess that's partly on the theme designers.

The theme engine already treats softlock the same as a physical lock switch, so if the theme was set up to do something when the screen is locked, then it should work as expected on the ErosQ series.
Something seems to be off with how the theme engine is working in this build then. Nearly every single theme gives a very bare-bones now playing-screen that looks nothing like it's supposed to.

EDIT: Just discovered that this error was caused by missing fonts. A lot of the default fonts are apparently not distributed with the daily builds, but adding them manually fixed it all up.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on June 08, 2021, 07:57:56 PM
In the interests of maybe someday doing a native port to this, I went ahead and tore mine apart to see what was inside. I think I've identified most of the ICs, though GPIO Pin #'s, etc. on the processor are still a mystery.

Here's a zip file of all the pics: https://www.dropbox.com/s/63ww77dj3qp0dgj/erosq%20photos.zip?dl=1 (https://www.dropbox.com/s/63ww77dj3qp0dgj/erosq%20photos.zip?dl=1)

Here's what I have so far:

SoC: X1000 (no E, well yeah we already knew that...) w/ 24.000 MHz crystal
DAC: PCM5102A
PMU: AXP192

And a few that I think I've ID'd:

ATO25D1GA-10ED: 1Gbit NAND Flash

AIG
BCB   --> Possibly Maxim MAX97220 Diff. Headphone Amp?

GAD
SJN   --> Possibly ISL54405IRUZ-T Stereo 2:1 Multiplexer (w/ click/pop elimination)

And a few that I believe to be LDO regulators - 4XXK, LPFG

86200S, near the battery pads - possibly FDC8602 Dual N-Channel MOSFET?


There's still a couple I haven't ID'd:

- The LCD controller, integrated with the panel itself.
- A seemingly unmarked IC near the power button
- The bluetooth module
- A handful of probably-unimportant transistors


Is there anything else I should look at before I put it back together?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on June 08, 2021, 09:12:13 PM
Try getting a look at the LCD controller if possible. it's a tough one to deal with if you don't know exactly what it is, especially if it does not follow the standardized MIPI DCS command numbering. It is probably attached to the LCD module (it's essentially a PHY for the panel, AIUI, so it has to be nearby).

My guess is that bluetooth is underneath that silver case by the flash... it looks like there's an antenna nearby. If you're careful those cases can sometimes be peeled off and clipped back on, but sometimes they are soldered to the board. You can probably figure it out via the OF kernel, even without getting a look at it though.

Unfortunately you probably need to figure out GPIOs the hard way. Buttons are easy since you can poll for them in software, but internal stuff like reset and power pins for accessory ICs are difficult without accurate source code. Since you've got the case open, some of those pins might be accessible, others probably not. You can reverse engineer the OF's kernel, since it is virtually guaranteed to follow the ingenic blob for >99% of the code, and the GPIOs will be encoded in data tables or code that you can eventually dig out if you are persistent enough.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on June 08, 2021, 10:16:46 PM
Try getting a look at the LCD controller if possible. it's a tough one to deal with if you don't know exactly what it is, especially if it does not follow the standardized MIPI DCS command numbering. It is probably attached to the LCD module (it's essentially a PHY for the panel, AIUI, so it has to be nearby).

My guess is that bluetooth is underneath that silver case by the flash... it looks like there's an antenna nearby. If you're careful those cases can sometimes be peeled off and clipped back on, but sometimes they are soldered to the board. You can probably figure it out via the OF kernel, even without getting a look at it though.

Unfortunately you probably need to figure out GPIOs the hard way. Buttons are easy since you can poll for them in software, but internal stuff like reset and power pins for accessory ICs are difficult without accurate source code. Since you've got the case open, some of those pins might be accessible, others probably not. You can reverse engineer the OF's kernel, since it is virtually guaranteed to follow the ingenic blob for >99% of the code, and the GPIOs will be encoded in data tables or code that you can eventually dig out if you are persistent enough.

Thanks for the wisdom!

I'm not quite familiar with what I'm looking for re: LCD controller, but I don't see any ICs that are obviously involved. The ribbon cable connects directly between the PCB and the panel itself (I did take it out of the holder very carefully, but didn't get any pics because it seemed very fragile). See: https://www.dropbox.com/s/l8fyx02fuldlpzb/erosq%20photos2.zip?dl=1 (https://www.dropbox.com/s/l8fyx02fuldlpzb/erosq%20photos2.zip?dl=1)

Is it possible there isn't an LCD controller and it's driven directly from the SoC?

The bluetooth module's cover sure looks firmly attached to me, I tried and I don't think it's coming off.

Bummer about the GPIOs, but it makes sense.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on June 09, 2021, 05:42:09 AM
No chance that the SoC drives the panel directly. Take look at the pinout on the ST7789V (https://web.archive.org/web/20200704160431/https://www.newhavendisplay.com/appnotes/datasheets/LCDs/ST7789V.pdf) which is probably the M3K's LCD controller. The panel has 240 pins (this should be true of all 320x240 panels, I believe) and your ribbon cable is 18 pins, so there's definitely a controller present.

The ST7789V is about 15.1x0.7mm... your controller is probably same or similar dimensions. Actually, looking at DSCF2985.JPG from your first batch of photos, it would likely be hidden underneath that black plastic or sticker below the panel, where the ribbon cable is going into. Personally, I'd be afraid of destroying the LCD module by peeling that off.

You can pick the LCD controller initialization command table out of the kernel -- you'd likely have to do this even if you do identify the controller IC -- and the command set might give you a way to identify the controller indirectly.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on June 11, 2021, 11:49:52 AM
Another small tidbit I think - the 6 pin IC near the battery pads marked 86200S might possibly be FDC8602 Dual N-Channel MOSFET. I'll edit the post above.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on June 13, 2021, 12:26:33 PM
No chance that the SoC drives the panel directly. Take look at the pinout on the ST7789V (https://web.archive.org/web/20200704160431/https://www.newhavendisplay.com/appnotes/datasheets/LCDs/ST7789V.pdf) which is probably the M3K's LCD controller. The panel has 240 pins (this should be true of all 320x240 panels, I believe) and your ribbon cable is 18 pins, so there's definitely a controller present.

The ST7789V is about 15.1x0.7mm... your controller is probably same or similar dimensions. Actually, looking at DSCF2985.JPG from your first batch of photos, it would likely be hidden underneath that black plastic or sticker below the panel, where the ribbon cable is going into. Personally, I'd be afraid of destroying the LCD module by peeling that off.

You can pick the LCD controller initialization command table out of the kernel -- you'd likely have to do this even if you do identify the controller IC -- and the command set might give you a way to identify the controller indirectly.

Any chance you can give some guidance on extracting/decompiling/comparing the kernel to the generic ingenic blob? I haven't ever done anything like that, and I'd like to give it a shot. I can stumble my way through assembly code given enough time, but I could hardly be called proficient at it. Any resources to get started?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on June 13, 2021, 04:22:28 PM
For disassembling the kernel you can use Ghidra (https://ghidra-sre.org/). Ghidra's quite powerful and it has analyzers and a decompiler which will do a ton of work for you, I really can't recommend it enough. You don't need to read much assembly code or understand it "by hand" in most cases, thanks to the decompiler. It occasionally breaks down, but usually that's a sign you need to provide some extra annotation manually to stop it getting confused (it isn't perfect after all). But be warned: I lost some work a handful of times to crashes/hiccups, although the project reloaded fine afterward. So you probably want to save often. Of course if you have access to any other reverse engineering tools, by all means use them. But none of the free ones I've seen are as good as Ghidra.

Kernel sources and datasheets can be found here: https://github.com/YuanhuanLiang/X1000 (https://github.com/YuanhuanLiang/X1000). I didn't take a close look at it but it seems right. (vitt13 posted that link on the M3K thread.) It seems the Ingenic FTP servers are no longer accessible and they've changed all the links on their main site to point to a baidu drive which apparently won't let you download unless you have an account... I think (it's all in Chinese).

You can probably grab the kernel binary from the update package; otherwise you need to dump your device's NAND (a good idea anyway). Often nanddump is present on the OF's filesystem and with that you can take dumps using a script. Make sure you take normal dumps and dumps including OOB data; the OOB data will let you know if there is any ECC scheme in use.

Once you get the kernel image, it is likely in xImage format, with a 32-byte header prepended to the kernel binary / decompressor stub. You can pick that apart manually if you want, but I was lazy and used 'binwalk (https://github.com/ReFirmLabs/binwalk) -e' to extract the vmlinuz image automagically.

When importing the vmlinuz image into a ghidra project, you should pick MIPS LE 32 bit architecture and map the base address as 0x80010000. It's possible they're using another base address, but I doubt it. (You will be able to tell if it's wrong because all the jump targets would be messed up and not pointing to proper function prologues.)

I also have some notes from my own kernel disassembly which might help you in locating certain functions, platform_data structs, & other tables that'll tell you GPIOs and other useful things, but I have to clean them up first so they're intelligible. Would you be interested in them?

I'm not too sure about resources on reverse engineering as such. I wasn't able to find a whole lot myself, but I have enough background knowledge of C/systems programming/low level stuff in general, that once I discovered Ghidra, I was able to make good headway on my own. With vaguely accurate source code, it wasn't too hard to piece things together, although somewhat time consuming at first due to not knowing what I'm doing.

PS: porting Rockbox to the M3K was the first time I ever did anything serious with operating systems, hardware drivers, or the like; ie. beyond the level of a 'hello world' OS. It also took me about a year to piece everything together... So don't get discouraged if things are hard going at first. You just have to keep at it, and eventually things will start to make sense.

Good luck!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on June 13, 2021, 04:48:41 PM
For disassembling the kernel you can use Ghidra (https://ghidra-sre.org/). Ghidra's quite powerful and it has analyzers and a decompiler which will do a ton of work for you, I really can't recommend it enough. You don't need to read much assembly code or understand it "by hand" in most cases, thanks to the decompiler. It occasionally breaks down, but usually that's a sign you need to provide some extra annotation manually to stop it getting confused (it isn't perfect after all). But be warned: I lost some work a handful of times to crashes/hiccups, although the project reloaded fine afterward. So you probably want to save often. Of course if you have access to any other reverse engineering tools, by all means use them. But none of the free ones I've seen are as good as Ghidra.

Kernel sources and datasheets can be found here: https://github.com/YuanhuanLiang/X1000 (https://github.com/YuanhuanLiang/X1000). I didn't take a close look at it but it seems right. (vitt13 posted that link on the M3K thread.) It seems the Ingenic FTP servers are no longer accessible and they've changed all the links on their main site to point to a baidu drive which apparently won't let you download unless you have an account... I think (it's all in Chinese).

You can probably grab the kernel binary from the update package; otherwise you need to dump your device's NAND (a good idea anyway). Often nanddump is present on the OF's filesystem and with that you can take dumps using a script. Make sure you take normal dumps and dumps including OOB data; the OOB data will let you know if there is any ECC scheme in use.

Once you get the kernel image, it is likely in xImage format, with a 32-byte header prepended to the kernel binary / decompressor stub. You can pick that apart manually if you want, but I was lazy and used 'binwalk (https://github.com/ReFirmLabs/binwalk) -e' to extract the vmlinuz image automagically.

When importing the vmlinuz image into a ghidra project, you should pick MIPS LE 32 bit architecture and map the base address as 0x80010000. It's possible they're using another base address, but I doubt it. (You will be able to tell if it's wrong because all the jump targets would be messed up and not pointing to proper function prologues.)

I also have some notes from my own kernel disassembly which might help you in locating certain functions, platform_data structs, & other tables that'll tell you GPIOs and other useful things, but I have to clean them up first so they're intelligible. Would you be interested in them?

I'm not too sure about resources on reverse engineering as such. I wasn't able to find a whole lot myself, but I have enough background knowledge of C/systems programming/low level stuff in general, that once I discovered Ghidra, I was able to make good headway on my own. With vaguely accurate source code, it wasn't too hard to piece things together, although somewhat time consuming at first due to not knowing what I'm doing.

PS: porting Rockbox to the M3K was the first time I ever did anything serious with operating systems, hardware drivers, or the like; ie. beyond the level of a 'hello world' OS. It also took me about a year to piece everything together... So don't get discouraged if things are hard going at first. You just have to keep at it, and eventually things will start to make sense.

Good luck!

Thank you so much, that's an amazing explanation! It helps a ton to know a general roadmap with what tools I can use. Now to try to extract that kernel image... 8)

EDIT for my own or somebody else's future reference: wow, the .upt file is really just an ISO with a different file extension - change it to .iso and it can be mounted like any other iso file, at least on macos... see here (https://www.rockbox.org/wiki/ShanlingM2sPort)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Tarik on September 20, 2021, 10:07:37 AM
i guess theres still tons for you to do still ;D in porting rockbox to these players. Any micro updates :) would be received with love but otherwise I patiently and keenly wait :)

Yesterday I committed support in the RockboxUtility (no binary builds available as of this writing), complete with patches for the stock firmware images.

A few minutes ago I finished uploading updated bootloader images with some critical fixes for the hotswap and external USB storage support.

It's coming along nicely.
Hi, I just registered to ask you this. Does that mean that there's full Rockbox support for this device?
https://www.amazon.de/-/en/High-Res-MP3-Player-Expandable/dp/B07VWK4FP3/
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on September 24, 2021, 08:34:34 AM
Hi, I just registered to ask you this. Does that mean that there's full Rockbox support for this device?
https://www.amazon.de/-/en/High-Res-MP3-Player-Expandable/dp/B07VWK4FP3/

Yep.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fennectech on January 04, 2022, 02:00:47 PM
I bought a surfans F20 on eBay for 70 bucks with some gnarly cosmetic issues but supposedly fully functional.    Will the Bluetooth work in Rockbox?   If i could grab any info for it like looking up the bt chip part number id be glad to if getting it apart isnt a total bitch.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 04, 2022, 05:55:18 PM
I bought a surfans F20 on eBay for 70 bucks with some gnarly cosmetic issues but supposedly fully functional.    Will the Bluetooth work in Rockbox?   If i could grab any info for it like looking up the bt chip part number id be glad to if getting it apart isnt a total bitch.

Rockbox doesn't have any bluetooth functionality on any device yet - I understand it's been a "someday" project for a while. I had mine apart as well and there was a metal shield around the bluetooth module that I wasn't able to get off, so if you could manage to do that it would probably help a lot.

I have the pictures I took linked somewhere earlier in this thread if you want to take a look at how it comes apart, assuming the Surfans is anything like the Hifi Walker version. I just kind of pried my way in, but I think the way to do it without damage would be to take the screen protector off and there should be 2 screws under there that hold the back on, then the back cover should just pop out with a little effort. Just be a little careful, as the bluetooth antenna and battery are both attached to the back.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on January 04, 2022, 06:34:52 PM
To elaborate a little, what's missing for Bluetooth on the hosted port is a UI and all the 'glue' code to actually push out audio. It might be quite a bit of work but assuming it all goes through normal Linux/ALSA/BlueZ APIs, it shouldn't be too difficult to implement.

The native port is a different story - we'd need a Bluetooth stack, which probably means porting BlueZ, and drivers for the BT hardware, most likely by porting Linux drivers, in addition to all that front-end UI and glue code. IMHO that's probably not worth the effort - it would be easier and more useful to port a mainline Linux kernel and build our own userspace to run Rockbox.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fennectech on January 09, 2022, 04:22:27 PM
This hosted one.  I love the idea.  Is there any chance we could get a terminal to the underlying linux environment too?   It has usb host. So perhaps even a keyboard?  Also.  Can you link me to the hosted port of rockbox?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on January 10, 2022, 10:15:28 AM
Installation instructions are on the wiki here: https://www.rockbox.org/wiki/AIGOErosQK. You probably want the pre-patched updates, which work like a normal original firmware update. Once you've installed that you can extract a daily build of Rockbox to the SD card.

As for a terminal, you can get a serial console using the 'run script' option in the Rockbox bootloader, once you've installed Rockbox. I don't have one of these players but I have used this script on the FiiO M3K, which runs basically the same Linux environment:
Code: [Select]
#!/bin/ash
insmod /lib/modules/3.10.14/kernel/driver/staging/dwc2/dwc2.ko
insmod /lib/modules/3.10.14/kernel/driver/usb/gadget/libcomposite.ko
insmod /lib/modules/3.10.14/kernel/driver/usb/gadget/u_serial.ko
insmod /lib/modules/3.10.14/kernel/driver/usb/gadget/usb_f_serial.ko
insmod /lib/modules/3.10.14/kernel/driver/usb/gadget/usb_f_acm.ko
insmod /lib/modules/3.10.14/kernel/driver/usb/gadget/g_serial.ko
getty /dev/ttyGS0 115200
rmmod g_serial
rmmod usb_f_acm
rmmod usb_f_serial
rmmod u_serial
rmmod libcomposite
rmmod dwc2

That should give you a serial port running getty - assuming the script works - which you can connect to using any serial console app, eg. minicom.

EDIT: Bilgus has an old bluetooth menu patch on gerrit which might be a good starting point for the UI - g#3044 (https://gerrit.rockbox.org/r/c/rockbox/+/3044).
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: fennectech on January 10, 2022, 09:16:35 PM
Any chance i could get a built version?  i dont have a dev enviroment for rockbox here.   anyway im setting things up   also   will auto reconnect to bluetooth headphones ever be a thing on here?

Edit   set up a build enviroment and compilation fails :<
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on January 15, 2022, 10:41:19 AM
There's no pre-built version since it's only a patch on gerrit. Not surprising it won't compile as-is, since it's pretty old and there's merge conflicts. I just thought it might be helpful in some way.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Kofa on February 23, 2022, 02:52:15 PM
I may be getting an Aigo eros q soon.  On the aigo eros q/k target status page:

https://www.rockbox.org/wiki/AIGOErosQK

It says "The RockboxUtility fully supports these players (note that the current 1.4.1 release is from 2019 and will not work)"

Any idea which of the older (windows) version will work?  All the other versions are from 2014 and earlier, I'm guessing those wouldn't work with this newer player.

The manual installation instructions seem a bit difficult to me.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on February 23, 2022, 04:24:21 PM
None of the older windows Rockbox Utility versions will work, you need a version newer than 1.4.1. I thought that there was a development build for download somewhere, but I can't seem to find it. At the bottom of This page (https://www.rockbox.org/wiki/RockboxUtility) there is a link to where a current development build is supposed to be hosted, but it seems to be broken. Presumably there is a build somewhere around here.

If nobody has a download for Rockbox Utility which supports it, doing a manual installation isn't really all that hard. The firmware patching stuff isn't necessary, there are pre-patched firmware update files, so the process should be:
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: bluebrother on February 23, 2022, 04:26:13 PM
Any idea which of the older (windows) version will work?

None. Why should an even older version work if said version is too old? You need something more recent than 1.4.1.

I thought that there was a development build for download somewhere, but I can't seem to find it.

It's a sticky in the "Rockbox Utility" subforum: https://forums.rockbox.org/index.php/topic,53588.0.html

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Kofa on February 23, 2022, 09:11:01 PM
It does sound simple.  Thanks guys.  Anyways, the reason I say I "may" be getting one, is that I just ordered this for $29. Sounds too good to be true.:
 https://www.walmart.com/ip/EROS-Q-aigo-HiFi-Digital-High-Resolution-Lossless-Music-Audio-Player/234471690?wmlspartner=wlpa&selectedSellerId=101043425&&adid=22222222227000000000&wl0=&wl1=g&wl2=c&wl3=42423897272&wl4=pla-51320962143&wl5=9018911&wl6=&wl7=&wl8=&wl9=pla&wl10=278534602&wl11=online&wl12=234471690&veh=sem&gclid=EAIaIQobChMIz_-hpayW9gIVkY7ICh2D9QHEEAQYASABEgLwovD_BwE&gclsrc=aw.ds     (https://www.walmart.com/ip/EROS-Q-aigo-HiFi-Digital-High-Resolution-Lossless-Music-Audio-Player/234471690?wmlspartner=wlpa&selectedSellerId=101043425&&adid=22222222227000000000&wl0=&wl1=g&wl2=c&wl3=42423897272&wl4=pla-51320962143&wl5=9018911&wl6=&wl7=&wl8=&wl9=pla&wl10=278534602&wl11=online&wl12=234471690&veh=sem&gclid=EAIaIQobChMIz_-hpayW9gIVkY7ICh2D9QHEEAQYASABEgLwovD_BwE&gclsrc=aw.ds)

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on February 24, 2022, 08:29:20 AM
Well, judging by the "out of stock" status, maybe there was only one somebody was trying to get rid of, and you got it  ;D

Or somebody forgot a couple "1"s in the form to put up the posting haha
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Bilgus on February 24, 2022, 09:41:56 AM
Watch out for 3rd party sellers on walmart.com, walmart will not do anything except take your money, seller sent you a used broken device? POUND SAND
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 26, 2022, 01:50:36 PM
Were there any folks in here with the native port installed on their players? If someone wants to test out a new bootloader which supports booting into the OF it would be helpful.

Basically I just need someone to use jztool to load up this bootloader build (https://www.dropbox.com/s/mzhpthms0urose2/erosqk%20bootloader%20OF%20boot%203-26-2022.zip?dl=1) and see if the Aigo Player option works. There's no need to actually install it on your player unless you really want to.

It works really well on my player, but I don't know for sure that it will work on others so it's probably good to test.

It corresponds to change #4394 on gerrit. (https://gerrit.rockbox.org/r/c/rockbox/+/4394)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on March 27, 2022, 10:43:38 AM
By the way, I've added installation instructions for the Eros Q native port to the Rockbox wiki: https://www.rockbox.org/wiki/JztoolInstall.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on April 01, 2022, 01:03:07 PM
If there is anybody in here with the Native port, it now supports dual-booting into the original firmware!

Here is a download of the bootloader build:
http://download.rockbox.org/bootloader/aigo/native/bootloader.erosq (http://download.rockbox.org/bootloader/aigo/native/bootloader.erosq)

Instructions are, as amachronic said above, listed in the wiki.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Falco98 on May 23, 2022, 10:31:00 AM
If there is anybody in here with the Native port, it now supports dual-booting into the original firmware!

I just got one from Amazon with OF version 2.7 on it.  I was able to do the manual "update" down to the pre-patched dual-booting 2.5 firmware; the boot sequence seems to work fine, both for booting into Rockbox as well as into the OF.  However as soon as I attempt to start playback on a music file in Rockbox, it crashes with a segmentation fault error message (after which any button press will reboot the unit).  Is this some known issue / limitation?  Is it due to downgrading from a higher OF version?  (I did confirm that music playback in the OF, 2.5 version, works fine, with the same file(s)).

ETA: ugh -- I'm really sorry, in my haste I forgot to mention that the actual unit I got was the Surfans F20.  Maybe the firmware numbers I listed were enough info for some readers, but I'm not sure, and no idea why I didn't include that originally.  Also I'm not sure why I replied to a comment about the Native port, as I definitely installed the hosted port.

Also: if anyone's interested, the RockboxUtility installer *definitely* seemed to not want to work on this player out-of-box.  I provided RBUtil with the "original" 2.5 version firmware from the Surfans website (despite the player already being at version 2.7), and RBUtil basically just crashes and disappears after providing the firmware file.  As I mentioned above, manually updating with the pre-patched Rockbox "2.5" version worked.  Just in case someone wants to look into this, and/or have me try something different for debugging reasons.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 23, 2022, 11:32:44 AM
It sounds like you're on the hosted port rather than the native port, is that right? if you installed with the pre-patched firmware version, that is the hosted port. Does the Rockbox/OF select screen come up every time you boot the player?

As for the segmentation fault error message, that is a new one. Just to try to narrow down the situation, were you trying to play a file from the file browser or from the database? What file type and how long is it, and are there any special characters in the folder or file name?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Falco98 on May 23, 2022, 05:49:33 PM
It sounds like you're on the hosted port rather than the native port, is that right? if you installed with the pre-patched firmware version, that is the hosted port. Does the Rockbox/OF select screen come up every time you boot the player?
Yes, and yes (as far as I understand the difference between hosted / native; all my other RB devices have been too old to offer such a distinction).  To confirm, the selection screen does come up every time it powers on.

As far as the song I tried: it's an Ogg Vorbis file, encoded in a standard way; I tried to start it from the file browser.  I only loaded a single album to the device for testing reasons, though I can load more and see if other formats act differently.  No particular special characters, etc.

Edit: tried with FLAC and MP3 albums and both work.  So, so far it's just the Ogg Vorbis (standard encoding, Q5) that produces the segfault.  I'll try with some other albums and encodings and see if the error seems to follow anything in particular.  Sorry for not troubleshooting more first, lol.

Edit 2: ok, now i feel silly.  I removed the baked-in album art from the album in question and it no longer SegFaults.  The only difference between the art on this album and most others is that it's like 1400px square - I only left it in because it came with that one by default.  Most other times I swap out for a 500 or 600 pixel square version.  And of course it's useless in Rockbox anyway since it doesn't even observe embedded album art in flac/vorbis files -_-

The funniest part?  If I extract the troublesome album art and put it in the album folder (in the standard convention of "folder.jpg" etc), it works fine in Rockbox and even displays.  So it's not even as if it's a corrupt image file or anything.  Goofy.  But I assume it's just a quirk and I just had the bad luck of trying this one first, lol.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 23, 2022, 06:14:22 PM
Ok, sounds good, thanks for narrowing it down. It doesn't sound like something device-specific if it's only ogg vorbis format files. One other sanity-check thing is, is this an old SD card? You could try overwriting your .rockbox folder - I had once or twice where a really cheap SD card actually corrupted the .rockbox folder right off the bat and I had weird crashing issues. Maybe try a good, name brand SD card you trust and see if the issue is still present.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Falco98 on May 23, 2022, 06:28:26 PM
Ok, sounds good, thanks for narrowing it down. It doesn't sound like something device-specific if it's only ogg vorbis format files. One other sanity-check thing is, is this an old SD card? You could try overwriting your .rockbox folder - I had once or twice where a really cheap SD card actually corrupted the .rockbox folder right off the bat and I had weird crashing issues. Maybe try a good, name brand SD card you trust and see if the issue is still present.
Sorry - I added some further info in edits to my last reply above.  TL;DR is it ended up being that Rockbox is choking on embedded album art in one particular Ogg album with an unusually large-resolution cover image (though the image's filesize is only 290kb).

The "Cheap SD card" thing is an interesting thought too - I'm actually using the 32gb card that comes preinstalled in the F20 - I didn't even take it out yet to verify what brand it allegedly is.  But now that I have things working otherwise I'm assuming that isn't the particular issue I'm experiencing here.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 24, 2022, 11:11:30 AM
Good to hear you got it sorted out. To be honest, trying to load a too-big image file really shouldn't cause it to segfault like that. But, sometimes that's reality.

I don't think I have any ogg vorbis files at the moment, but I definitely use FLAC files with embedded art, so that should work. It is important to make sure that the art is a basic jpg rather than a progressive jpg or png, and like you say, a reasonable size - I think I use 700x700 usually.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Falco98 on May 24, 2022, 02:24:18 PM
To be honest, trying to load a too-big image file really shouldn't cause it to segfault like that. But, sometimes that's reality.
I'd've thought so myself.  I'll check later if I can reproduce the same issue with a "blank" ogg file with the same album art, and if so I can attach it here for any interested parties to look into.

Quote
I don't think I have any ogg vorbis files at the moment, but I definitely use FLAC files with embedded art, so that should work.
Can you confirm?  AFAIK none of my "vorbisComment" type files (flac or ogg) currently work in Rockbox with embedded art.  As the vorbisComment spec doesn't "officially" support it (last i checked, i guess?), I assumed it was not yet supported in RB.  The only one I was sure would work was MP3.

Quote
It is important to make sure that the art is a basic jpg rather than a progressive jpg or png, and like you say, a reasonable size - I think I use 700x700 usually.
I'm used to this constraint, having been using RB on color targets since the Ipod 5.5gen became stable years-and-years ago :)
I checked the extracted art file for the one that seems to have caused the seg fault, and it's not progressive, at least.  Not only that, but when I placed it separately in the music folder (alongside files no longer containing the image), it works in rockbox.  Go figure.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 24, 2022, 03:09:36 PM
Yep, I can confirm I have .flac files with Tag 2, type Vorbis, where the embedded album art works. the picture type is "Cover (front)", Mimetype image/jpeg, and text encoding ISO-8859-1. I did rename the cover.jpg in the same folder to bak_c_over.jpg too, because I'm not sure what the filename matching requirements are for that.

I should add, these are all FLACs I've downloaded from bandcamp, but I have a script which ensures the album art is suitable for RB using kid3 and imagemagick - all it does is extracts it, converts to baseline jpeg, and rescales it to 700x700, then re-embeds it.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Falco98 on May 24, 2022, 03:26:13 PM
Yep, I can confirm I have .flac files with Tag 2, type Vorbis, where the embedded album art works. the picture type is "Cover (front)", Mimetype image/jpeg, and text encoding ISO-8859-1. I did rename the cover.jpg in the same folder to bak_c_over.jpg too, because I'm not sure what the filename matching requirements are for that.
Thanks - it turns out the one FLAC album I'd tried had cover art files in the directory so I assumed it was using those.  I just deleted the files and re-tested and it does seem to pick up the embedded art.  Given that, I wonder why it doesn't work yet for Ogg Vorbis files... after all, FLAC files use *vorbis* comments, lol.

Edit: to add to the confusion a bit, current versions of the manual seem to indicate that vorbiscomment embedded album art still shouldn't work: http://download.rockbox.org/daily/manual/rockbox-fiiom3k/rockbox-buildap2.html#x18-428000B.2
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: JoeH2 on May 27, 2022, 05:45:57 PM
I recently got a new "HiFi Walker H2".
Unfortunately the installed Firmware Version is 1.4 and installing Rockbox was not working.
I tried to install using Rockbox Utility.
Auto recognition failed, so i selected "HiFi Walker H2 1.3+"
SD content looks ok.

When running Firmware Update from the stock firmware, output is:

"Updater V1.1
v_v File error"

and then:
"v_v Failed"

 :'(



BTW: There is a video on YT where someone opens a Aigo Eros, but the PCB looks very different to the one of dconrad.
The PCB there has to marking "QII_V2_20190523".
https://www.youtube.com/watch?v=rPH3Trj3P00

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: azndante on May 27, 2022, 11:56:31 PM
I also got the Surfans F20 with V2.7 firmware loaded on it. Even though I can downgrade with the pre-patched V2.5 hosted-port firmware, the line-out port stopped working for me. Going back to V2.7 firmware got the line-out port again. I bought the player for the line-out port, so I will have to stay with the official firmware until the pre-patched firmware is available. I haven't tested if any other functionality stopped working using an older firmware yet.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: 7o9 on May 28, 2022, 12:56:07 AM
BTW: There is a video on YT where someone opens a Aigo Eros, but the PCB looks very different to the one of dconrad.
The PCB there has to marking "QII_V2_20190523".

By that marking, it sounds like a Qii, for which the wiki says 'NOTE: The EROS Qii uses a very different internal platform internally, and is *not supported.*': https://www.rockbox.org/wiki/AIGOErosQK
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: JoeH2 on May 28, 2022, 04:59:02 PM
I don't think my H2 is based on the Eros Q2 Hardware.
There is a lot shielding on the Q2 Board which "normally should" be detectable with a strong magnet.
I can detect the screws, the connectors and the sd-slot, but nothing where the processor should be.
Maybe its just a new software.

How can the software be extracted from the device? Can this be done without opening the case?
Or is there any other way to install Rockbox?

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: kaas on May 29, 2022, 09:02:11 AM
I'm running the hosted port on a Surfans F20, downgraded from 2.7 to 2.5. Two issues I encountered: no left/right buttons in some games (e.g. sgt-net); slow scrolling, similar to this bug (https://www.rockbox.org/tracker/task/13252).
Edit: found the reason for the slowness, it happens only with "backlight fade in" turned off. Bug (https://www.rockbox.org/tracker/task/13353).
Other than that, very happy having a rockboxed player again after my xduoo x3 died, big thanks to everyone making this possible.

Edit: Thought I'd try the native port, but I get "NAND open error" when trying to backup the bootloader from the Rockbox recovery menu. I used the 32gb SD card with fat32 fs and mbr partition table. As said, I'm using a player that shipped with 2.7, could that have something to do with it? Any ideas how to resolve this? I can actually load the native port directly from the recovery menu, without installing the bootloader, and it runs much smoother (slow scrolling issue is completely gone).
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: JoeH2 on May 29, 2022, 11:28:36 AM
 :)
I was very brave and tried the Native Port Installation.
Everyting went well and Rockbox is running perfectly.

BTW: Was i right with my assumption that just running "./jztool -v erosq load bootloader.erosq" can not brick the device?

So many thanks to the developers!
Rockbox saved the device from sending back, as the original firmware was absolutely unusable.



Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on May 29, 2022, 12:46:14 PM
:)
I was very brave and tried the Native Port Installation.
Everyting went well and Rockbox is running perfectly.

BTW: Was i right with my assumption that just running "./jztool -v erosq load bootloader.erosq" can not brick the device?

So many thanks to the developers!
Rockbox saved the device from sending back, as the original firmware was absolutely unusable.
Great! and yes, that command cannot brick the device.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: twotoneblue on June 12, 2022, 08:26:24 AM
Dear fellow Rockboxers and developers,

First, my sincerest thanks to the community that develops and maintains Rockbox - your efforts are loved and respected!

I recently got a Surfans F20 and (of course) wanted to install Rockbox on it, having had excellent experiences with Rockbox on a Sansa Clip+ 8GB that travelled with me for many years.

As in the case of @azndante @kaas and likely many others, the F20 came with firmware V2.7 on it, for which a bootloader patch is not yet available, so I decided to downgrade to V2.5 and run the hosted port/dual boot setup. This works fine, either using the prepatched image or a manually patched stock V2.5 firmware file.

From the few days I've used this setup, playing FLAC and MP3, playback and queing works fine. With a pair of common IEMs (Beyerdynamic Soul BYRD, nom. imp. 18 Ohm), I think I hear some distortion from time to time in "crowded" passages (this is with Bass @ -2), but take that with a grain of salt since the cat chewed on the cable recently and may have damaged the lead.

With pair of vintage Sennheiser HD424 (nom. imp. 2 kOhm <- yes, that is correct), the volume is a good bit lower - a quiet track may need close to max volume. The bass response is also noticeably more rolled off (as is to be expected), so some tracks may need a bit of a bass boost. But then again, I guess the intention is rarely to run such headphones directly from the F20, but rather to use the line out to a separate amplifier for the HD424s.

A brief test of audio over bluetooth under the stock V2.5 to a pair of wireless headphones (JBL Contour) seems to work allright too (volume is a little lower than when feeding them from e.g. the TV).

Unfortunately, as noted by @azndante above, the line out is silent with this setup (V2.5 patched + daily Rockbox). I upgraded to the stock V2.7 firmware and there, the line out works again (to be sure, I also did a cycle of V2.7 -> V2.5 -> V2.2 -> V2.5, testing at each point, but the line out only works with V2.7). Could the reason for this behaviour be hardware changes in the V2.7 models, or is it more likely that a hardware address or something similar changed? Is your line out working, @kaas?

BTW: should this behaviour be reported as a bug?

I can add that with the patched V2.5 dual boot setup, connecting the line out to a stereo set (with some volume up) or headphones does not produce any audible pops (in either OS), nor does unplugging during playback trigger a pause in playback in the HiBy player/OS, as it does when the line out is functional under V2.7.  I may be mistaken, but this suggests to me that the line out is shorted to ground, as in, not turned on/active. I'm no IC designer, but could this have some bearing on the alleged distortion above, by creating some form of imbalance or cause the headphone amp to run "hotter" than it should?

As a shot in the dark, I also tried to patch the V2.7 image with the V2.5 patch. bspatch produces no errors on issuing:
Code: [Select]
bpatch update_2.7_stock.upt update.upt F20-v25.bsdiff But the new update.upt image is not accepted by the firmware updater (I realize that to attempt this may or may not have made any sense - I'm alltogether unfamiliar with the content of the patch and the prerequisites of the firmware updater). The bspatch tool comes with the bsdiff package on Ubuntu, if that is helpful to anyone.

Is there anything we can try/do/report on to help the developers towards a patch for V2.7?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: kaas on June 13, 2022, 03:51:41 AM
My line out is currently not working, using the hosted port. Amachronic is kindly helping with getting the native port running on my 2.7-shipped device in this thread (https://forums.rockbox.org/index.php/topic,54228.0.html), so you could wait for the outcome of that.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: twotoneblue on June 13, 2022, 10:48:18 AM
Very interesting! Thanks @kaas - I'll follow the other thread with a keen eye, and can help out with any confirmations if data from a second unit is needed!  ;D
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: seebop on August 04, 2022, 04:02:48 AM
I recently got a new "HiFi Walker H2".
Unfortunately the installed Firmware Version is 1.4 and installing Rockbox was not working.
I tried to install using Rockbox Utility.
Auto recognition failed, so i selected "HiFi Walker H2 1.3+"
SD content looks ok.

When running Firmware Update from the stock firmware, output is:

"Updater V1.1
v_v File error"

and then:
"v_v Failed"

 :'(



BTW: There is a video on YT where someone opens a Aigo Eros, but the PCB looks very different to the one of dconrad.
The PCB there has to marking "QII_V2_20190523".
https://www.youtube.com/watch?v=rPH3Trj3P00

Hey all, so I've been looking for something to replace my dead Sansa and these look like the best bang for the buck.
I'm leaning towards the Hifiwalker H2 because I much prefer the black color and the rounded corners but the post above has me worried. Does that mean there's no way to install RB on the new versions with 1.4 firmware? Or is there a way to downgrade to 1.3 before installing RB? If not is it likely to be possible in the near future?
Thanks
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on August 04, 2022, 08:45:16 AM
As hifiwalker doesn't provide newer firmware images for download, we don't ahve anything to work with.  We'd have to open up the player to attach a serial console, and extract the flash contents directly.  I had to do this with a v1.3 player, I expect v1.4 is the same, assuming they didn't make any significant hardware changes..

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: seebop on August 04, 2022, 09:05:24 AM
Well that sucks :(
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on August 04, 2022, 10:06:15 AM
I would guess the Hifiwalker units are getting the same changes as the F20 - or at least I would hope so. Can we not use usbboot and the (native) bootloader to dump the flash contents?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oscar on August 05, 2022, 10:38:08 AM
I would guess the Hifiwalker units are getting the same changes as the F20 - or at least I would hope so. Can we not use usbboot and the (native) bootloader to dump the flash contents?
I took the chance and ordered a Hifi Walker H2 from Amazon.de. And yes, I like the rounder edges and the feel of the device much over the Surfans F20.
Of course I've got a device with firmware 1.4. The "normal" bootloader "bootloader.erosq" gives the same "NAND open error" as on the v 2.7 of the Surfans. So, I tried "bootloader-v7.erosq" from the thread https://forums.rockbox.org/index.php/topic,54228.0.html (https://forums.rockbox.org/index.php/topic,54228.0.html). And guess what, it works. They seem to have the same updated hardware.
Before installing the new bootloader, I have made a backup of the original bootloader, the original firmware, and made a flash dump of the original flash. Are these backups helpful for creating a new hosted port of Rockbox? How can I share them?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: seebop on August 05, 2022, 12:12:11 PM
I would guess the Hifiwalker units are getting the same changes as the F20 - or at least I would hope so. Can we not use usbboot and the (native) bootloader to dump the flash contents?
I took the chance and ordered a Hifi Walker H2 from Amazon.de. And yes, I like the rounder edges and the feel of the device much over the Surfans F20.
Of course I've got a device with firmware 1.4. The "normal" bootloader "bootloader.erosq" gives the same "NAND open error" as on the v 2.7 of the Surfans. So, I tried "bootloader-v7.erosq" from the thread https://forums.rockbox.org/index.php/topic,54228.0.html (https://forums.rockbox.org/index.php/topic,54228.0.html). And guess what, it works. They seem to have the same updated hardware.
Before installing the new bootloader, I have made a backup of the original bootloader, the original firmware, and made a flash dump of the original flash. Are these backups helpful for creating a new hosted port of Rockbox? How can I share them?

Good to know. So i guess that means line out doesn't work either just like it doesn't on the F20?

I think I might end up spending a little bit more and going for the xduoo x3ii which should be more straightforward..
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on August 15, 2022, 12:12:20 PM
I would guess the Hifiwalker units are getting the same changes as the F20 - or at least I would hope so. Can we not use usbboot and the (native) bootloader to dump the flash contents?
I took the chance and ordered a Hifi Walker H2 from Amazon.de. And yes, I like the rounder edges and the feel of the device much over the Surfans F20.
Of course I've got a device with firmware 1.4. The "normal" bootloader "bootloader.erosq" gives the same "NAND open error" as on the v 2.7 of the Surfans. So, I tried "bootloader-v7.erosq" from the thread https://forums.rockbox.org/index.php/topic,54228.0.html (https://forums.rockbox.org/index.php/topic,54228.0.html). And guess what, it works. They seem to have the same updated hardware.
Before installing the new bootloader, I have made a backup of the original bootloader, the original firmware, and made a flash dump of the original flash. Are these backups helpful for creating a new hosted port of Rockbox? How can I share them?

These backups would definitely be useful - if you want to zip them up and put them up on dropbox or your filesharing service of choice. I believe we should be able to create a hosted update image from them, and possibly (if I or someone can find the time) work through it and figure out the hardware changes for the native port.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oscar on August 15, 2022, 02:09:41 PM
These backups would definitely be useful - if you want to zip them up and put them up on dropbox or your filesharing service of choice.
Okay, you can download the backup here (http://remo-hofer.net/rockbox/h2-backup-1.4.zip).
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on August 19, 2022, 01:04:53 AM
Is there anything we can try/do/report on to help the developers towards a patch for V2.7?

Links to a patch for the F20 v2.7 firmware (and a pre-patched image) are now on the ErosQ wiki page.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: azndante on August 23, 2022, 12:07:50 AM
Thank you! Thank you! Thank you! Flashed my F20 using the pre-patched V2.7 image. Works great! Line out is working. :)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: twotoneblue on August 24, 2022, 05:14:23 PM
I also have an F20 that came with FW v2.7, and have been running the native port thanks to @amachronic 's efforts in https://forums.rockbox.org/index.php/topic,54228.30.html (https://forums.rockbox.org/index.php/topic,54228.30.html).

Thanks, @azndante, for posting your results!

I was surprised to hear you have got the line out working, so I followed in your tracks. I restored the native bootloader from the backup I made with amachronic's bootloader (I used v6) in the thread linked to above. I then updated as you, @azndante, with the pre-patched image from https://www.rockbox.org/wiki/AIGOErosQK (https://www.rockbox.org/wiki/AIGOErosQK). And indeed, this got the Line Out on my unit to work under Rockbox.

Let's hope the same will be possible with the native port in the future!

Thanks!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on August 27, 2022, 04:29:48 PM
In the interests of us trying to deduce what has changed hardware-wise for the the line out without actually buying a new device myself, could someone who has used the native port on one of the newer devices describe what happens when you try to use the line out port in detail? I'm mostly interested if there are any signs of life from the line-out port:

Does the behavior change at all when you have both headphones and line-out plugged in?

If both line-out and headphones are plugged in and you unplug one of them, is there any popping in the other output?

Is there any popping from the line out when turning the player on/off?

We may have to just play with some of the GPIO lines that control the audio hardware (assuming they haven't been moved) and see what's changed. My money is on a change with the stereo switch, personally.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: azndante on September 06, 2022, 06:33:02 PM
I have not used the native port. I can quickly downgrade to V2.5 using the hosted port and perform the testing you mentioned. Will that be the same?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on September 06, 2022, 10:34:55 PM
I have not used the native port. I can quickly downgrade to V2.5 using the hosted port and perform the testing you mentioned. Will that be the same?

Unfortunately I don't think so, or at least it would add another layer of confusion to trying to figure anything out. We'll just have to keep waiting for someone to test it out. Thanks for the offer though!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: vkrasov on September 25, 2022, 06:48:41 PM
Just ordered a Hiwi Walkmen from Amazon, it came with 1.5 firmware. It rejects a patched 1.3 fw. Too sad to run this device on vanilla fw :(

EDIT: Actually, manufacturer gave me the 1.5 fw image. Does it mean I am good to install a native port?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: bahus on September 27, 2022, 04:20:51 AM
Actually, manufacturer gave me the 1.5 fw image. Does it mean I am good to install a native port?

Well try to patch it with Rockbox Utility. See instructions: https://www.rockbox.org/wiki/AIGOErosQK#Installation

You should also share firmware so Rockbox devs might prepare and publish pre-patched image.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on September 27, 2022, 09:04:13 AM
Patching the firmware is for the hosted port, and unless the v1.5 firmware is byte-identical to one of the existing images, the patches on the wiki won't work, nor will Rockbox Utility be able to patch the firmware. You would have to share the v1.5 firmware for a patch to be created.

To install the native port, you don't need to patch any firmware. Use these instructions: https://www.rockbox.org/wiki/JztoolInstall
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: vkrasov on September 27, 2022, 11:52:07 PM
You would have to share the v1.5 firmware for a patch to be created.

That what wanted to do - what is the best way to share? The wiki doesn't accept registrations anymore.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on September 28, 2022, 06:05:11 AM
You would have to share the v1.5 firmware for a patch to be created.

That what wanted to do - what is the best way to share? The wiki doesn't accept registrations anymore.

Upload it to a filesharing site (eg. dropbox, google drive) and post a link here.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: vkrasov on September 28, 2022, 09:40:54 AM
Here is the 1.5 firmware for HiFi Walker H2: https://drive.google.com/file/d/1oZxpT8HNgsMVfM0MXmQnTxTTLzTXpixk/view?usp=sharing
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on September 28, 2022, 11:02:05 AM
Okay, here is a patched version of the H2 v1.5 firmware:

   https://www.shaftnet.org/~pizza/rb-H2-v15.upt

Rename it to update.upt and put it on the sd card root, then see if you can update the firmware successfully.

If it works, I'll add this (and the binary patch) to the wiki.

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: vkrasov on September 28, 2022, 02:50:13 PM
If it works, I'll add this (and the binary patch) to the wiki.

Thanks, I was able to update the device using provided fw, and run the Rockbox!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on September 29, 2022, 10:52:40 AM
If it works, I'll add this (and the binary patch) to the wiki.

Pre-patched H2 v1.5 firmware and a binary diff added to the wiki.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on October 13, 2022, 06:24:07 AM
Would it be a good idea for me to install the native port at this point, after having used the hosted one for a while?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on October 13, 2022, 11:04:27 AM
Well, I would only recommend it at the moment if you have one of the original devices before the recent line-out change (or if you want to help tackle that change!).

I think at the moment the main benefit is that it boots up in about 5 seconds and you don't have to select rockbox in the boot menu. Which to me is a huge deal, but some people are more patient ;D. Otherwise if it's working well for you, no real need to change I would say.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on October 13, 2022, 12:27:01 PM
Is it correct that you need to use FAT32 for the native port though? I never had a problem with exFAT on the hosted port at least.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on October 13, 2022, 01:13:17 PM
Oh, yes that is correct. Depends on if that's a problem or not!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Pointemorte on October 13, 2022, 01:18:54 PM
.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on October 13, 2022, 01:48:37 PM
Oh, yes that is correct. Depends on if that's a problem or not!
Oh well, not a problem now that I've reformatted the card and had everything transferred back to it.. Audio files above 4GB are very rare, and I'll likely not use a card that's above 2TB anytime soon.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: phu on November 01, 2022, 12:13:01 PM
Okay, here is a patched version of the H2 v1.5 firmware:

   https://www.shaftnet.org/~pizza/rb-H2-v15.upt

Rename it to update.upt and put it on the sd card root, then see if you can update the firmware successfully.

If it works, I'll add this (and the binary patch) to the wiki.

edit: nvm, i found patched h2 v1.5 firmware file in wiki pages. thanks.

Hi speachy.

Download Link not working :-[, if you don't mind could you please re-upload patched version of the H2 v1.5 firmware. Thanks in advance.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on November 01, 2022, 12:21:44 PM
It's on the wiki page now.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: phu on November 01, 2022, 12:24:57 PM
It's on the wiki page now.

Yes i saw it just now. Sorry my fault. Thanks for quick response.   :)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: pongpaktech on November 25, 2022, 05:18:47 PM
Hi, I'm thinking of getting the F20 since it's 20% off for black friday. I saw on the features matrix under device status that the USB is: Partial (Rb doesn't differentiate between Charge/Data).

What exactly does this mean? Does it mean that I can transfer and charge at the same time? Does it mean that USB Dac is not supported?

Thanks in advance!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: 7o9 on November 28, 2022, 11:00:09 AM
Yes, transfer and charge at the same time.

There is no USB DAC support in Rockbox.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Falco98 on December 07, 2022, 03:49:30 PM
What exactly does this mean? Does it mean that I can transfer and charge at the same time? Does it mean that USB Dac is not supported?

It means you can't plug it into a charger in your car and have it play audio - it'll boot into "USB Disk" mode by default and stay there, even if plugged into a charging cable with no data connection.  The only think preventing me from giving the F20 i threw Rockbox onto to my FIL for christmas, to be a hardwired always-in-car player.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on December 07, 2022, 03:51:52 PM
It means you can't plug it into a charger in your car and have it play audio - it'll boot into "USB Disk" mode by default and stay there, even if plugged into a charging cable with no data connection.  The only think preventing me from giving the F20 i threw Rockbox onto to my FIL for christmas, to be a hardwired always-in-car player.

Like most things in Rockbox, there's a setting for that.

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Falco98 on December 07, 2022, 05:19:26 PM
Like most things in Rockbox, there's a setting for that.
Sorry if I've made a mistaken assumption on this.  Can you fill me in on what the setting in question is and what it will accomplish?  I was assuming that in the current state of the software on this target, we'd just be "stuck" for now having it in USB mode while charging.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on December 07, 2022, 05:35:10 PM
Sorry if I've made a mistaken assumption on this.  Can you fill me in on what the setting in question is and what it will accomplish?  I was assuming that in the current state of the software on this target, we'd just be "stuck" for now having it in USB mode while charging.

Settings / General Settings / System / USB Mode ->  "Charge Only"  (instead of "Mass Storage")
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Falco98 on December 08, 2022, 12:47:36 PM
Settings / General Settings / System / USB Mode ->  "Charge Only"  (instead of "Mass Storage")
Thanks for that info.  Should I assume that with that option enabled, copying files onto the player would henceforth be only done via taking the SD card out and using an external reader (etc)?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on December 08, 2022, 12:49:45 PM
Holding down the play/select button when plugging in the cable will invert the setting.

Title: Which Hardware: AIGO EROS Q / Surfans F20 / HIFI WALKER H2
Post by: Dromedary on December 23, 2022, 04:18:03 AM
The batteries of my Rockbox MP3 players tend to lose capacity in about two years.
Here I am again in the market for a new player.

Which one would you recommend:
 - AIGO EROS Q   -  aliexpress
 - Surfans F20          -  amazon.com
 - HIFI WALKER H2   -  amazon.com

Wonder if there may be some difference in the quality of the lithium battery.
Some amazon reviews complain about  poor battery life and even about bloating batteries on Surfans F20 / HIFI Walker.
There are no reviews I can find on the AIGO EROS.

Thank you.

P.S.
I do not care if the line out works or not.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: phifetip on December 29, 2022, 06:05:14 AM
Hey guys,

I am an absolute layman when it comes to computers, software etc.
But I have used Rockbox for many years on my several Sansa Clip+-players. I still have 4 Clip+ with Rockbox. I adore this firmware :)

Now I have gotten a Surfans H20 as a christmas present. I was happy to see, that Rockbox is available for this player too.

So, I have copied the pre-patched images from https://www.rockbox.org/wiki/AIGOErosQK and have unzipped the daily build for AIGO EROS in the root directory of the F20.

When I select now Rockbox in the booting process, I get the message "Cannot boot Rockbox".

Is there maybe an easy answer to this problem, for me as an absolute layman?

Many thanks in advance!

(Sorry for the bad english)

Regards,
Christoph
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Trzyzet on December 29, 2022, 07:00:24 AM
You need to download a rockbox release from the main website and unpack the .rockbox folder to the root of your micro SD card.

Also, I saw the latest build is broken, you should try with an older one, for example from two weeks ago. Remember to completely delete .rockbox folder before unpacking the new one because the downgrade.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: phifetip on December 29, 2022, 07:48:27 AM
Thanks Trzyzet, now it works! Fantastic.

Now I downloaded the build from 9th December.
And I think maybe my mistake was also to unzip rockbox straight to the root directory - without any rockbox-folder.

Now the f20 feels like home ;)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on January 03, 2023, 11:27:03 PM
Question.  I just flashed the bootloader on my HiFi Walker H2, using the file on the wiki. 

To be honest, I haven't had a Rockbox compatible player in years, and I'm not sure what the difference between "hosted" and "native" are.

I got an error trying to use the Rockbox utility to install the bootloader, but I downloaded the patched 1.5 bootloader and installed Rockbox itself via the utility.  It's working beautifully.

Is there a way to change the ten second countdown on the bootloader?

If not, no big deal.

Also, the player, oddly, won't charge on a Samsung 25w fast charger.  It's fine on a generic charger.

Happy New Year.  I've missed Rockbox!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: ge2655 on January 04, 2023, 09:29:44 AM
Mr Subway you're luckier than I am.  I received my H2 yesterday and spent the day trying to get Rockbox to install.  Finally gave up and waited until this morning to try again but no dice.

I've installed and used Rockbox on multiple Sansa players for years but this HiFi Walker has me stumped.  During the last few hours I've extracted more than a crazed dentist and unzipped more than a hooker on a Friday night but just can't get Rockbox running.

Player indicates firmware 1.5 but the included sd card that came with the player has a .txt file indicating 1.5.01 beta.

Attached are images from the brand new 128gb card.

I know I'm doing something simple incorrectly but can't get my head around it.  Frustratingly, HiFi Walker is morphing into Johnny Walker.

-Gary
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on January 04, 2023, 10:11:42 AM
Player indicates firmware 1.5 but the included sd card that came with the player has a .txt file indicating 1.5.01 beta.

Was there any upt file on the SD card that came with the player?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 04, 2023, 10:15:31 AM
Also, the player, oddly, won't charge on a Samsung 25w fast charger.  It's fine on a generic charger.

You may want to go into Settings -> General -> System -> Battery -> Charge During USB Connection and set it to Force, if I remember correctly. I think I ran into the same issue with a wall charger.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: ge2655 on January 04, 2023, 10:59:29 AM
Quote
Was there any upt file on the SD card that came with the player?

Speachy,

Thanks for the reply.  Only other files on included card were manuals in a few different languages.

As an aside, my current Rockboxed Sansa Clip Zip w/ Koss KSC 75 phones blows the stock HiFi Walker away.  The stock Walker sounds okay but lacks the "sparkle" the Rockboxed Clip/Koss combo presents.  The inability to use a "crossfade" option while shuffling files on the Walker makes it a deal breaker.

My advanced age makes the Sansa hard to read and arthritis makes the depressing the buttons difficult, hence the decision to try the Walker but without Rockbox it's sound  is inferior.

-Gary
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on January 04, 2023, 02:16:37 PM
Also, the player, oddly, won't charge on a Samsung 25w fast charger.  It's fine on a generic charger.

You may want to go into Settings -> General -> System -> Battery -> Charge During USB Connection and set it to Force, if I remember correctly. I think I ran into the same issue with a wall charger.

Thanks, but I don't see a battery setting. 
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 04, 2023, 02:51:14 PM
Also, the player, oddly, won't charge on a Samsung 25w fast charger.  It's fine on a generic charger.

You may want to go into Settings -> General -> System -> Battery -> Charge During USB Connection and set it to Force, if I remember correctly. I think I ran into the same issue with a wall charger.

Thanks, but I don't see a battery setting.

Oh, sorry. I guess that might not be present on the hosted version. My bad!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on January 04, 2023, 03:37:03 PM
No problem man.  It's working fine and I have 50 old chargers.  You know, it's funny.  A phone will blow up within two years, but charging blocks will work until the Sun burns the Earth to a crisp.  😂😂
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on January 11, 2023, 09:47:12 PM
Mr Subway you're luckier than I am.  I received my H2 yesterday and spent the day trying to get Rockbox to install.  Finally gave up and waited until this morning to try again but no dice.

I've installed and used Rockbox on multiple Sansa players for years but this HiFi Walker has me stumped.  During the last few hours I've extracted more than a crazed dentist and unzipped more than a hooker on a Friday night but just can't get Rockbox running.

Player indicates firmware 1.5 but the included sd card that came with the player has a .txt file indicating 1.5.01 beta.

Attached are images from the brand new 128gb card.

I know I'm doing something simple incorrectly but can't get my head around it.  Frustratingly, HiFi Walker is morphing into Johnny Walker.

-Gary

Download this.  https://download.rockbox.org/bootloader/hifiwalker/H2-v15-patched.upt

Rename it to update.upt.  Put it on the root of the SD card.

Boot the player.  Go to SYSTEM SETTINGS and select FIRMWARE UPGRADE.

If it works, you'll now be able to boot into Rockbox or the original firmware.  Grab a nightly of Rockbox and have it in the .rockbox folder, which it seems you've done.

I believe the SD card must be formatted with FAT32 to flash the firmware.  I'm not totally sure.  Here's a tool to format SD cards as FAT32 as Windows won't do it.  This will ERASE the card.  Make SURE you select the right drive letter. 
http://ridgecrop.co.uk/guiformat.exe

Also, before you do any of this, backup any upt files that were on the original SD card the player came with.

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 12, 2023, 01:21:45 AM
Hello! I'm a newish owner of a HIFI Walker H2 that came with a 1.5 version firmware.  This evening I upgraded a Hosted Rockbox setup that I've been using since November to the Native version.

  I'd like to volunteer to test in an effort to get the Line Out port functional.  What would be required to do this?

  I'm not sure of the difference between Line Out and the Headphone jack.  Assuming someone provides the software changes would a typical low-impedance headphone be suitable for testing the Line Out jack?

  This is by no means urgent on my part. I'm satisfied currently using the Headphone jack but wish to help in service of the community.  And perhaps down the line may find use for a functional Line Out.

Thanks for the port and your consideration.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 14, 2023, 01:31:48 PM
Hello! I'm a newish owner of a HIFI Walker H2 that came with a 1.5 version firmware.  This evening I upgraded a Hosted Rockbox setup that I've been using since November to the Native version.

  I'd like to volunteer to test in an effort to get the Line Out port functional.  What would be required to do this?

  I'm not sure of the difference between Line Out and the Headphone jack.  Assuming someone provides the software changes would a typical low-impedance headphone be suitable for testing the Line Out jack?

  This is by no means urgent on my part. I'm satisfied currently using the Headphone jack but wish to help in service of the community.  And perhaps down the line may find use for a functional Line Out.

Thanks for the port and your consideration.

Great that you are willing to help get line out working! I don't know your comfort level with programming in general, but are you able to set up a build environment? That would be the quickest way to be able to test builds yourself. This wiki page under "Set up your environment" (https://www.rockbox.org/wiki/DevelopmentGuide) has links to how to set that up.

Otherwise, I can do some builds here later today and post them for you to try.

I think some regular headphones would probably be fine to try the line out, it's a situation where it either works or it doesn't work.

We're really shooting in the dark here, but I have a guess that the stereo switch is now hooked up to switch between the headphone and line-out outputs, so maybe changing this line (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c#L79 (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c#L79)) from 0 to 1 may change the behavior.

We might have to just try changing the states of some of the relevant GPIO pins listed here (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/gpio-target.h#L28 (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/gpio-target.h#L28)), probably in that same audiohw_postinit() function to see what behavior changes.

As a side note, I'm curious - does your player have microUSB or USBC?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 14, 2023, 07:48:48 PM

Great that you are willing to help get line out working! I don't know your comfort level with programming in general, but are you able to set up a build environment? That would be the quickest way to be able to test builds yourself. This wiki page under "Set up your environment" (https://www.rockbox.org/wiki/DevelopmentGuide) has links to how to set that up.

Otherwise, I can do some builds here later today and post them for you to try.

I think some regular headphones would probably be fine to try the line out, it's a situation where it either works or it doesn't work.

We're really shooting in the dark here, but I have a guess that the stereo switch is now hooked up to switch between the headphone and line-out outputs, so maybe changing this line (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c#L79 (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c#L79)) from 0 to 1 may change the behavior.

We might have to just try changing the states of some of the relevant GPIO pins listed here (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/gpio-target.h#L28 (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/gpio-target.h#L28)), probably in that same audiohw_postinit() function to see what behavior changes.

As a side note, I'm curious - does your player have microUSB or USBC?

As far as programming and build environments I've built some well documented projects before by following detailed guides (OpenWRT and WINE for example).  These pages you've linked to are of the level of detail that I'm comfortable with so I'll give it a try.

  I'm on ArchLinux and I've cloned the git repo.  Will it be helpful if I create a Git or Gerrit login? I've not usually sent in commits before. 

As far as the device, it has a USBC port.

I'll have some available time after 6:00 PST which is about an hour from now.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 15, 2023, 12:27:54 AM
Well I've put together a working build environment (to avoid a struggle with dependencies I opened an Ubuntu image in Boxes and just used all the apt commands and rockboxdev.sh).

Looking at the highlighted code from the last post I saw it was under firmware so I assumed the selection of "Bootloader" as opposed to a normal Rockbox build when given the choice by the configure script.  That was a guess though.
 
Since I was able to compile I tried making the change of "0" to "1" in the highlighted line of file audiohw-erosqnative.c

I then compiled a bootloader and I tried it by updating from the (Vol Up + Power) bootmenu while it was present on the SD card root directory and it successfully flashed but that change alone wasn't sufficient.  Rockbox launched successfully and played through the Headphones port but not a peep through Line Out.

At this point I'm a bit out of my depth.  I don't know what are appropriate changes to try in the gpio-target.h file.

I'll check back tomorrow and attempt further progress.



Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 15, 2023, 11:13:44 AM
Great that you got the build environment put together!

Sorry I should have been more clear, there's no need to build or reinstall the bootloader, the normal build is enough. I actually think the audio hardware initialization stuff doesn't get run in the bootloader at all, so give it another try with the normal build.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 15, 2023, 03:28:45 PM
Alright, I tried making the "Normal" build and then replaced the .rockbox folder with the new one.

Currently the headphone port stopped working and the Line Out acted strangely. While shoving the plug into the Line Out for a moment I heard the tracks playing across my headphones, but when the plug is seated fully in the port it was silent.  I could partially unplug the connection and hear intermittent flashes of sound.

Looking for guidance on next steps.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 16, 2023, 10:15:39 AM
That's good that you got life out of the line out - I'll think it over for a bit and try to come up with a next step.

EDIT: Ok, I think the next step we can try is to now comment out this line (https://github.com/Rockbox/rockbox/blob/master/firmware/drivers/audio/eros_qn_codec.c#L62 (https://github.com/Rockbox/rockbox/blob/master/firmware/drivers/audio/eros_qn_codec.c#L62)).

What I'm guessing here is that the line-out is being run through the headphone amp now. I don't know why they would do that - you would think it would go like DAC-->Switch-->HP AMP-->HP, but I wouldn't be surprised if the switch and headphone amp are reversed.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 16, 2023, 06:28:12 PM
That's good that you got life out of the line out - I'll think it over for a bit and try to come up with a next step.

EDIT: Ok, I think the next step we can try is to now comment out this line (https://github.com/Rockbox/rockbox/blob/master/firmware/drivers/audio/eros_qn_codec.c#L62 (https://github.com/Rockbox/rockbox/blob/master/firmware/drivers/audio/eros_qn_codec.c#L62)).

What I'm guessing here is that the line-out is being run through the headphone amp now. I don't know why they would do that - you would think it would go like DAC-->Switch-->HP AMP-->HP, but I wouldn't be surprised if the switch and headphone amp are reversed.

Your latest assumption seems to be getting us closer to the mark.  This time the headphone port remained inactive but the Line Out active (with a fully seated headphone jack).  It was uncomfortably loud for headphones and further did not respond to volume adjustments, up or down.  Even when I bottomed out the GUI volume curve it still was unaffected.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: ge2655 on January 16, 2023, 08:36:56 PM
mrsubway,
Thanks for the replies.

I contacted HiFi Walker, requesting a link to firmware version 1.5.  They informed me that they do not provide access to their firmware versions.  In the meantime, I ordered a Surfans F20. 

Upon the F20’s arrival (firmware version 2.7) I was able to load RockBox without issue.  After the successful RockBox installation, I returned the HiFi Walker.  The stock sound of the HiFi Walker (EQ off) is very, very good but my inability to get RockBox loaded was a deal breaker. The limited play, sound and display options of the stock firmware are clearly evident to anyone who is accustomed to the plethora of RockBox options.  If you do not care about running RockBox, the HiFi Walker is a very good player.

I’ve been using (still have) RockBoxed Sansa players (Fuze, Fuze+, clip, clip+, clip zip) and believe any of them, coupled with a pair of Kramer-modded Koss KSC75 [to my ears], is the best sounding budget combination.

If you are a vintage Sansa fan looking for a newer alternative, a RockBoxed Surfans F20 is worth a look. The F20 is bulkier (built like a tank) than the Sansas but the RockBoxed F20 offers silky smooth operation with only one minor hiccup I’ve noticed.

If there are mixed file types (Mp3 and Opus, for example) in a common folder, when one type of file crossfades with a different type the transition is premature and abrupt.  Crossfades between the same type of files are perfect.

-Gary

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 16, 2023, 11:31:36 PM
Your latest assumption seems to be getting us closer to the mark.  This time the headphone port remained inactive but the Line Out active (with a fully seated headphone jack).  It was uncomfortably loud for headphones and further did not respond to volume adjustments, up or down.  Even when I bottomed out the GUI volume curve it still was unaffected.

Good to hear! That all makes sense. Rockbox's behavior is that when the line out is being used, the volume is fixed to maximum (the max volume can be set in the settings).

So it sounds like the line-out is being run through the headphone amp now. What we can probably do is remove the headphone amp muting logic and add switching based on the plugged/unplugged states of the headphone and line-out jacks.

The only gotcha is the line-out may be too hot if it's being run through the hp amp... Maybe we could add a new setting specifically for setting the line-out mode volume. Unfortunately the level is kind of hard to test without having someone actually measure it.

If I'm thinking about this right, I don't think this would really affect the usability of the earlier units either. I'll have to test it out. I think the only thing that would be different is plugging in line-out will disable the headphones, whereas now you could actually use both outputs at once if you wanted to.

Actually, if you want to try replacing audiohw_set_volume() with this, I think this should work:
Code: [Select]
void audiohw_set_volume(int vol_l, int vol_r)
{
    int l, r;

    vol_l_hw = vol_l;
    vol_r_hw = vol_r;

    l = vol_l;
    r = vol_r;

#if (defined(HAVE_HEADPHONE_DETECTION) && defined(HAVE_LINEOUT_DETECTION))
    /* make sure headphones aren't present - don't want to
     * blow out our eardrums cranking it to full */
    if (lineout_inserted() && !headphones_inserted())
    {
        l = r = global_settings.volume_limit * 10;

        /* mute the headphone amp if not plugged in */
        /* on newer units, the headphone amp is in circuit for the
         * line output as well, so do not mute */
        //audiohw_mute_hp(1);
       
        /* on newer units, the stereo switch actually switches
         * between the headphone output and the line output */
        gpio_set_level(GPIO_ISL54405_SEL, 1);
    }
    else
    {
        /* unmute the headphone amp when plugged in */
        //audiohw_mute_hp(0);
       
        /* on newer units, the stereo switch actually switches
         * between the headphone output and the line output */
        gpio_set_level(GPIO_ISL54405_SEL, 0);

        l = vol_l;
        r = vol_r;
    }
#endif

    l = l <= PCM5102A_VOLUME_MIN ? PCM_MUTE_LEVEL : (l / 20);
    r = r <= PCM5102A_VOLUME_MIN ? PCM_MUTE_LEVEL : (r / 20);

    pcm_set_master_volume(l, r);
}

I also wonder if there are any new hardware capabilities with the new changes, but one step at a time  :o
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 17, 2023, 01:34:03 PM
Success!  With the current changes the Line Out works at full volume while the HP port also works and respects the volume setting.

I was curious about testing the simultaneous situation and so tried plugging in two headsets.  With both plugged in only the HP port connected set was playing.  It didn't matter if the HP port was populated first or second, in both cases as soon as there was two connected only the HP port set would play.

Personally I find this either/or reasonable.

"The only gotcha is the line-out may be too hot if it's being run through the hp amp... Maybe we could add a new setting specifically for setting the line-out mode volume. Unfortunately the level is kind of hard to test without having someone actually measure it."

Is this something that can be measured using an auxiliary cable from the Rockbox Line Out to a Microphone or Line In port on a computer Sound Card, in conjunction with some free software?  Or does "too hot" imply some risk to the receiving device?

Regarding new hardware capabilities, yeah let's keep going.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 17, 2023, 01:46:01 PM
Success!  With the current changes the Line Out works at full volume while the HP port also works and respects the volume setting.

I was curious about testing the simultaneous situation and so tried plugging in two headsets.  With both plugged in only the HP port connected set was playing.  It didn't matter if the HP port was populated first or second, in both cases as soon as there was two connected only the HP port set would play.

Personally I find this either/or reasonable.

Yeah, I agree. I think the typical behavior for most devices is to prefer the headphone output, and I think we can stick with that. I'll start working on a patchset later and see if it works OK on older devices.

"The only gotcha is the line-out may be too hot if it's being run through the hp amp... Maybe we could add a new setting specifically for setting the line-out mode volume. Unfortunately the level is kind of hard to test without having someone actually measure it."

Is this something that can be measured using an auxiliary cable from the Rockbox Line Out to a Microphone or Line In port on a computer Sound Card, in conjunction with some free software?  Or does "too hot" imply some risk to the receiving device?

That's a good idea regarding using a line-in port on a computer. I don't know if you can typically get an idea for what the actual level is, but I imagine Audacity would probably be the tool for the job. Basically you would probably want to create a full-scale 440Hz FLAC file or some other lossless file to play back.

I wouldn't worry about any risk to any devices. Worst case scenario is that it may distort, I think.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on January 17, 2023, 06:49:54 PM
mrsubway,
Thanks for the replies.

I contacted HiFi Walker, requesting a link to firmware version 1.5.  They informed me that they do not provide access to their firmware versions.  In the meantime, I ordered a Surfans F20. 

Upon the F20’s arrival (firmware version 2.7) I was able to load RockBox without issue.  After the successful RockBox installation, I returned the HiFi Walker.  The stock sound of the HiFi Walker (EQ off) is very, very good but my inability to get RockBox loaded was a deal breaker. The limited play, sound and display options of the stock firmware are clearly evident to anyone who is accustomed to the plethora of RockBox options.  If you do not care about running RockBox, the HiFi Walker is a very good player.

I’ve been using (still have) RockBoxed Sansa players (Fuze, Fuze+, clip, clip+, clip zip) and believe any of them, coupled with a pair of Kramer-modded Koss KSC75 [to my ears], is the best sounding budget combination.

If you are a vintage Sansa fan looking for a newer alternative, a RockBoxed Surfans F20 is worth a look. The F20 is bulkier (built like a tank) than the Sansas but the RockBoxed F20 offers silky smooth operation with only one minor hiccup I’ve noticed.

If there are mixed file types (Mp3 and Opus, for example) in a common folder, when one type of file crossfades with a different type the transition is premature and abrupt.  Crossfades between the same type of files are perfect.

-Gary

Flash the link I sent you.  Mine came with the beta as well.  The flash will install Rockbox as a boot option, and downgrade the original firmware to 1.5.  You'll lose the beta firmware, and have an environment where you can boot into Rockbox or 1.5.

I have no idea what the advantages of the 1.5 beta are.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 18, 2023, 12:02:03 AM

"The only gotcha is the line-out may be too hot if it's being run through the hp amp... Maybe we could add a new setting specifically for setting the line-out mode volume. Unfortunately the level is kind of hard to test without having someone actually measure it."

Is this something that can be measured using an auxiliary cable from the Rockbox Line Out to a Microphone or Line In port on a computer Sound Card, in conjunction with some free software?  Or does "too hot" imply some risk to the receiving device?

That's a good idea regarding using a line-in port on a computer. I don't know if you can typically get an idea for what the actual level is, but I imagine Audacity would probably be the tool for the job. Basically you would probably want to create a full-scale 440Hz FLAC file or some other lossless file to play back.

I wouldn't worry about any risk to any devices. Worst case scenario is that it may distort, I think.

I have some lossless 440Hz FLAC files I can play.  But I'm not sure of the measurement to report. Is a screenshot while monitoring the plug sufficient?  This shows a peak in the volume or very close to it.   Tenacity is a fork of Audacity.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 18, 2023, 12:33:39 AM
I have some lossless 440Hz FLAC files I can play.  But I'm not sure of the measurement to report. Is a screenshot while monitoring the plug sufficient?  This shows a peak in the volume or very close to it.   Tenacity is a fork of Audacity.

That's the part I'm not sure of either. You would be looking for like a dBV or dBu value - I don't know if there is some capability of using a calibration or setting for your specific model of sound card or something like that.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 21, 2023, 03:28:06 PM
That's the part I'm not sure of either. You would be looking for like a dBV or dBu value - I don't know if there is some capability of using a calibration or setting for your specific model of sound card or something like that.

I haven't had any luck coaxing this value out using software.  Is this something that can be measured with a multimeter?  I was thinking of getting one anyway.  If so, what specific capability should I try to include in the meter?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 22, 2023, 12:46:57 PM
I haven't had any luck coaxing this value out using software.  Is this something that can be measured with a multimeter?  I was thinking of getting one anyway.  If so, what specific capability should I try to include in the meter?

Yeah I think a multimeter will work - you would use the AC Volts function. I think you would want to use a test file of maybe like 100Hz too - wall voltage is about 60 Hz in most places so that low frequency range what most multimeters are optimized to read. I don't know if they advertise something like "extended AC frequency", but that might be good. I don't know if you're familiar with Vrms measurements but they'll need to be converted to dBV to be comparable to the numbers we already have.

Edit 2: Looks like it's been merged, so just grab the latest build and let me know if everything works as expected!

EDIT: I finally got around to putting together a patch to enable line out - if you want to download it, build it and try it out, it's here: https://gerrit.rockbox.org/r/c/rockbox/+/5087 (https://gerrit.rockbox.org/r/c/rockbox/+/5087). I tried it out and it's working well on my player, but I would definitely like to hear if it works as intended on yours as well.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 25, 2023, 11:50:42 PM
I tried the zip listed on the AIGO Eros Q wiki page within the Native Port area and yes, the Line Out is working on my device with this version.  Great!

I'm still trying to make heads and tails of my multimeter so still need time to report a reading.  I haven't used one before and the closest memory in the ballpark would be using an oscilloscope and signal generator back in a Physics class many moons ago.  But I'm trying to get refreshed and will keep at it.

P.S. - I installed Room EQ Wizard for my distro and this is able to generate test WAV files for different frequencies.  So I have my 100 Hz test file at least.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 26, 2023, 02:02:15 AM
OK playing a 100 Hz sine test file I got a reading of -0.4 mV from the Line Out.

I think that converts to -8 dBV but I would suggest checking that.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 26, 2023, 10:18:05 AM
I tried the zip listed on the AIGO Eros Q wiki page within the Native Port area and yes, the Line Out is working on my device with this version.  Great!

I'm still trying to make heads and tails of my multimeter so still need time to report a reading.  I haven't used one before and the closest memory in the ballpark would be using an oscilloscope and signal generator back in a Physics class many moons ago.  But I'm trying to get refreshed and will keep at it.

P.S. - I installed Room EQ Wizard for my distro and this is able to generate test WAV files for different frequencies.  So I have my 100 Hz test file at least.

OK playing a 100 Hz sine test file I got a reading of -0.4 mV from the Line Out.

I think that converts to -8 dBV but I would suggest checking that.

Sounds good, I'll update wiki to reflect that we have line out on the new devices now. Thanks so much for testing!

Are you sure you're using the AC Voltage setting on the multimeter? I don't think they typically give a negative reading in that mode (and I don't think a negative rms voltage really makes sense). Also, just to be sure, the file you created is "full scale", or maximum volume? When I did the same thing for my device, I just used Audacity to create a full-scale tone and exported to WAV.

Edit: For reference, I think you'll probably get a voltage reading somewhere around 2 Vrms.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 28, 2023, 06:20:43 PM
I did indeed get the negative value from using a DC setting. :o

I've tried again this time double checking I'm in AC mode with the multimeter and it gives me a 1.11 reading while contacting the left and right channel ends of an aux/headphone cable plugged to the Line Out with the audacity provided 100 Hz WAV playing.

I plugged this into a formula I found online (hopefully correct)

20 x log 10(1.11/1) = dBV = 22.2

Hoping this is the desired reading.   :)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 29, 2023, 08:31:12 AM
I've tried again this time double checking I'm in AC mode with the multimeter and it gives me a 1.11 reading while contacting the left and right channel ends of an aux/headphone cable plugged to the Line Out with the audacity provided 100 Hz WAV playing.

I plugged this into a formula I found online (hopefully correct)

20 x log 10(1.11/1) = dBV = 22.2

Hoping this is the desired reading.   :)

That makes much more sense, thanks! Though for 1.11 volts I'm getting 0.9 dBV (+2 for "0dB": 2.9 dBV). Significantly less than I was expecting, which is definitely interesting. One last question, what do you have the Volume Limit setting set to?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speakn2pabst on January 29, 2023, 06:28:53 PM
Sure, I don't believe I've ever adjusted the Maximum Volume Limit. I found it to be set at -2 db.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on January 29, 2023, 06:57:40 PM
That's quite the surprise result to be sure! I'll update the wiki. Thanks again for testing!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: sff20 on February 19, 2023, 07:52:49 AM
Hello,
I encountered a Segmentation Fault while updating the database on my Surfans F20(Firmware 2.7) and Rockbox ersion:fcf24ae387-230216. Where do I report the error?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on February 20, 2023, 11:52:20 AM
Hello,
I encountered a Segmentation Fault while updating the database on my Surfans F20(Firmware 2.7) and Rockbox ersion:fcf24ae387-230216. Where do I report the error?

Here or IRC, I suppose. Does it give the same error every time you try to update the database, or does it work correctly other times? I don't think an issue with updating the database is going to be device-specific usually.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: john82 on March 05, 2023, 08:50:49 PM
I love this project! I would like add a recomendation for the Wiki. In the Wiki, the next looks a bit confusing:

Also sold as:

Maybe, a better composition with more accurate information would be:

Also sold as:

Or any similar clarification at your choice. I think that is important because the information in the wiki (for example, the size and weight) is related with AIGO EROS Q and AIGO EROS K instead of AGPTek H3/HIFI WALKER H2/Surfans F20, and the most of users will buy HIFI WALKER H2 or Surfans F20 instead of "original" chinese product ("original" brand).

You can see how AGPTek H3 and Surfans F20 are really AIGO EROS K with other brand but the same case and HIFI WALKER H2 is AIGO EROS Q but with other brand but the same case searching by some image searcher (I know that all here knows that, but maybe without the clarification before exposed others users could be confused)

Maybe a better solution (after I see how AIGO EROS Q have a different hosted port respect to HIFI WALKER H2) would be add information to size and weight instead of add AIGO EROS version to each brand:

EROS Q: 90x55x15mm, 152g
EROS K: 94x57x15mm, 111g

Would be:

AIGO EROS Q and HIFI WALKER H2: 90x55x15mm, 152g
AIGO EROS K, AGPTek H3 and Surfans F20: 94x57x15mm, 111g 
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 06, 2023, 11:34:34 AM
Thanks for the feedback, I think I can make it a little clearer.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Snail_Shell on March 09, 2023, 04:11:54 PM
EDIT: This seems, in fact, to NOT be the right place for this question. I managed to miss the part of the forum rules stating that you shouldn't ask for installation help here. My apologies. Feel free to delete if I don't figure it out myself in a sec.

I am running on not much sleep at the moment.

_______________________

Hi. I really hope this is the right place for this question.

I have an agptek H3 I want to rockbox. (I previously rockboxed a Sansa Clip + ages and ages ago, and was very happy with it until it finally reached a point beyond repair.) The problem is, I can't find the firmware I need anywhere. According to the device info, it's currently running V1.0FW. The manufacturer's site only seems to have an update file, and this thread has some images but none of them seem to be what I need (though I could very easily have missed something). I'm also not seeing anything specific about this particular firmware version being supported. There doesn't appear to be a manual available for this device, though I glanced through the one for the Rocker in case there was any overlap. Is there a specific firmware version I should be upgrading/downgrading to for the rockbox utility to work? Regardless, where the heck are the firmware files?

Thanks in advance for whatever you can tell me.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: ling_rb on March 15, 2023, 02:27:54 PM
Does the team ever plan to address bluetooth in this players? If so, I am going to buy one. If not, then no. Thanks.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: studio910 on March 16, 2023, 01:30:56 PM
How to increase number of database records?

I have a HiFi Walker H2, and Rockbox (the hosted version, not the native) works wonderfully on it. Currently I make a M3U playlist in BEAtunes of all my tracks, and copy it to the device. I can then shuffle the whole library. I’d like to try the database for all tracks, but it stops at 10k tracks. Is there a config setting to modify that? Or, if I need to recompile, where is that variable in the code base?
TIA!
Disregard. I got it sorted.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on March 16, 2023, 06:21:08 PM
I've been having trouble with the stereo channels swapping around on the native port, and I made a thread (https://forums.rockbox.org/index.php/topic,54481.0.html) about it before, but it's been a while and no one has replied. Anyone here who knows what could be causing it?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 25, 2023, 05:45:51 PM
I've been having trouble with the stereo channels swapping around on the native port, and I made a thread (https://forums.rockbox.org/index.php/topic,54481.0.html) about it before, but it's been a while and no one has replied. Anyone here who knows what could be causing it?

I think I found the bug and posted a test build in your thread, have you gotten a chance to test it yet?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on March 26, 2023, 08:51:59 AM
I've been having trouble with the stereo channels swapping around on the native port, and I made a thread (https://forums.rockbox.org/index.php/topic,54481.0.html) about it before, but it's been a while and no one has replied. Anyone here who knows what could be causing it?

I think I found the bug and posted a test build in your thread, have you gotten a chance to test it yet?
Yeah, I saw that, sorry for not responding earlier. I can't get the problem to reproduce now, so I think it's fixed. Will this patch be in the regular version now?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on March 26, 2023, 10:51:33 AM

Yeah, I saw that, sorry for not responding earlier. I can't get the problem to reproduce now, so I think it's fixed. Will this patch be in the regular version now?

No worries, I just wanted to make sure you had seen it - I've been caught out by not being subscribed to threads on this forum before. It's not merged yet, but we should be able to do so soon. Thanks for testing!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: user1975 on March 29, 2023, 02:33:18 AM
This wiki section: https://www.rockbox.org/wiki/JztoolInstall#Removing_Rockbox lacks of a dump of AIGO Eros Q.

I could share my dump if it's useful for other users. My dump is from HiFi Walker H2 with Official Firmware 1.5. Maybe if yet it isn't known if the official firmware version is relevant for the restore of the backup, the wiki editors could add my dump for OF 1.5 as base firmware version (that it's better than nothing)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: amachronic on March 29, 2023, 03:20:59 AM
This wiki section: https://www.rockbox.org/wiki/JztoolInstall#Removing_Rockbox lacks of a dump of AIGO Eros Q.

I could share my dump if it's useful for other users. My dump is from HiFi Walker H2 with Official Firmware 1.5. Maybe if yet it isn't known if the official firmware version is relevant for the restore of the backup, the wiki editors could add my dump for OF 1.5 as base firmware version (that it's better than nothing)
By all means do! I can add it to the wiki for you.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: user1975 on March 29, 2023, 12:55:15 PM
My device was bought 3 weeks ago (maybe that information is useful).

Here my dump of HiFi Walker H2, Official Firmware 1.5.

"erosqnative-boot.bin": https://files.catbox.moe/3lqxnv.bin
SHA512: 0a615979ad7fc9465936fb5002acebc6d23eeefcb5d4428f09d07184ff17c28f5de524c6334cb0ba5daec54d83c2a0c881a6add284b80706f9177b338ba4e67f

Also, if it's useful, more dumps:

"flash.img": https://files.catbox.moe/b7s25d.img
SHA512: 53606dd26a3da3084cf3584a52fbce9a7e3973027c60b307d867c14d85c688e180be65e902ddc53fdec7644deb8ab1079145ad5274046a4ad87472cbb384688f

"of_player.img": https://files.catbox.moe/xgzxnl.img
SHA512: 7a7d446f879f93fe7c7acd789de579888b1a1f0ef1972b29ae4763cf044b2631f6b6b6c60233f8538d68a84517f81ec3359b8fb4beaa2c79f9dee93ddf036cb7

"flash_info.txt":
readID opcode  = FF EF AA 21
readID address = EF AA 21 00
readID dummy   = EF AA 21 00
sfc params0  = 06 05 04 03
sfc params1  = 02 55 AA 55
sfc params2  = 00 2B 02 02
sfc params3  = B4 2F 00 00

"flash_onfi_info.txt":
signature = 49464E4F
revision = 0000
manufacturer = "WINBOND     "
device model = "W25N01GV            "
JEDEC mf. id = EF
data bytes per page = 2048
spare bytes per page = 64
pages per block = 64
blocks per lun = 1024
number of luns = 1
bits per cell = 1
max bad blocks = 20
block endurance = 1281
programs per page = 4
page program time = 700
block erase time = 10000
page read time = 50

The product arrived with a QR for to download the official digital manuals (in 6 languages: German, English, Spanish, French, Italian and Japanese).

"H2 User Manual-DE.pdf": https://files.catbox.moe/zhnhnt.pdf
SHA512: 2ce1c9543d6fd332774e60bae985e1b0502e8673453f3050316fb1d7615f85393ca7ebf916250ae1dba314ca5b604bffb31dd0e7f4a5eb2036fffea3426eda43

"H2 User Manual-EN.pdf": https://files.catbox.moe/6v7mnj.pdf
SHA512: 93e6311eeb6ccb40ec4b8026c29277c328e8bba631518ee63fcc68936273a543ca2225e758fdfad4e3d3b0de64733680a0993dc235acc29283120f52e9d1743d

"H2 User Manual-ES.pdf": https://files.catbox.moe/a1pbek.pdf
SHA512: 87fc2b37f34e4b7bc13fbc2d323979af581d0a60e8f971ca337e6b8e744bc797d6b10f0153853376c37cce3c7ad42c6497fc8cf399536f8fb50728b95af4ea25

"H2 User Manual-FR.pdf": https://files.catbox.moe/pxn1dt.pdf
SHA512: 39d52cfa55bd1b387806061bc75b528acad70eb6c15c60e28b4598c26ca06dbd44d40107aa11e86edd587f5cbbc827991a04656a95af0ad99de2d0d9a04ccbeb

"H2 User Manual-IT.pdf": https://files.catbox.moe/tofmzg.pdf
SHA512: 4a183c90b523e682e254d10e4e9333e5eff02eaf405f9105d2af82bf2e69a49b1468f5cdd56500d2913d56054f9f84fd757e72205faea20251ddf4ab4042cbcc

"H2 User Manual-JP.pdf": https://files.catbox.moe/is8ewj.pdf
SHA512: 02fa26e8ed440eb26dfa5cb26f16b1edcb93d9ea8600f4d6cf53b170b2e858cf1b12bd157b06f45b2e378db760ca9a102f56c095874dfd1671f90307b8ccdb0e
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on March 30, 2023, 06:22:56 PM
Having two new issues and I'm not sure if I should do a fresh install.  I upgrade to the latest nightly hosted every few days.

Recently, if I plug in my player, either to charge it or transfer data, and then I unplug it, it no longer goes back to where I left off, but to the beginning of the directory.  I have to make a bookmark before plugging it in or I'll lose my place.

Also, if I try to initialize the database, the player freezes up.

I'll try a fresh install.

Edit: Okay.  I've tinkered a bit more.  Exact symptoms.

1.  Initialize database.  I never should have done it.
2.  Stays stuck on 0, but does finish after a few minutes and asks to reboot.
3.  Says it's getting the database ready, counts up to ten, now playing screen, brick.  Hard reset with power button.  Brick.
4.  Easy fix.  Connect to computer, delete all database files.  IT'S ALIVE.
5.  But, from now on, if I connect to PC or charge it, (I'm aware it thinks it's connected to a PC even while charging,) it will not remember my place.  It will return to the beginning of the first file in the directory I was listening to.  It also says in system that the database is initialized.

I've never used the database.  I just directory browse, and hit it by accident.  Can I uninitialize it without reinstalling Rockbox?  I have my settings just right.  🙂
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Bilgus on March 30, 2023, 09:47:25 PM
First try a truly clean install

Rename current rockbox directory and unzip the zip file to the drive root

Your settings file will be out of the equation then..
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: bahus on March 31, 2023, 02:57:17 AM
Recent playlist related changes broke auto Bookmarking for me. Your new issues might be related. Latest working build for me from 2023-03-22 (See Dev builds -> Your device -> Older builds)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on March 31, 2023, 08:15:05 AM
Recent playlist related changes broke auto Bookmarking for me. Your new issues might be related. Latest working build for me from 2023-03-22 (See Dev builds -> Your device -> Older builds)

Yeah, recent booksmarks broke for me too when I updated from a months-old dev build to one from a few days ago.

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rsmith32 on April 18, 2023, 05:54:35 AM
I just received my Surfans F20 today and immediately installed Rockbox - it's also my first experience of Rockbox. Overall it seems pretty good. I've been using a Cowon S9 since 2009, but yesterday it lost the ability to be mounted in Windows.

Anyway, I don't think that bookmarks are working in the latest daily build, as others have mentioned. The last reported working build from 2023-03-22 is no longer available for download. Could someone upload a copy of a build with a working bookmarks feature please?

Thanks!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rsmith32 on April 18, 2023, 10:47:11 PM
My mistake - bookmarks are working. I just wasn't familiar with how to use them.

I have also switched to the native port - and bookmarks also work with it. I must say, I'm pretty happy with rockbox - it's a quantum leap over the original firmware. My only complaint with the F20 in general is the 10 hour battery life. My Cowon S9 could get more than that with a 14 year old battery, a larger screen and smaller overall size.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on April 20, 2023, 09:49:42 PM
Still having bookmark failures, resume problems and still cannot build the database.

I'd like to switch to the native, but I don't want to brick my player, as it seems it's something you just can't flash.

Well, I installed the native.  It works, but I made two mistakes.  I didn't backup the original bootloader.  So, now I have native, but when I boot to OF, I get the hosted bootloader!  It's because I didn't flash back to stock BEFORE flashing the native.  So, I then have to select the OF on THAT bootloader too.

Oh well.  I don't suppose anyone has a HIFI Walker 1.5 backup.

Final edit.  Found a 1.5 backup.  Flashed to original firmware.  Flashed my old upt file with clean 1.5 OF.  Reflashed Rockbox bootloader, and now I have a proper native install.

The only issue I'm having is the USB connection to the PC is SLOW, so much so that I have to use OF to transfer files.

I feel like an idiot.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on April 22, 2023, 05:07:41 PM
The only issue I'm having is the USB connection to the PC is SLOW, so much so that I have to use OF to transfer files.

That's probably because the OF supports UASP, I believe. Rockbox doesn't have that capability unfortunately. I believe there's a patch to add support, but it's very much a work in progress.

Quote
I feel like an idiot.

We've all been there. Glad you got it working in the end though!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: IdahoBlind on April 27, 2023, 07:18:14 AM
Hi all

Just got a Surfans 20 and am about to start fiddling about with it.

Questions:

- do both the hosted and native ports boot to a screen that you then have to choose rockbox or default? I want to set it up so it boots straight into rockbox.
- Voicebox etc all works with both ports?
- If I try the hosted port first, would I just go through the usual native port installation process if I wanted to change, or is it more complex once I've installed the hosted port?

Thanks in advance :)
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on April 27, 2023, 01:55:14 PM
The only issue I'm having is the USB connection to the PC is SLOW, so much so that I have to use OF to transfer files.

That's probably because the OF supports UASP, I believe. Rockbox doesn't have that capability unfortunately. I believe there's a patch to add support, but it's very much a work in progress.

Quote
I feel like an idiot.

We've all been there. Glad you got it working in the end though!

Meh.  Just boot to OF for now.  I like the native better though.  Less buggy than the hosted.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on April 29, 2023, 09:20:27 PM
- do both the hosted and native ports boot to a screen that you then have to choose rockbox or default? I want to set it up so it boots straight into rockbox.
The native port boots Rockbox without a selection screen unless either the play button (boot straight to OF) or volume up (bootloader screen) is held during boot.

Quote
- Voicebox etc all works with both ports?
Feature-set wise, they're the same, yep.

Quote
- If I try the hosted port first, would I just go through the usual native port installation process if I wanted to change, or is it more complex once I've installed the hosted port?
Yep, the only gotcha would be that the hosted bootloader selection screen will still be present if you go to boot into the OF. Depending on your viewpoint this could either be kind of cool - can still use the hosted port if you had an SD card with it loaded - or annoying. If you want to get rid of it just flash an unmodified original firmware before installing the native bootloader.

Hope that helps!
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: IdahoBlind on April 30, 2023, 03:19:21 AM
Thanks for the answer - much appreciated 👍
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rdtyphn on April 30, 2023, 03:52:00 PM
I'm having display corruption and player slowdown with the disk access icon constantly spinning up and eventual hanging of the player on the native port. It seems related to browsing file directories. I've tried wiping and installing a fresh copy of the native port from the https://build.rockbox.org/data/rockbox-erosqnative.zip
page.
The error says "exception" TLB refill and about four lines of numbers.
Any advice would be appreciated, thanks.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 02, 2023, 01:07:18 PM
I'm having display corruption and player slowdown with the disk access icon constantly spinning up and eventual hanging of the player on the native port. It seems related to browsing file directories. I've tried wiping and installing a fresh copy of the native port from the https://build.rockbox.org/data/rockbox-erosqnative.zip
page.
The error says "exception" TLB refill and about four lines of numbers.
Any advice would be appreciated, thanks.

That error message could be a lot of things, I think I've run into it on multiple occasions. The first thing I would say, is if you're using the SD card it came with, perhaps try another one that you trust. I think these players come with the absolute cheapest cards they can find, and it wouldn't be out of the question that it's a dud.

Other than that, if you could narrow it down to something that's fairly repeatable that would be the place to start. Does it only happen on directories with very large file counts perhaps?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Bilgus on May 02, 2023, 03:36:01 PM
Also try a completely fresh install rename the old .rockbox folder and copy a fresh one
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rdtyphn on May 03, 2023, 08:40:53 AM
Thanks for the suggestions. The first thing I did was try a new .rockbox folder after deleting the old one.
I've been using a sandisk 1TB microsd that worked perfectly with rockbox on an Xduoo X3 and and Xduoo X3 II. That being said I did check it for errors and it was fine.
I'll look into using a different card to be sure.

I think the problem seems related to using the scroll wheel on the device rather than the forward and back buttons to navigate folders. When I use the wheel this display corruption and slowdown with the HDD access icon blinking a lot happens almost immediately. When I use the forward and back buttons it can work fine for a long while.

I do have a large number of folders but it can happen even within a subfolder with fewer files or directories.
Thanks

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 03, 2023, 10:07:42 AM
I see. If I'm understanding right, does it perhaps seem to correlate to how fast you scroll the wheel? I think I have noticed before that if you have List Wraparound turned on and then you scroll quite fast, it can sometimes end up seeming to jump multiple entries, but I can't remember if that's still true. I don't think I've ever seen the disk access go crazy, but I don't always use themes that have it. Not sure on the display corruption or tlb refill error.

I don't have the player on me at the moment, but I'll play with it when I can and see if I can replicate the issue.

Edit: I guess I should also say, I'm using a much smaller card at 64 gigs. 1TB is definitely foreign territory to me personally.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rdtyphn on May 03, 2023, 02:55:08 PM
Thanks, not sure it correlates to the speed of scrolling but when using the scroll wheel it eventually starts slowing down significantly with the HDD access icon blinking on with every single line scroll. It will then eventually crash with the TLB refill exception.
I turned off List Wraparound and it didn't seem to make a difference.
I also tried using the forward and back buttons exclusively and it still crashed.
Will try a different SD card soon.

Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 03, 2023, 09:54:22 PM
So it does happen with both the wheel and the buttons? I just tried for a bit and couldn't see any issue like you're describing here. What would you say is the smallest number of items in a folder that you've seen it happen in? I tend to organize my music in album folders, so I never have a folder larger than say 20 or 30 items. Perhaps there could be a clue there.

Have you changed any of the Scrolling settings? I have a wild hunch perhaps it's related to list acceleration. Perhaps try turning it off? It's in "List Acceleration Start Delay", can be set to off there.

As an unrelated aside, I've definitely gotten into list acceleration before and thought it was an issue with the scroll wheel handling... I never put 2 and 2 together that it was by design! That's one old mystery solved...
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rdtyphn on May 05, 2023, 09:38:40 PM
I see it happen with both wheel and buttons. I turned off List Acceleration Start Delay and I can still cause it to slow down and crash.

I wonder if it has something to do with how many folders I have in my root directory. I have about 550 folders. Some of these folders have many folders in them. Since this started only recently maybe I went over a limit in terms of how many folders or items I can have in the system.

When I put a 64gb microsd card in with only 15 folders I can't reproduce the crash even if I scroll around for a while.

Thanks
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: dconrad on May 06, 2023, 09:55:02 AM
That is a lot of folders! One more idea - have you tried turning off Directory Cache? I'm not actually sure what effect it may or may not have, but I would be interested to hear if it changed the behavior in any way.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on May 06, 2023, 02:41:29 PM
I see it happen with both wheel and buttons. I turned off List Acceleration Start Delay and I can still cause it to slow down and crash.

I wonder if it has something to do with how many folders I have in my root directory. I have about 550 folders. Some of these folders have many folders in them. Since this started only recently maybe I went over a limit in terms of how many folders or items I can have in the system.

When I put a 64gb microsd card in with only 15 folders I can't reproduce the crash even if I scroll around for a while.

Thanks

I have had nightmares with the database.  I don't use it. 

I can't remember the names of the files it creates, but try deleting them if they're there.  I believe the extension is tcd.  On the PC, go into .rockbox and delete all of them.

I cannot get it to work right with hosted or native.  I don't use it anyway, so I don't initialize it.

Not saying this is your issue, but it's worth a try.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rdtyphn on May 07, 2023, 10:38:22 AM
Thanks for the suggestion but I’m not using the database. This crashing is only while using the file tree browser.
I’ve never initialized the database either.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: rdtyphn on May 10, 2023, 11:02:10 AM
That is a lot of folders! One more idea - have you tried turning off Directory Cache? I'm not actually sure what effect it may or may not have, but I would be interested to hear if it changed the behavior in any way.

I tried turning it off and it made browsing the file tree very very slow and nearly unusable. Maybe the issue is that the directory cache is not able to handle that many folders and when I'm browsing with the option on it's behaving as if it were off and causing errors/crashing.

Thanks
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: ZOS474 on June 03, 2023, 12:48:14 PM
Here is the 1.5 firmware for HiFi Walker H2: https://drive.google.com/file/d/1oZxpT8HNgsMVfM0MXmQnTxTTLzTXpixk/view?usp=sharing

Please can you clarify: is this an original firmware version 1.5 for the HiFi Walker H2? I want to make sure I have a backup before trying to install Rockbox. If it isn't, could you please advise how I can extract it off my new player or download it somewhere? Thanks![/s]

[UPDATE] RTFM, I guess... I see that 'user1975' in reply #217 kindly uploaded the original firmware and 'mrsubway' in reply #179 gave some clear & succinct instructions to do the install, which worked well for my new HiFi Walker H2 with the 1.5.01Beta firmware.  Thanks for your guidance.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: speachy on June 04, 2023, 09:57:00 AM
A couple years ago, AIGO released an EROS Q II, in two variants -- one that looks the same as the old one, and one without most of the controls, replacing it with a touch-senisitive area.  I don't know how the underlying hardware compares to the first-generation, though they made a big deal about how it's more capable, and it also utilizes an ESS 9118 DAC.

Last night I discovered that they're also selling an EROS Q v2.0, and that is based on the same X1000+hibyplayer architecture as the original -- And I know this because there's a firmware update file for it.  I wasn't able to sufficiently navigate the chinese-only website to find pictures, but based on photos on Aliexpress it seems to be similar to the updated Hifiwalker H2, sporting a USB-C port.  (The Q II still has a micro-B USB port)

I should be able to patch the Q v2.0 image to enable the hosted port to run on it.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: chancerlane on June 11, 2023, 11:41:43 PM
Hi, so this is my first time installing rockbox on anything. I have the HIFI Walker H2 1.5 Firmware. Everything has been going smoothly until I try and use the .upt file after using the Utility Tool. I run the update and get "v_v Failed" Everytime I try and run the update any help?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on June 13, 2023, 12:06:49 AM
Hi, so this is my first time installing rockbox on anything. I have the HIFI Walker H2 1.5 Firmware. Everything has been going smoothly until I try and use the .upt file after using the Utility Tool. I run the update and get "v_v Failed" Everytime I try and run the update any help?
[/quote

Does your firmware say 1.5 or something like 1.51 or 1.5 beta?

Mine came with something like 1.51 or something like that.

If that's the case, you have to downgrade to 1.5 first.  Here is a copy from my Dropbox.  You'll flash this first.  Then try the Rockbox 1.5 upt.

This is stock 1.5.  https://www.dropbox.com/s/jgt0khpijw91e1v/update.upt?dl=0
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: chancerlane on June 17, 2023, 08:38:03 PM
I got Rockbox installed and have been using it for a week now but I'm having a problem with the Database, every time I add new music to my SD Card I have to not just update it (Auto Update doesn't work.) but initialize it and then hard reboot it. Every single time. Is there any way to stream line this or am I just gonna have to use the File Viewer instead?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on June 21, 2023, 11:32:41 PM
I got Rockbox installed and have been using it for a week now but I'm having a problem with the Database, every time I add new music to my SD Card I have to not just update it (Auto Update doesn't work.) but initialize it and then hard reboot it. Every single time. Is there any way to stream line this or am I just gonna have to use the File Viewer instead?

I don't use it because it keeps crashing.

I actually don't understand its purpose.  File browsing is fine for me.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: chris_s on June 22, 2023, 01:20:55 AM
There's some tips in the Wiki for troubleshooting database issues: https://www.rockbox.org/wiki/DataBase . It may be choking on a specific file.

As an almost exclusive user of the database, initializing the database works reliably, in my experience. The update function, on the other hand, I try not to use. Never quite worked the way I expected it to, but haven't looked into it any closer than that.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Roboturner913 on July 14, 2023, 09:43:21 PM
I got an H2 about a week ago and it took some trial and error, but I've finally got Rockbox installed and working great. Wow, what a cool little player this is now! Finally a worthy replacement to my Clip+ (which I still use, all the time, but it's showing its age with sticking buttons and such).

Anyway, much appreciation to everybody who worked on this port! It's amazing. I think I might even buy a second one so I have a backup. 
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on July 16, 2023, 10:26:18 PM
I got an H2 about a week ago and it took some trial and error, but I've finally got Rockbox installed and working great. Wow, what a cool little player this is now! Finally a worthy replacement to my Clip+ (which I still use, all the time, but it's showing its age with sticking buttons and such).

Anyway, much appreciation to everybody who worked on this port! It's amazing. I think I might even buy a second one so I have a backup.

The Clip+ was a great player, but this HiFi Walker is built amazingly sturdy.  I dropped it on the subway tracks the other day. Luckily, no one was hurt when the train derailed.  I'm listening to an audiobook on it now.  😂😂
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on August 01, 2023, 10:25:56 PM
Is the native port still being updated?  I noticed the last update was 07/08/2023.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: Oktan on August 02, 2023, 08:33:55 AM
Is the native port still being updated?  I noticed the last update was 07/08/2023.
That was the last time there was any commit to Rockbox as a whole, not the Eros Q port specifically.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: mrsubway on August 02, 2023, 09:56:13 AM
Is the native port still being updated?  I noticed the last update was 07/08/2023.
That was the last time there was any commit to Rockbox as a whole, not the Eros Q port specifically.
The build IS stable.  Thank you.  🙂
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: funkateer on August 05, 2023, 07:37:32 AM
Hey all! I'm happily running Rockbox on my new H2 and it's working excellently. I've been trying out the keyremap plugin but not yet encountered a way to assign the menu button (lower left corner) to enter the "Now Playing" screen/While Playing Screen (WPS) (i.e. I would love for it to enter the WPS regardless of which directory I'm in at the moment, when pressing the menu button). Even better would be if a long-press on the menu button could accomplish to enter the WPS. Does someone here know how to configure this with keyremap?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: s3t on November 30, 2023, 01:04:03 PM
I can confirm the Eros Q outputs music to external DAC connected to USB (confirmed by Samsung/TempoTec dongles).
I bought it just for the USB out and... it works (very happy). (yes, took the risk and it paid off).
Playing from 512GB card, so far it's fine. It makes it extremely underspecced player.
Now i can let my iRiver iHP120 rest (used it for digital output).

UPD:
Flashed RockBox 1.8 prepatched FW, the player hangs with the 512GB card:
 - Bootloader is fine, select RB -> hang. If i go to utilities, exit and run RB -> boots, try to browse files = hang. eject card = FW unfreezes.
 - Selecting OG firmware, hangs on boot. Eject the card - FW unhangs, insert the card - works ok.

The player came with 1.9v firmware, can't find it anywhere now, but there is 2.0 on the official website which doesn't hang on my (and doesn't seem to be supported by the patcher as the RockBox utility crashes during(before) the patch process).


Does anyone use 512gb cards? I wonder if it's size or exFAT issue. the card is FAT32
I'd guess the native build won't support usb host DACs.
Is there any patching manual/hints on unpacking/modifications for the original FW other than bin patches?)
./hiby_patcher.pl eros_q fw.upt bootloader.erosq
+ install the packages:
# need '7z', 'mkisofs', 'md5sum', 'mkfs.ubifs'
# and https://github.com/jrspruitt/ubi_reader

had to run the command with sudo as the script got some permission errors, then the resulting FW bricked the player so i've added another "fix" to the script that "fixed" the internal FW file's permissions:
system("chown -R 777 /tmp/");
### Generate new RootFS UBI image


UPD2: Patched the 2.0 FW with the bootloader, RockBox works, but no USB output, :(
My best chance would be tapping i2s lines from DAC and converting them to LVDS, or adding SPDIF transmitter, both options rely on player's internal clocks and their jitter would be not great.

Unbricking procedure: add original update.upt in the root of card, turn off, turn on by pressing pwr+vol up => it loads the FW from card.


UPD3:
Tried to play with /etc/asound.conf, managed to select the default output card/device, and... and silence. Yet, when i unplug the USB DAC, RB hangs. It means it is playing thru USB, or at least uses USB clock for playback. Attempted to run amixer before rockbox load gave no results (i have no idea what i'm doing).
So... debug build it is, wish me luck :)

UPD4: no luck. Built, got debug thru printf() to stdout >> fille.log (LOGF didn't worked for me), and then ubuntu VM gave up on building in SW volume control mode (less ALSA involvement). maybe there is some specific codec code, dunno, it got too involved for this time.

By the way, ALSA reports ES9018, which is nice.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: erikstylianos on January 17, 2024, 04:02:49 PM
Hi Folks - recently bought a HIFI WALKER H2 which is running firmware v1.6 according to the 'About' section on the device. I did not see this version listed as supported nor unsupported, so thought here might be the best place for my query.

I'm unable to use Rockbox Utility, as it will not find a mountpoint for the device (OS: Windows 11). I would like to make a backup of the current firmware to help development here, but seem to have difficulty getting the bootloader added to the device.

Would anyone here have any helpful advice, had a similar experience or has managed to get Rockbox installed on firmware v1.6?
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: studio910 on January 18, 2024, 12:25:49 PM
Disregard the db records question . I am again an idiot.
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: schatteneis on January 25, 2024, 10:46:24 AM
Hello all (not sure if this OK to post here) was wondering if some smarter peeps than me in here could help with porting this to the surface F28? Already tried but ultimately failed, here is my post about this
https://forums.rockbox.org/index.php/topic,54692.0.html
Title: Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
Post by: smbgaiden on March 18, 2024, 12:59:35 AM
Getting the plugins to work and made decent progress with avoiding defining the scroll wheel as PLA_LEFT/RIGHT and some minor fixes on oversights in some of the plugins.

Hit some dead ends with the apps/plugins/puzzles series. Anyone understand the button firmware well and these puzzles button logic well?

In rockbox.c in apps/plugins/puzzles, first issue is the call to buttons_get_w_tmo returns decently with  any button or scroll action.  However the call to button_status shortly afterwards will not report on either scroll direction. Since the local variable button is reused on the button_status call then there is no longer any record of the scroll actions and the games like Black Box,etc, can't move right and left.  I saw button_status is simple and just returns lastbtn. And lastbtn is set in the ticks function.  Perhaps a race condition on button_get_w_timeout using 0xFFFFFFFF unblocks with the key before the message posts to button_queue? The only likeness i could find was brickmania which has a similar button_grt_w_tmo followed by button_status, except two differences,  firstly is that it works for the button_status call and secondly the call to button_get_w_tmo has a much shorter timeout than the puzzle series.  For puzzles, is it the button queue post vs the immediate return from button_get_w_timeout after a button is pressed that prevents the lastbtn to get set? The physical buttons like back, menu,  prev, next, and etc don't suffer the issue hence thinking it is related to the queue.

i implemented a workaround to the button_status issue, but don't think this is something to propose as a commitable patch.  The button_status workaround was: make a copy of the return of button_get_w_tmo, after button_status is called do ifdef for erosq_pad, inside this if the copy of the button had a scroll left or scroll right set then OR | them into the return of button_status
variable.

I noticed this has ADB and have used it successfully.  However there's no logcat. a what's a good way to do printf style debugging to explore the button_queue vs ticks vs button_status vs button_get_w_tmo logic? Thank you