The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Restore Mode"
(Deleted the "?" at WiFi+3G -> that information is correct, edited "Firmware" to a lower case f) |
|||
Line 1: | Line 1: | ||
− | [[ |
+ | [[File:Small_iphone_restore.JPG|thumb|150px|iPhone during iTunes restore.]] |
− | + | '''Restore Mode''' is the mode that an [[iDevice]] enters to run a [[ramdisk]]. |
|
+ | == Restore Procedure == |
||
− | In this mode the device is controlled by iTunes, which displays 7 steps: |
||
+ | {{seealso|iPhone Restore Procedure}} |
||
− | |||
− | '''''See also''''': [[iPhone Restore Procedure]] |
||
# "Preparing (iDevice type) for the restore." (Get the device [[Recovery Mode|from userland to iBoot]] or from [[DFU Mode]] to [[iBSS]]) |
# "Preparing (iDevice type) for the restore." (Get the device [[Recovery Mode|from userland to iBoot]] or from [[DFU Mode]] to [[iBSS]]) |
||
# "[[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 |
+ | # "Preparing <iDevice type> for the restore." |
− | # "Restoring |
+ | # "Restoring <iDevice type> software." ([[ASR]] RESTORE) |
− | # "Checking |
+ | # "Checking <iDevice type> software." ([[ASR]] VERIFY) |
− | # "Restoring |
+ | # "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]]/[[NAND|boot partition]] image, the installation of the baseband firmware, ...) |
== Files used == |
== Files used == |
||
− | + | {{seealso|IPSW File Format}} |
|
+ | The [[/|firmware]] is the biggest [[DMG File Format|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 2G]], [[n82ap|iPhone 3G]], [[n88ap|iPhone 3GS]], and [[k66ap|iPad 1G]], 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 == |
||
− | The software is the biggest DMG file in the [[IPSW]] and contains all files for the root partition. The ramdisk is the smaller DMG (update or restore) and on an [[m68ap|iPhone 2G]], [[n82ap|iPhone 3G]], [[n88ap|iPhone 3GS]] or [[iPad]] WiFi + 3G it'll also include the baseband. 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]]. |
||
+ | The original jailbreaks were done by booting the phone into restore mode and copying an [[/private/etc/fstab|fstab]]<sup>[<nowiki/>[[wikipedia:fstab|WP]]<nowiki/>]</sup> and [[/System/Library/Lockdown/Services.plist|afcd plist]] from the [[/private/var/root|user partition]] to the [[/|root partition]]. This was done by using the [[cp (iBoot command)|<code>cp</code> iBoot command]], a command which had access to the whole filesystem. |
||
− | == |
+ | == See Also == |
+ | * [[MobileDevice Library]] (<code>iTunesMobileDevice.dll</code>) |
||
− | The original jailbreaks were done by booting the phone into restore mode and copying an [[/etc/fstab]] and [[/System/Library/Lockdown/Services.plist|afcd plist]] from the user partition. This was done by using the cp iBoot command, a command which had access to the whole filesystem. |
||
+ | * [[DFU Mode]] |
||
+ | * [[/private/etc/fstab]] |
||
+ | * [[Ramdisk]] |
||
− | == |
+ | == External Links == |
+ | * [http://lpahome.com/geohot/gshell.rar gshell] |
||
− | *[[MobileDevice Library|itunesmobiledevice.dll]] |
||
+ | * Wikipedia on [[wikipedia:fstab|fstab]] |
||
− | *[http://lpahome.com/geohot/gshell.rar gshell] |
||
[[Category:Jailbreaks]] |
[[Category:Jailbreaks]] |
Revision as of 22:52, 30 December 2012
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."
- "Restoring <iDevice type> software." (ASR RESTORE)
- "Checking <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
Template:Seealso
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 2G, iPhone 3G, iPhone 3GS, and iPad 1G, 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