by the iPhone Dev Team
February 2009
This is the software prep side of the "run rs" flavor of dongles. After performing these setup steps:
The hardware side of the “run rs” flavor of dongles will be available soon. But it is really just a matter of sending the “run rs\n\r” string over the 3.3V serial Rx pin at 115,200 8N1.
The directory “Firmware/all_flash/all_flash.n72ap.production” inside the ipsw should be constructed from the following sources. The bsdiff patches for the 3 indicated files are at the end of this topic.
2.1.1 | 2.2.1 | patched? | |
DeviceTree.n72ap.img3 | X | - | |
LLB.n72ap.RELEASE.img3 | X | NO | |
applelogo.s5l8720x.img3 | X | - | |
batterylow0.s5l8720x.img3 | X | - | |
batterylow1.s5l8720x.img3 | X | - | |
glyphcharging.s5l8720x.img3 | X | - | |
glyphplugin.s5l8720x.img3 | X | - | |
iBoot.n72ap.RELEASE.img3 | X | NO | |
iBoot2.n72ap.RELEASE.img3 | X | YES | |
iBSS.n72ap.RELEASE.dfu | X | YES | |
manifest | X | YES | |
needservice.s5l8720x.img3 | X | - | |
recoverymode.s5l8720x.img3 | X | NO |
Notes about the patches:
echo -n 2 | dd of=iBoot2.n72ap.RELEASE.img3 conv=notrunc bs=1 seek=16
Other than the above configuration, the custom IPSW should be created and applied just like in the original redsn0w lite.
After restoring with this new custom IPSw, nor0 should look like:
] image list image 0xff31950: bdev 0xff316a8 type illb offset 0x8000 len 0x1008c image 0xff31988: bdev 0xff316a8 type ibot offset 0x18900 len 0x2908c image 0xff319c0: bdev 0xff316a8 type ibo2 offset 0x42200 len 0x2908c image 0xff319f8: bdev 0xff316a8 type tsys offset 0x6bb00 len 0x19048 image 0xff31a30: bdev 0xff316a8 type dtre offset 0x853c0 len 0x8490 image 0xff31a68: bdev 0xff316a8 type logo offset 0x8e0c0 len 0x15cd image 0xff31aa0: bdev 0xff316a8 type recm offset 0x8ff00 len 0xb248 image 0xff31ad8: bdev 0xff316a8 type nsrv offset 0x9b9c0 len 0x4718 image 0xff31b10: bdev 0xff316a8 type bat0 offset 0xa0940 len 0xd504 image 0xff31b48: bdev 0xff316a8 type bat1 offset 0xae6c0 len 0xf654 image 0xff31b80: bdev 0xff316a8 type glyC offset 0xbe580 len 0x8898 image 0xff31bb8: bdev 0xff316a8 type glyP offset 0xc7680 len 0x8438
setenv rs "arm7_stop;mw 0x9000000 0xe59f3014;mw 0x9000004 0xe3a02a02;mw 0x9000008 0xe1c323b4;mw 0x900000c 0xe59f300c;mw 0x9000010 0xe3e02000;mw 0x9000014 0xe503223f;mw 0x9000018 0xeafffffe;mw 0x900001c 0x0ff1a100;mw 0x9000020 0x0ff2afff;arm7_go;run rs1" setenv rs1 "sha1 0x8000000 0x3000000;arm7_stop;mw 0xff006d4 0x21906943;mw 0xff006d8 0x68da6898;mw 0xff006dc 0x9300699b;mw 0xff006e0 0x69c40509;mw 0xff006e4 0x47a02300;mw 0xff006e8 0xf0002000;mw 0xff006ec 0xe002fde3;tsys" setenv debug-uarts true saveenv
To boot after a power-cycle, issue the following via USB or serial:
run rs