Restore error 1013

Discussion in 'Jailbreaks and iOS Hacks' started by oglock, Feb 14, 2011.

  1. oglock macrumors member

    Joined:
    Oct 5, 2009
    #1
    Sup everyone im having a problem restoring my iphone back to 4.2.1

    i either get error 1013 or it freezes. im sure its something to do with the host file but how can ir restore this back to normal? heres what my hostfile looks lie


    ##
    # 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
    #74.208.10.249 gs.apple.com


    thanks
     
  2. studmule macrumors regular

    Joined:
    Aug 29, 2010
    #2
    Are you using tinyumbrella to preserve an old baseband when you do the restore?
     
  3. oglock thread starter macrumors member

    Joined:
    Oct 5, 2009
    #3
    nope i dont have tiny umbrella running my phones stocked unlocked
     
  4. WhatAmI macrumors 6502a

    WhatAmI

    Joined:
    Sep 2, 2009
    #4
    Your HOSTS-file looks like a pimpled teen face :eek: Remove these lines entirely:

    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost
    #74.208.10.249 gs.apple.com

    I've seen 1013 a number of times and no matter what I did a change of computer always did the trick.

    sorry, couldn't resist....

    [​IMG]
     
  5. oglock thread starter macrumors member

    Joined:
    Oct 5, 2009
    #5
    loool

    delete them still get stuck on restoring
     
  6. phreebsd macrumors regular

    Joined:
    Aug 6, 2010
    #6
    reboot after modifying and saving the host file
     
  7. nebo1ss macrumors 68030

    Joined:
    Jun 2, 2010
    #7
    There is nothing wrong with the host file you show in your display. The 74 entry for cydia is commented out correctly and the 127 goes to local host which will get you to apple. The only two lines that are not needed and may cause a problem are

    shown below.

    ::1 localhost
    fe80::1%lo0 localhost

    I agree that your symptoms seem to point to a host file issue but probably not in this case.

    What type of phone do you have. If you have a 3GS with the 6.15 baseband that might explain your problem.
     
  8. shakeman0 macrumors 6502a

    shakeman0

    Joined:
    Jul 20, 2009
    #8
    I was having the same 1013 error while updating to stock 4.2.1. I actually called Apple about it and they said my phone was broken and to take it to an Apple store. I tried restoring the phone on a different computer and it worked like a charm. If you have access to a different computer, I would try that.
     
  9. hidefguy macrumors 6502

    Joined:
    Oct 14, 2009
    #9
    I had the same issue, fixed the lmhost file back to original and it worked. You can also try a different PC and see if you still get the error. Good luck.
     
  10. oglock thread starter macrumors member

    Joined:
    Oct 5, 2009
    #10
    is there anyway to restore the host file back to default?
     
  11. WhatAmI macrumors 6502a

    WhatAmI

    Joined:
    Sep 2, 2009
    #11
    Windows

    Code:
    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    
    127.0.0.1       localhost
    OS X

    Code:
    ##
    # 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
    
    By seeing the above I conclude that OS X default HOSTS-file is pimpled... by default... =)
     
  12. gravytrain84 macrumors 6502a

    gravytrain84

    Joined:
    Jun 24, 2010
    Location:
    LA
    #12
    I would like to know the answer to this as well
     
  13. WhatAmI macrumors 6502a

    WhatAmI

    Joined:
    Sep 2, 2009
    #13
    Open up the HOSTS-file on your 'puter as Administrator, copy the content I've posted above and paste in to the file (replacing anything that was there before). Save the file.

    Simple as that ;)
     
  14. Tomple macrumors 6502a

    Tomple

    Joined:
    Dec 12, 2008
    Location:
    New York, New York
    #14
    Everytime I try to restore with a JB iPhone 4 I get this error, and everytime I just go to the apple store and they restore it and hand it back to me within the next 10 minutes :D
     
  15. i dont get it macrumors newbie

    Joined:
    Aug 28, 2011
    #15
    what does pimpled mean lol =P
     

Share This Page