Rockbox Development > New Ports
Shanling Q1
illegalval:
--- Quote from: amachronic on October 27, 2022, 06:48:58 PM ---
--- Quote from: mambo5king on October 13, 2022, 08:30:37 AM ---After restoring the Shanling Q1 bootloader sent to me by illegalval (thanks again), my Q1 is restored to the original firmware. I compared the file she sent me with the backup I took and they're the same size but the contents are different. Mine must have been corrupted or the backup process didn't work.
Anyway, just recording this here in case anyone is searching for a similar solution.
--- End quote ---
Would you happen to have your original "bad" backup still?
illegalval, would you also mind sharing your good backup?
I'd like to compare them. There's been another complaint of "can't remove rockbox" on head-fi, so I guess this isn't a one off problem.
--- End quote ---
I sent you a message with a link to it now!
amachronic:
--- Quote from: mambo5king on October 13, 2022, 08:30:37 AM ---[...] Mine must have been corrupted or the backup process didn't work.
--- End quote ---
Your backup contains rockbox-info.txt... what appears to be random junk... and apparently a copy of bootloader.q1! Whatever the case, that backup can't have come from a bootable device.
I'll add some basic sanity checks to the restore process to prevent it flashing total garbage, but honestly, I have no idea how all that junk got into your backup in the first place. Especially rockbox-info.txt, since it doesn't exist anywhere except inside the .rockbox folder, and the bootloader doesn't open it.
7o9:
Is restoring a backup of the stock bootloader that you are suppose to make when installing Rockbox the way to revert to the stock firmware?
I always thought reinstalling a Shanling firmware would do it, but that must not touch the bootloader then.
I know I made the backup initially, but lost it at some point.
amachronic:
Well, illegalval's backup is identical to my own. Modulo the expected differences from Ingenic's bugs, at least.
It seems Shanling's firmware updates don't package the bootloader, unlike the Fiio M3K. And it doesn't have a full copy of U-Boot, it uses the same single stage X-Loader SPL that the M3K does. (There's still a big empty partition allocated for U-boot though; that's probably why I was thinking the Q1 used U-boot...)
So... I'll give the updates a shot on my player and see if Shanling's updater damages anything. I definitely tested booting the recovery kernel; maybe I never used it to see if it worked?
amachronic:
--- Quote from: 7o9 on October 28, 2022, 12:49:36 PM ---Is restoring a backup of the stock bootloader that you are suppose to make when installing Rockbox the way to revert to the stock firmware?
--- End quote ---
Yeah, that's supposed to be the tried & true method.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version