Difference between revisions of "Disk Image Formats"

From The iPhone Wiki
Jump to: navigation, search
(UDRW Image Format)
Line 6: Line 6:
 
== UDZO Image Format ==
 
== UDZO Image Format ==
   
The UDZO Image is an UDIF zlib-compressed read-only image which can be mounted on Mac OS X.
+
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 the hdiutil on Mac OSX:
 
UDZO Images can be converted to read/write UDRW Images with the hdiutil on Mac OSX:
   
Line 14: Line 14:
 
== UDRW Image Format ==
 
== UDRW Image Format ==
   
The UDRW Image is an UDIF read/write image which can be mounted on Mac OS X.
+
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 OS X:
+
UDRW Images can be converted to zlib-compressed read-only UDZO Images with the hdiutil on Mac OSX:
   
 
<pre>hdiutil convert -format UDZO udrw.dmg -o udzo.dmg</pre>
 
<pre>hdiutil convert -format UDZO udrw.dmg -o udzo.dmg</pre>
   
To add checksums of the data in the provided UDZO Image and store them in the image the asr tool on Mac OS X can be used:
+
To add checksums of the data in the provided UDZO Image and store them in the image the asr tool on Mac OSX can be used:
   
 
<pre>asr -imagescan udzo.dmg</pre>
 
<pre>asr -imagescan udzo.dmg</pre>

Revision as of 01:37, 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 the hdiutil on Mac OSX:

hdiutil convert -format UDRW -o udrw.dmg 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

To add checksums of the data in the provided UDZO Image and store them in the image the asr tool on Mac OSX can be used:

asr -imagescan udzo.dmg