Skip navigation

Upgrade to iOS 4.2 1013 error

87727 Views 161 Replies Latest reply: Mar 11, 2012 6:54 PM by garoBenjamin RSS
  • Dave01978 Calculating status...
    Currently Being Moderated
    Nov 22, 2010 6:37 PM (in response to njgarito)
    I just realized that not everyone is using a mac who has an iphone, these instructions are for a mac running osx. All the commands were to be run on the computer syncing with the iphone. For windows users the hosts file is located here:

    %SystemRoot%\system32\drivers\etc\

    Try using "notepad" or whatever its called on windows to modify the file and if the line that I said to erase is there then it should work, else; I dont know

    Message was edited by: Dave01978
  • C. Castillo Calculating status...
    Currently Being Moderated
    Nov 22, 2010 6:58 PM (in response to Dave01978)
    Dave01978 wrote:
    Check this link out it worked for me since nothing else would.

    http://twitter.com/gimpbully/status/6881982822748160

    Ill give the instructions just in case you dont like twitter...

    1. connect the phone and begin the update/restore.
    2. As soon as the first progress bar completes remove this line from /etc/hosts

    74.208.10.249 gs.apple.com

    Thats it, your phone will restore and you frustration will disappear.

    Message was edited by: Dave01978

    Worked just fine, thanks Dave!

    For all of you having a difficult time, here's exactly what I did to follow Dave's instructions:

    1. Go to your "Applications" folder
    2. Go to your "Utilities" folder
    3. Launch "Terminal"
    4. Type "sudo nano /etc/hosts" (without quotes) and hit return
    5. Enter your password
    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 "#" (no quotes) in front of the text
    7. Save the file by pressing CONTROL+O on the keyboard
    8. Exit the nano editor by pressing CONTROL+X on the keyboard
    9. Restore your iDevice
    10. Come back and thank Dave

    Message was edited by: C. Castillo

    Message was edited by: C. Castillo (typo)
    iPhone 4, iOS 4
  • Warnock21 Calculating status...
    Currently Being Moderated
    Nov 22, 2010 6:36 PM (in response to Dave01978)
    mine was there then i deleted an it still dont work i deleted it after it extracted
    Asus, iPhone OS 3.1.3
  • Dave01978 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 22, 2010 6:39 PM (in response to Warnock21)
    Warnock21 wrote:
    mine was there then i deleted an it still dont work i deleted it after it extracted


    make sure you save the file...
  • tony134 Calculating status...
    Currently Being Moderated
    Nov 22, 2010 6:43 PM (in response to Dave01978)
    Thanks guys!!!!!
    It worked with me!!!!
    Good bless your souls for figuring this out!!!
    MacBook Pro, iOS 4
  • Warnock21 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 22, 2010 6:44 PM (in response to Dave01978)
    i did deleted an saved before didnt work im downloading software from another website an trying that
    Asus, iOS 4
  • Dave01978 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 22, 2010 6:45 PM (in response to Warnock21)
    lol someones post just disappeared, Interesting...
  • Warnock21 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 22, 2010 6:49 PM (in response to Warnock21)
    FIXED IT!! Download software from here http://www.redmondpie.com/download-ios-4.2.1-iphone-4-3gs-3g-ipad-ipod-touch-fin al-version/ then on itunes hold shift then click restore then go to where you saved it to an click it then walala

    Message was edited by: Warnock21
    Asus, iPhone OS 3.1.3
  • Gunn27 Calculating status...
    Currently Being Moderated
    Nov 22, 2010 6:51 PM (in response to Dave01978)
    Thanks Dave. I followed your suggestion using Notepad/Vista and it worked!
    Dell, Windows Vista
  • jshy Calculating status...
    Currently Being Moderated
    Nov 22, 2010 6:52 PM (in response to Dave01978)
    I commented out the host file entry and it worked...

    Question is why?
    Mac OS X (10.5.8)
  • C. Castillo Level 1 Level 1 (5 points)
    Currently Being Moderated
    Nov 22, 2010 7:01 PM (in response to jshy)
    jshy wrote:
    I commented out the host file entry and it worked...

    Question is why?


    74.208.10.249 is an IP address registered to 1and1 networks. It appears that the verification process attempts to access that IP address, doesn't find what it's looking for, then returns the 1013 error.

    By commenting out the line it is completely ignored and forces the verification process to phone it's "default" (or new) IP address instead.

    update

    A quick traceroute gives us the better asnwer:
    nginx.saurik.com (74.208.10.249) 65.484 ms 69.229 ms 71.004 ms

    Since I've never attempted to jailbreak nor unlock my iPhone 4 but have done it to my iPhone 3GS and other people's iPods, the same hosts file that is used by the "legit" iOS was modified and directs any and all future updates to saurik's server instead of Apple's.

    Message was edited by: C. Castillo (update)
  • Dave01978 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 22, 2010 7:12 PM (in response to C. Castillo)
    C. Castillo wrote:
    jshy wrote:
    I commented out the host file entry and it worked...

    Question is why?


    74.208.10.249 is an IP address registered to 1and1 networks. It appears that the verification process attempts to access that IP address, doesn't find what it's looking for, then returns the 1013 error.

    By commenting out the line it is completely ignored and forces the verification process to phone it's "default" (or new) IP address instead.

    update

    A quick traceroute gives us the better asnwer:
    nginx.saurik.com (74.208.10.249) 65.484 ms 69.229 ms 71.004 ms

    Since I've never attempted to jailbreak nor unlock my iPhone 4 but have done it to my iPhone 3GS and other people's iPods, the same hosts file that is used by the "legit" iOS was modified and directs any and all future updates to saurik's server instead of Apple's.

    Message was edited by: C. Castillo (update)


    I had entirely forgot about that whole SHSH thingy that someone ELSE did on my computer...
  • C. Castillo Level 1 Level 1 (5 points)
    Currently Being Moderated
    Nov 22, 2010 7:21 PM (in response to Dave01978)
    {quote:title=Dave01978 wrote:}
    I had entirely forgot about that whole SHSH thingy that someone ELSE did on my computer...


    Oh... yeah... uhm... that's what I meant too... Steve Jobs used my computer to jailbreak all those other iDevices
  • AlejoMiranda Calculating status...
    Currently Being Moderated
    Nov 22, 2010 7:31 PM (in response to Seb Skinner)
    Thanks Dave!!!!

    WORKS!!! You are great!

    I have published it in my Blog http://www.applenext.com and I have thanked you too!
    MacBook Pro, Mac OS X (10.6.5), iPhone 4, iPad, iPod nano (6thGen).
  • Mercurio2012 Calculating status...
    Currently Being Moderated
    Nov 22, 2010 7:46 PM (in response to Dave01978)
    Dave, sorry but I don´t understand your instructions: from where and how do I remove the line you mentioned.
    Thanks

    I need help for dummies, sorry
    Apple iMac, Mac OS X (10.6.4), Apple Mac Book Pro, iPhone 4G
1 2 3 4 5 ... 11 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.