1
Rockbox General Discussion / Re: Rockbox on HiFi Walker H2
« Last post by speachy on Today at 06:46:36 PM »The _crash_ is still unaddressed at this time, but at least it will require active malfeasance to trigger.
The crash should now be fixed, with a nice friendly error message displayed instead.
Though as previously mentioned one will have to actively break their rockbox installation in order to trigger this.
2
Theming and Appearance Customization / Re: OneBit_OLED
« Last post by gnomacor on Today at 05:43:42 PM »PS. I wanted to make the accent colour customisable using the foreground colour but because this theme messes a lot with colours, it is actually infeasible. Real bummer.
Yeah, I tried doing things like
%?if(%ss(0,1,%St(background color),number),>,9)<%Vf(000000)|%Vf(ffffff)>%Vb(-)
no, because it's a hexadecimal it wouldn't see it as a number. I actually got it working brute-force by comparing it as a string:
%?or(%if(%ss(0,1,%St(background color)),=,8),%if(%ss(0,1,%St(background color)),=,9),%if(%ss(0,1,%St(background color)),=,a),%if(%ss(0,1,%St(background color)),=,b),%if(%ss(0,1,%St(background color)),=,c),%if(%ss(0,1,%St(background color)),=,d),%if(%ss(0,1,%St(background color)),=,e),%if(%ss(0,1,%St(background color)),=,f))<%Vf(ffffff)|%Vf(000000)>%Vb(-)
it has to be the upper part of the hexadecimal, the lower 0-7 approach won't work because apparently all the letters match to 1? that took some debugging.
also in the process of solving this, I also figured out how to solve the previous issue I had with foreground colours. so the problem was that, since now the ui viewport needs to use a different foreground colour (which applies to list elements). changing the foreground colour of the info viewport has a side effect of changing the WPS's foreground colour as well, which idk if it's intended. it's undocumented, but %Vf(-) lets you reset those colours and use the one actually set by the user.
the colour adjustments below were achieved with just stock rockbox settings. it's actually quite usable, thanks for the idea and guidance, unintentional it may be!
Edit: the adaptive theme is now uploaded as v1.1.
3
Rockbox General Discussion / Re: Rockbox on HiFi Walker H2
« Last post by psyscott on Today at 05:36:01 PM »I think I did rename file correctly. I have attached a photo of cards contents, if attachment works. Does not in preview
If you don't use Macs much, you might not know that fseventsd and .Spotlight-V100 files are are hidden files OS X puts on every drive.
One other clue that there could be H2 hardware problem is that sometimes after booting into native Eros and sleeping screen then waking, screen show gray on white in mirror image, but only later, not initially, Ideas about that?
Thanks.
If you don't use Macs much, you might not know that fseventsd and .Spotlight-V100 files are are hidden files OS X puts on every drive.
One other clue that there could be H2 hardware problem is that sometimes after booting into native Eros and sleeping screen then waking, screen show gray on white in mirror image, but only later, not initially, Ideas about that?
Thanks.
4
Theming and Appearance Customization / Re: OneBit_OLED
« Last post by Frankenpod on Today at 10:33:22 AM »PS. I wanted to make the accent colour customisable using the foreground colour but because this theme messes a lot with colours, it is actually infeasible. Real bummer.
Yeah, I tried doing things like
%?if(%ss(0,1,%St(background color),number),>,9)<%Vf(000000)|%Vf(ffffff)>%Vb(-)
i.e. querying the background colour and setting other colours based on that
But never really got it to work as expected, beyond, as above, getting a general idea of if it was a light or dark shade and setting foreground colour white or black accordingly. Couldn't work out how to get the chosen colour as a number, that one could then manipulate to produce a different 'accent' colour.
5
Theming and Appearance Customization / OneBit_OLED
« Last post by gnomacor on June 16, 2025, 03:33:38 PM »Oh no, yet another modified OneBit theme? Hear me out, I swear it's not yet another recolouring.
This was in my back burner ever since the original OneBit came out. I was also looking to replicate the 80s/90s audio gear look on Rockbox, down to it being VFD. I appreciate the effort to make it look interesting, but IMHO this theme doesn't really nail the look. But that's not the point here.
What I did notice however is the SBS/menu theme. It had such a clean and organised look, with popping colours to accentuate some elements. I actually felt something. It strongly reminded me of 2000s/2010s MP3 interfaces, hence OLED. I swear I have seen something similar in an actual product but I can't seem to be able to identify them.
So this theme brings the visual of the SBS to the WPS, which is quite interesting if I might say. I wanted it to look as "stock" as possible, as if it could have been in a real product. The result is a text-centric theme with emphasis on colouring. Player informations are all converted into icons. Shuffle and Repeat indicators share space, as some mp3 players did. The theme has otherwise received some quality of life upgrades such as better fallback for music with missing tags (the original had none) and respecting 12/24hr preferences.
If you miss the loud VU meter of the OneBit theme, don't worry! I'm working on it, but it's not as simple as a bar tag. Hopefully I can bring more interesting stuff to the table soon.
PS. I wanted to make the accent colour customisable using the foreground colour but because this theme messes a lot with colours, it is actually infeasible. Real bummer.
This was in my back burner ever since the original OneBit came out. I was also looking to replicate the 80s/90s audio gear look on Rockbox, down to it being VFD. I appreciate the effort to make it look interesting, but IMHO this theme doesn't really nail the look. But that's not the point here.
What I did notice however is the SBS/menu theme. It had such a clean and organised look, with popping colours to accentuate some elements. I actually felt something. It strongly reminded me of 2000s/2010s MP3 interfaces, hence OLED. I swear I have seen something similar in an actual product but I can't seem to be able to identify them.
So this theme brings the visual of the SBS to the WPS, which is quite interesting if I might say. I wanted it to look as "stock" as possible, as if it could have been in a real product. The result is a text-centric theme with emphasis on colouring. Player informations are all converted into icons. Shuffle and Repeat indicators share space, as some mp3 players did. The theme has otherwise received some quality of life upgrades such as better fallback for music with missing tags (the original had none) and respecting 12/24hr preferences.
If you miss the loud VU meter of the OneBit theme, don't worry! I'm working on it, but it's not as simple as a bar tag. Hopefully I can bring more interesting stuff to the table soon.
PS. I wanted to make the accent colour customisable using the foreground colour but because this theme messes a lot with colours, it is actually infeasible. Real bummer.
6
Hardware / Re: HiBy R1
« Last post by 7o9 on June 16, 2025, 11:24:03 AM »Yes, through adb.
You can turn on adb in the boot menu and then connect over usb to play around.
It does not matter if you run Rockbox or the HiBy player after that.
You can turn on adb in the boot menu and then connect over usb to play around.
It does not matter if you run Rockbox or the HiBy player after that.
7
Rockbox General Discussion / Re: Rockbox on HiFi Walker H2
« Last post by dconrad on June 16, 2025, 07:14:30 AM »I am still failing and need help with another issue. I have tried again and again to follow installations instructions. When I boot into native firmware, called Eros, and try to run firmware update I get the error, "update failed. not found update file".
Any more suggestions, please?
Is the update file on the root of the card, and named "update.upt"? The file being named something else is usually the culprit.
8
Rockbox General Discussion / Re: Rockbox on HiFi Walker H2
« Last post by psyscott on June 16, 2025, 01:40:33 AM »I am still failing and need help with another issue. I have tried again and again to follow installations instructions. When I boot into native firmware, called Eros, and try to run firmware update I get the error, "update failed. not found update file".
Any more suggestions, please?
Any more suggestions, please?
9
Hardware / Re: HiBy R1
« Last post by Milardo on June 16, 2025, 12:52:50 AM »In firmware/export/config/hibyr1.h I have set HAVE_DUMMY_CODEC.
If you enable HAVE_HIBY_R1_LINUX_CODEC instead, you would have to implement firmware/drivers/audio/hibylinux_codec.c.
However, ALSA shows no devices when you run ‘amixer’ or ‘amixer contents’ like described here for the AGPtEK Rocker device: https://www.rockbox.org/wiki/AgptekRocker.html
This part seems to be different in this ‘X1600E’ generation of HibyOS.
OK.
How do you access R1 to check "amixer", etc.?
Is it through adb?
If so, how do you get R1 to be recognized by adb?
I noticed that there is an option to start adb through your rockbox bootloader.
Is that the correct way to get R1 to be recognized by adb?
It does come up as an Ingenic device and there is to something related to alsa in: " /dev/snd "
Not sure I'm doing that right though.
10
New Ports / Re: TempoTec V3
« Last post by vitt13 on June 15, 2025, 03:11:07 PM »But I understand that it is relatively simple, also because I imagine that the sequence of steps to get to the porting is something like:I think those will be last steps.
I'm not good in programming but I watched for developing FiiO M3K native port steps because I own this DAP.
amachronic done a lot of work to allow use the general code in future X1000/E based ports.
* it needs to port bootloader
* it needs to know about key mapping, LCD driver and GPIO. There is guide howto find out that from RE kernel image https://forums.rockbox.org/index.php/topic,53896.0.html (it starts here https://forums.rockbox.org/index.php/topic,53601.msg248763.html#msg248763 )
My guess about useful *.ko from V3 Blaze fw was just guess to simplify this step of RE kernel image. And may be irrelevant if hardware is different in real.
V3-A has not enough hardware keys to control Rockbox without touchscreen so it will be hard to do everything touch-controlled.
Even Surfans F28 hosted port has struggled with touchscreen use
(Audio works but is quite distorted, rotary wheel isn't working yet, very crude keymap, touchscreen hooked up but not being utilized, no plugins enabled, etc etc etc..)
The rotary wheel now works, audio quality (and volume control) fixed. Given that I have no desire to use a touchscreen-based player like the F28 myself, I don't have the patience to rework the very crude global keymap to incorporate the touch screen, implement keymaps for the bajillion plugins, and tweak the default theme to be less ... BIG.
And what about hosted port there is the answer
All of the non-Android Hiby devices (and many more from other manufacturers) are built on the same underlying software framework ("hibyos"), with the messy details nearly entirely handled by custom, per-device kernel drivers and existing platform daemons+scripts.
Rockbox has already been ported to multiple hibyos devices. To port it to another one just needs to handle:
* Display properties
* Button layout
* Audio output switcher and mixer names
* Power management properties (battery and charging device names, plus discharge curves)
The information in the list you provide would be enough for a hosted port?
The AGPTek Rocker was the first port to hibyos, and the X3II, X20, and hosted ErosQ/K ports were relatively minor tweaks from there.
You only need to build enough to get the "bootloader" (ie a glorified boot menu) to build, for this you need to have the basic display stuff (eg dimensions, resolution) and how to map the various buttons (ie /dev/input*) into something useful. Next you'll need to figure out power management and how to talk to the audio hardware, and from there you should be able to do a plugin-less build. Getting the plugins building will require creating keymaps for many (if not most) of them. It's still a bit of work, but far, far less than a native port would be.I am sure I can provide most of that for the R1 based on disassembly of the firmware/driver .ko’s. All drivers are provided as modules and decompile very well.
To create a new native port, you need to effectively reverse-engineer the hardware schematic to figure out how things are connected. Disassembly of the original firmware can help with that, and of course it should hopefully be able to tell you how to talk to some of the custom hardware. FWIW it's possible (if not likely) that the FPGA stuff is handled by the bootloader before Linux ever starts.
( See https://www.rockbox.org/wiki/NewPort )