The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Restore Mode"
(Adding Category:Jailbreaking) |
m (Linking to personalization) |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
# "[[SHSH Protocol|Verifying (iDevice type) restore]] with Apple" (or [[Cydia Server|Cydia]] or [[TinyUmbrella]]). |
# "[[SHSH Protocol|Verifying (iDevice type) restore]] with Apple" (or [[Cydia Server|Cydia]] or [[TinyUmbrella]]). |
||
# Preparing the firmware for the restore. |
# Preparing the firmware for the restore. |
||
− | # "Preparing <iDevice type> for the restore." |
+ | # "Preparing <iDevice type> for the restore." (See [[Personalization]]) |
# "Restoring <iDevice type> software." ([[ASR]] RESTORE) |
# "Restoring <iDevice type> software." ([[ASR]] RESTORE) |
||
# "Verifying <iDevice type> software." ([[ASR]] VERIFY) |
# "Verifying <iDevice type> software." ([[ASR]] VERIFY) |
||
Line 15: | Line 15: | ||
== Files used == |
== Files used == |
||
{{see also|IPSW File Format}} |
{{see also|IPSW File Format}} |
||
− | The [[/|firmware]] is the biggest [[Apple Disk Image|disk image]] file in the IPSW and contains all files for the root partition. The [[ramdisk]]s are the smaller disk images, and in the case of the [[ |
+ | The [[/|firmware]] is the biggest [[Apple Disk Image|disk image]] file in the IPSW and contains all files for the root partition. The [[ramdisk]]s are the smaller disk images, and in the case of the [[M68AP|iPhone]], [[N82AP|iPhone 3G]], [[N88AP|iPhone 3GS]], and [[K66AP|iPad]], the [[Baseband Firmware|baseband]] also. The firmware images are stored in the <code>./firmware/all_flash</code> path (relative to the root of the IPSW) and are eventually sent to the device after [[PROD|device-specific customization]], if applicable. |
== Exploits == |
== Exploits == |
Latest revision as of 00:58, 25 February 2020
Restore Mode is the mode that an iDevice enters to run a ramdisk.
Restore Procedure
- "Preparing (iDevice type) for the restore." (Get the device from userland to iBoot or from DFU Mode to iBSS)
- "Verifying (iDevice type) restore with Apple" (or Cydia or TinyUmbrella).
- Preparing the firmware for the restore.
- "Preparing <iDevice type> for the restore." (See Personalization)
- "Restoring <iDevice type> software." (ASR RESTORE)
- "Verifying <iDevice type> software." (ASR VERIFY)
- "Restoring <iDevice type> firmware." (The rest of the restore process isn't reported to the host computer in real-time. This includes the restore of the NOR/boot partition image, the installation of the baseband firmware, ...)
Files used
The firmware is the biggest disk image file in the IPSW and contains all files for the root partition. The ramdisks are the smaller disk images, and in the case of the iPhone, iPhone 3G, iPhone 3GS, and iPad, the baseband also. The firmware images are stored in the ./firmware/all_flash
path (relative to the root of the IPSW) and are eventually sent to the device after device-specific customization, if applicable.
Exploits
The original jailbreaks were done by booting the phone into restore mode and copying an fstab[WP] and afcd plist from the user partition to the root partition. This was done by using the cp
iBoot command, a command which had access to the whole filesystem.
See Also
- MobileDevice Library (
iTunesMobileDevice.dll
) - DFU Mode
- /private/etc/fstab
- Ramdisk