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 or Finder.
Information about Recovery Mode's protocols is available.
Entering Recovery Mode
Call the AMDeviceEnterRecovery function in MobileDevice Framework
- Connect the device to a computer
- Make sure the iPhone is in the homescreen.
- Hold down the lock button.
- On an iPhone 8 or later, including iPhone SE (2nd generation): Press and quickly release the volume up button. Press and quickly release the volume down button. Then, press and hold the side button until you see the recovery mode screen.
- On an iPhone 7, iPhone 7 Plus, and iPod touch (7th generation): Press and hold the top (or side) and volume down buttons at the same time. Keep holding them until you see the recovery mode screen.
- On an iPhone 6s or earlier, including iPhone SE (1st generation), and iPod touch (6th generation) or earlier: Press and hold both the Home and the top (or side) buttons at the same time. Keep holding them until you see the recovery mode screen.
- On an iPad without a home button: Hold down the top button. Keep holding the top button until you see the recovery mode screen.
- On an iPad with a home button: Hold down the home button. Keep holding the home button until you see the recovery mode screen.
or you can
- 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.
Exiting Recovery Mode
> setenv auto-boot true > saveenv > reboot
Hold down the power Button (or side button) till the Apple Logo Appears. If there is a home button, you will also need hold down the home button.
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.