Difference between revisions of "Recovery Mode"

From The iPhone Wiki
Jump to: navigation, search
(Entering Recovery Mode)
Line 5: Line 5:
   
 
== Entering Recovery Mode ==
 
== Entering Recovery Mode ==
  +
=== Automatic Method ===
  +
Call the AMDeviceEnterRecovery function in [[MobileDevice Library|iTunesMobileDevice.dll]]
  +
=== Manual Method ===
 
# Turn the device completely off and disconnect it from cable/dock.
 
# Turn the device completely off and disconnect it from cable/dock.
 
# 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.
 
# While holding down the home button connect to a computer with a cable (easiest) or dock.
# Keep holding down the home button until you see a "Connect to [[iTunes]]" screen (on a [[Pwnage|pwned]] phone a drawing of Steve might be shown). You are now in recovery mode.
+
# Keep holding down the home button until you see a "Connect to [[iTunes]]" screen
   
  +
== Exiting Recovery Mode ==
To escape Recovery Mode and power the phone off simply hold down power and home buttons for ten seconds.
 
  +
=== Automatic Method ===
  +
Call the AMRecoveryDeviceSetAutoBoot & AMRecoveryDeviceReboot functions in [[MobileDevice Library|iTunesMobileDevice.dll]]
  +
or send the following commands to the [[iPhone]] using a terminal
   
  +
<pre>> setenv auto-boot true
If that fails, attempt to set the boot environments back to default.
 
  +
> saveenv
  +
> reboot</pre>
  +
  +
=== Manual Method ===
  +
Hold the Home button + Power Button till the Apple Logo Appears
   
 
== Recovery Mode output to the computer ==
 
== Recovery Mode output to the computer ==

Revision as of 03:26, 19 November 2010

iPhone 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 iTunesMobileDevice.dll

Manual Method

  1. Turn the device completely off and disconnect it from cable/dock.
  2. Hold down the home button.
  3. While holding down the home button connect to a computer with a cable (easiest) or dock.
  4. Keep holding down the home button until you see a "Connect to iTunes" screen

Exiting Recovery Mode

Automatic Method

Call the AMRecoveryDeviceSetAutoBoot & AMRecoveryDeviceReboot functions in iTunesMobileDevice.dll 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]"