Skip to content

Modify — Ipsw File

The Deep Dive: How to Modify an IPSW File (And Why You Probably Shouldn’t)

If you modify the IPSW without also exploiting the (A5–A11 chips, iPhone 4s–X), the restore will fail with error 3194 or -1 . modify ipsw file

# Check what kind of DMG it is file Restore.ipsw dmg extract Restore.ipsw root_fs.dmg Or use 7zip 7z x Restore.ipsw Mount the DMG (on macOS) hdiutil attach root_fs.dmg On Linux (using dmg2img) dmg2img Restore.ipsw root_fs.img sudo mount -t hfsplus -o loop,ro root_fs.img /mnt/ipsw The Deep Dive: How to Modify an IPSW

# Unmount hdiutil detach /Volumes/iPhoneRoot hdiutil create -format UDZO -srcfolder modified_root modified_fs.dmg Rename to Restore.ipsw mv modified_fs.dmg Restore.ipsw Rebuild the IPSW zip zip -r custom_firmware.ipsw * modify ipsw file