Information Technology Reference
In-Depth Information
ate a patched kernelcache and a shell script that builds the ramdisk, as shown in the
following commands:
$sudo python python_scripts/kernel_patcher.py
iPhone3,1_5.1.1_9B208_Restore.ipsw
Decrypting kernelcache.release.n90
Unpacking ...
Doing CSED patch
Doing getxattr system patch
Doing nand-disable-driver patch
Doing task_for_pid_0 patch
Doing IOAES gid patch
Doing AMFI patch
Doing _PE_i_can_has_debugger patch
Doing IOAESAccelerator enable UID patch
Patched kernel written to kernelcache.release.n90.patched
Created script make_ramdisk_n90ap.sh, you can use it to
(re)build the ramdisk
The script creates a patched kernel file called kernel-
cache.release.n90.patched to the current working directory. For the iOS 5
IPSW file, it also creates a script called make_ramdisk_n90ap.sh to build the cus-
tom ramdisk. Pay attention to the file names because they may differ depending on the
iOS device model.
Building a custom ramdisk
Give permission to execute the make_ramdisk_n90ap.sh ramdisk build script and
execute this script to create the custom ramdisk as follows:
$chmod +x make_ramdisk_n90ap.sh
Before executing the script, edit the file and fix the iOS SDK path as follows:
$sudo nano make_ramdisk_n90ap.sh
As we are using iOS SDK 6.1, append 6.1 to the for loop, as shown in the following
code:
for VER in 4.2 4.3 5.0 5.1 6.0 6.1
Search WWH ::




Custom Search