Benches iPhone

15

Error 1004 while trying to restore my iPhone 4

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

So I wanted to restore my iPhone 4 cause it wouldnt sync my apps and now every time I connect my phone to the itunes it keeps giving me the error 1004 during the restore."The iphone "Iphone" could not be restored. An unknown error occured (1004)." 😟 does anyone know what should I do?

15 replies

Sign in or join Beachball Help to reply.

  1. 0

    xzerograv3

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    you could try doing a hard reset by holding the sleep/wake and home buttons.

  2. 0

    xzerograv3

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    sorry, it appears as if your software might appear not up-to date.

  3. 0

    salar Barekatain

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yea my phone is in recovery mode right now and my itunes and everything works fine. This ***** cause the phone is brand new 😟

  4. 0

    KianABC

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Check your HOSTS file. If for "any reason" you modified your HOSTS file to point to some other server (gs apple com) then you will get this error message. Remove that line is comment it out with a # and you should be set.

  5. 0

    KGeeOne

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm trying to restore my brand new iPhone 4 on my MBP. I've never modified my host file. The host file is currently set to a ten digit number followed by gs.apple.com. Is there some other place I should be looking to get rid of this restore error message. My phone is sitting here in restore mode. Thanks.

  6. 0

    KianABC

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    That's exactly why you're having an issue. At some point you modified your HOSTS file and you don't even remember. Or someone else did it for you. Regardless, that line with gs.apple.com should not be there.

    - Drag the file to your desktop

    - Open it in text editor

    - Remove the line entirely or put a # at the beginning of it to comment it out

    - Save the file

    - Drag it back to the /private/etc/ folder.

    - You'd need to enter your username and password to authenticate the move

    Try restoring now.

  7. 0

    KGeeOne

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    KianABC, YOU BE DA MAN!!! I did exactly what you posted and it worked and my phone is back. I'm new to all of this and thank you so much for even answering my post. If you are ever in the southern California area, email me and I'll buy you a coffee or a beer. You are a life saver. Thank you very very much. No where could I get information on this. I know there are others out there with new iPhones going through the same exact thing. Phew!!!

  8. 0

    KianABC

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm glad it worked! I had a little freak out moment too yesterday when I was stuck where you were stuck earlier, but figured it out.

    I was actually in SoCal last week (SD and Long Beach). It was great!

  9. 0

    KianABC

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    More complete solution for those not knowing where to find the file:

    On Mac:

    * Open Finder

    * Hold down COMMAND + SHIFT keys and press 'G'

    * Enter "/private/etc/" in the field and press "Go"

    * Find "hosts" file in the directory

    * Drag the file to your desktop

    * Open it in text editor

    * Remove the line that has gs.apple.com entirely or put a # at the beginning of it to comment it out

    * Save the file

    * Drag it back to the /private/etc/ folder.

    * You'd need to enter your username and password to authenticate the move

    On Windows:

    * Locate the hosts file in one of the following directories:

    Windows 95/98/Me c:windowshosts

    Windows NT/2000/XP Pro c:winntsystem32driversetchosts

    Windows XP, Vista, 7 c:windowssystem32driversetchosts

    * Right click and click on "Open With..." and then click on "Notepad" on the list.

    * Remove the line that has gs.apple.com completely and save the file.

    This should work fine.

    Kian

  10. 0

    EBSkater

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    What if my hosts file looks like this? I have my phone all setup, but I'm willing to lose it all just to be able to restore from my 3GS backup...I really want the field test dB meter instead of the reception bars.

    ##

    # 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

    127.0.0.1 activate.adobe.com

    127.0.0.1 practivate.adobe.com

    127.0.0.1 ereg.adobe.com

    127.0.0.1 activate.wip3.adobe.com

    127.0.0.1 wip3.adobe.com

    127.0.0.1 3dns-3.adobe.com

    127.0.0.1 3dns-2.adobe.com

    127.0.0.1 adobe-dns.adobe.com

    127.0.0.1 adobe-dns-2.adobe.com

    127.0.0.1 adobe-dns-3.adobe.com

    127.0.0.1 ereg.wip3.adobe.com

    127.0.0.1 activate-sea.adobe.com

    127.0.0.1 wwis-dubc1-vip60.adobe.com

    127.0.0.1 activate-sjc0.adobe.com

    ::1 localhost

    fe80::1%lo0 localhost

    192.168.1.2 ethan.ethan.com myhost

    127.0.0.1 localhost ethan.ethan.com

  11. 0

    dahernandez

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you for putting "for any reason" in quotes. That tipped me off right away. I just got the IP4 and tried to upgrade to 4.0.1 when all **** broke loose. You da man!

  12. 0

    tfskora

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    a thank you comes from me as well. i got the issue after trying to install 4.0.1, i don't know how the host file got changed. but now it's back up.

  13. 0

    drops

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Then we all know that you are using a pirated copy of Adobe CS. πŸ˜‰

  14. 0

    GQSmooos

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This did not solve the issue for me. I am trying to update to 4.0.1

    My hosts file says

    # Copyright (c) 1993-2009 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

    # localhost name resolution is handled within DNS itself.

    # 127.0.0.1 localhost

    #

    # ::1 localhost

    I also tried it with the second to last line completely removed, so it was

    # 127.0.0.1 localhost

    # ::1 localhost

    Any other thoughts?

  15. 0

    GQSmooos

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Well, it is solved now. I uninstalled iTunes and reinstalled