How to fix iTunes error 1013 during firmware update.

If you have recently updated the firmware of your iPhone, iPad or iPod Touch, it is likely that after waiting several minutes for the software to download and everything else, the update of your equipment has stopped to throw you an error message such as the one that appears above.

“The device could not be restored. An unknown error (1013) has occurred.”

When we get this error for the first time we immediately feel a little fear, first fear that we have mistakenly damaged our precious iPhone, iPad or iPod touch. Then because when we click the button that says “More information” iTunes sends us to an Apple page where they give us recommendations to solve the problem.

Some of the “solutions” include restarting the computer, updating to the latest version of iTunes, trying to restore / update our device on a different computer, and so on. All that can work in certain cases, but if you’ve already tried everything and you still get the 1013 error then the solution is likely to be simpler.

If your device (iPhone, iPad or iPod touch) was previously jailbroken then error 1013 is due to iTunes not being able to connect to Apple’s server, gs.apple.com to validate your device’s software. And the reason why it has not been able to connect is because with the jailbreak the HOSTS file of our PC / Mac is modified to point to the Cydia servers.

There are many ways to correct the problem, some easy, some less easy, but I’m going to show you the quickest and easiest way to fix the problem.

All you have to do is go to the official page of Tiny Umbrella and download the version of Tiny Umbrella suitable for your operating system (Windows or Mac). The file is small and installs straight away.

Once the software is installed, all you have to do is run Tiny Umbrella while your iPhone / iPad / iPod touch is still connected to the computer.

When you open Tiny Umbrella, the name of your device will appear on the left side and you must go to the tab that says Advanced. There you will have to uncheck the second option that says: Set Hosts To Cydia On Exit.

Press the button Apply Changes and ready. Close Tiny Umbrella and do the update / restore again, everything will be fine now.