1. lildeep's Avatar
    Hello!

    i have a new bootrom iphone 3gs currently on v 3.1.3 (spirit jb) and i would like to upgrade to 4.0.1 and then jb with jailbreakme.

    In cydia at the top it says i have shsh for 3.1.3, 4.0, and 4.0.1

    I followed a guide showing me how to add a line to the host fileand then go through itunes and install the firmware "iPhone2,1_4.0.1_8A306_restore.ipsw" but half way through the installation i get "error 13" ? then it was stuck in recovery mode, i had to go into tinyumbrella and kick my iphone out of recovery so its back to normal now but i dont understand why the upgrade didnt work?
    i have searched on the forums and google but cant find the same problem or solution?

    Would really appreciate anyones help! thank you!
    2010-08-31 01:33 PM
  2. dhamien's Avatar
    Error 13
    Error 13 is typically resolved by performing one or more of the steps listed below:

    Try a different USB port directly on the computer.
    Put a USB 2.0 hub between the iPhone and computer.
    Try a different USB 30-pin dock connector cable.
    Remove all TcpWindowSize entries in the Registry (see "hang during restore" steps below).
    Try to restore from another known-good computer and network.
    Just try again on another computer.
    We're all just toymakers in the game of life.
    2010-08-31 01:51 PM
  3. lildeep's Avatar
    oh ok, i will try that thanks for the reply!
    i read somewhere else that error 13 is due to me not having the latest itunes so i updated my itunes and now instead of error 13 i get error 3002.. seems as if my phone doesnt want to upgrade.. lol
    2010-08-31 02:32 PM
  4. dhamien's Avatar
    Error 3004
    Error 3004: gs.apple.com server is unreachable. Customer needs to update, correctly configure, or disable their firewall / security software to allow access to gs.apple.com via port 80.
    Closest one I could find. Not sure if the errors are related.

    Have you modified the hosts file and with which IP?
    We're all just toymakers in the game of life.
    2010-08-31 02:46 PM
  5. lildeep's Avatar
    # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhost
    #74.208.10.249 gs.apple.com
    127.0.0.1 gs.apple.com


    if that means anything to you? :S
    2010-08-31 02:48 PM
  6. dhamien's Avatar
    Yeah, that explains it. Edit the file so it looks like this:

    # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhost
    74.208.10.249 gs.apple.com
    #127.0.0.1 gs.apple.com

    Notice that I commented out (put a # sign in front of it) the 127.0.0.1 line and then removed the sign in front of the 74.xxx line.

    This time, when doing the restore, don't run TinyUmbrella at all. Just have the hosts file look like what I just typed in. Then in iTunes, hold down the 'shift' key and then press 'restore'. Point to the downloaded 4.0.1 firmware file and press 'ok'. That's it. Your restore should be on the way.
    We're all just toymakers in the game of life.
    2010-08-31 03:47 PM
  7. lildeep's Avatar
    wahey that worked thank you
    very very helpful!
    2010-08-31 06:27 PM
  8. philly13's Avatar
    im also getting the error message, could anyone please give me some advice on how to avoid this...
    2010-08-31 09:18 PM
  9. iYeow's Avatar
    im also getting the error message, could anyone please give me some advice on how to avoid this...
    Give us more details about your problem.
    2010-08-31 10:13 PM
  10. philly13's Avatar
    im trying to upgrade to 4.0.1 from 3.1.3 cause my battery life has been terrible!

    Cydia says i have shsh for 3.1.3, 4.0 and 4.0.1 and today i also saved them using tinyumberlla

    but when i go to restore and upgrade to 4.0.1 i get an error message on itunes?

    i previously was on 3.1.2
    2010-08-31 10:44 PM
  11. iYeow's Avatar
    im trying to upgrade to 4.0.1 from 3.1.3 cause my battery life has been terrible!

    Cydia says i have shsh for 3.1.3, 4.0 and 4.0.1 and today i also saved them using tinyumberlla

    but when i go to restore and upgrade to 4.0.1 i get an error message on itunes?

    i previously was on 3.1.2
    If you have saved your shsh blogs locally in tiny umbrella,
    You have to edit the hosts file by adding only this line and looks like this;

    #74.208.105.171 gs.apple.com
    #74.208.10.249 gs.apple.com
    127.0.0.1 gs.apple.com
    and save it.
    run tss server
    Put iphone into recovery mode
    Do the shift + restore
    2010-08-31 10:54 PM
  12. philly13's Avatar
    thank you for your help!

    but how do i edit the host files and also what are they?

    i understand the rest, its just that bit im stuck on...
    2010-08-31 11:06 PM
  13. iYeow's Avatar
    For pc, click start > type notepad > run as admin if Vista/Win 7 > open
    to Cwindows\System32\Drivers\etc\ > highlight *.* means all files, you will see the hosts file > open it , edit that line and save it.
    2010-08-31 11:09 PM
  14. philly13's Avatar
    so i open the 'hosts' file in the 'etc' folder and add those lines to the end?

    i tried that and still getting the error message?
    2010-08-31 11:25 PM
  15. iYeow's Avatar
    Can you show me what did you add in your hosts file. Did you start tss server?
    2010-08-31 11:32 PM
  16. philly13's Avatar
    i added

    #74.208.105.171 gs.apple.com
    #74.208.10.249 gs.apple.com
    127.0.0.1 gs.apple.com

    to the end of it! yes i started tss server also!
    2010-08-31 11:35 PM
  17. iYeow's Avatar
    Display shsh in tiny umbrella, does it show the shsh file.
    Before restoring and starting tss server, under Device option , did you select the corresponding shsh file for restore.
    You have to put your iphone into Recovery if you are upgrading and DFu mode if you are downgrading.

    Remember, if you are running tss server, the shsh file must be stored locally, you will have to grab it from Cydia.
    Last edited by iYeow; 2010-08-31 at 11:47 PM.
    2010-08-31 11:40 PM
  18. GiftedGoldfinger's Avatar
    Im having the same issue, except Im running MAC OS X snow leopard
    2010-08-31 11:47 PM
  19. philly13's Avatar
    still getting (error 3014)

    i did display shsh file and it should it was there. also in the device option i had iphone3gs 4.0.1

    anything else i could be doing wrong?

    i also had it in recovery mode when tried to restore...
    2010-08-31 11:49 PM
  20. iYeow's Avatar
    Yes, everything seems correct.
    You must have Itunes atleast 9.2 to be able to restore to 4.0.1
    2010-08-31 11:53 PM
34 12
LINK TO POST COPIED TO CLIPBOARD