Your iPhone or iPod can crash sometimes due to unknown errors and bugs. The recovery mode is used to restore a broken iPhone back to normal. It is also used to set up the latest firmware. It cannot be used to install firmware older than the current firmware version, however. If you try to you’ll just receive errors. If you want to downgrade your iPhone to an older version, you need to set your iPhone to DHU mode.
This guide will show you how to set your iPhone/iPod into recovery mode.
Before proceeding you have to make sure you have the latest version of iTunes as well.
First, unplug the USB cable from the iPhone/iPod. But leave the cable connected to the USB port of your computer. Then shutdown your iPhone/iPod by pressing and holding the power button until the “Power Slider” screen appears. Slide the button to turn the power off. If this method doesn’t work, try pressing and holding the home and wake/sleep buttons together until the power goes off and then let go of the sleep/wake button as soon as it does. Now continue to hold and press the home button and while you do connect the USB cable to your iPhone. This should turn the power on for your iPhone. Continue holding the button until the”Connect to iTunes” screen appears and you will be prompted with an alert saying “iTunes has detected an iPhone in recovery mode.” You will then press ‘OK’.
Once your iPhone has completed updating firmware or restoring, it will automatically go out of recovery mode. But in a situation that it didn’t, try pressing and holding the power and home buttons simultaneously for no more than 15 seconds until your iPhone’s power is off. Now press the power button and you’ll see that your iPhone is now out of recovery mode. You can now start putting back the data from your backup files.

