Closed xsscx closed 2 years ago
Started out not by using the correct args on the command line for srdutil and generated an error. Needed help and @Nessphoro provided the right answers.
Step 1: Read https://github.com/apple/security-research-device/tree/main/example-kernelcache and complete the steps to generate your first kernel cache.
Step 2: Use the example command line:
defaults write com.apple.AMPDevicesAgent ipsw-variant -string 'Research Customer Erase Install (IPSW)'
killall Finder
srdutil restore -v -s -e 0x1418da3cc0013a -K=/Users/xss/iphone12/example-kernelcache/kernelcache.patched.image4 -i /Users/xss/iphone12/example-kernelcache/iPhone13,2,iPhone13,3_15.4_19E241_Restore.ipsw
Step 3:
Install cryptex
Step 4:
ssh to srd
Step 5:
uname -a
CopyPasta Kernel Cache
Successful kernel cache install for iPhone 12
Thank You
Summary
Can you confirm what Version of srdutil contains working --kernel-cache
Source https://github.com/apple/security-research-device/blob/main/bin/srdutil
Reproduction
srdutil: unrecognized option `--kernel-cache' srdutil: unknown option: --kernel-cache
Newer: srdutil restore --kernel-cache $(pwd)/kernelcache.patched.image4 ...
srdutil file info
Tried
Which doesn't have the arg --kernel-cache
Tried
Which hangs on T8101 & X86_64 for iPhone 11.
Checking with the iPhone 12, srdutil hangs around:
https://github.com/apple/security-research-device/issues/56