Difference between revisions of "Disk Image Formats"

From The iPhone Wiki
Jump to: navigation, search
Line 1: Line 1:
iPhone firmeware (ipsw) files contain .dmg disk images beside other files.
+
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.
+
The main filesystem .dmg disk image (the largest .dmg file) is [[VFDecrypt_Keys|decrypted]] to an UDZO .dmg disk image.
   
   
Line 9: Line 9:
 
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.
   
''hdiutil convert -format UDRW -o udrw.dmg udzo.dmg''
+
<pre>hdiutil convert -format UDRW -o udrw.dmg udzo.dmg</pre>
   
   
Line 17: Line 17:
 
UDRW Images can be converted to zlib-compressed read-only UDZO Images with the hdiutil 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''
+
<pre>hdiutil convert -format UDZO udrw.dmg -o udzo.dmg</pre>
   
 
The resulted UDZO Image file can be checked with ''asr -imagescan udzo.dmg''
 
The resulted UDZO Image file can be checked with ''asr -imagescan udzo.dmg''

Revision as of 15:28, 15 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 natively be mounted on Mac OS X. 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 natively mounted on Mac OS X. 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

The resulted UDZO Image file can be checked with asr -imagescan udzo.dmg