IPSW file Extraction System File Method summary
due to the modification of the carrier file caused my lock 4S can not use the mobile card, in the online bitter search or no results, the final initiation of the idea of extracting files from the firmware, so began to collect information on the Internet, the final document finally extracted and repaired my problem, now my experience record, Hope to be helpful to the needy friend.
Note: This extraction operation is all done under Ubuntu, in addition to the attachment has been decrypted, extracted DMG files, can be directly mounted on the Mac or Linux
1, first toTheiphonewiki websitelook at the files you need to correspond to the device and system version is not already cracked key, if not, this tutorial is powerless;
If you have a key, you can safely download the corresponding version of the firmware to unlock, take iphone4s,a1387,ios7.0.4 as an example, we need to download the firmware for Iphone4,1_7.0.4_11b554a_ RESTORE.IPSW, download to the computer after the easy to find an archive software can open, in fact, it is a normal zip file. The approximate directory after decompression is as follows:-rw-r--r--058-1077-002.DMG
-rw-r--r--058-1108-002.dmg
-rw-r--r--058-1124-002.dmg
-rw-r--r--buildmanifest.plist
drwxrwxr-x Firmware
-rw-r--r--kernelcache.release.n94
-rw-r--r--restore.plist
One of the biggest files is iOS rootfs.
2, the next thing to do is to decrypt the file, first in the first step of the URL to find the corresponding key, and then open the terminal, enter the command:
- cd [folder where Vfdecrypt]
- ./VFDECRYPT-I058-1108-002.DMG-KDA293860C6F7FE2D2E6C86275FA83A254B51BDF8303DBD1DF70E39A8A13E4830353ECAB8- Odmg.dmg
Copy Code
Note: This command and the General Linux command is a bit different, after the parameter is no space, if you enter a space, the command will not error, but the program will be suspended animation, there will be no file output.
3, the DMG file generated in the previous step is already decrypted, but it does not load properly, it is still a compressed file, we need the tool to decompress, enter the following command in the terminal:
- ./dmg Extract DMG.DMG dmg-raw.dmg
Copy Code
Here I encountered a number of problems, that is, when running this command display can not find the corresponding Crypto Lib library, I found a lot of information on the Internet, but can not solve, finally had to compile their own a bit of OpenSSL, Then manually copy the generated LIBCRYPTO.A and LIBSSL.A to the/usr/lib directory and execute the command at the terminal as follows:
- sudo cp libcrypto.a/usr/lib
- sudo cp libssl.a/usr/lib
Copy Code
As for how to compile OpenSSL here is not the introduction, I will be attached to the attachment I compiled the library file.
4, the next thing to do is mount the dmg-raw.dwg we generated under Ubuntu, execute the command at the terminal as follows:
- sudo mkdir/mnt/iphonedmg
- sudo mount-o loop-t hfsplus./dmg-raw.dmg/mnt/iphonedmg
Copy Code
At this time we can go to the/MNT/IPHONEDMG directory to find the files we need to fix.
Accessories: the tools required in this article
Http://files.cnblogs.com/files/yujidewu/UltraISO_9.3.6.2766_XiaZaiBa.exe.zip
///////////////////////////////////////////////////////////////////////////
IOS GM firmware DMG format using the UltraISO tool to extract IPSW tutorials
Many friends under the GM firmware said can not use, in fact, as long as the IPSW from the GM firmware DMG format can be used, the specific extraction side as follows, interested in the amount of friends can not miss the HA
GM firmware DMG format How to extract IPSW? Found a lot of friends under the GM firmware said can not use, in fact, as long as from the GM firmware DMG format extraction IPSW can be used, then the GM firmware DMG format How to extract IPSW, the following small series for you to introduce.
In fact, from the official website to the firmware is the DMG format, MAC system can be used directly, Windows can only use IPSW firmware, in fact, he is included in our DMG firmware inside, so as long as he extracted it out can be. Below teaches everyone GM firmware DMG format in advance IPSW.
The extracted tools we use UltraISO
IOS GM firmware DMG format How to extract IPSW tutorial
First Use UltraISO find our next DMG format firmware, open found inside contains the IPSW format firmware, right-click Extract save OK
IOS GM firmware DMG format How to extract IPSW tutorial
GM firmware DMG format How to extract IPSW method is like this, everyone try it!
Apple IPSW file extraction software