A tool for patching a 64-bit libimg4.dylib binary to allow for improperly signed img4 images to be accepted during a restore
make
-
Extract binary from an iOS ramdisk (macOS only):
img4 -i <ramdisk> -o ramdisk.dmg
img4
can be found here
hdiutil attach ramdisk.dmg -mountpoint ramdisk
cp ramdisk/usr/lib/libimg4.dylib
hdiutil detach ramdisk
-
Run
libimg4_patcher
:libimg4_patcher libimg4.dylib libimg4.patched
-
Resign patched libimg4 binary
ldid -S libimg4.patched