This error occurred when you are trying to restore your jailbroken custom iPhone 3.1.3 .ipsw file which you cooked using either PwnageTool or Sn0wbreeze. The error which iTunes throws may look like this.
The iPhone “[your iPhone]” could not be restored. An unknown error occurred.
To get around this problem, there is a handy little tool called iREB (iTunes Restore Error Bypasser) for both Windows and Macs which can help you bypass the error when you are restoring .ipsw file in iTunes. The latest version of this program supports iPhone 3.1.3 firmware running on the original iPhone, iPhone 3G, iPhone 3GS and iPod touch 1G/2G.
Follow the steps below to bypass this error so that you can restore iPhone 3.1.3 firmware in iTunes.
Step 1: Start iTunes and put your phone into DFU mode:
Press and hold the Home button and the Power button at the same time. After exactly 10 seconds release the Power button. Continue holding the home button until you iTunes pops up a message telling you that it has detected an iPhone in recovery mode. At this point your iPhone/iPod touch screen will remain black.
Step 2: Now close iTunes and Start iREB on Windows or Mac.
Step 3: Simply select your device and wait for a few seconds until you get white or a red screen on your iPhone or iPod touch.
Step 4: Now open iTunes and select your phone from the sidebar in iTunes. Now press and hold left “alt” button (“Shift” button on Windows) on the keyboard and then click on “Restore” (Not “Update”) button in the iTunes and then release the “Shift” button. Select a custom .ipsw file and restore it.
That’s it! iTunes should now be able to restore your iPhone or iPod touch to the latest iPhone 3.1.3 firmware without any problems. Hopefully you wont get any errors this time around!
One thing to note here is that iREB is not for ja
ilbreaking. It is only used for restoring to custom .ipsw firmware files via iTunes without any errors.
You can follow our complete jailbreaking guide for iPhone 3.1.3 2G and iPod touch 1G/2G using redsn0w 0.9.3 ,or redsn0w 0.9.4 for iPhone 2G, 3G and iPod touch 1G/2G, Sn0wbreeze 3.1.3 V1.4 for iPhone 2G, 3G, 3GS and unlock using ultrasn0w orblacksn0w.
Download iTunes 9.0.3 for Windows and Mac
Download iREB for Windows [Fast Mirror Link]
Download iREB for Mac