|
|
Warning !! You should not attempt any of these without someone knowledge telling you to do so. Do NOT attempt these instruction if you don't understand what you are doing, or you might permanently brick your device
Warning !! These instructions may be wrong, or untested, or whatever
This page documents most common recovery procedures on the SigmaTelSTMP3xxx which can be found in many players. Most of these instructions assume you are working under Linux, or in a virtual machine with Linux.
Bad logical sector sizeThis problem may affects the following devices (and maybe some others):SymptomsThe OF doesn't boot anymore (either in USB or normal mode), but Rockbox does and report a logical sector size of 512-bytes.ExplainationOn those devices, the OF has a hardcoded value of 2048 for the sector size. The disk is organised weirdly with a first level partition table in 512-byte sector units and a second level one in 2048-bytes sector units. When running normally, Rockbox exposes the second level one and guesses the logical sector size. If by mistake, the user formats the entire disk without taking care (by flashing a prebuilt boot image by example), the operating system might create a partition table in 512-bytes sector units. At reboot, Rockbox will probe a sector size of 512-bytes and from this point one, the error is impossible to fix because the OF doesn't boot and Rockbox reports 512-bytes logical sector size instead of 2048.SolutionThe solution is to manually fix the second level partition table so that offset are in 2048-bytes sector units. This will restore OF functionality and Rockbox will correctly probe the sector size, putting everything back into order.Troubleshooting under LinuxThe problem can somewhat easily be solved under Linux. The easiest method is to completely reformat the user disk although it can probably be achieved without it, it makes the instructions easier. All instructions must be ran as root.
Battery is too discharged to even bootThis problem may affects the following devices (and maybe some others):SymptomsYou device used to work but you let it discharge too long (typically by not using it for a long time). You cannot boot by pressing the power button and when plugging the USB cable, the device either doesn't boot or boots but shutdown immediately, or the device boots to USB mode but doesn't charge because you are using a bootloader which doesn't charge.ExplainationWhen the battery is extremely low, the device cannot boot. Even when plugging USB, it may happen that it also fails because some boot stub do some unsafe operation by assuming the device is still charged a little bit. Or the bootloader doesn't support charging and neither OF and RB can be booted to actually charge the device.SolutionThe simplest solution is to boot to recovery mode and upload a very simple stub which does not nothing except setting up charging. Once the device is minimally charge, you can reboot normally and complete the charge using either OF or RB.RequirementsBoth Windows and Linux solutions require that you either download or build the special stub to charge.Charge firmware fileDownloading the fileThere exist prebuilts file for the following devices:
Building the fileThis method requires the following things:
bootloader-xxxx.yyyy file (you don't need to go further than the 5. Build step in HowToCompile) (xxx is the name of your device, like fuzeplus and yyy is the vendor, like sansa)
Then you need to build the mkimxboot tool in rbutil/mkimxboot . To do so, just cd into rbutil/mkimxboot and run make . It should produce a mkimxboot executable.
Finally, you need to run the tool with the correct parameters. Assuming you are in rbutil/mkimxboot , run:
./mkimxboot -i sandisk-firmware.sb -b bootloader-xxxx.yyyy -o charge_firmware.sb -t charge
sbloaderDownloading the fileThere exist prebuilts files, assuming your system is close enough for them to work:
Building the fileWe have Linux-only version of it, we can be compiled by runmake in utils/imxtools/sbtools in our repository.
Troubleshooting in LinuxWith thecharge-firmware.sb file on one hand and the sbloader on the other, you need to:
Troubleshooting in WindowsWith thecharge-firmware.sb file on one hand and the sb_loader.exe on the other, you need to:
r8 - 02 Apr 2021 - 20:46:07 - UnknownUser
Copyright © by the contributing authors.
|