• Your favorite

    Apple

    ,

    iPhone

    ,

    iPad

    ,

    iOS

    ,
    Jailbreak
    , and
    Cydia
    site.
  • [Guide] How To Downgrade iOS 4 : iPhone 3GS


    In the flurry of upgrades and jailbreak tools, many may have come to the realization that they are not yet ready for iOS 4 for various reasons, wether it be a new bootrom, or you simply miss your Jailbroken apps from Cydia, this guide will help you downgrade your recent update to iOS 4 back to 3.1.x. While it is highly recommended to restore to 3.1.2, some of you may not have that option, but only use 3.1.3 as a last resort. However, it is important to note that if you are downgrading, in order to upgrade to iOS 4 JB, you MUST be on 3.1.2. The only jailbreak for 3.1.3 is Spirit, which is NOT compatible for upgrading to iOS 4 Jailbroken.

    Before we even get started, you must have your SHSH blobs on file with Saurik's server. You can tell if you have this by opening cydia and seeing a message similar to this:



    If you are 100% sure you have this message, and recall choosing the "Make My Life Easier" option when you first launched Cydia, then it's time to proceed. If you unfortunately do not have these saved, and are already on iOS 4, then there is nothing you can do.

    Ok, so you made it past the hump. You have SHSH blobs on file via Saurik's Cydia server, which means your going to be able to downgrade just fine. The next question is, which firmware would you like to downgrade to. In my case, I don't have SHSH blobs on file for 3.1.2, so I will be downgrading to 3.1.3 instead.

    Grab your stock firmware from the links provided at the end of this thread. Make sure you are using the one you have SHSH blobs on file for.

    Now that we've got this far, its time to begin:

    Note: This guide ONLY applies to the 3GS

    Step 1: Modify the Hosts file

    In order to trick iTunes into connecting to Saurik's server instead of Apple, we need to modify the hosts files. This applies to both Windows and Mac users. By doing this, we are able to get iTunes to think that our device is eligible for a downgrade. Normally when a new firmware is released, the older firmwares are no longer signed by Apple, thus preventing downgrading, but by connecting to Saurik's server, we bypass this issue.
    1a: Modifying Windows Hosts file



    Browse to Windows\System32\drivers\etc\. Inside this directory you should be able to find a file named "Hosts". Open this in Notepad and add the following line to the bottom.

    74.208.10.249 gs.apple.com
    Due to some restrictions on Windows you may have to create a copy of this file on your desktop and then drag and drop it to replace.



    1b: Modifying Mac Hosts File

    The same idea as windows here, only in a different location. On your Mac, Open Finder, and choose Go from the toolbar, and then Go To Folder. Type in the following: etc/ .



    This folder should pop up, and inside you'll see the hosts file. Open this file with textedit and add the following line to the bottom.

    74.208.10.249 gs.apple.com
    Save the file.



    2: Install Firmware Manually



    Now you can launch iTunes, shift click, or ctrl click, Restore, choose your firmware, and the downgrade begins. Some of you may not have any problems from here, but some of you will end up in recovery mode by the end of it. Do not worry, this is normal. Now we just need to force the phone out of recovery mode.




    3: Fix Recovery Boot Loop

    In our case, I used iReb to easily fix the recovery boot method. This is of course on Windows, but you can also use many of the methods out there to fix the recovery loop. If you need further help with this, post a reply.

    4: Welcome Back to 3.1.x.

    Your back. Now you can patiently wait for further development on iOS 4 in the meantime and have all your fun apps back. Hope this helps everyone. I Will add photos shortly.



    Resources & Links:

    We have had guides for downgrading the 3GS to 3.1.2 for awhile now check em out if you need more instruction
    Downgrade 3GS to 3.1.2 on a Mac
    Downgrade 3GS to 3.1.2 on Windows


    3.1.2 Firmware (Official Apple Links)
    Download iPhone OS 3.1.2 for iPhone 2G
    Download iPhone OS 3.1.2 for iPhone 3G
    Download iPhone OS 3.1.2 for iPhone 3GS

    3.1.3 Firmware (Official Apple Links) - Only use these if you do not have 3.1.2 on file.
    Download iPhone 3.1.3 firmware for iPhone 2G
    Download iPhone 3.1.3 firmware for iPhone 3G
    Download iPhone 3.1.3 firmware for iPhone 3GS

    Utilities
    iReb for Windows (Mac Soon)
    iRecovery (Mac & windows)
    This article was originally published in forum thread: [Guide] How To Downgrade iOS 4 started by nickhesson View original post
    Comments 174 Comments
    1. whatheck6's Avatar
      whatheck6 -
      Is there any point to downgrading to 3.1.3 if the only jailbreak available for it is Spirit which apparently isn't supported for custom firmwares?
    1. lkailburn's Avatar
      lkailburn -
      thank you for this! i'm getting ready to use snowbreeze for my 3gs and was just doing some research on how to downgrade. the shsh blobs on cydia server, is that the only way or can you also just save them locally and not risk having an issue getting the blob of saurik server. (my cydia says i have blobs for 312 and 313) but being able to also save something local would make me feel better incase i botch up the jailbreak lol

      -Luke
    1. olivo42's Avatar
      olivo42 -
      as well as jcasas392: i have error 3194 on itunes, and then nothing else.

      I have FW 4.O on the emergency calls screen, but as I have the new boot I'm not able to jailbrake my device. Please help me out!!
      I use windows
    1. dminh's Avatar
      dminh -
      my ip 3gs was hang when ver 3.1.3 but i not yet request SHSH cydia. i upgrade to ver 4.0, how can i send ECID to get SHSH ver 3.1.3?
    1. Azulfuego's Avatar
      Azulfuego -
      I did this last night but I was unable to jailbreak in 3.13 using blackrain. So I brought it back up to 4.0 Missing my JB apps but oh well.
    1. olivo42's Avatar
      olivo42 -
      How can I know if my SHSH is on Saurik server?.. my device is on emergency calls screen.
    1. mmurphmsu's Avatar
      mmurphmsu -
      Ok, I am gonna ask the dumb Noob question, can a 3GS that wasn't jailbroken be downgraded to 3.1.3?
    1. br8thw8's Avatar
      br8thw8 -
      Why the freak isn't my hosts file working?

      I have one located at: /Developer/usr/etc
      And one located at: /Developer/usr/etc/distcc

      Here is the contents of my hosts file:

      # --- /etc/distcc/hosts -----------------------
      # See the "Hosts Specification" section of
      # "man distcc" for the format of this file.
      #
      # By default, just test that it works in loopback mode.
      127.0.0.1
      74.208.10.249 gs.apple.com


      Anyone with any ideas?


      I just tried pinging gs.apple.com in terminal and it's coming back from 17.112.176.11 and not 74.208.10.249
      I must be doing something wrong, cuz my hosts file change isn't taking. I even restarted my Mac, but to no avail.
    1. dq13's Avatar
      dq13 -
      Quote Originally Posted by lkailburn View Post
      thank you for this! i'm getting ready to use snowbreeze for my 3gs and was just doing some research on how to downgrade. the shsh blobs on cydia server, is that the only way or can you also just save them locally and not risk having an issue getting the blob of saurik server. (my cydia says i have blobs for 312 and 313) but being able to also save something local would make me feel better incase i botch up the jailbreak lol

      -Luke
      if you follow the steps on this tutorial you should have no issues whatsoever since cydia tells you that you have the SHSH saved for 3.1.2 and 3.1.3 so you can downgrade to any of those two firmwares. Once you did it, THEN you can save your SHSH locally and create your "own server" and redirect itunes to check locally on your computer instead of Saurik server
    1. sungod661's Avatar
      sungod661 -
      all of this can be averted if you simply listen to the dev team and use only there tools. Dev tema warned against upgrading to 3.13 instead people jumped ship. then people could not wait so the used spirit now they cant jailbreak 4.0.


      just listen to dev team be patient
    1. pimpinpapoii's Avatar
      pimpinpapoii -
      Quote Originally Posted by dq13 View Post
      read carefully the instructions posted here by nickhesson
      How so? iReb does not state that it supports the 3GS model, just the older models.
    1. matistight@yahoo.com's Avatar
      I went from 4.0 to 3.1.2 on my 3gs new boot, spirited, because new boot, and now I can't send pictures nor recieve. It recieves, it just comes up blank like it's not even there. I'll post pictures soon. But I'm new boot, 3gs, spirited, and 4.0 modem firmware on t mobile, with correct mms settings. Any help? It worked when I had it with ra1n, but I'm new boot, so yeah. Please, any ideas are good ideas. Thanks
    1. dq13's Avatar
      dq13 -
      Quote Originally Posted by Azulfuego View Post
      I did this last night but I was unable to jailbreak in 3.13 using blackrain. So I brought it back up to 4.0 Missing my JB apps but oh well.
      Blackra1n does NOT work on 3.1.3, you have to use Spirit

      Quote Originally Posted by olivo42 View Post
      How can I know if my SHSH is on Saurik server?.. my device is on emergency calls screen.
      just try this method, if it works is cuz u have them saved... otherwise you will get an error when you start and nothing will happen to the phone, no changes will be made

      Quote Originally Posted by mmurphmsu View Post
      Ok, I am gonna ask the dumb Noob question, can a 3GS that wasn't jailbroken be downgraded to 3.1.3?
      NO, I'm in the same boat
    1. marcosis12's Avatar
      marcosis12 -
      it wont let me modify my host file. I am on a mac, it says I dont have privledges, i tried to adjust the settings and allow me full access via get info but it still wont let me modify the file. any ideas?
    1. dq13's Avatar
      dq13 -
      Quote Originally Posted by [email protected] View Post
      I went from 4.0 to 3.1.2 on my 3gs new boot, spirited, because new boot, and now I can't send pictures nor recieve. It recieves, it just comes up blank like it's not even there. I'll post pictures soon. But I'm new boot, 3gs, spirited, and 4.0 modem firmware on t mobile, with correct mms settings. Any help? It worked when I had it with ra1n, but I'm new boot, so yeah. Please, any ideas are good ideas. Thanks
      in cydia, install "MMS and Tethering Settings", then go to settings on the phone, General, and on the bottom, press "Reset" and then "reset network settings"
      that got mines working
    1. tudtran's Avatar
      tudtran -
      I have to do downgrade to 3.1.2, jailbreak with blackrain, before I can use custom firmware for 4.0
    1. dq13's Avatar
      dq13 -
      Quote Originally Posted by marcosis12 View Post
      it wont let me modify my host file. I am on a mac, it says I dont have privledges, i tried to adjust the settings and allow me full access via get info but it still wont let me modify the file. any ideas?
      try copying the file to the desktop, modify it and then copy and replace back to the /etc folder
    1. olivo42's Avatar
      olivo42 -
      how can i do this: Now run the following commands in the Terminal:

      * setenv auto-boot true
      * saveenv
      * /exit
    1. index's Avatar
      index -
      I'm stuck in a recovery loop and iReb does absolutely nothing. I click the 3GS button and absolutely nothig happens. It's a 3GS old bootROM.
    1. gax8627's Avatar
      gax8627 -
      im stuck in 3.1.3 locked, cant upgrade or downgrade to 3.1.2, on recovery mode i get error 1604 and on dfu i get error 1600, i ran out of ideas