Skip navigation

iPhone error 1013 host file solution does not work!

21150 Views 16 Replies Latest reply: May 19, 2012 12:20 PM by Spillebeen RSS
1 2 Previous Next
Griff1220 Calculating status...
Currently Being Moderated
Feb 5, 2011 5:20 PM
iPhone 3gs, not jailbroken or unlocked. I've restored on 6 different computers, i tried editing the host file in many different ways that people have suggested. Still nothing. Nothing pulls it out of recovery either. I'm beginning to think error 1013 also means hardware cuz absolutely NOTHING is working. I've also checked my firewall settings and all is fine because i can restore my iphone 3g to 4.2.1 no problem on ALL computers that have given me 1013 error. Any ideas before i throw this at a brick wall? And no i dont have warranty so apple cant help me out.
Windows Vista
  • speakerfritz Calculating status...
    Well, another case of hurting the good, while trying to go after the bad. What the issue is apparently Apple put in a check point feature around version 4.2.1 that checks for users who are redirecting their connections to gs.appl.com. If the itunes process suspects this, your phone firmware management process stays in recovery mode. You get error 1013 which says you have a hardware error and list numerous hardware related things for you to check. So my iphone sat on my dresser for two months under the belief that I had a hard ware issue. Well the fact of the matter is that there was nothing wrong with my phone. Apparently there are users who jail brake their iphone to run other apps, and for those users, they have an entry in their hosts file that redirects gs.apple.com to a website that is set up to assists jail break users. all this not endorsed by apple. The checkpoint feature that apple put in to detect this uses a timer and waits for a response between your system and gs.apple.com. If the timer threashold elapses, an assumption is made that you are redirecting your gs.apple.com connection, and are a jail break user. Your phone gets put into recovery mode. Problem with this is that there are ligitimet users who have host files that are ligitemt and does not redirect their connections to gs.apple.com. In my case I use a 60,000 line hosts file to redirect adware, malware, and other vulnabilary type sites. The lenth of time for my PC to search thru this file exceeds the threashold period involved in the checkpoint process, and even though the gs.apple.com entry does not appear in my hosts file, an assumption was made that I was a redirection of gs.apple.com user, and my phone was put into recovery mode. to fix my problem I tempoaryily used the default hosts file of
    ##
    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
    I have no reason to prevent my system from talking to gs.apple.com. It just takes a little longer to do so. There are thousands of iphone users right now who have iphones locked into recovery mode, probably because they are on a slow internet connection and their threashold is being exceeded. These folks are innocent victims of of the pursuit of the jail break users. Apple needs to figure out another way to do this with out impacting loyal customers. Apple. shame on you.
    1 G4 Xserve w/HW RAID, 17" + 15" G4 PB, 2 G4 Mini's, Mac OS X (10.4.10), AppleCare, ProCare, Don't leave home with out it.
  • speakerfritz Level 1 Level 1 (145 points)

    Thought you folks would like to know that I finally fixed my iphone recovery mode 1013 error.  I learned that their are two gs.apple.com servers.  I found out which server I was connecting to and decided to try the other server.  I added the below entry in my hosts files.  I did a recovery and it worked.  NOW, what on earth is going on with apple gs.apple.com server 17.112.176.11?   gs.apple.com 17.151.36.30 worked for me.  Keep in mind, my phone is a normal stock phone with only apple store apps.  my phone is not gail broken and I do not use tiny umbrella or related utilities.Problems began with the release prior to the current one.

     

    ##

    # 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

     

     

    17.151.36.30          gs.apple.com

    # 17.112.176.11          gs.apple.com

     

     

  • annettefromcollege station Calculating status...

    Can you please explain to me how you are doing this?  I don't understand how to add entries in the host file.  Any help would be greatly appreciated.  Phone says in recovery - must restore and then gets error code 1013.  At least 7 times so far this evening.  Tried different computer, changed USB, updated softwares, etc.  Nothing has worked.

  • chrisfromcardiff Calculating status...

    I like many in this post have the same issue. My iPhone has not been jailbroken and says I need to restore error 1013. I actually went to the Apple Sotre in Cardiff and they simply tried restoring the phone (I knew what would happen) and they simply said that it was a hardware issue and that I need a new phone.

     

    My host file didn't have the apple server in it originally!

     

    I'll try from the above the thread and see if it works, would save me buying a new iphone!!

  • marco538 Level 1 Level 1 (0 points)

    Hi,

     

    I have similar problems and lost in the meantime (after trying several times to restore) all my old data (sms-text messages and other history data from my phone). Now my iPhone is again working on iOS 4.1 (it was working previously working on iOS 4.3.2).

     

    I have a question: WHERE can i find the so called 'host file' and moreover HOW can I adjust this file?

     

    Many thanks for your help!

     

    Kind regards,
    Marco

     

  • chrisfromcardiff Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jun 12, 2011 12:57 PM (in response to marco538)

    You had the same problem and restored with OS version 4.1??

     

     

    The host file is located in the C:/ drive in your Windows file, in System32 folder, Drivers folder, then etc folder, then host folder. To open the file you need to open Wordpad then open the file.

     

    so located in C:\WINDOWS\system32\drivers\etc

     

    To alter the file simply delete or edit the particular name you wish

  • brad805 Level 5 Level 5 (7,285 points)

    chrisfromcardiff,

     

    to Restore 3GS to 4.1 download firmware from Apple http://appldnld.apple.com/iPhone4/061-7938.20100908.F3rCk/iPhone2,1_4.1_8B117_Re store.ipsw Then Shift Click Restore in iTunes choosing the 4.1 file from Apple that you downloaded.

  • chrisfromcardiff Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jun 13, 2011 8:02 PM (in response to brad805)

    Thanks Brad.

     

    I originally tried that with the phone and was unsuccessful with all firmwares.

     

    But this morning I decided to give the phone another shot and it resotred on 4.2.1.

     

    Think apple might have got their act together finally. Only prob is that I might not be able to get IOS5.

     

    Does anyone know where I can get an iPhone 4 on the cheap?

  • crazyshino Calculating status...

    i agree wit u!

    its NOT fair to us loyal ppl and if

    it wasnt that they r a good company i WOULD

    hav already left them cuz they r makin me mad!

  • Lawrence Finch Level 7 Level 7 (24,530 points)

    Is there a reason you are responding to a 6 month old thread?

  • crazyshino Level 1 Level 1 (0 points)

    yes there is a reason...

    my phone has done all of the things that a whole bunch of ppl r saying about the error 1013 problem

    but i hav tried every little thing and i cant restore the phone and this is driving me crazy

  • Lawrence Finch Level 7 Level 7 (24,530 points)

    But you made a statement, you didn't ask a question.

     

    If you want help resolving it I suggest you start a new thread and don't be so belligerent, as everyone in this forum is a user, and don't really appreciate being yelled at.

     

    If you just want to vent, go ahead, but you won't get the problem resolved.

  • crazyshino Level 1 Level 1 (0 points)

    ok thx

  • Dragan Marjanovic Calculating status...

    Hey if you stuck in the recovery loop. You can use software such as TinyUmbrella to get out of the loop.

     

    <Edited by Host>

1 2 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.