Rockbox Technical Forums

Installation / Removal => Manual Installation => Sandisk - Installation/Removal => Topic started by: Bor on March 20, 2008, 06:11:45 AM

Title: [c250] sansapatcher - Failed to decrypt image
Post by: Bor on March 20, 2008, 06:11:45 AM
I try to use sansapatcher at my c250 v01.01.07F

at Gentoo Linux
Quote

# ./sansapatcher
sansapatcher v0.6 with v4.0 bootloaders - (C) Dave Chapman 2006-2007
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[INFO] Scanning disk devices...
[INFO] c200 found - /dev/sda
[INFO] Reading partition table from /dev/sda
[INFO] Sector size is 512 bytes
[INFO] Part    Start Sector    End Sector   Size (MB)   Type
[INFO]    0            1017       3972095      1939.0   FAT16 (0x06)
[INFO]    1         3972096       4013055        20.0   OS/2 hidden C: drive (0x84)
Enter i to install the Rockbox bootloader, u to uninstall
 or c to cancel and do nothing (i/u/c) :i
[ERR]  Failed to decrypt image, aborting
[ERR]  --install failed.
Press ENTER to exit sansapatcher :


but I also try at WinXP64 -  same result

What wrong ?
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: LambdaCalculus on March 20, 2008, 07:19:08 AM
Did you run Sansapatcher as root?
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: Bor on March 20, 2008, 07:42:41 AM
Yes as root
I try it Gentoo Linux x86 and amd64
from
http://download.rockbox.org/bootloader/sandisk-sansa/sansapatcher/linux32x86/sansapatcher
and compiled from svn too

Also in WinXP64 run as admin from
http://download.rockbox.org/bootloader/sandisk-sansa/sansapatcher/win32/sansapatcher.exe

PS.
at
http://download.rockbox.org/manual/rockbox-sansac200/rockbox-buildch2.html#x4-60002
I find broken link
http://download.rockbox.org/bootloader/sandisk-sansa/sansapatcher/linux64amd64/sansapatcher
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: Bor on March 20, 2008, 09:35:15 AM
Found info about rockbox does not work with version 1.01.07

http://forums.rockbox.org/index.php?topic=15778.0

So I downgrade to 1.01.06
and try again

and

[INFO] Bootloader installed successfully.

:)
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: MarcGuay on March 20, 2008, 09:35:29 AM

I find broken link
http://download.rockbox.org/bootloader/sandisk-sansa/sansapatcher/linux64amd64/sansapatcher


Looks like there's only an older version here:

http://download.rockbox.org/bootloader/sandisk-sansa/sansapatcher/old/v0.2/linux64amd64/
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: flax on June 04, 2008, 04:54:28 PM
As one of the sad and angry  >:( who installed the 1.01.07 before finding rockbox, where do I find the 1.01.06(E in my case) and how do I go about to donwgrade my c250?
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: MarcGuay on June 04, 2008, 06:04:38 PM
Read the SansaC200 wiki page.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: robin0800 on June 04, 2008, 06:23:41 PM
You can find the firmware here

http://files.zefie.com/PMP/sansa/c200/v1/firmware/
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: flax on June 05, 2008, 01:37:46 AM
Thanks for the reply.
Some comments on downgrading... (I found out the hard way. )
The firmware files are in 7zip format, so one needs to download the tools to un7zip them. (Google is your friend, also found the tools are easily installed in ubuntu)
After that, just follow the instructions for enabling service mode and install old software.

It took me better part of the evening, but now my mp3-player is running rockbox. Many thanks!
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: JEJ on August 08, 2008, 10:07:46 PM
How does one stay up to date to know when RB will support .07 firmware?
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: Llorean on August 08, 2008, 10:14:01 PM
Watch the changelog for a commit relevant to sansapatcher.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: bluebrother on August 09, 2008, 03:23:35 AM
Well, IIRC the .07 firmware is already supported by sansapatcher, but no new binary release has been made since. You can build sansapatcher yourself. I'm preparing a couple of bigger changes to Rockbox Utility and most likely will provide a test binary then, as Rockbox Utility uses sansapatcher itself it will then also allow installing on .07. You might want to keep an eye on the RockboxUtility wiki page for that.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: robin0800 on August 09, 2008, 03:51:43 AM
Yes I can confirm the sansapatcher in svn does work with the latest firmware.
The latest firmware reinstates the USB setting so is worth while all round IMHO.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: bluebrother on August 12, 2008, 04:01:35 PM
I've uploaded a new windows binary of Rockbox Utility: http://www.stud.uni-karlsruhe.de/~uhcn/rockbox/rbutil/rbutilqt.7z
This is built from current svn with my current ongoing internal bootloader rework (shouldn't change much from a users point of view). This should work with the c200 '07 firmware. Feel free to try other bootloader installs too and report major issues to me (I'm aware of several minor glitches). Keep in mind that this isn't tested very well as of now.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: robin0800 on August 13, 2008, 08:20:57 AM
Just tried New RBUtil and although it will install Rockbox, after warning a boot loader is already present, then says no sansaC200  found.

Sansapatcher made from svn still works and really strange RButil 1.0.6 (July) can now reinstall bootloader.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: bluebrother on August 13, 2008, 01:29:53 PM
robin0800: have you tried if it works when first uninstalling the bootloader?
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: robin0800 on August 13, 2008, 03:24:33 PM
Just Uninstalled the Bootloader and RBUtil still reports no SansaC200 found.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: michelsondl on September 19, 2008, 07:56:25 AM
Hey, new member here.

I have a c240 and have spent the last few hours going through the threads here and searching elsewhere online.  I think i finally found a solution for my v1 which was giving me the same errors as the o.p. of this thread was getting. 

I found this from another site:
http://forums.sandisk.com/sansa/board/message?board.id=c200&thread.id=2028

this is for the early firmware, so I'm not sure if there's any disadvantage to this opposed to the newer firmware versions.  Bottom line is that it WORKS. i just restarted the player and Rockbox is definitely there.  The only place that I got an error in the graphic installer was when it was trying to install themes.  Do the themes not work for the earlier firmware versions?  not a big deal really but it would be nice to know.

I'm not sure if this solution has been already covered, but after searching, i never saw it, so I thought I'd share.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: bluebrother on September 19, 2008, 03:37:10 PM
The only place that I got an error in the graphic installer was when it was trying to install themes.  Do the themes not work for the earlier firmware versions?
If you're referring to Rockbox Utility: currently installation of themes doesn't work due to server issues. The wiki page for Rockbox Utility has a note on that issue ... This has nothing to do with your original firmware version -- themes are dependent on the player, not on any firmware version.
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: michelsondl on September 19, 2008, 04:43:35 PM
The only place that I got an error in the graphic installer was when it was trying to install themes.  Do the themes not work for the earlier firmware versions?
If you're referring to Rockbox Utility: currently installation of themes doesn't work due to server issues. The wiki page for Rockbox Utility has a note on that issue ... This has nothing to do with your original firmware version -- themes are dependent on the player, not on any firmware version.
Ah, ok.  Now i remember reading that at some point, but I wasn't to that part of the install yet when I read it, and by the time i hit the error, I had forgot about it.  The thing is though, I do have a few default themes.  So does the themes pack have a bunch more or is it the same ones?
Title: Re: [c250] sansapatcher - Failed to decrypt image
Post by: robin0800 on September 19, 2008, 05:02:10 PM
C250 Themes are here

http://www.rockbox.org/twiki/bin/view/Main/WpsSansaC200

all four of them!