When trying to restore your iPhone or iPod touch in iTunes with iPhone 3.1 firmware, you may get an error message followed by an error code 1601, 1602, 16xx or 21. To get around this problem, iH8Sn0w has released a handy little tool called iREB (iTunes Restore Error Bypasser) for both Windows and Macs which can help bring your iPhone back to life. The latest version of this program supports iPhone 3.1 firmware running on the original iPhone, iPhone 3G and iPod touch 1G.
A complete step-by-step guide on how to downgrade baseband version 05.11.07 to 04.26.08 for iPhone 3G in order to unlock it with ultrasn0w on iPhone firmware 3.1.