A tool for patching a 64-bit restored_external binary to skip the sealing of the rootfs
make
-
Extract binary from an iOS ramdisk (macOS only):
img4 -i <ramdisk> -o ramdisk.dmgimg4can be found here
hdiutil attach ramdisk.dmg -mountpoint ramdiskcp ramdisk/usr/local/bin/restored_external .hdiutil detach ramdisk
-
Run
restored_external64_patcher:restored_external64_patcher restored_external restored_external_patched
-
Resign patched restored_external binary
ldid -e restored_external > ents.plistldid -Sents.plist restored_external_patched