The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Disk Image Formats"
(→UDZO Image Format) |
(→UDZO Image Format) |
||
Line 7: | Line 7: | ||
The UDZO Image is an UDIF zlib-compressed read-only image which can be mounted on Mac OSX. |
The UDZO Image is an UDIF zlib-compressed read-only image which can be mounted on Mac OSX. |
||
− | UDZO Images can be converted to read/write UDRW Images with |
+ | UDZO Images can be converted to read/write UDRW Images with [http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/hdiutil.1.html hdiutil] on Mac OSX: |
<pre>hdiutil convert -format UDRW udzo.dmg -o udrw.dmg</pre> |
<pre>hdiutil convert -format UDRW udzo.dmg -o udrw.dmg</pre> |
||
− | To add checksums of the data in the provided UDZO Image and store them in the image |
+ | To add checksums of the data in the provided UDZO Image and store them in the image [http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/asr.8.html asr] on Mac OSX can be used: |
<pre>asr -imagescan udzo.dmg</pre> |
<pre>asr -imagescan udzo.dmg</pre> |
Revision as of 12:27, 16 July 2009
iPhone Firmware (ipsw) files contain .dmg disk images beside other files.
The main filesystem .dmg disk image (the largest .dmg file) is decrypted to an UDZO .dmg disk image.
UDZO Image Format
The UDZO Image is an UDIF zlib-compressed read-only image which can be mounted on Mac OSX. UDZO Images can be converted to read/write UDRW Images with hdiutil on Mac OSX:
hdiutil convert -format UDRW udzo.dmg -o udrw.dmg
To add checksums of the data in the provided UDZO Image and store them in the image asr on Mac OSX can be used:
asr -imagescan udzo.dmg
UDRW Image Format
The UDRW Image is an UDIF read/write image which can be mounted on Mac OSX. UDRW Images can be converted to zlib-compressed read-only UDZO Images with the hdiutil on Mac OSX:
hdiutil convert -format UDZO udrw.dmg -o udzo.dmg