Jailbreak your iPhone

Downgrade iPhone 3GS OS 3.1.3 to 3.1.2 With Cydia SHSH


Apple released OS 3.1.3 very unexpectedly, OS 3.1.3 for iPhone 3GS is incompatible to jailbreak with redsn0w/pwnage tool/sn0wbreeze. So as of today, Apple has stopped signing 3.1.2 restore files. That means that if you have a 3GS iPhone you cannot restore any firmware other than 3.13.  If you guys updated to 3.1.3 and wanna get back to OS 3.1.2 or below here is the step by step guide to downgrade your iPhone 3GS OS 3.1.3 to 3.1.2 or below. This hack is useful only for those peoples who saved their SHSH to Cydia Server before the release of OS 3.1.3 via Cydia “make my life easier” button.

The process is very simple all you have to do is to add Saurik’s Server address to your system hosts file. This trick make iTunes thinks it is talking to Apple, it is talking to Cydia instead while the restoring process. Doing this will allow iTunes to access signatures already stored by Cydia “on file” feature. In simple words this duplicates the functionality exposed by Apple’s signature server, except using “on file” results rather than live request.


  1. This process is only for those who saved their SHSH to Cydia Server already.
  2. Don’t use this procedure for 3.0.1, because Saurik Server do not have signatures for 3.0.1
  3. Read the process and Saurik post two-three times before starting the process.
  4. iPhone unlockers note that by doing this you can downgrade your firmware only, your baseband is still at 05.12.01 which is un-hacked at the moment.


How to Edit and Save Hosts file in Windows

  • Open Notepad with Administrative privileges by clicking Start, All Programs,Accessories, and thenright-click Notepad and select to open as Administrator.22_thumb
  • Now that Notepad is open with Administrative privileges browse to (C:WindowsSystem32driversetc) in Notepad and open the hosts file, and add the following entry to the bottom of the file.    gs.apple.com               <————

Now you navigate to files menu and save the hosts file. By doing this you changed the communication server, and then we will ensure that iTunes checks the firmware on the server rather than opens Saurik toApple! Because your ECID is on that server, the verification will fail and restore the previous version will be done without too many problems!


How to Edit and Save Hosts file in Mac OS X

  • Navigate to /etc and look for hosts file, right click on hosts file and open with Text Edit, and add the following entry to the bottom of the file.   gs.apple.com <————


  • Now save the file and click on Save As. Picture2_thumb1
  • Because Text Editor can’t save your system files, here comes the tricky part, in save as windows use the following settings. Or take a close look at the following image.Picture3_thumb1
  1. In Where locate to Desktop
  2. Uncheck the “ If no extension is provide, use .txt “ and then press the save button.


  • A host file will be appear on your Desktop, just drag and drop to /etc and follow the onscreen instructions.
  • Press the Replace and enter your Password


By doing this you changed the communication server, and then we will ensure that iTunes checks the firmware on the server rather than opens Saurik to Apple! Because your ECID is on that server, the verification will fail and restore the previous version will be done without too many problems!


Now you can do your Normal Restore to 3.1.3 (with Recovery Mode) and Downgrading from 3.1.3 to 3.1.2 or below (with DFU Mode) as usual. For more details on Recovery Mode and DFU Mode read our previous article here.


To Downgrade iPhone 3GS from 3.1.3 to 3.1.2 or below :

Step 1: Put your iPhone in DFU mode with following instructions.

  • Connect your iPhone to your computer.
  • Turn iPhone off.
  • Hold power and home together for 10 seconds (exactly).
  • Release power but keep holding home until the computers beeps (observed on a PC) as a USB device is recognized.
  • A few seconds later iTunes should detect your iPhone.
  • If the Restore Logo is present on the screen, you are in Recovery Mode, not DFU.

Step 2: Once your iPhone is in DFU mode following message will be appeared in iTunes. Click on “OK” , Now hold Option key while clicking Restore in iTunes and browse the OS 3.0 firmware for your iPhone 3GS. Now the restore process will take 10 – 15 minutes.

If you encountered an error message like 1011, 1013, 1015, just ignore them(Actually the firmware 3.0 is already successfully installed). Simply launch RedSn0w and do the Jailbreaking Unlocking process again. Check our guides on Jailbreaking iPhone here.

But if you encountered with error message like 1601, 1602, 1600 or anything else then try putting the iPhone into DFU mode and try again.

Stay tuned with us for your daily dose of iPhone news, you can follow us on twitter via @ihackinjosh You can also subscribe to our daily free e-mail news letter and keep your self updated with the latest of iPhone community.


Comments ( 131 )

Have Something To Say ?

  1. Adam August 30, 2010 Reply

    So I followed this step by step exactly as described and received “The iPod could not be restored. This device isn’t eligible for the requested build.” Does this mean that I did not click on the ‘Make My Life Easier’ button? Or am I missing something here? Thanks for your help.

  2. xbox modder August 20, 2010 Reply

    HEY! this worked great. I have a iphone 4 I upgraded to 4.0.2 without knowing it would kick my jb off my phone. I have been searching to find a way back to 4.0.1 i just added the host file and it solved my problem. 🙂 cheers

    p.s. lucky I had cydia make my life easier. :-))

  3. lokesh June 23, 2010 Reply


    i have an iphone3G(S) which is of 3.1.2. (7D11),….i had accidentally upgraded to 3.1.3 through itunes ….
    my iphone got stuck up to “recovery mode” and on that “no sim card installed” is displayed on the screen …

    so, what should i do…

    PLZZ HELP ME!!!!!!!!!!!

  4. justin May 27, 2010 Reply

    i tried to paste gs.apple.com in notepad under admin. in hosts and it says..

    “cannot create c:\windows\system32\drivers\etc\host file, make sure that the path and file name are correct”

    what am i doing wrong? please help

  5. nishan May 11, 2010 Reply

    i got new i phone 3gs in 3.1.3, i try to downgreat to 3.1.2 but in the the message come “this divice not eligible for the requested build” so can u help me this please.

  6. Dj April 27, 2010 Reply

    U are god!!! I had black screen no nothing worked but now Im on my way. THankx ^5

  7. Jean Yves April 24, 2010 Reply

    Hi, my 3gs iPhone specifications are 3.1.2. (7D11), model MC135LL and FirmWare 05.11.07, (jailbroken with blackra1n) and had a loop recovery problem after doing a reset network settings as iPhone became “unstable” (short loss of wifi).
    So I kept it blocked over a week, and then followed kaubut0145 tuto how to downgrade 3.1.3. to 3.1.2. (but I wasn’t in 3.1.3. yet): strangely it worked, restarted and I noticed I had saved my ECID on Saurik’s files, (which I didn’t remember having done so…).
    Anyway, now I still have a problem, leaving in Thailand, True is the official carrier, I have a True simcard but didn’t buy the phone by their service, I have full signal, wi-fi etc….
    I can send textos (sms), I can receive calls, but I cannot pass any call !?!?!?
    Been trying for 3 days, but still cannot make a call, wonder what’s wrong….
    Beside this, after having successfully installed Cydia and install0us, I’m experiencing download issues in install0us, loose the connection for unknown reason, but the wi-fi signal is very good and the icon doesn’t disappear…
    Any help would be very welcome…
    Many thanks

  8. JamesN April 20, 2010 Reply

    Your instructions for the windows version of events is wrong. The “#” character is the comment indicator. Anything following a “#” is therefore ignored. This is evident when you run a simple test after saving the host file: open Command Prompt, and type “ping gs.apple.com”

    If you do not get a reply from the address, you have “commented out” the coveted line.

    Remove the “#” character from in front of the ip/hostname provided.

    Pinging the same DNS name, gs.apple.com, gives you the proper ping response from This is how iTunes gets “tricked” into thinking it’s communicating with Apple servers.

  9. JinkoMK April 19, 2010 Reply

    FOR THOSE GETTING THE “The iPhone could not be restored. This device isn’t eligible for requested build”, all you have to do is NOT place the iPhone into DFU mode. Just restore whilst the phone is still on and plugged in normally.

    It worked perfectly for me.

    Also another note, I used gs.apple.com.

  10. Damo April 13, 2010 Reply

    Any news on 3GS 3.1.3 downgrade option without previous JB on 3.1.2, Cydia SHSH and all that

  11. Chiccicherry April 10, 2010 Reply

    My iphone is a 3gs 3.1.2 Mc 05.12.01

    My notepad file ( system32-drivers-etc file ) is empty???

    Why is that?

    And this is a screenshot of my shsh file saved in cydia..or is it???


    This is what I got when I used umbrella. Is this worthless during downgrading? Beacause Apple stopped the sign of the 3.1.2 firmware?

    Please I need help, and I miss my old jailbroken iphone


  12. wariosdabest April 2, 2010 Reply


  13. Reddodge38 March 31, 2010 Reply

    Ok , see if someone can help? I unlocked and jailbreak my iPhone 32gb 3gs and did the save through cydia on my phone and had problems and updated to 3.1.3. I didn’t sync my phone the SHSH fake iTunes. Can I still downgrade? And if so , how? I’m pritty sure the phone is one of the ones that first came out. HELP please

  14. experx March 30, 2010 Reply

    If someone has not stored SHSH on Cydia before, is there a way to upload manually ? I read somewhere how to extract the SHSH signature file for both 3.1.3 and 3.1.2 and once this file is created, can it be uploaded manually to saurik’s server ?

  15. Ankur March 29, 2010 Reply

    Please HELP

    I keep getting the same error when I try to restore. I have restored my iphone with the most current .ispw straight from itunes. Now when i turn on the phone it tell me to put in a sim to activate phone. I tried to use my tmobile sim but it doesnt work and i dont have at&t. When i try vinays way to downgrade, i keep getting errors saying that the device is not eligible for restore. please help.

  16. Verge March 29, 2010 Reply

    Thanks chris, that worked. Although i got errors in DFU mode so i just restored regularly until i got 1015, and then used irecovery. I skipped the irecovery step when i tried to do it earlier and i couldn’t get a signal(through AT&T)…

    works great now !!!

  17. Dulla March 29, 2010 Reply

    whats up guys,

    I try all those steps more than 20 times.. for some reason I keep getting the same Error “This Device is not eligible for restore”
    My 3gs is not Jailbroken b4. brand new out from the box.. I change the host file & did every thing NO LUCK… PLEASE PLEASE I NEED SOME HELP.

  18. Javen March 29, 2010 Reply

    I followed all the steps and successfully downgrade to 3.1.2, 05.12.07 but now i can not find any network with my iphone 3gs. im on vodafone uk. i have save file with cydia so i can restore no problem at all.. is that any way to sort the problem with no finding any network?

  19. Fareez March 29, 2010 Reply

    Help!!!! I accidentally upgraded my iphone 3GS to version 3.1.3. I’ve follow the steps and i got error 1600. Please help!!!!!

  20. Chris March 25, 2010 Reply

    forgot to mention step 0: modify hosts file (see this article) and don’t bother doing this process if you haven’t saved your SHSH in cydia already!

  21. Chris March 25, 2010 Reply

    Thank you post #21!
    What a mess. If you have a new 3GS, this is the steps i would follow (google how to do each step):
    1. Download 3.1.2 ipsw
    2. Put phone into dfu mode
    3. hold down shift button and hit restore and pick the 3.1.2 ipsw
    4. wait a while, and when you get error 1015 run the iRecovery!!
    5. make sure you have your network connection
    6. do a settings restore / sync
    7. now your phone is fully operational at 3.1.2 and you can run blackra1n to jailbreak

    i tried skipping step 4 and running staight redsnow, but it locked up 1/2 way
    then i tried skipping step 4 and running blackra1n, but i lost my cell network access.

    lots of time wasted (:

  22. will March 25, 2010 Reply

    For anyone else getting the “I downgraded to 3.1.2 but now my iPhone isn’t getting AT&T service” problem, I can vouch that the solution posted above by Memnock on Feb. 22 worked for me.

    I’m on a 3GS with 05.12.01 MC model.


  23. Earlzie March 25, 2010 Reply

    oh and I downloaded redsn0w as well as firmware 3.1.2 but it would not load that when i tried to restore it… it just said file is not compatible… I also tried to adding gs.apple.com but it wouldn’t save in TextEdit.. PLEASE Help!!!

  24. Earlzie March 25, 2010 Reply

    Hi… so i have an Iphone 3gs and i am from Canada.. i was using the phone through bell and when i bought the phone i asked if i could use the phone in Thunder Bay b/c i go there often.. they said yes! so when i came to tbay from calgary.. i was 2 hours outside Calgary when it stopped working.. anyways long story short i got someone to soft unlock my phone since it was the only way to do it.. and i had him install ROCK so that i could use a rogers sim… it worked fine except the other day it was freezing and i decided to upgrade to 3.1.3 and it also upgraded my baseband to 5.12… sooo after researching right away I saw that I was an idiot for upgrading.. I didn’t have anything saved from Cydia that i know of.. is there any chance of me getting service again? and how would i do that? I have a Mac so if you explain it plz explain in mac terms step by step.. thank you to whoever figures this out.. you are a life saver!!!!

  25. Maximus March 24, 2010 Reply

    Will this method currently work with my previously jailbroken Ipod 64gb Touch? My machine went into an unrecoverable loop and had to restore but then updated to 3.1.3. Ugh! Im currently at 3.1.3 and I am POSITIVE that when I was jailbroken, I checked ‘Make my life easier’. Does this mean I still have my ECID on file and can downgrade again?

    Thank you so much for the answer on this issue.


  26. Lanatus March 22, 2010 Reply

    Is there a need to revert the host file back to original by adding # infront of added server after a successful downgrade from 3.1.3 to 3.1.2?
    Or it shall be kept as it is?

  27. danny527 March 20, 2010 Reply

    i’ve tried everything… is either downgrade to 3.1.2 with no signal… o 3.1.3 unjailbreak wid signal…. tried many many ways.. i’ve went through all google search for the best solutions.. but no luck…
    wat happen till the end is… my iphone was stuck in emergency mode.. i was nearly hopeless… then i decided to just restore back to the original 3.1.3 wid 05.12.01 baseband…. so i just on the itunes n restore…
    and i was shock after the restore.. it has become 3.1.2!!!! and the most important is wid signal (authorise sim)…
    And YES!!! JB wid blackrain… n it works…

    Thank you so much guys for the info.. i tot i will not b able to JB again…. thank u…. and i think is my lucky day today..

  28. Memnock March 18, 2010 Reply

    I haven’t check back in a while, but glad I could help those who were stuck on the no carrier signal.

  29. IvK March 18, 2010 Reply

    Thanks a million. Worked Like a charm After I edit the Host file put phone in recovery mode with the little USB on the screen and it restore to 3.1.2 with no prob

  30. Manuel March 18, 2010 Reply

    If I have baseband 05.12.01, would I be able to jailbreak it? If not, what is downgrade useful for?
    Thank you very much!!

  31. Shan March 11, 2010 Reply

    Can someone please explain why you need to restore the phone in dfu mode and then do it again a second time while it is recovery?

    I only did the dfu part and ran irecovery immediatly after.

    And everything works

  32. Martin March 10, 2010 Reply

    Thank You for this excellent article! My iP is back on 3.1.2 now nad iam happy! 🙂

  33. Katie March 10, 2010 Reply

    So I accidently downloaded 3.1.3…. not cool! I miss all my fun stuff. And I don’t remember ever saving anything to Cydia…. I hope someone can jailbreak this soon!

    On another note, I have an original iPhone, When I upgraded to my 3Gs that one stopped working. Is there any way for me to jailbreak this one? When I plug it into iTunes it wants to activate it. I tried to jailbreak with Blackra1n before, but it did not work. Any suggestions?

  34. Orazal March 9, 2010 Reply


    You skipped the step where you change your host file, so itunes does not check with apple but checks with sauriks.

    Re Read the Steps.

  35. Manny March 6, 2010 Reply

    Memnock THANK YOU!

    I had an older version 3gs. Not only did I get it downgraded to 3.1.2 but I was able to downgrade the Bootroom or whatever and I can even unlock it again!


  36. Doug Saylor March 6, 2010 Reply

    Re: “ineligible” I had a file called “hosts.txt” which is WRONG. The file “hosts” was UNCHANGED. I fixed that & was able to proceed. I gave up & went back to 3.1.3 when I could not get a carrier (cell & 3G offline).

  37. PrestwickRod March 6, 2010 Reply

    @Orazal I was trying to jailbreak before activating Duh. Your instructions are very clear and worked perfectly.

  38. Abhijith March 5, 2010 Reply

    Getting error 1604 plz help

  39. Ten_piseth March 5, 2010 Reply

    Check out this post: http://www.ihackintosh.com/2010/02/downgrade-iphone-3gs-os-3-1-3-to-3-1-2-with-cydia-shsh/

    Can I store my shsh with another method?????

    Why don’t u allow every one who forget to store shsh at server to register by imei ??? Or another way which can store n downgread to 3.1.2 or lower????
    Thanks for ur reply.…

    Sent by Ten_piseth , phnom penh ,Cambodia

  40. Doug Saylor March 4, 2010 Reply

    Says my phone is “ineligible” for 3.1.2

  41. Orazal March 1, 2010 Reply

    I have 3gs with new Boot Rom.

    I too had my 3.1.2 freeze and not knowing updated. Luckily I had SHSH saved through Cydia.

    I downloaded 3.1.2 and changed Host File as Stated above. I forced the restore on Itunes to 3.1.2. This next step was crucial.

    When you first restore, the iphone will stay with the recovery screen, thats the picture of the usb cable on the screen. Do not jailbrake, leave Itunes open, hit cancel on the itunes prompts to recover, immediately run quickpwn 22 and follow the instructions. This will get you out of recovery and your phone will activate with itunes. Now you will have carrier.

    Now Jailbreak with your desired form.

    I have Jailbroken 3gs with 3.1.2 firmware and New Base band. I cant unlock but, its not an issue for me. I use AT&T. But my phone is back to Jailbroken glory. It actuall works better that it did before. It doesnt get stuck like it used to. I think the Unlock was not 100% before.

    If I have to turn off, I just run Blackra1n again.

  42. Aj March 1, 2010 Reply

    Hey, i waz jus wonderin, what if i did not save my shsh thing on Cydia, can i use sum1 elses ? or cydia saves sum specific kinda details on ? Can’t i jus use sum1 elses hash ?

    Jus curious.


  43. carter March 1, 2010 Reply

    Hi, I can’t find the hosts file. I am on Mac OS X. Thanks.

  44. BadgerTVR March 1, 2010 Reply

    Thanks for the tutorial guys and to Memnock for solving the headache of no carrier after downgrade to 3.1.2! Now have downgraded from 3.1.3 to jailbroken 3.1.2 3GS (on O2)using this method and JB using blackra1n. Phew!

  45. SRSCowboy February 28, 2010 Reply

    I just purchased a 32gb 3gs that came with os 3.1 on it. I was able to use blackra1n to jailbreak it. I have some apps though that apparently require 3.1.2 to run (The iPhone replaced my iTouch that was jailbroken on 3.1.2 which is how I got the apps.) Cydia says my SHSHs are on file for 3.1.3. Is there anyway I can upgrade to 3.1.2? I tried to do it with a 3.1.2 ipsw I had downloaded, but it says my device is not eligible for the requested build. I did not try using DFU mode, as I am hesitant because I don’t want to lose my JB even if it is only on 3.1, but I would really like to have 3.1.2 so my other apps will work.

    Thanks for any advice anyone has.


  46. Oli February 27, 2010 Reply

    Okay iExpert I’ll help you out but I’m no expert mate!

    First things First put your iPhone 3gs in DFU MODE!! then click shift + Restore when the downgrade finishes repeat the same procedure again, this time it should be in recovery mode. When that finished load up quickpwn 22.1 not 22.5 a messgae should put up which tells you to hold HOME/POWER for 15 seconds and then POWER for another 2 seconds. Use quickpwn not iRecovery to activate Quickpwn is very simple and quick! Now it should load up and activate with iTunes!

    Okay now you run Blackra1n and when it finishes and your iPhone boots up run it again. The first time it doesn’t properly complete the jailbreak It took me forever to figure this out! thus the reason my iPhone wouldn’t reboot after installing something from cydia or Rock! I hope this helped it sure helped me.

    P.S I had the same problem as you. Getting the 1604 error if you get that try a different USB port or if that doesnt work get another USB cable from somewhere!

  47. Kelvin February 26, 2010 Reply

    Great trick!!
    Worked perfectly. I have hactivated my ifone and on a beautiful day it froze and stopped working. It was stuck at the fr** apple logo and the home screen never showed up…
    All you guys have to do is to add the IP address as Saurik said to the host file. Update your to 3.1.2 again and use blackra1n to jailbreak/unlock it. There you go. It’s hactivated again!!!
    Good luck.

  48. Svennnnn February 26, 2010 Reply

    Hi guys,
    I’m going to buy an iphone 3gs but can i downgrade it with the ecid of a friend of mine has on his 3gs? probably not i guess?

  49. iExpert February 24, 2010 Reply

    3GS Downgrade 3.1.3 to 3.1.2

    – my system is winxp sp2
    – my itune is 9.0.2.xxx
    – i successfully done a few 3gs downgrade
    – i have shsh 3.1.2
    – i know irecovery to auto-boot for radio signal

    ** one thing i dunno is why i have a 3GS always giving me 1604 error after long time of “preparing to restore”. the umbrella and tinytss working great, in fact i did a few already, but somehow got one device really hate me. the progress bar on iphone just dun want to proceed and give me 1604 error!!

    ** i also tried multiple times of dfu
    ** i also tried multiple times of recovery mode

    any expert can give me some advice ? just dun understand why ?

  50. Shea February 24, 2010 Reply

    Hi any one that can help,

    im very new at this I have an iphone 3g on windows 7, it was jailbroken n still needs to be jailbrocken, so any way i saw a new update so i decided to Dl it. ( ive only just found out by reading many threads that this was stupid) Now i have tried to restore my phone to n earlier firmware, but i tunes keeps telling me it was unsuccessful. Can any one please help me Im unable to use my phone at all as apple wants the original sim, so all im left with is n iphone with the itunes symbol and a usb cord

  51. Tan February 23, 2010 Reply

    I bought a new iphone 3gs. Lucky enough it comes with 3.1.2 with new iboot.

    I have jb and the cydia server stated my ecid shsh 3.1.3 is on their server.

    Now i wonder why the ecid shsh is 3.1.3 but not 3.1.2 since i am running on 3.1.2.

    Can i still restore to 3.1.2 if i direct the signing to cydia server?

    I want to clean up my phone as blacksnow is giving me wifi problem. Resetting the network is just a temp solution for blacksnow

  52. Adam February 23, 2010 Reply

    I was able to downgrade it to 3.1.2 but I don’t have my carrier signal no more. I do have wlan but no mobile signal. I tried all solutions and nothing helps. I am still waiting on some answers at one forum where gaetanospqr’s written post on modmyi

  53. Adam February 22, 2010 Reply

    Is there a way to use other peoples shsh and use it as yours. or somehow generate shsh. Couse I didn’t make that trough cydia and now I am stuck. Shsh are only numbers it should be able to generate that.

  54. Vanessa February 22, 2010 Reply

    How do i save my SHSH file??

  55. Memnock February 22, 2010 Reply

    Apple stopped signing 3.1.2 firmware when it released 3.1.3 firmware over 2 weeks ago. So if you didn’t save your SHSH file before then you are out of luck for now as far as downgrading.

  56. Vanessa February 22, 2010 Reply


    I recently just bought an iPhone 3GS, it’s 3.1.3, I tried using this method but it doesnt seem to work.

    thanks in advance.

  57. Unastacco February 22, 2010 Reply

    hi, i tried to open C:WindowsSystem32driversetc using my vista. none of files are in there. pls help

  58. pargit February 22, 2010 Reply

    i have iphone 3G[s] with 3.1.2 firmware (week 51 – out of luck)
    when i bought the phone i was blackra1ning it and in cydia i “made my life easier”…
    the device was pending TSS for 2 weeks, and now it say that “this device have SHSHs on file for iphone os: 3.1.3”.
    how come it was shsh’ing for 3.1.3 and not for 3.1.2? will i be able to restore original 3.1.2 firmware if needed?

    thank for the help.


  59. Memnock February 22, 2010 Reply

    For Guillermo I have an old bootrom 3Gs.

    For anyone for can downgrade, but have no carrier and have issues with Irecovery Quickpwn22 is an easier solution. This is from gaetanospqr’s post on modmyi:

    “first download quickpwn22 and unzip to a folder or desktop. I’ll tell you when to use this, this will get you out of recovery and give you your officalcarrier.

    Down grade to a downloaded custom 3.1.2 ipsw, open itunes plug your phone in and put your phone in dfu mode not recovery mode, hold sleep and home 10 seconds let go sleep and contiue to hold home 10 seconds till a pop up on itunes tells you you’re in recovery mode and need to restore in order to continue,

    hold shift and click restore same time navigate to custom 3.1.2 ipsw file and restore when it’s done you will get an error 1015 or 1014, that’s ok that means you’re backed up on cydia and it’s communicating, the you will be inrecovery mode where you will see disk and connection cord on screen, just click shift and restore and insert custom ipsw file again hit restore.

    same error message 1015 will appear, now start quickpwn 22 while your still jacked in on itunes, it will give you a message that says hold sleep and home for 15sec then let go of home and continue to hold sleep for 2 seconds, this will get you out of recovery and your officialcarrier back, next run latest rc3 blackra1n jb, and it’s done~! downgraded to 3.1.2 with firmware 5.12.01 and official carrier with jb”

    This is what I did to downgrade my 3GS and get my carrier signal back.

  60. Nickolai February 21, 2010 Reply

    I can only recommend based on my own experience that if I were you, I would restore it to 3.1.2 again. My phone went into the recovery loop at that point. I used irecovery to escape the loop, and made sure that the phone was activated after irecovery did its thing. Then I jailbroke using balckra1n, and THEN restored my backup onto the phone when I knew the coast was clear. Good luck to you! I’ll keep checking back here.

  61. Frank February 20, 2010 Reply

    Nickolai? I dont think i used irecovery =( now what do i do?

  62. Frank February 20, 2010 Reply

    It work like a charm giving me my blackra1n back and downgrading the firmware to 3.1.2 but i lost my at&t carrier and cant make calls or set up for cydia do to no connection WTH help me

  63. Nickolai February 20, 2010 Reply

    Two very important items I learned that led to me successfully downgrading and then jailbreaking:
    1) make sure the amended text file does NOT have the extension .txt after you edit it with notepad in windows. You can ping gs.apple.com in the cmd prompt to be sure you’ve done it right. 2) after downgrading the firmware, download and use irecovery to take your phone out of the recovery loop and make sure the network is activated BEFORE you restore your backup and most importantly, BEFORE jailbreaking. This way you can retain the network. Used blackrain to jailbreak my iPhone 3gs (old bootrom) after downgrading from 3.1.3.

  64. Guillermo Gutierrez February 20, 2010 Reply

    Memnok and Vanderson,

    do you have the 3GS with new bootrom? if so, did you have to preactivate (hacktivate?) the firmware to get the iphone to work?

    I ask because last time that I downgraded I ended up with no cellular service until I upgraded. Also are you still on the 5.12.01 baseband or did it downgrade that as well?

  65. Memnock February 19, 2010 Reply

    Happy days!!!

    I finally downgraded my 3GS, with cellular service. Turns out I did have the wrong IPSW file. Also I had to run Redsnow 0.9.2 with no features (no cydia, etc) after got the error 1054. I was downgraded without cellular service. I repeated the whole process and I was downgraded with service. I ran blackra1n and I’m back to having fully working jailbroken 3GS.

  66. vodanhz February 18, 2010 Reply

    wonder does iREB grab the SHSH from Saurik’s server?
    i want to check if my SHSH is stored on Saurik’s server.

  67. yoshi February 15, 2010 Reply

    hey vinay i have a 3.1.2 iPT 3g i cant restore do i have to do the SHSH through the cydia server for that?

  68. wurmboy February 15, 2010 Reply

    These “downgrade” guides migt work great for the touch but not for the iPhone, once you go back to 3.1.2, you can’t get your carrier update from the Apple server, and the new version of iTunes doesn’t let you force it. Totally useless.

  69. Ravenswood February 14, 2010 Reply

    Hi i followed the instructions for both mac and pc and no luck what am i doing wrong? Please help.

  70. vanderson February 13, 2010 Reply

    I have a 3gs on At&t that was jailbroken with blackra1n. Ignorantly, I upgraded to the stock 3.1.3 and the baseband 5.12.01 and lost my jailbreak. After repeated attempts I had some degree of success but probably made it more complicated than necessary. However I do now have a jailbroken 3gs with network thanks to all of you.
    I entered cydia’s ip in the hosts file and put the phone into dfu mode and did the restore to 3.1.2 twice (downloaded the firmware with firefox). The phone wouldn’t come out of restore mode until I ran blackra1n. Now it booted but no network. I cooked up a custom 3.1.3 firmware with pwnage 3.1.5, removed the cydia server from the host file and restored to the custom 3.1.3. Worked great, I had cydia and network so I thought I was good. But then I installed winterboard and had to reboot and it got stuck on the pineapple. Being 3.1.3 blackra1n wouldn’t see it either. So I cooked a custom 3.1.2 firmware now with pwage, put the cydia server back in the hosts file, put the phone into restore mode (not DFU – it didn’t seem to want to go in but I didn’t try to hard) with Steve Jobs speaking cyrillic. Restored to the custom 3.1.2 (one time), now I had network and cydia on 3.1.2. Then I removed the cydia server from the hosts file. It looks like I have to be tethered to boot and maybe run blackra1n (maybe I could have just waited longer), but that’s better than nothing.

    In retrospect I could have maybe used a stock 3.1.2 for the second downgrade and just run blackra1n, or just found a reboot tool while on the custom 3.1.3 but the posts for those looked old and I didn’t know if they would apply. Maybe even just removing the cydia server from the hosts file after the first downgrade to 3.1.2 would have let iTunes activate it. But I think I’ll leave it where it is for now..

  71. Memnock February 13, 2010 Reply

    I’m getting “This device isn’t eligible for requested build” too. I copied “ gs.apple.com” to the bottom line. I’m pretty sure I have the right ipsw file and my shsh is on Cydia. I have a 3GS with the old bootrom.

  72. Jen February 12, 2010 Reply

    Hi, I followed your advice, copy and pasted the IP add ( gs.apple.com) onto the last line without the ‘#’ but I still receive the error message (The iPhone could not be restore. This device isn’t eligible for requested build). I’m currently using iPhone 3gs. Help!!!

  73. Derek February 12, 2010 Reply

    Hello, Everyone who is having a error message saying they are not eligible for firmware change (or whatever it is)…. This error means that the IP address ( gs.apple.com) was not entered in corretly. To fix this just copy and paste the address into the line just below your last local address entery.

  74. can047 February 12, 2010 Reply

    please can someone tell how to we can fix the problem with itunes says: This device isn’t eligible for requested build. A lot of people has this problem and yet there’s no answer from anybody? someone must have solved this problem?? so please tell us all

  75. g13marcos February 11, 2010 Reply

    hi . .
    I ve downgraded my iphone back to 3.1.2 i can’t get any carrier to get any signal. My iphone was jailbroken and unlocked (was locked with o2) and i can either rstore it back to 3.1.3 and have a normal working iphone with no jailbreak or downgrade it to 3.1.2 and have a jailbroken iphone that wont be able to make any calls. Since the upgrade my modem firmware is now 05.12.01. Any ideas?

  76. Zafar February 11, 2010 Reply

    i fond it thanks a lot

  77. Zafar February 11, 2010 Reply

    Vinay ! i need to restore 3.1.2 because its stuck on the bootlogo due to some mobile substrate addon 🙁 ..i cant find that hosts file…i m on windows 7

  78. Cyndrlla February 11, 2010 Reply

    I got my iPhone 3GS downgraded to 3.1.2 with the baseband of 5.12.01 and after restore cydia is there again but it will not open. What happened???

  79. robg February 10, 2010 Reply

    Mukuro if u have over and over 1600 like me, u must install itunes 9.0.2. i fight with 9.0.3 may hours with 1600 and only solution was itunes 9.0.2 and works like charm

  80. mrywin February 10, 2010 Reply

    Ok, Got the restore and everything to work, saw a few guys on here have already asked this question, but no answers.

    So? Does anyone know? Why are we not seeing our network much less able to use it?

  81. timurzilla February 9, 2010 Reply

    Downgrade iPhone 3GS OS 3.1.3 to 3.1.2
    I receive an error message like :
    (The iPhone could not br restore. This device isn’t eligible for requested build.)
    Please, help!

  82. Mukuro February 9, 2010 Reply

    I have a ligit SIM and iTunes does not recognize it to activate it, just gives me 1015 error repeatedly. And I do have SHSH saved for my last two firmware updates. My iPhone just turn into a iTouch lol

  83. callodacity February 9, 2010 Reply

    Thanks for the tutorial but.

    (iPhone 3Gs 3.1.3 new bootrom, 05.12.11)

    I keep getting 160x errors, even if i follow the tutorial over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and over and oven again


  84. Jeff February 9, 2010 Reply

    Worked like a charm after reading Frankyboy’s post!
    I have an iPhone 3gs week 39 model.
    Thanks to everyone involved with this website and Geohot!!

  85. Will Yum February 8, 2010 Reply

    So the etc file is located in the /private folder for those who are lost on MAC go to the to of the screen where it says go click it then scroll down to where it says open folder type /private from there you see the etc file open info (hold i and apple while clicking on etc file) on that file change permissions to read write and the rest is written great tut thanks

  86. k3vin168 February 8, 2010 Reply

    Super genius , finally i can restore back 3.1.2 with this tutorial . my phone jailbreak again Kool
    thanks so alot

  87. Jon February 8, 2010 Reply

    Please update this article to tell everyone that they MUST remove the # from the added line in the host file in order for the gs.apple.com redirect to be successful.

  88. Masoud Afridi February 7, 2010 Reply

    Downgrade iPhone 3GS OS 3.1.3 to 3.1.2 I receive an error message like (The iPhone could not br restore. This device isn’t eligiblefor requested build.) I need Help

  89. mariskeen February 7, 2010 Reply

    hey, where can i find the /etc folder?

    i had to restore after my phone just got stuck at the recovery mode screen after trying to install the htc clock from cydia. i really want to be jailbroken again, so anyone that can help please let me know.

  90. piseth February 7, 2010 Reply

    If we use file’s of another person who signed there file at ” SHSH to

    Cydia Server ” Does it ganna work????

  91. Calvin February 7, 2010 Reply

    It says same error stating that my device is not eligible to upgrade to that build. I have edited the hosts file to disable the version check. They have disabled that server address so it won’t go back to 3.12 at all.

    To the above poster, holding down “shift” or “alt” does the same thing.

  92. Adam February 7, 2010 Reply

    For those non-MAC user, you will press ‘SHIFT’ then at the same time click restore. =)
    And anyway for saurik’s method, is it a need to copy every single word seen in the screenshot for the restore to work?

  93. Andy February 7, 2010 Reply

    XJ your onto something option key like where the f is it… ahhh arr

    some guys are so smart and well versed that they can’t relate to us newbies anymore. We need to be taught the language before we can read it..and understand… or use phonix ,,,, confussing anyone yet…

    its like this write your instructions on how to do something like we have absolutely no idea what a jailbreak is what an os 3.13 is what cydia installous hacklous fricking steps we need to make it all work out…apple sneaked in an update to 3.13 on me as I clicked okay now I can’t follow the steps
    wheres my option key, where is restore, do I use number in front of gs.apple.com line,,,,

    More importantly my question now is how do I find out if I saved my shsh frinkin number whatever it means with cydia….?? because I now gather that if I didn’t I can no longer jailbreak my Iphone 3gs 32gb.

    no wonder thieves carry guns I’m so frustrated I’d probably shooot the apple guys for locking me out of having my tresspassing fun,.

  94. X.J February 7, 2010 Reply

    hey, the “option key” is only for apple keyboard.
    what about normal keyboard? like acer laptop?

    I don’t really get this.
    since I can’t even find the “option key”

    Step 2: Once your iPhone is in DFU mode following message will be appeared in iTunes. Click on “OK” , Now hold Option key while clicking Restore in iTunes and browse the OS 3.0 firmware for your iPhone 3GS. Now the restore process will take 10 – 15 minutes.

    THANKS 🙂

  95. cuseguy February 6, 2010 Reply

    Worked flawlessly! My phone picked a rotten time to freeze up(with 3.1.2. no longer authorized) and you saved my butt from having to use 3.1.3. Great tutorial, thanks so much!

  96. PURESKILLZZZ February 6, 2010 Reply

    Working like a charm . Only question is I remebr a while ago when unlocking was actually an art there was a way to fool itunes that all requests to server were accepted . Any such work around at present ?

  97. w February 6, 2010 Reply


    “just to save some time to some readers

    on the screen shot windows host file on the last line you see
    # gs.apple.com

    you need to remove the “#” as otherwise it’s uncommented.”

    WORKED LIKE A CHARM. before i got the ‘right build’ error so many times.. followed your advice and it worked. if your iphone shows error 1015 and a ‘plug into itunes’ screen after installing firmware 3.1.2, it’s alright, just download blackra1n and jb it while your iphone has the ‘plug into itunes’ screen. it will boot fine.

    i have the new 3gs with new bootrom

  98. knightysmith February 6, 2010 Reply

    this works. genius stuff. great save.

  99. simmc February 6, 2010 Reply

    confirmed with 3gs, MC model, 05.12.01 modem

  100. frankyboy February 6, 2010 Reply

    just to save some time to some readers

    on the screen shot windows host file on the last line you see
    # gs.apple.com

    you need to remove the “#” as otherwise it’s uncommented.

    it’s working like a charm! big thanks to saurik; apple should go to …

  101. Arthur Magno February 6, 2010 Reply

    Thank you God!
    This worked like a charm!


  102. kna2709 February 6, 2010 Reply

    So, one question. I have tried to restore my 3Gs to 3.1.2 following the steps above, but it doesn’t work. I keep getting the same error stating that my device is not eligible to upgrade to that build. I’m sure that I got my SHSHs saved on cydia sever.
    Any ideas for this?
    For the host file is it gs.apple.com
    or gs.apple.com as seen in the sreenshot?

  103. sjosen February 5, 2010 Reply

    Awesome!!! Worked like a charm. Thx.

  104. Danny Yi February 5, 2010 Reply

    Confirm working.

  105. popeye February 5, 2010 Reply

    on Mac and sportlight, can;t seem to find a /etc folder for hosts file?..
    where is the folder?

  106. Guillermo February 5, 2010 Reply

    is anyone else running into the issue of the iphone not activating once it is downgraded? My iphone basically turned into an iPod touch now.

  107. jamain February 5, 2010 Reply

    Hey Guys!

    I had the firmware 3.1.2 and I wanted to restore this firmware. So I followed this instruction. I used blackra1n at the end to jailbreak. The firmware 3.1.2 is successfully restored, but now I have no network! (By the way, I don’t need the unlock.)

    Besides I get an iTunes-Error. Something like: iTunes can’t read the iPhone’s content.

    So what shall i do??? Need help!!! Please!!!

  108. DC February 5, 2010 Reply

    Thanks Saurik.. Restored and Jailbroken again. Guess I’ll be sticking with 3.1.2 for quite awhile.

  109. Maselko February 5, 2010 Reply

    Works for me
    You are big help!

  110. Guillermo February 5, 2010 Reply

    ok, I got it to work, but only after I downgraded my itunes to 9.0.2.
    The problem that I have now is that my iphone wont pickup the ATT network. Has anyone else had this problem?

  111. Goof February 5, 2010 Reply

    worked for me…ALLTHOUGH I DONT KNOW WHAT SHSH MEENS AND ALLTHOUGH I DONT HAVE ANY BACKUP ON ANY SAURUSSERVER….that irritated me, but anyway: i tried to change the hosts file and finally i could jailbrake with blackra1n, install cydia, rock and sn0w and my world is filled with sunshine now…yeaah…THX SO MUCH

  112. Irielion February 4, 2010 Reply

    I’m in a similar situation as Guillermo but unlike him I never upgraded to 3.1.3. Just wanted to restore because I got stuck in the Apple logo boot loop for no reason. Followed the instructions above exactly and tried everything else I could. But no success. One strange thing I noticed however was that I was able to retrieve the SHSH from Cydia with Firmware Umbrella so it is definitely there. But iTunes still points out that my device isn’t eligible.

    I’m out of ideas…

  113. aixporter February 4, 2010 Reply

    AWESOME! I knew Cydia would save the day =)

  114. vidski23 February 4, 2010 Reply

    my status “this device has a pending TSS request”

    What should I do????

  115. Trent February 4, 2010 Reply

    are u saying shsh had to be done before the release of 3.1.3? kind of confused, my phone is still on 3.1.2 and the 05 11 07 is the same but yet my blacksnow isnt working – and sometimes will kill all wireless signals and stuff….

  116. RDP February 4, 2010 Reply

    Tried about 10 times now. It keeps on telling me I don’t have the right build when it goes to verify. I am on XP and have modified my hosts file, I have also backed up my 3.1.2 on Cydia (Glad I did, was not sure what I was doing it for, but now I know). But now I seem to be stuck.

    Any thoughts?

  117. Dylan February 4, 2010 Reply

    Hi i am having problems it seems that it isn’t working for me. i don’t really know if i am entering it wrong or what but i keep the same message (iphone cannot be restored because it dosnt have requested build or something along those lines). any thought?

  118. Mike February 4, 2010 Reply

    tried this….didnt work….i know i saved my keys with cydia…keeps poppin error 160x….only reason i have 3.1.3 is cuz yesterday my stupid 3gs crashed for no freakin reason and tried everything to NOT restore with stupid itunes but it wouldnt work…..screw apple….

  119. Mark February 4, 2010 Reply

    I have everything setup correctly with the host file but when I’m trying to restore my 3GS from 3.1.3 to 3.1.2 in DFU mode it gives me an error saying that iTunes can’t restore my 3.1.2 file because it can’t connect to the server. any ideas? Thanks.

  120. Ali February 4, 2010 Reply

    hi guys, i’ve tried this method on Mac OS X 10.6.2 on my 3GS running 3.1.2. apparently i got the spinning wheel of death at work today, and iTunes wouldn’t let me restore to 3.1.2, forcing me to upgrade. i havent upgraded yet, but i added the gs.apple.com thing and it still wont restore. i have SHSH’s on file for both iPhone OS 3.1 and 3.1.2, but i dont know why it wont restore still. can someone lead me the right way? thanks.

  121. Guillermo February 4, 2010 Reply

    I am trying to follow the guide but I am unable to downgrade to OS 3.1.2, I have modified my hosts file but iTunes still fails at veriying the OS with apple. My iPhone did say that SHSHs/ECID were on file with Cydia before I did the upgrade. I am using the latest version of iTunes, should I revert to 9.0.2?

    I dont know what else to try.

  122. M0n18 February 4, 2010 Reply

    i have a ligit o2 sim and itunes does not recognize it to activate it, just gives me 1015 error repeatedly. and i do have SHSH saved for my last two firmware updates. still any solution or work around, really appreaciate it.

  123. BTC97 February 4, 2010 Reply


    Could u please confirm this: I have a new 3GS jailbroken with blackr1n, tethered unlocked with sn0w. now, if i happen to turn my phone off, or if the battery runs out, i can still power it on by running blackra1n again, right? or with the new OS out, this is not possible anymore? I’m terrified of the though of having to turn my phone off or it runnning our of battery to find out later that I’ll be stuck with a non working phone.

  124. lovetoby February 4, 2010 Reply

    cause cydia tells me “this device has a pending tss request” and so im afraid of restoring or doing even a restart, cause of my device being possibly no longer usable…

  125. lovetoby February 4, 2010 Reply

    dont know why but runnig blackran1 again brought me back to life… my phone bootet normally, dont know what i accectly installed that cause this toruble but who can i save my shsh?

  126. lovetoby February 4, 2010 Reply

    hi, just got my new iphone today… software is 3.1.2.. an i jailbreaked and unlocked it, after this i installed someting from cydia restarted an my iphone stayed athe the recovery mode… so i decided to restore and now i realised after reading that there is no recoverypossibiltiy… but i wasnt able to get the shsh out of my ecid because apple did not give me shsh because their servers only accept 3.1.3 sooo wtf what can i do now?
    do i realize accectly that ive got a big problm now ?!? 🙁
    i wasnt able to get a shsh cause of apple did shut it down some days ago…
    anyone out there who knows a possibility to restore without verification?
    ive got a 3gs

  127. Guillermo February 4, 2010 Reply

    I have tried using these instructions but I keep getting the same error stating that my device is not eligible to upgrade to that build.
    I have verified that I have the SHSHs on file at Cydia.

    What could I be doing wrong?

  128. Ryan February 3, 2010 Reply

    If im on o2 uk will the baseband still affect me?
    Will it mean i have no service?
    because i dont need to unlock my iPhone because its on o2
    I just want to jailbreak and use cydia

  129. M0n18 February 3, 2010 Reply

    Hi i tried exactly this, and it does restore to 3.1.2 and then i can jailbreak as well with blackra1n but i do not get any network, the new modem firmware is updated but after downgrading it goes back to to the pld one anddoes not respond, any suggetions or help on how to go about sorting this out..


    • Vinay February 3, 2010 Reply

      @Edy if you didn’t saved your cydia SHSH earlier then you are out of luck.

      @M0n18 your baseband is updated so you can’t unlock your anymore, wait for new fixes.

  130. edy February 3, 2010 Reply

    how to do it if i didn’t save my SHSH to cydia server??

Leave your comment here