Fix iTunes Error 21
Jailbreaking your iPhone, iPod Touch or iPod using custom IPSW made by PwnageTool or Sn0wbreeze requires a full firmware restore using iTunes. During the restore process, if you encounter Error 21, it means that you are trying to restore custom IPSW using the recovery mode. To fix this issue, you must put your iDevice into DFU mode.
DFU or Device Firmware Upgrade mode allows all iDevices to be restored from any state. The actual difference between recovery and DFU mode is that when you put your iDevice into DFU mode, it do not loads iBoot automatically. When you put your iPhone in recovery mode, it loads iBoot which makes sure that the firmware you are trying to restore is greater or equal to the current firmware.
To fix iTunes error 21, you must put your iDevice into DFU mode using the following instructions:
- Connect your iDevice to your PC or Mac via USB cable and launch iTunes.
- Hold down the Home+Power button for 10 seconds.
- After 10 seconds, release the Power button but keep holding the Home button until iTunes detect your iPhone in recovery mode.
- Once your iDevice is in DFU mode, you should see nothing on its screen. It should be completely blank.