The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
IPSW File Format
"IPSW" redirects here. For the component of XPwn, see ipsw.
See also: Disk Image Formats
IPSW (iPod[1] Software) files have the Magic Number 504B0304 (PK\003\004) and thus are ZIP archives. They can be modified with typical zip/unzip tools (i.e. change extension to .zip and double click). IPSWs are used to deliver the device's firmware to the end-user.
Archive Structure
- Restore Ramdisk
- Update Ramdisk (some firmwares don't have one due to various reasons)
- Filesystem Ramdisk (the largest .dmg file)
- Device Tree (model specific)
- Kernelcache (model specific; processor specific on pre-A4)
- BuildManifest.plist (first appeared in iPhone OS 3.0b2)
- Restore.plist
- Firmware/
- all_flash/
- dfu/
- Baseband (may be one or many files depending on the model)
Example
Here are the contents of the iPhone 3GS 3.0 (7A341) firmware IPSW:
018-5302-002.dmg
(281214976 bytes)018-5304-002.dmg
(12769604 bytes)018-5306-002.dmg
(12777796 bytes)BuildManifest.plist
(21097 bytes)kernelcache.release.s5l8920x
(4695492 bytes)Restore.plist
(1763 bytes)Firmware/
all_flash/
all_flash.n88ap.production/
applelogo.s5l8920x.img3
(9604 bytes)batterycharging0.s5l8920x.img3
(19716 bytes)batterycharging1.s5l8920x.img3
(24900 bytes)batteryfull.s5l8920x.img3
(76100 bytes)batterylow0.s5l8920x.img3
(56772 bytes)batterylow1.s5l8920x.img3
(65348 bytes)DeviceTree.n88ap.img3
(44996 bytes)glyphcharging.s5l8920x.img3
(20356 bytes)glyphplugin.s5l8920x.img3
(19332 bytes)iBoot.n88ap.RELEASE.img3
(178500 bytes)LLB.n88ap.RELEASE.img3
(67908 bytes)manifest
(341 bytes)needservice.s5l8920x.img3
(20484 bytes)recoverymode.s5l8920x.img3
(47876 bytes)
dfu/
Notes
- IPSW files have been used since the very first iPod, though they have a different format than firmwares for iOS devices.