The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Restore Mode
This is the mode the Apple ramdisk enters to restore the iPhone.
There are 7 steps:
- Preparing the iDevice for the restore.
- Check the restore with Apple.
- Preparing the firmware for the restore.
- Preparing the iDevice for the restore.
- Restoring the software.
- Checking the software.
- Restoring the firmware.
The software is the biggest DMG file in the IPSW and contains all files for the root parition. The firmware is the smaller DMG (update or restore) and contains the files for the iBoot, iBSS, iBEC etc. and on an iPhone or iPad WiFi + 3G it'll also include the baseband.
Exploits
The original jailbreaks were done by booting the phone into restore mode and copying an /etc/fstab and afcd plist from the user partition. This was done by using the cp iBoot command, a command which had access to the whole filesystem.