Difference between revisions of "Disk Image Formats"

From The iPhone Wiki
Jump to: navigation, search
m (Fix link (hdiutil))
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
  +
[[IPSW File Format|IPSW]] files contain three [[Apple Disk Image|disk image]] (.dmg) files in addition to the [[IMG3 File Format|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]].
iPhone firmeware (ipsw) files contain .dmg disk images beside other files.
 
 
The file system .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 decrypted (with [[VFDecrypt]]) to an UDZO .dmg disk image containing additional checksums.
   
 
== 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. UDZO Images can be converted to read/write UDRW Images with [https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/hdiutil.1.html hdiutil] on Mac OSX:
   
  +
hdiutil convert -format UDRW udzo.dmg -o udrw.dmg
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.
 
   
  +
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:
''hdiutil convert -format UDRW -o udrw.dmg udzo.dmg''
 
   
  +
asr -imagescan udzo.dmg
   
 
== UDRW Image Format ==
 
== UDRW Image Format ==
  +
The UDRW Image is an UDIF read/write image which can be mounted on Mac OS X. UDRW Images can be converted to zlib-compressed read-only UDZO Images with [http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/hdiutil.1.html hdiutil] on Mac OS X:
   
  +
hdiutil convert -format UDZO udrw.dmg -o udzo.dmg
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''
 
   
  +
[[Category:File Formats]]
The resulted UDZO Image file can be checked with ''asr -imagescan udzo.dmg''
 

Latest revision as of 23:23, 6 October 2017

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 (with VFDecrypt) to an UDZO .dmg disk image containing additional checksums.

UDZO Image Format

The UDZO Image is an UDIF zlib-compressed read-only image which can be mounted on Mac OS X. 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 OS X. UDRW Images can be converted to zlib-compressed read-only UDZO Images with hdiutil on Mac OS X:

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