Sometimes you may have some problems or discomfort with your iPhone 3G/3GS or 4 iOS 4.0.2 firmware and you may wish to downgrade your device to iOS 4.0.1, 4, 3.1.3 or lower. Here are the instructions to downgrade iPhone 4.0.2 to iOS 4/4.0.1 or 3.x.x firmware.
NOTE : This guide is only for those who have saved SHSH to the Cydia Server.
1. Download the firmware file to which you want to downgrade your iPhone to, that is, if you want to downgrade iPhone 4.0.2 to iOS 4, then download iOS 4 firmware.
2. The second step is to edit the Hosts file.
â€¢ Open Notepad with administrator privileges. Right click in its icon and choose ” Open as Administrator “.
â€¢ Navigate to C:/Windows/System32/drivers/etc in Notepad and open the Hosts file.
â€¢ Add ” 18.104.22.168 gs.apple.com ” at the end of the file and save the file.
In Mac OS X
â€¢ Navigate to Go->Go to Folder and enter ” /etc “.
â€¢ Using TextEdit, open up the Hosts file.
â€¢ Add ” 22.214.171.124 gs.apple.com ” at the and of the document, choose Save As, uncheck ” If no extension is provide, use .txt ” and save the file on the desktop.
â€¢ Replace the original Hosts file with the new one.
3. Now connect your iPhone to the computer.
4. Select your device in iTunes.
5. Now enter into recovery mode by pressing the power and home buttons for 10 seconds and then release the power button but keep holding the home button until iTunes recognize your device in recovery mode.
6. Now hold the Shift Key in Windows or the Option Key in Mac OS X and click on the Restore button.
7. Browse to the required iOS 4 or 4.0.1 or 3.1.3 firmware file and select it to downgrade your iPhone to that.
8. Now exit recovery mode ( For this, you could use a software called ” Recboot Â “) and reboot your iPhone.
That’s it! Now your iPhone 3G/3GS/4 will be downgraded to the required firmware.