What's new
Apple iPad Forum 🍎

Welcome to the Apple iPad Forum, your one stop source for all things iPad. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to Fix iTunes Error 1013

Seadog

iPF Noob
Joined
Mar 25, 2010
Messages
2,518
Reaction score
52
Location
Oklahoma
iPhone 4 Update to iOS 4.2.1 Gone Sour? How to Fix iTunes Error 1013

http://www.ipadforums.net/user/jrbookwalter
FYI, I thought there might be some who could use this



We were as excited as the rest of you to finally get our hands on iOS 4.2.1 Monday -- that is, until a simple update on our iPhone 4 went horribly awry and several restore attempts also failed. Before the fear washes over you, read on.

We’ve been using the iPhone since day one and it’s been a bit of a hobby to jailbreak it, unlock it and even install other mobile operating systems like Android on it from time to time. Throughout all of that hacking, we’ve never had a situation that couldn’t be resolved with a simple restore -- until this week.

What should have been a simple upgrade from iOS 4.1 to iOS 4.2.1 on our iPhone 4 turned into a (nearly) spine-tingling nightmare. The most baffling part is that the device in question had never been hacked in any way -- it was 100 percent stock, and yet during out simple update attempt, iTunes threw up the error above.

Worse yet, the update had gone so completely awry that we now had no choice but to restore the iPhone 4. No problem, we figured, having a backup on hand. That is, until the restore also threw up the same error. Apple’s support website was vague on what an error code 1013 is, but the likely culprit was some kind of hardware fail. They suggested trying another dock cable, unplugging other USB devices and trying the restore on another computer.

After two more failed restore attempts (the third time is not a charm!) from our late 2008 MacBook Pro 15-inch, it was time to try one last thing before making a Genius Bar appointment and assuming the iPhone 4 had gone to device heaven. We docked the iPhone 4 into a new 11-inch MacBook Air and wouldn’t you know it, the device restored correctly and we were able to move it back to the MacBook Pro to restore from our backup without further incident.

As it turns out, we weren’t the only ones being bitten by what appears to be a bug that can potentially affect any iOS device when updating to iOS 4.2.1 -- Apple’s support discussion forums are chock full of complaints about the issue, but also a resolution, which the folks at Redmond Pie typed up for Mac and Windows alike. It requires a trip to the Terminal and a minor edit to your hosts file, but it will assure you don’t get bitten by the update monster like we did.
Mac instructions are reprinted below (courtesy of Apple discussion forum member C. Castillo), hit the Redmond Pie website if you need the Windows version. This applies to an iTunes error 1611 also, and in either case you’ll still need to do a firmware restore, so hopefully you have a current backup on hand in iTunes.
Step 1. On your Mac, go to your “Applications†folder.

Step 2. Now navigate to the “Utilities†folder.

Step 3. Launch "Terminal".

Step 4. Type "sudo nano /etc/hosts" (without quotes) and hit return.

Step 5. Enter your password

Step 6. Use the down arrow key to find the “gs.apple.com†entries. Once the cursor is in front, make sure you comment out the line(s) by entering “#†in front of the text.

Step 7. Save the file by pressing CONTROL+O.

Step 8. Exit the nano editor by pressing CONTROL+X.

Step 9. Restore your iDevice.
 

FrenchTV

iPF Noob
Joined
Aug 6, 2011
Messages
51
Reaction score
0
Location
Belgium
iPhone 4 Update to iOS 4.2.1 Gone Sour? How to Fix iTunes Error 1013


FYI, I thought there might be some who could use this



We were as excited as the rest of you to finally get our hands on iOS 4.2.1 Monday -- that is, until a simple update on our iPhone 4 went horribly awry and several restore attempts also failed. Before the fear washes over you, read on.

We’ve been using the iPhone since day one and it’s been a bit of a hobby to jailbreak it, unlock it and even install other mobile operating systems like Android on it from time to time. Throughout all of that hacking, we’ve never had a situation that couldn’t be resolved with a simple restore -- until this week.

What should have been a simple upgrade from iOS 4.1 to iOS 4.2.1 on our iPhone 4 turned into a (nearly) spine-tingling nightmare. The most baffling part is that the device in question had never been hacked in any way -- it was 100 percent stock, and yet during out simple update attempt, iTunes threw up the error above.

Worse yet, the update had gone so completely awry that we now had no choice but to restore the iPhone 4. No problem, we figured, having a backup on hand. That is, until the restore also threw up the same error. Apple’s support website was vague on what an error code 1013 is, but the likely culprit was some kind of hardware fail. They suggested trying another dock cable, unplugging other USB devices and trying the restore on another computer.

After two more failed restore attempts (the third time is not a charm!) from our late 2008 MacBook Pro 15-inch, it was time to try one last thing before making a Genius Bar appointment and assuming the iPhone 4 had gone to device heaven. We docked the iPhone 4 into a new 11-inch MacBook Air and wouldn’t you know it, the device restored correctly and we were able to move it back to the MacBook Pro to restore from our backup without further incident.

As it turns out, we weren’t the only ones being bitten by what appears to be a bug that can potentially affect any iOS device when updating to iOS 4.2.1 -- Apple’s support discussion forums are chock full of complaints about the issue, but also a resolution, which the folks at Redmond Pie typed up for Mac and Windows alike. It requires a trip to the Terminal and a minor edit to your hosts file, but it will assure you don’t get bitten by the update monster like we did.
Mac instructions are reprinted below (courtesy of Apple discussion forum member C. Castillo), hit the Redmond Pie website if you need the Windows version. This applies to an iTunes error 1611 also, and in either case you’ll still need to do a firmware restore, so hopefully you have a current backup on hand in iTunes.
Step 1. On your Mac, go to your “Applications†folder.

Step 2. Now navigate to the “Utilities†folder.

Step 3. Launch "Terminal".

Step 4. Type "sudo nano /etc/hosts" (without quotes) and hit return.

Step 5. Enter your password

Step 6. Use the down arrow key to find the “gs.apple.com†entries. Once the cursor is in front, make sure you comment out the line(s) by entering “#†in front of the text.

Step 7. Save the file by pressing CONTROL+O.

Step 8. Exit the nano editor by pressing CONTROL+X.

Step 9. Restore your iDevice.
hi

out of curiosity i decided to try your method to see what the terminal comes up with and i got this


##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost

# block Adobe activation servers
0.0.0.0 3dns-2.adobe.com
0.0.0.0 3dns-3.adobe.com
0.0.0.0 activate.adobe.com
0.0.0.0 activate-sea.adobe.com
0.0.0.0 activate-sjc0.adobe.com
0.0.0.0 adobe-dns.adobe.com
0.0.0.0 adobe-dns-2.adobe.com
0.0.0.0 adobe-dns-3.adobe.com
0.0.0.0 ereg.adobe.com
0.0.0.0 hl2rcv.adobe.com
0.0.0.0 practivate.adobe.com
0.0.0.0 wip3.adobe.com
0.0.0.0 activate.wip3.adobe.com
0.0.0.0 ereg.wip3.adobe.com
0.0.0.0 wwis-dubc1-vip60.adobe.com

no “gs.apple.com†to be found


Does this mean all iPads have different configurations?
 

Most reactions

Top