Difference between revisions of "Disk Image Formats"

From The iPhone Wiki
Jump to: navigation, search
Line 1: Line 1:
iPhone [[Firmware]] (ipsw) files contain three disk image (.dmg) files in addition to the img3 images for the [[NOR]] and on older models, unencrypted files for the [[Restore Process|restore process]]. The three disk images are the [[Update Ramdisk|update ramdisk]], the [[Restore Ramdisk|restore ramdisk]], and the main [[filesystem]].
+
iPod Touch / iPhone [[Firmware]] ([[IPSW File Format|IPSW]]) files contain three disk image (.dmg) files in addition to the img3 images for the [[NOR]] and on older models, unencrypted files for the [[Restore Process|restore process]]. The three disk images are the [[Update Ramdisk|update ramdisk]], the [[Restore Ramdisk|restore ramdisk]], and the main [[filesystem]].
   
 
The main filesystem .dmg disk image (the largest .dmg file) is [[VFDecrypt_Keys|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.

Revision as of 04:25, 18 July 2009

iPod Touch / iPhone Firmware (IPSW) files contain three disk image (.dmg) files in addition to the img3 images for the NOR and on older models, unencrypted files for the restore process. The three disk images are the update ramdisk, the restore ramdisk, and the main filesystem.

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 hdiutil on Mac OSX:

hdiutil convert -format UDZO udrw.dmg -o udzo.dmg