Difference between revisions of "Recovery Mode"

From The iPhone Wiki
Jump to: navigation, search
(Exiting recovery)
m (Recovery Mode output to the computer)
(26 intermediate revisions by 16 users not shown)
Line 1: Line 1:
  +
[[Image:RecoveryMode.jpeg|thumb|right|An iPhone 5S running iOS 7.x in Recovery Mode.]]
Recovery Mode is running [[iBoot]]
 
  +
Recovery Mode is a failsafe in [[iBoot (Bootloader)|iBoot]] that is used to reflash the device with a new OS, whether the currently installed one is somehow damaged or the device is undergoing an upgrade via [[iTunes]].
   
  +
Information about [[Recovery Mode (Protocols)|Recovery Mode's protocols]] is available.
== Entering Recovery Mode ==
 
   
  +
== Entering Recovery Mode ==
# Turn the device completely off and disconnect it from cable/dock.
 
  +
=== Automatic Method ===
  +
Call the AMDeviceEnterRecovery function in [[MobileDevice Library|MobileDevice Framework]]
  +
=== Manual Method ===
  +
# Connect the device to a computer
  +
# Make sure the iPhone is at the homescreen.
  +
# Hold down the lock button.
  +
# Ignoring the "Slide to power off" message, hold the home button and the power button until the screen goes black.
  +
# Turn the iPhone back on.
 
# Hold down the home button.
 
# Hold down the home button.
# While holding down the home button connect to a computer with a cable (easiest) or dock.
+
# Wait until you see the iTunes logo and the cable on the iPhone.
  +
# Keep holding down the home button until you see a connect-to-itunes screen (on a QuickPwn'ed phone a drawing of Steve might be shown). You are now in recovery mode.
 
  +
or
  +
# Turn off the device.
  +
# Press and hold the home button.
  +
# Connect the device with iTunes.
  +
# Wait until you see the iTunes logo and the cable on the iPhone.
   
== Leaving Recovery Mode ==
+
== Exiting Recovery Mode ==
  +
=== Automatic Method ===
  +
Call the AMRecoveryDeviceSetAutoBoot & AMRecoveryDeviceReboot functions in the [[MobileDevice Library|MobileDevice Framework]]
  +
or send the following commands to the [[List of iPhones|iPhone]] using a terminal
   
  +
<pre>> setenv auto-boot true
To escape Recovery Mode on 2.x.x firmware download QuickPwn, start it with iPhone connected to computer, when pop-up show up do as it says (press home and power buttons for 5-15 seconds until phone switches off, then turn it on normally). Here is video tutorial: http://www.youtube.com/watch?v=xO1jiPE9nnY#t=3m40s
 
  +
> saveenv
  +
> reboot</pre>
   
  +
=== Manual Method ===
For firmware 1.x.x start iPhuck and ussue the following commands:
 
  +
Hold the Home button + Power Button till the Apple Logo Appears
cmd setenv auto-boot true
 
cmd saveenv
 
cmd fsboot
 
   
  +
== Recovery Mode output to the computer ==
For some situations simply hold down power and home buttons for ten seconds without QuickPwn, didn't work for me though.
 
  +
iProduct: "Apple Mobile Device (Recovery Mode)"
  +
iSerialNumber: "CPID:XXXX CPRV:15 CPFM:03 SCEP:03 BDID:00 ECID:XXXXXXXXXXXXXXXX IBFL:01 SRNM:[XXXXXXXXXXX] IMEI:[XXXXXXXXXXXXXXX]"
   
  +
The Product IDs (PID) for Recovery Mode are 1280-1283, whereas DFU mode has the PIDs of 1222 (old) and 1227.
==Protocols==
 
*[[Recovery Mode 0x1280]] in pre 2.0
 
*[[Recovery Mode 0x1281]] in 2.0
 

Revision as of 04:50, 24 July 2019

File:RecoveryMode.jpeg
An iPhone 5S running iOS 7.x in Recovery Mode.

Recovery Mode is a failsafe in iBoot that is used to reflash the device with a new OS, whether the currently installed one is somehow damaged or the device is undergoing an upgrade via iTunes.

Information about Recovery Mode's protocols is available.

Entering Recovery Mode

Automatic Method

Call the AMDeviceEnterRecovery function in MobileDevice Framework

Manual Method

  1. Connect the device to a computer
  2. Make sure the iPhone is at the homescreen.
  3. Hold down the lock button.
  4. Ignoring the "Slide to power off" message, hold the home button and the power button until the screen goes black.
  5. Turn the iPhone back on.
  6. Hold down the home button.
  7. Wait until you see the iTunes logo and the cable on the iPhone.

or

  1. Turn off the device.
  2. Press and hold the home button.
  3. Connect the device with iTunes.
  4. Wait until you see the iTunes logo and the cable on the iPhone.

Exiting Recovery Mode

Automatic Method

Call the AMRecoveryDeviceSetAutoBoot & AMRecoveryDeviceReboot functions in the MobileDevice Framework or send the following commands to the iPhone using a terminal

> setenv auto-boot true
> saveenv
> reboot

Manual Method

Hold the Home button + Power Button till the Apple Logo Appears

Recovery Mode output to the computer

iProduct: "Apple Mobile Device (Recovery Mode)"
iSerialNumber: "CPID:XXXX CPRV:15 CPFM:03 SCEP:03 BDID:00 ECID:XXXXXXXXXXXXXXXX IBFL:01 SRNM:[XXXXXXXXXXX] IMEI:[XXXXXXXXXXXXXXX]"

The Product IDs (PID) for Recovery Mode are 1280-1283, whereas DFU mode has the PIDs of 1222 (old) and 1227.