Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
Search
| Go
Wiki
>
Main
>
IriverH10InstallationBeta
>
AutomaticFirmwareDecryption
Bash script (Linux) to automatically decrypt the original firmware (OF) from iriver for dual-booting. Be sure to change the two variables : * h10 : Path to the H10 UMS mount point * fw_orig: Name of the orignal firmware to decrypt --- <verbatim> #!/bin/bash h10=/media/H10 fw_orig=H10_Original.mi4 if [[ -x /tmp/mi4code ]]; then rm -fr /tmp/mi4code fi mkdir -p /tmp/mi4code cd /tmp/mi4code if [[ ! -e mi4code.c ]]; then wget http://daniel.haxx.se/sansa/mi4code.c fi gcc -o mi4code mi4code.c -lgcrypt if [[ ! -x $h10/System/$fw_orig ]]; then echo "$h10/System/$fw_orig doesn't exist!" echo "Please be sure that the variable \"fw_orig\" is set to" echo "the right name at the begining of the script." exit fi iriver_fw=`grep -i rockbox $h10/System/$fw_orig` if [[ "$iriver_fw" != "" ]]; then echo "FAILED - File $h10/System/$fw_orig is present but" echo "it is not orignal Iriver firmware!" echo "Please be sure that $h10/System/$fw_orig" echo "is the original (crypted) firmware" exit else ./mi4code decrypt -s $h10/System/$fw_orig $h10/System/OF.bin fi </verbatim> --- -- Main.NicolasBigaouette - 07 Mar 2007
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
r3 - 08 Mar 2007 - 22:40:38 -
LinusNielsenFeltzing
Parents:
IriverH10InstallationBeta
Copyright © by the contributing authors.