Version 3 (modified by 14 years ago) (diff) | ,
---|
pierre_ja
# goldcard: (Guhl and Nipqer) part of the commands are in http://www.thinkthinkdo.com/trac/project1/wiki/nipqer
# we might want to flash the pc10img with fastboot to avoid writing to the sdcard while it is golden # BACKUP the sdcard prior to make it golden
# 1. get the cid
cat /sys/class/mmc_host/mmc2/mmc2:*/cid
# 2. reverse the cid, paste it into http://psas.revskills.de/?q=goldcard , get the img by e-mail
# 3. temproot (fre3vo or psneuter)
# 4. adb push goldcard.img /data/local/tmp/
adb push busybox /data/local/tmp/ adb shell chmod 755 /data/local/tmp/busybox
# 5. get an img of the first 512 bytes of the sdcard, check the img for sanity:
adb shell cd /data/local/tmp dd if=/dev/block/mmcblk1 bs=512 count=1 of=512.img ./busybox md5sum /data/local/tmp/512.img dd if=/dev/block/mmcblk1 bs=512 count=1 | ./busybox md5sum
# 6. write the goldcard.img, check the success of the flash:
dd bs=512 if=goldcard.img of=/dev/block/mmcblk1 dd if=/dev/block/mmcblk1 bs=<size of goldcard.img in bytes> count=1 | ./busybox md5sum ./busybox md5sum /data/local/tmp/goldcard.img
# 7. move the 512.img to a safe location
cp 512.img /sdcard # (or adb pull /data/local/tmp/512.img)
# 8. flash the ruu (fastboot)
# 9. temproot (psneuter)
# 10. restore the original 512 bytes and check - same as p 6 but instead of goldcard.img, 512.img should be dd-ed in and md5ed.
dd bs=512 if=512.img of=/dev/block/mmcblk1 dd if=/dev/block/mmcblk1 bs=512 count=1 | ./busybox md5sum # compare that with the md5 from 5.
Attachments (17)
- 1.png (283.8 KB) - added by 14 years ago.
- 2.png (49.9 KB) - added by 14 years ago.
- 3.png (56.2 KB) - added by 14 years ago.
- 4.png (43.0 KB) - added by 14 years ago.
-
512.img (512 bytes) - added by 14 years ago.
the first 512 bytes of the 8gb sdcard md5 fb584500d8c57cd1052c14da37eab7e0
-
goldcard_creation (1.6 KB) - added by 14 years ago.
manual goldcard creation
- g2_partitions (2.6 KB) - added by 14 years ago.
- dz_partitions (2.5 KB) - added by 13 years ago.
- dz_htcdev_hboot_partitions (2.6 KB) - added by 13 years ago.
-
rom.zip (266.1 KB) - added by 13 years ago.
d98beab4c3790c84ac952a19e8df9307 rom.zip
- ext_csd.txt (81 bytes) - added by 13 years ago.
- framework.jar (3.9 MB) - added by 13 years ago.
-
g2-hboot-eng.img (1.0 MB) - added by 13 years ago.
7669ae12dc2faa10ae555a164980efd0 g2-hboot-eng.img
-
dz-hboot-eng.img (1.0 MB) - added by 13 years ago.
2ce1bdd5e4c1119ccfcecb938710d742 dz-hboot-eng.img
-
root_tips (9.8 KB) - added by 13 years ago.
root tips for Vision, Ace and Glacier
- com.keramidas.TitaniumBackup-1.apk (5.4 MB) - added by 13 years ago.
- misc_version (575.6 KB) - added by 12 years ago.