Rockbox Technical Forums

Third Party => Repairing and Upgrading Rockbox Capable Players => Topic started by: Bilgus on October 09, 2017, 05:58:00 PM

Title: Sansa Clip Plus and Clip Zip recovery images
Post by: Bilgus on October 09, 2017, 05:58:00 PM
https://www.mediafire.com/folder/pyydmx9m5zi1d/Recovery_Images

This is still a WIP but The images may come in handy to someone..

I made two builds that allow the rockbox firmware to access the whole flash area on the clip+ and clipzip.
here are the changes, precompiled versions are in above link
http://gerrit.rockbox.org/r/#/c/1692/

Quote
[Edit] both builds included set the SD voltage higher 3.3v instead of 2.75v, Disable Widebus mode, and give error messages for read/write failures when the usb is disconnected.

Normally this area is blocked off from the firmware to protect the Original Firmware area

You can also see the contents of this area by putting the device into 'recovery mode' per https://www.rockbox.org/wiki/SansaAMSUnbrick

As long as you can copy the recovery.sansa file to your device and run it from the file browser you should be able to at least see the drive

First step copy the recover.sansa file to a sdcard and run it from within rockbox on the device
Next you will plug the device in

Do be warned anything you do here could brick your device

I've included images for windows users and linux users

Windows users
when plugging the device you will be asked to format it
DO NOT FORMAT!!!
!
Unfortunately there is not really a native way to write to a raw disk
you will need to download a tool called HDD Raw Copy in
order to write these compressed images back to your device
http://hddguru.com/software/HDD-Raw-Copy-Tool/HDDRawCopy1.10Portable.exe
Make sure you have the right image for your device there are no safety checks
and clipzip8GB users sorry I don't have a device to pull an image from so maybe
someone else can pull it from their working device ( yes its an image of the whole drive )

Linux users
you only need the actual hidden part of the drive and you will use dd to place them
when you plug the device you won't see a drive enumerate but instead you will type
'sudo fdisk -l' and make note of which drive returns
'Disk /dev/sd? doesn't contain a valid partition table'
the size of your device might not matter but I can't say for sure
so stick with the properly sized image for your player
clipzip8GB users sorry I don't have a device to pull an image from so maybe
someone else can pull it from their working device


Quote
[Edit] I have discovered you can just dd the Bootloader image directly to the drive and it works
so you would invoke dd like this Ex. for clip+ with multiboot bootloader 'sudo dd of=/dev/sd? if=clppa_new.bin'
Make well sure you are writing the correct bootloader as there are NO SAFETY CHECKS!




Title: Re: Sansa Clip Plus and Clip Zip recovery images
Post by: Bilgus on October 09, 2017, 10:27:17 PM
I updated a few of the images with the multiboot bootloader and also fixed an issue in the recovery firmware where the device would panic after pulling the USB
the firmware now also disables all button presses except power just so there is no confusion which firmware you have running
on usb plug the device pops a warning about recovery mode and displays errors (if any) on usb unplug
Title: Re: Sansa Clip Plus and Clip Zip recovery images
Post by: aargl on October 18, 2017, 05:22:13 AM
I hope I'll never need that, but I wanted to thank you for the work!  ;)