How to extract the firmware files from | IPSW / DMG



Rep: (1710)
How to extract files from firmware

IOS firmware | 7-zip | Firmware keys | iDecryptIt | Apple Device Model IDs

Attached Image

This method has a cognitive character and is not suitable for restoring system files.
If you are unable to unpack the firmware yourself, you can refer to the topic ->Request for lost files

You need to understand the following:
  • All * .dmg files are encrypted.
  • To unpack * .dmg files - neededkeys.
  • Keysnot available for all versions of iOS and not for each device.
  • All keys are available on the site ->Firmware keys
To extract the files we need: For example, take the firmware from iPhone 5 (iOS 9.3.3) ->iPhone5,1_9.3.3_13G34_Restore.ipsw
Unpacking ->iPhone5,1_9.3.3_13G34_Restore.ipswvia7-zip
Attached Image

Attached Image

Attached Image

Open the folder ->iPhone5,1_9.3.3_13G34_Restore and see the following:
Attached Image
  • Firmware - the firmware of third-party chips in the iOS device.
  • 058-48920-034.dmg - update image.
  • 058-49042-034.dmg - the image of the file system (the largest size), in the future it will interest us.
  • 058-49199-034.dmg - recovery image.
  • BuildManifest.plist is a file with information for iTunes.
  • kernelcache.release.n41 is the core of iOS.
  • Restore.plist - contains device information for recovery mode.
Run ->iDecryptIt
Click onSelect Input File and choose 058-49042-034.dmg
Attached Image

Attached Image

Specify the key in the fieldKey from the website Firmware keys
Root filesystem ->f3383acd6f0c441cef2a6c03dadd4d9887d72f0bf2fd010a349ab445f781f9d466abc5bc
Attached Image

PushDecrypt , the file system image is decrypted and saved next to the source file.
Attached Image

Attached Image

Next we need to unpack058-49042-034_decrypted.dmg
Click onSelect Input File and choose 058-49042-034_decrypted.dmg
Attached Image

Attached Image

PushExtract for unpacking 058-49042-034_decrypted.dmg
If after pressingExtract nothing happens (there is no process in the command line), copy 2 files from 7-Zip (7z.exe, 7z.dll) and replace the files in iDecryptIt.
Attached Image

Attached Image

After automatically performing all the necessary actions in the command window, a new folder will appear in the iPhone5,1_9.3.3_13G34_Restore folderGenoa13G34.N41OS (This is the code name of the firmware, depending on the version of iOS it may change).
Attached Image

Attached Image

Attached Image

It should be borne in mind that unpacking the firmware in the above way, not all files will be in the form in which they are presented on the device itself. All files with the * .plist extension will be empty, due to the fact that they are “filled” during the installation of iOS.

Post has been editedT0ugh - 05.07.17, 17:02



Rep: (1710)
  • You can discuss and get help on this FAQ by creating a topic in the sectioniOS - First Aid ->Picture
M
Topic is closed


Post has been editedT0ugh - 06.03.17, 20:44


Full version    

Help     rules

Time is now: 15/09/20, 22:43