The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "IPSW File Format"
m (Updating) |
|||
Line 9: | Line 9: | ||
* [[Device Tree]] (model specific) |
* [[Device Tree]] (model specific) |
||
* [[Kernelcache]] (model specific; processor specific on pre-[[S5L8930|A4]]) |
* [[Kernelcache]] (model specific; processor specific on pre-[[S5L8930|A4]]) |
||
− | * BuildManifest.plist (first appeared in [[iOS|iPhone OS]] 3. |
+ | * BuildManifest.plist (first appeared in [[iOS|iPhone OS]] 3.0 beta 2) |
* Restore.plist |
* Restore.plist |
||
* ''Firmware/'' |
* ''Firmware/'' |
||
** ''all_flash/'' |
** ''all_flash/'' |
||
− | *** ''all_flash.XXXXX.production/'' (model specific i.e. [[ |
+ | *** ''all_flash.XXXXX.production/'' (model specific i.e. [[M68AP]], [[N82AP]], etc.) |
**** [[S5L File Formats#IMG2|IMG2]]/[[IMG3 File Format|IMG3]] files |
**** [[S5L File Formats#IMG2|IMG2]]/[[IMG3 File Format|IMG3]] files |
||
**** manifest |
**** manifest |
||
** dfu/'' |
** dfu/'' |
||
− | *** [[iBEC]].XXXXX.dfu (model specific i.e. [[ |
+ | *** [[iBEC]].XXXXX.dfu (model specific i.e. [[M68AP]], [[N82AP]], etc.) |
*** [[iBSS]].XXXXX.dfu |
*** [[iBSS]].XXXXX.dfu |
||
− | *** [[WTF]].XXXXX.dfu (model specific and only for [[ |
+ | *** [[WTF]].XXXXX.dfu (model specific and only for [[M68AP]], [[N82AP]], [[N45AP]], [[N72AP]]; not present in firmwares for the [[N88AP|iPhone 3GS]] and later, because it was used to patch issues with the DFU mode that was burned into the bootrom) |
** [[Baseband Device|Baseband]] (may be one or many files depending on the model) |
** [[Baseband Device|Baseband]] (may be one or many files depending on the model) |
||
Revision as of 11:07, 11 October 2015
"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.0 beta 2)
- 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.