The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "IPSW File Format"
(.) |
|||
Line 1: | Line 1: | ||
{{redirect|IPSW|the component of XPwn|ipsw}} |
{{redirect|IPSW|the component of XPwn|ipsw}} |
||
+ | {{see also|Disk Image Formats}} |
||
− | '''IPSW''' ('''iP'''od<sup>1</sup> '''S'''oft'''w'''are) files have the Magic Number 504B0304 (PK\003\004) and thus are [[wikipedia:ZIP (file format)|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 [[Apple TV]]/[[iPad]]/[[iPad mini]]/[[iPhone]]/[[iPod touch]] [[firmware]] to the end-user. |
||
+ | '''IPSW''' ('''iP'''od<sup>[[#Notes|[1]<nowiki/>]]</sup> '''S'''oft'''w'''are) files have the Magic Number 504B0304 (PK\003\004) and thus are [[wikipedia:ZIP (file format)|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 [[iDevice|device's]] firmware to the end-user. |
||
+ | == Archive Structure == |
||
− | <sup>1</sup>IPSW files have been used since the very first iPod, though they have [http://www.freemyipod.org/wiki/Firmware a different format than] iOS-based devices. |
||
− | |||
− | == IPSW Contents == |
||
* [[Restore Ramdisk]] |
* [[Restore Ramdisk]] |
||
− | * [[Update Ramdisk]] (some firmwares don't |
+ | * [[Update Ramdisk]] (some firmwares don't have one due to various reasons) |
− | * [[ |
+ | * [[:/|Filesystem Ramdisk]] (the largest [[Apple Disk Image|.dmg]] file) |
* [[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]]) |
||
Line 18: | Line 17: | ||
**** manifest |
**** manifest |
||
** dfu/'' |
** dfu/'' |
||
− | *** [[iBEC]].XXXXX. |
+ | *** [[iBEC]].XXXXX.dfu (model specific i.e. [[m68ap]], [[n82ap]], etc.) |
− | *** [[iBSS]].XXXXX. |
+ | *** [[iBSS]].XXXXX.dfu |
− | *** [[WTF]].XXXXX. |
+ | *** [[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) |
||
− | == Example == |
+ | === Example === |
− | + | Here are the contents of the [[Kirkwood 7A341 (iPhone2,1)|iPhone 3GS 3.0 (7A341)]] firmware IPSW: |
|
+ | * <code>[[:/|018-5302-002.dmg]]</code> (281214976 bytes) |
||
− | total 608400 |
||
+ | * <code>[[Update Ramdisk|018-5304-002.dmg]]</code> (12769604 bytes) |
||
− | drwx------@ 11 m staff 374 17 Jun 07:11 . |
||
+ | * <code>[[Restore Ramdisk|018-5306-002.dmg]]</code> (12777796 bytes) |
||
− | drwxrwxrwx 5 m staff 170 18 Jul 07:34 .. |
||
+ | * <code><!--[[#BuildManifest.plist|-->BuildManifest.plist<!--]]--></code> (21097 bytes) |
||
− | -rw-r--r--@ 1 m admin 281214976 22 Mai 17:10 018-5302-002.dmg |
||
+ | * <code>[[kernelcache]].release.s5l8920x</code> (4695492 bytes) |
||
− | -rw-r--r--@ 1 m admin 12769604 22 Mai 16:59 018-5304-002.dmg |
||
+ | * <code><!--[[#Restore.plist|-->Restore.plist<!--]]--></code> (1763 bytes) |
||
− | -rw-r--r--@ 1 m admin 12777796 22 Mai 16:59 018-5306-002.dmg |
||
+ | * ''<code>Firmware/</code>'' |
||
− | -rw-r--r-- 1 m admin 21097 22 Mai 17:29 BuildManifest.plist |
||
+ | ** ''<code>all_flash/</code>'' |
||
− | drwxr-xr-x@ 5 m staff 170 17 Jun 07:11 Firmware |
||
+ | *** ''<code>all_flash.n88ap.production/</code>'' |
||
− | -rw-r--r-- 1 m admin 1763 22 Mai 17:10 Restore.plist |
||
+ | **** <code>[[AppleLogo|applelogo]].s5l8920x.img3</code> (9604 bytes) |
||
− | -rw-r--r--@ 1 m staff 4695492 22 Mai 14:32 kernelcache.release.s5l8920x |
||
+ | **** <code>[[BatteryCharging0|batterycharging0]].s5l8920x.img3</code> (19716 bytes) |
||
− | |||
+ | **** <code>[[BatteryCharging1|batterycharging1]].s5l8920x.img3</code> (24900 bytes) |
||
− | ./Firmware: |
||
+ | **** <code>[[BatteryFull|batteryfull]].s5l8920x.img3</code> (76100 bytes) |
||
− | total 16 |
||
+ | **** <code>[[BatteryLow0|batterylow0]].s5l8920x.img3</code> (56772 bytes) |
||
− | drwxr-xr-x@ 5 m staff 170 17 Jun 07:11 . |
||
+ | **** <code>[[BatteryLow1|batterylow1]].s5l8920x.img3</code> (65348 bytes) |
||
− | drwx------@ 11 m staff 374 17 Jun 07:11 .. |
||
+ | **** <code>[[DeviceTree]].n88ap.img3</code> (44996 bytes) |
||
− | drwxr-xr-x@ 4 m staff 136 18 Jun 02:10 all_flash |
||
+ | **** <code>[[GlyphCharging|glyphcharging]].s5l8920x.img3</code> (20356 bytes) |
||
− | drwxr-xr-x@ 4 m staff 136 22 Mai 13:39 dfu |
||
+ | **** <code>[[GlyphPlugin|glyphplugin]].s5l8920x.img3</code> (19332 bytes) |
||
− | |||
+ | **** <code>[[iBoot (Bootloader)|iBoot]].n88ap.RELEASE.img3</code> (178500 bytes) |
||
− | ./Firmware/all_flash: |
||
+ | **** <code>[[LLB]].n88ap.RELEASE.img3</code> (67908 bytes) |
||
− | total 16 |
||
+ | **** <code>manifest</code> (341 bytes) |
||
− | drwxr-xr-x@ 4 m staff 136 18 Jun 02:10 . |
||
+ | **** <code>[[NeedService|needservice]].s5l8920x.img3</code> (20484 bytes) |
||
− | drwxr-xr-x@ 5 m staff 170 17 Jun 07:11 .. |
||
+ | **** <code>[[RecoveryMode|recoverymode]].s5l8920x.img3</code> (47876 bytes) |
||
− | drwxr-xr-x@ 16 m staff 544 22 Mai 13:43 all_flash.n88ap.production |
||
+ | ** ''<code>dfu/</code>'' |
||
− | |||
+ | *** <code>[[iBEC]].n88ap.RELEASE.dfu</code> (104772 bytes) |
||
− | ./Firmware/all_flash/all_flash.n88ap.production: |
||
+ | *** <code>[[iBSS]].n88ap.RELEASE.dfu</code> (104772 bytes) |
||
− | total 1320 |
||
+ | |||
− | drwxr-xr-x@ 16 m staff 544 22 Mai 13:43 . |
||
+ | == Notes == |
||
− | drwxr-xr-x@ 4 m staff 136 18 Jun 02:10 .. |
||
+ | # IPSW files have been used since the very first iPod, though they have [http://www.freemyipod.org/wiki/Firmware a different format] than firmwares for iOS devices. |
||
− | -rw-r--r--@ 1 m staff 44996 22 Mai 13:08 DeviceTree.n88ap.img3 |
||
− | -rw-r--r--@ 1 m staff 67908 22 Mai 13:12 LLB.n88ap.RELEASE.img3 |
||
− | -rw-r--r--@ 1 m staff 9604 22 Mai 13:15 applelogo.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 19716 22 Mai 13:15 batterycharging0.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 24900 22 Mai 13:16 batterycharging1.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 76100 22 Mai 13:16 batteryfull.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 56772 22 Mai 13:16 batterylow0.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 65348 22 Mai 13:17 batterylow1.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 20356 22 Mai 13:17 glyphcharging.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 19332 22 Mai 13:18 glyphplugin.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 178500 22 Mai 13:21 iBoot.n88ap.RELEASE.img3 |
||
− | -rw-r--r--@ 1 m staff 341 22 Mai 13:43 manifest |
||
− | -rw-r--r--@ 1 m staff 20484 22 Mai 13:24 needservice.s5l8920x.img3 |
||
− | -rw-r--r--@ 1 m staff 47876 22 Mai 13:24 recoverymode.s5l8920x.img3 |
||
− | |||
− | ./Firmware/dfu: |
||
− | total 416 |
||
− | drwxr-xr-x@ 4 m staff 136 22 Mai 13:39 . |
||
− | drwxr-xr-x@ 5 m staff 170 17 Jun 07:11 .. |
||
− | -rw-r--r--@ 1 m staff 104772 22 Mai 13:30 [[iBEC]].n88ap.RELEASE.dfu |
||
− | -rw-r--r--@ 1 m staff 104772 22 Mai 13:36 [[iBSS]].n88ap.RELEASE.dfu |
||
[[Category:File Formats]] |
[[Category:File Formats]] |
Revision as of 20:26, 8 November 2014
"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.