Home > iPhone > iPhone 3G Error 3194 when Restoring with iTunes…

iPhone 3G Error 3194 when Restoring with iTunes…

Apple just updated its Firmware version into iOS 4.0.1 that has cosmetic signal bar changes that will make your signal more accurate, they said, and with the first and second bar higher than before so it can be seen clearly.

Sadly enough, for you guys who wanted to erase or restore your iPhone 3G into iOS 4 using iTunes 9.2 will be out of luck, since Apple is no longer signing the version 4.0 anymore. Instead if you insist on restoring your iPhone 3G into iOS 4.0 instead of 4.0.1, you’ll have error 3194 on iTunes saying that your Device is not eligible for this build, bla.. bla..

This is unfortunate, you can not upgrade your iPhone 3G officially, but.

You can still restore it unofficially.
Basically when iTunes showing “Verifying with Apple bla…”, that means iTunes is checking for signature from Apple’s signature server. And guess what, Apple no longer sign your iOS 4.0 firmware which makes your device is not elligible for restore, unless you update with iOS 4.0.1, this is one way for apple to force its customer to upgrade into the latest firmware, so all hacks will be elliminated if one is provided in Apple’s latest firmware version.

Now, we can bypass this signature checking when iTunes contacting Apple by changing the server from Apple’s Signature Server into Cydia’s clone of Apple Server.

It’s easy (for Windows):
1. Fired up your cmd.exe, and make sure you have administrator privileges.
3. Type this: edit hosts
4. Add this to the last line: gs.apple.com
5. [UPDATE]: Save the file (People asked me to add this, it’s a common knowledge tho when you change a file you must save it)
6. Restart your iTunes.
7. Put your iPhone 3G in recovery mode, by turn off the device first and pull the plug from your PC. Then press Home Button and connect your iPhone into your PC, then wait until the Recovery Icon shows up (iTunes icon with cable above it).
8. Now, restore your iPhone with your firmware iOS 4.0 (in windows using Shift + Restore, in mac using Options + Restore)
9. Voila, it will be restored succesfully, it’s fully working on my iPhone 3G.

You should notice the number 4 step is the bypass server, by pointing Apple Authentication domain into Cydia’s Server IP Address, this is trivial in unix, and thankfully, we can do this in Windows.

On Mac, it’s the same, except for the cmd.exe and the cd thing should be into /etc/hosts…

Enjoy your Jailbreak Restore…

The use of Cydia server doesn’t need you to download any software, but if you still having error using Cydia server, you can download TinyUmbrella from thefirmwareumbrella.blogspot.com

You can then start its TSS server and replace the step number 4 with : gs.apple.com

And still on the very same hosts file. Some people called it stupid, but this is simple way to bypass the iTunes from connecting to the real Apple Server, if you have better way to do this, just tell me…

Categories: iPhone
  1. James
    July 19, 2010 at 4:41 pm

    Worked perfectly, thanks!

  2. rana
    July 20, 2010 at 2:24 pm

    thanks a bunch!

  3. kazakoff
    July 20, 2010 at 9:26 pm

    Great thanks!!!

    • tito
      May 29, 2011 at 7:51 pm

      step 3 i type edit hosts and get “edit” is not recognized as an internal or external command oprable program or batch file can you help???

  4. azacode
    July 21, 2010 at 1:28 am

    OK, nice if it’s working on your iPhone too…

  5. Murda
    July 21, 2010 at 6:12 am

    thanks bro use smart ass fukk

  6. Murda
    July 21, 2010 at 6:17 am

    o yea and its working on my iphone 3g im restoring right now thanks to u

    • azacode
      July 21, 2010 at 6:18 am


  7. jatin goyal
    July 22, 2010 at 5:09 pm

    thanx a lot, it is working perfectly.

  8. mark
    July 23, 2010 at 11:30 am

    please help, how do i enter gs.apple.com into the file i keep on getting the response -read only file- please please help

    • azacode
      July 23, 2010 at 7:00 pm

      The easy way is for you to create a shortcut on your Desktop by right click on the Desktop, then choose New -> Shortcut, then fill cmd.exe.
      Now after the shortcut created, right click it, and choose, Run As Administrator, this way you can edit system files with no problem. The rest is just like my post.

      Hope this will help, if otherwise, I can help you, just put a comment and I will reply, or if you want fast reply just send it to my email, syuaibi [at] yahoo [dot] com.

  9. Angel
    August 2, 2010 at 5:56 am

    This really works you a life saver man thanks god i found this website

    • azacode
      August 3, 2010 at 2:10 am

      Cool if it’s working…

  10. mcmac
    August 13, 2010 at 10:48 pm

    thx, it’s working perfectly ๐Ÿ™‚

  11. Ankit
    August 19, 2010 at 4:07 am

    It is not working for me i tried to restore on os 4 but it gives 3194 error.
    now i have downgrade my iphone 3g to 3.1.2.
    help me to restore in os 4

    • azacode
      August 20, 2010 at 2:02 am

      You’re not following right, refollow the steps, if you still have problems, ask me again.

  12. Darren
    August 20, 2010 at 12:07 am

    Worked!!!! thanks for your help!!!

    • azacode
      August 20, 2010 at 2:03 am

      You’re welcome

  13. virk
    August 20, 2010 at 6:59 am

    thanks aton my friend .

    • azacode
      August 20, 2010 at 7:04 am

      Anytime, hope it works for you, my friend from India.

  14. Josh
    August 21, 2010 at 3:31 am

    Thanks a lot great help! KUDOS!

  15. Andre
    August 21, 2010 at 4:40 am

    Thank you very much, I was about to give up and then I saw your guide.
    I went to the the directory \WINDOWS\SYSTEM32\DRIVERS\ETC and manually added the line on notepad instead of using cmd. Everything worked great. Will this also work with ios 4.0.1 now that itโ€™s also not signed?

    • spaceorizer
      August 27, 2010 at 2:56 am

      andre, i used notepad. works nicely. i had to run it from an administrator prompt though. as for 4.0.1, it works! i’m currently restoring official 4.0.1 firmware to a 3.1.3 3GS.

      • vamshi
        December 31, 2011 at 3:08 am

        Do we need to create a custom firmware for restore !!

  16. Dezzy
    August 23, 2010 at 11:28 pm

    Thanks a million, you have really helped me, i was beginning to panic incase my iphone wouldnt come out of recovery mode, but i restored it with your steps you provided, life saver!

    Many Thanks


    • azacode
      August 24, 2010 at 4:24 am


  17. August 26, 2010 at 2:22 am

    mine is code 3194

    and i cannnot edit the CD \WINDOWS\SYSTEM32\DRIVERS\ETC\hosts

    it notes cannot create the C:\WINDOWS\SYSTEM32\DRIVERS\ETC\hosts file.
    “make sure that the path and file name are correct

    help please!!!!!

    • azacode
      August 26, 2010 at 4:39 am

      Your problems was already answered in previous comments, please find the answer in the previous comment reply.

  18. Some Random
    August 31, 2010 at 12:34 pm


    All the other sites have linked me to BS regarding this error. This has been the only truly helpful article regarding restoring using Cydia’s SHSH blobs.

    Thanks again.

    • azacode
      August 31, 2010 at 12:36 pm


  19. danielos
    September 9, 2010 at 7:10 pm

    i cannot edit hosts file because is read-only ๐Ÿ˜ฆ what can i do ?

  20. Jocรณka OG
    September 12, 2010 at 1:09 pm

    Thx It perfect for me!

  21. Bassel
    September 12, 2010 at 4:01 pm

    I did the steps u said from cmd ..run as adminstrator etc , got unable to recognize EDIT command , then i did it using :notpad hosts and added gs.apple.com
    to be the last line in my hosts
    i still get the the error mesage when itunes trys to contact apple server ,
    if i write gs.apple.com on my browser i still get http://www.apple.com/404 ,not the same index that i get if i put
    i got now 3.1.2 i am trying to update to os 4 or 4.0.2

  22. Gladys
    September 16, 2010 at 2:29 am

    Thanks a million! I had upgraded to 4.1 and did it before I realized there is no jailbreak yet. I wanted to downgrade to 4.0 and this was the perfect fix!!!!

  23. iliendo
    September 16, 2010 at 4:57 pm

    THANK YOU SO MUCH!!! LOVE YOU (no homo)

  24. September 16, 2010 at 6:38 pm

    I have been trying to downgrade from 4.1 and NOTHING worked but this did. Thanks so much.

  25. Ian
    September 18, 2010 at 4:54 pm

    Hi just a few questions…does it work for IPhone 3GS version 4.0.2?

    Also, after ‘4. Add this to the last line: gs.apple.com –> do you need to save or close the box?”

    Help is much much appreciated!

    • azacode
      September 20, 2010 at 1:12 am

      It works for 4.0.2 as long as you have Cydia stores your shsh,just visit cydia to save your shsh

    • azacode
      September 20, 2010 at 1:14 am

      You must save any changes you made to the hosts files,if you can’t save it make sure you have administrator privileges

  26. luis
    September 19, 2010 at 9:31 pm

    i have no idea where to type what,do you have any visuals?

    • azacode
      September 20, 2010 at 1:16 am

      Sorry I am very busy at the moment can’t have visuals for you. Most people do it by the steps I mentioned and it works. Reread the steps

  27. nadz
    September 20, 2010 at 1:51 am

    This is incomplete. Do you have to press enter after the CD \WINDOWS\SYSTEM32\DRIVERS\ETC ? Do you press another enter after you type “edit hosts”? Because when I do that I enter into a blue screen and then I type the 74…gs.apple.com line at the end and it does nothing when i press enter – so what is there to do after that?? Do you have to SAVE it? Because it’s not in your procedure. I don’t know what all these guys KNOW that ordinary people like I dont. If I type-type-add like what you say here though without pressing “Enter” or do nothing else but
    TYPE; and
    it says “not found…” of course. Please complete the procedure for me including the basics…thanks

  28. nadz
    September 20, 2010 at 1:58 am

    After I save the 74…gs.apple.com server and try to restore, itunes says “The iphone cannot be restored at this time because the iphone software update server could not be contacted or is temporarily unavailable”

  29. Sam
    September 20, 2010 at 2:55 pm

    I added the code at the bottom but still can’t restore to 4.0.2 or earlier from 4.1. I have a 3G and my SHSH’s are on file with Cydia last time I checked my JB before updating. I saved the host file. Is there anything I could be doing wrong?

    • azacode
      September 21, 2010 at 2:18 am

      Reopen the hosts file on its directory see if everything is there. And try to restart your iTunes,if that still not working try to ping the ip address that you type in hosts file if it ok you’ll have some data transferred to cydia server,if not then you might have problem with your connection,check your network and firewall,then restart your computer and try again. It should be working,if its working on the other why woudnt it work in your computer,then it must be something wrong with your settings.

  30. Caio Cabral
    September 21, 2010 at 12:09 am

    Thank u very much. I spend all day trying to solve this problem. And now, works to install ios 4.02.

    Next step, jailbreak with reds0w.

  31. Rasmus
    September 21, 2010 at 7:48 am

    Aaah, can’t get this to work..

    Edited the hostfile succesfully. I can ping, without any problem.
    I’m trying to downgrade a Ipod touch 2G (Non-mc) from 4.1 to 3.1.3.
    Itunes just throw a 3194 error :/

    I have downloaded the 3.1.3 file from here: http://www.felixbruns.de/iPod/firmware/
    (named: iPod2,1_3.1.3_7E18_Restore)

    What to do?

  32. McGee
    September 21, 2010 at 8:46 pm

    This doesn’t solve anything I’m still getting the same error…

  33. dal
    September 25, 2010 at 10:22 am

    does it work for itouch 3g?

    • azacode
      September 26, 2010 at 1:04 am

      I don’t know my friend, never tried it for iPod touch, I only has iPhone 3G, and tested it with that phone. Just give it a try, if you fail, let us know.


  34. pedja
    September 26, 2010 at 12:14 am

    sorry my dear friend, idea with change host file is stupid now.
    You cant downgrade urs iphones, only if u have ssh files ๐Ÿ˜ฆ
    Apple stop SIGN old sw 4.0.1 and to 4.0.2


    • azacode
      September 26, 2010 at 1:09 am

      Sorry too my friend, please read carefully my post, and check the date of my post, before making comments.

      I did mention that this is for SHSH that stored by Cydia. local SSH files is for when you use TinyUmbrella.
      If you want to use local SHSH file, just use TinyUmbrella. It’s not a stupid idea, since even saurik using it. It’s a simple bypass method. It’s not a high tech method. So feel free for use or not using it by all means.

      And by the way this is only safe keeping for my iPhone 3G.

  35. brad
    September 28, 2010 at 5:46 am

    I could not get this to work either on a 2G Touch…until I changed the last line in the edit hosts to: gs.apple.com
    Then it worked like a charm!!!

  36. slyeo
    September 28, 2010 at 6:12 pm

    tq very much!! u solved my problem. (error 3194)

  37. slyeo
    September 28, 2010 at 6:14 pm

    just to remind..
    after this
    4. Add this to the last line: gs.apple.com –> save


  38. Riken
    October 1, 2010 at 5:51 pm

    Thank you so much!!

    • jsnjordon
      October 2, 2010 at 1:47 pm

      can you help me please

  39. jsnjordon
    October 2, 2010 at 1:36 pm

    what do we have to do with the notepad? im running it as cmd? im super confused i cant even type edit hosts

    • azacode
      October 2, 2010 at 3:49 pm

      You can use notepad, like this:

      Start Menu, then Find for Accesories, right click Notepad, choose Run As Administrator

      then in Notepad, File->Open, in the file name type the path:

      In the file type next to it, change it from Text Documents, with All Files (*.*), then open file: hosts

      Then follow my steps again number 4, and don’t forget to save.

      Restart your iTunes, if it’s still not working, restart, if it’s still not working, use TinyUmbrella instead.

      I use my steps all the time until now, it always works like a charm.
      Sorry, my background is Unix, so I like cmd.exe better than Notepad.

      But, use notepad for your convinience.

      Hope this help..

  40. mechagodzilla
    October 6, 2010 at 11:30 am

    Might be worth stating explicitly for new viewers that this relies on cached SHSH blobs from your own unit.

    • azacode
      October 6, 2010 at 2:34 pm

      It was using Cydia’s server to store your iPhone SHSH blobs. I thought I made it clear on my post. Everytime you open Cydia, you must see that Cydia wrote your SHSH for every iOS version on the top. Just open Cydia, and your life will be easier.

  41. kqswde
    October 7, 2010 at 12:19 am

    wow thanks.. worked perfectly..

  42. Harm
    October 7, 2010 at 11:35 am

    TNX >>>>!!!!!!!

  43. Harm
    October 7, 2010 at 11:36 am

    No for real TNX ….you saved my day..

  44. Jenn
    October 9, 2010 at 4:31 pm

    Thanks so much. You are a rock star!

  45. kuldeep
    October 11, 2010 at 5:07 pm

    thanx yar

  46. Colton
    October 12, 2010 at 9:15 pm


  47. brandon
    October 12, 2010 at 11:06 pm

    Hey i just tried this, did everything correct, but still no jailbreak \:

    • azacode
      October 19, 2010 at 8:34 am

      It’s not for jailbreak It’s for restore your iPhone to lower or higher version of stock iOS firmware that Apple no longer signed.

      For jailbreak use greenpois0n, PwnageTool, Limer4in, or you can craft yourself a code to do the jailbreak

  48. October 18, 2010 at 3:12 am

    I’m a first time jailbreaker, got really confused about how to enter in the correct code commands in cdm or even notepad, to bypass apple signature for restoring Iphone 3G to iOS4.0, i’ve read & reread your instructions, still just confused how to execute them properly, thx in advance.

  49. October 19, 2010 at 7:41 am

    Soooo cool! So EZ! Thanks
    Marcus just type in the correct commands then add a new line at the end like the instructions say. It worked for me once I saved it. Is it when you restore that you are having an issue? Make sure you have saved the ipsw file. Here is where I downloaded the file
    click on the file then hit ‘save as’ and change the zip to ‘ipsw’. Then when you are in itunes and click on shift and restore you will just need to find that file -click on it and wallah! you should be good to go. Good luck!

  50. James
    October 23, 2010 at 3:00 am

    doesnt work. tried it many many times still get the error

    • azacode
      October 23, 2010 at 3:35 am

      Try TinyUmbrella then

  51. chrisG
    October 23, 2010 at 9:52 pm

    my brudah, this post seems sincere due to the comments, so i think it is the answer to my problem as i am trying to restore my iphone 3g without a sim. and usinG IOS 4.O with redsnow win 08. i put ma phone on recovery but get stuck on da message ‘error 3194’ i followed ure steps and now im stuck on a new problem a message sayin the cmd.exe file is read only. ma brudah, what do i do?!

  52. Ted
    November 2, 2010 at 12:07 am

    AWSOM!!! ๐Ÿ˜‰

  53. Mike
    November 3, 2010 at 11:49 pm

    I am trying to save my hosts file but my CPU won’t allow that to happen. I am using Windows 7. PLEASE HELP!

    • azacode
      November 4, 2010 at 3:44 am

      Use TinyUmbrella if you don’t understand, the easiest way. Or you can try this on your Start menu, type cmd until cmd.exe shows up on the program search menu above it, then right click it then choose Run As Administrator, then the steps of editing hosts file then save.

  54. Bill
    November 7, 2010 at 8:47 am

    Thanks alot man didn’t fell like updated when I already had the firmware

  55. James
    November 8, 2010 at 5:00 am

    so i tried to reset my jailbroken iphone (firmware 4.0.1) and when i did it, it reboots and goes to the apple logo and gets stuck there. umm dont know what to do really, i dont want to update it to 4.1 because they say its not jailbreakable. so im stuck here lost. i tried to restore it using a method of plugging it in to the itunes and restoring it with the shift thing but when i go to hosts n try to add gs.apple.com it says “Cannot Create the c:\WINDOWS\system32\drivers\etc\hosts file. Make sure the path and filename are correct.” also it says in itunes that error 3194…any suggestions?

    • azacode
      November 8, 2010 at 9:20 am

      Jailbreak it with 4.1 using PwnageTool, it’s Jailbreakable, use PwnageTool, so you won’t loose your baseband, and remember, use PwnageTool’s or RedSn0w’s (in windows) DFU button to make your iPhone to DFU mode, so it can be restored using custom PwnageTool iOS 4.1 firmware, I did it, mine is iPhone 3G iOS 4.1 using PwnageTool with baseband intact 5.13.04. iOS 4.0.1 for iPhone is so slow compared with 4.1.

  56. James
    November 8, 2010 at 5:02 am

    also tried “ gs.apple.com” same results.

  57. Simon
    November 11, 2010 at 6:47 am

    Hey guys judging by the comments on here it looks like it’s going to work so ill try it out when my sis comes home. (my laptops broken, she only lets me use the guest account with no admin privilages) Just wondering will it work on an ipod touch 2g?


  58. Simon
    November 11, 2010 at 2:50 pm

    Oh my god, just tried it and you should earn a prize for this! Yes it works on ipod touch second gen, you are a genius! I could never thank you enough, because of you I now have one jailbreaked ipod. ๐Ÿ™‚

    Thanks again

    • azacode
      November 11, 2010 at 3:09 pm

      Glad, it help… Enjoy your jailbroken iPod

  59. Bharadwaj
    November 21, 2010 at 1:09 pm

    Works like a charm man… u saved my life! ๐Ÿ™‚

  60. SSA
    November 24, 2010 at 4:44 am

    Hi azacode, I have saved my SHSH blobs, and I have changed the hosts numerous times. I keep getting the 3914 error code and it’s absolutely irritating. I accidentally upgraded to 4.2 and need to downgrade to 4.0. WHAT DO I DO? Thanks for the help.

    • azacode
      November 26, 2010 at 4:36 pm

      Reread comment replies, I’ve answered this question before.

  61. Anil
    November 25, 2010 at 6:10 pm

    as i am using windows 7,as per ur guidance i had followed the steps to edit the hosts but occured the problem while saving the data. i am nt able to save the file
    pls help…. to solve the problem.

    • azacode
      November 26, 2010 at 4:37 pm

      Your question was answered on my previous comment replies, please read them..

  62. sk8tr9956
    November 26, 2010 at 3:11 am

    Thanks dude! feels good to basically say fuck you apple

    • azacode
      November 26, 2010 at 4:39 pm

      Cool, but, don’t try this with iPhone 4 on iOS 4.2.1, some people reported it was a recovery loop using cydia’s server and tiny umbrella.

      Yes, greedy Apple, and yet we use its products… irony..

  63. jaganmohan madire
    November 30, 2010 at 8:21 am

    Voow!!! that’s really coool, fantastic…
    it worked for me!!! I have been struggling to get my 3g to 4.0…
    thanks for all.

    • azacode
      December 6, 2010 at 3:03 am

      iOS 4.0 is sucks, upgrade to 4.1 instead, mine is 3G in 4.1

  64. Melissa Ines
    December 1, 2010 at 4:08 am

    Hello azacode,yesterday i tried to unlock my iphone and as you know, you have to have the ipad firmware and now i have the same error as everyone and i tried everything possible!
    Can you please help me out?
    thank you

    • azacode
      December 1, 2010 at 6:17 am

      What baseband version do you have right now? If you have Basebasend > 5.13.04, downgrading your iPhone won’t make your unlock works, unless you upgrade your baseband into 6 which is iPad baseband that has the same vulnerability like BB <=5.13.04.

      I'm not clear of you want to do? If you can give me more detail, I might be able to help…

  65. dirtye
    December 1, 2010 at 9:00 am

    Please help

    changed the hosts file, saved successfully.
    trying to upgrade to 4.0.2, still having the 3194 unknown error. Tried to download tiny umbrella tinyumbrella-4.21.01.exe cant run because of java. installed jave, still not able to set up tinyumbrella.

    Any ideas anyone? please. thanks

    • azacode
      December 6, 2010 at 3:02 am

      Do not upgrade to 4.0.2, that’s my suggestion, upgrade to 4.1, use PwnageTool and hit the DFU button to make your iPhone into exploit DFU mode, this so you can restore using iTunes, do not go into DFU yourself, use PwnageTool DFU or RedSn0w DFU.

      As for TinyUmbrella, right click the file then choose Open With, then Choose Java Web Start (if I’m not mistaken).

  66. Ata
    December 3, 2010 at 4:35 pm

    Hi azacode, I have done all the things that you have asked us to do. But when the iPhone reboots it again goes to restore mode. After that i have tried to restore it with redsn0w 0.95 but after whole of the process it goes again into recovery mode…please help!

    • azacode
      December 6, 2010 at 3:00 am

      What firmware you are updating to? if you have recovery loop, then use TinyUmbrella to kick out of recovery loop

  67. Simon
    December 5, 2010 at 6:47 pm

    Ok im back again. Last time it worked downgrading from 4.1 to 4.0 but now when i want to go from 4.0 to 3.1.3 it doesn’t seem to be working. It had already saved the diversion ip obviously so i tried downgrading straight away but no luck. Tried repeating the whole thing, still no luck and same error. I must be missing something new, it worked before. Thanks in advance

    • azacode
      December 6, 2010 at 2:58 am

      3.1.3 doesn’t need an SHSH…

      • Simon
        December 6, 2010 at 4:41 pm

        What exactly are you suggesting? I’m gonna try without the cydia bypass server, but I’ve read online that it won’t work that way either.

      • azacode
        December 8, 2010 at 5:07 am

        I downgraded to 3.1.3 so many times, I never need a SHSH for 3.1.3 because it doesn’t use soft blobs, 3.1.3 is already signed by Apple, no need for Signature Window from Apple. Just try to remove all of the changes you made into hosts, and don’t use Cydia or TinyUmbrella. If you already have a custom 3.1.3 using PwnageTool, then it’ll work by making your iPhone into DFU mode. I used custom 3.1.3 firmware baked using PwnageTool, and when restoring your iPhone into 3.1.3 using normal mode or restore mode not working, use DFU mode.

        DFU: Press Sleep + Home for 10 seconds, then after 10 seconds release the sleep button but keep pressing the home button for another 10 seconds, make sure your iPhone connected to your PC, so when your iPhone enter DFU mode, it will automatically detected by iTunes, after you have it on DFU mode, just restore using your 3.1.3 pwnagetool custom firmware.

        This works on me, many times…..

        Hope this help…

  68. Kevin
    December 6, 2010 at 3:11 am

    works! thank you soooooooooooo much.

  69. December 8, 2010 at 2:08 am


  70. iPhone 3GS
    December 14, 2010 at 11:39 am

    will this work for 3GS? My 3GS is in a similar condition!

    • azacode
      December 15, 2010 at 4:30 am

      It works on 3GS, this is about SHSH, and 3GS the Device that first has SHSH implemented.

  71. Marta Caprile
    December 15, 2010 at 7:48 am

    is this what im suppose to do if i tried to unlock it, i followed all the steps and after it rebooted the Cydia icon wasnt working so i decided to restore to see if it help but inside it doesn’t let me use the phone and now its stuck on the “connect to itunes” screen. Then i tried doing what you said but it wont let me save it, it says: cannot create file…please help me…:(

    • azacode
      December 15, 2010 at 8:43 am

      This post is not for unlock, this is for downgrade/upgrade to iOS firmware that Apple no longer signed, like 4.0, 4.01, 4.0.2.
      Your device is not activated, so the connect to iTunes appear. You can use the original sim card and activate with iTunes, if you don’t have any, then use Redsn0w (on Windows or Mac) to jailbreak and activate it. There are plenty tutorials out there that can help you to use Redsn0w, Google is your friend. Then if you want to unlock find tutorial of Ultrasn0w to unlock it, again Google is your friend

  72. meera
    December 15, 2010 at 4:26 pm

    thanks mate, worked perfectly.

  73. Derrick
    December 19, 2010 at 3:07 pm

    Hey, I was having a problem when I try to type “edit hosts”. I get an error that states:
    ‘EDIT’ is not recognized as an internal or external command, operable program or batch file.
    Any help would be GREATLY appreciated!! Thanks bro.

    • azacode
      December 27, 2010 at 9:46 am

      If you can’t use edit, then use notepad. Just open notepad, then run it as administrator, browse to the hosts file, edit it, and save it.

    • azacode
      December 27, 2010 at 9:48 am

      If you can’t use edit, then use notepad, just open notepad, by right clicking it and choose Run As Administrator, thenb browse for the hosts file, edit it, then save it.

      Sorry, I was an old school person, mostly used terminal or cmd to get my jobs done, you can do the similar things using notepad or ultraedit.

  74. Jayne
    December 27, 2010 at 4:42 am

    OMG Thank you so much!!!
    azacode, you are a lifesaver!
    I accidentally updated my itouch last night to 4.2.1 and all my games from installous and cydia’s stuffs are gone. I freaked out all day today, until i found this web page. So thank you very much and have a wonderful holidays =]

    • azacode
      December 27, 2010 at 9:45 am

      Cool, have a nice day too…

  75. traveller
    December 27, 2010 at 11:56 pm

    ok so there are some queries i hope u’re able to clarify for me:

    1- I have an Ipod 4G which was running IOS 4.1. Your way will work on it right?

    2- I am downloading the firmware from this site: http://www.felixbruns.de/iPod/firmware/ and I am downloading IOS 4.1. Is that the right way to go?

    3- after I did the ip host thing, I tried to restore the ipod by pressing the same “restore” button on itunes, and the same error showed up. is that normal becoz i used the IOS restore that was downloaded by itunes itself?

    thank you soo much for helping us out ๐Ÿ™‚

    • azacode
      December 28, 2010 at 1:03 am

      1. Under right circumstances, it will work with Cydia’s Signing Server
      2. If you already have iOS 4.1 why would you upgrade to the same iOS 4.1? You can download it from trusted site, I like to download from this website: http://www.iphoneheat.com/2010/10/download-custom-ios-4-1-firmware-ipsw/
      3. Make sure your iPod is in DFU mode if by some way it has error when restoring in normal mode or restore mode. How to make your iPod in DFU mode, read my previous replies. Do not use that restore button, use Shift Restore that will browse the ipsw, and choose your downloaded ipsw. I reccomend this way, rather than downloaded by iTunes.

      • traveller
        December 28, 2010 at 8:23 am


        I have followed steps 1 to 9 and the same error 3194 is still showing, even with the shift restore.

        I’ll give you an overview on my situation, maybe you can find the problem:

        – got the ipod, jailbroke it with limera1n.
        – installed Cydia and then tried to get some sources to add which showed me “Size missmatch”error on the Ipod.
        – I thought it would be a good idea to restore the device and then try again
        – I restored it from the device itself, not through itunes.
        – It always froze when the Logo of Apple appears with a frozen busy sign and nothing happens
        – so I tried to use your steps 1-9 going into DFU MODE, which is the only mode that is replying now in my phone, and i keep getting the error.
        – IOS 4.1 was runing on the ipod.

        should I be doing something differently? should i give it to Apple to restore it for me? or should i call it dead?:(

        thanks ๐Ÿ™‚

  76. Sunshine
    December 30, 2010 at 7:29 pm

    My problem is a little different than the ones listed here. I have an iphone 3gs that i’m trying to jailbreak. Read that if you download the 4.2.1 fw and you jailbreak to ipad baseband using redsnow you can also unlock. i’ve tried a bunch of different ways and my iphone always turns back on during the process and says iphone is disabled. i’m not sure what to do

  77. sunny
    January 1, 2011 at 10:19 am

    Hello Azacode, have tried your steps a number of times, but still cannot get past the error 3194. When OS4 was launched, then i had upgraded my 3G to OS4.0, however, because of slowness, downgraded it back to 3.1.3. Current modem firmware is 5.13.04. Now i want to go back to 4.0.1 / 4.1, but the error keeps popping up. Have tried in recovery as well as DFU mode. have tried timyumbrella (v 4.21.02) as well. My SSH are saved on Cydia as tinyumbrella gives me a huge list of SSH saved (4.0 to 4.2b3)

    what is it that i am doing wrong? thanx in advance

    • azacode
      January 6, 2011 at 5:03 am

      Open up Cydia, look at the top of the app, see if you’re iOS 4.1 SHSH saved in Cydia, but if you use TinyUmbrella check your iOS 4.1 (the one you want to upgrade to), did you shift + restore (on iTunes Windows) your custom firmware? I prefer you use PwnageTool to upgrade to 4.1, then use PwnageTool to make your iPhone 3G into DFU mode, don’t set the iPhone to DFU yourself, use PwnageTool or Redsn0w DFU button. Then check again your hosts file see, if it’s directing to cydia’s ip (for cydia SHSH), or (for tinyumbrella) for host gs.apple.com.

      If you do it correctly, there’s no way you can fail, I did it tenth times, upgrade and downgrade using Cydia’s and TinyUmbrella. Check and recheck again…

  78. Rayroy
    January 5, 2011 at 11:21 am

    I have an non-jailbroken Iphone 3Gs with FW 3.1.2 & BB 05.11 & ITunes 10.1.1 on windows XP. I would like to upgrade my FW to 4.1. I do not have the SHSH files. (As a result, trying the hosts file change with Shift-Restore from ITunes did not work). In your November 8 comment, you mentioned using Pwnage or Redsnow DFU. How would I do this, as the Redsnow instructions say to download ipsw for current version on my iphone? If I can’t install 4.1, would you recommend going to 4.2.1 as Apple is likely coming out with 4.3 soon and the jailbreakers are getting close to doing a perfect jailbreak of 4.2.1. Some of the apps (esp. printer app) I have downloaded unfortunately require IOS 4.0+, which is the primary reason for upgrading the FW.
    Many thanks for your help.

    • azacode
      January 6, 2011 at 5:10 am

      First, if you have non jailbroken iOS 3.1.2, jailbreak it first using Spirit. Then open up Cydia, make sure it saved your SHSH, look at the top of Cydia for iOS 4.1 SHSH, if its there then you can upgrade to iOS 4.1, if not, then you’re out of luck, you should upgrade to later version like 4.2.1. If you did have iOS 4.1 SHSH on Cydia, then follow my steps to upgrde to iOS 4.1 using Cydia Signing server.

  79. Thankful
    January 10, 2011 at 11:26 am

    Did the edit hosts with notepad, restarted iTunes, Shift+Restore, choose the IPSW file and it worked!

    PS: duplicate the IPSW file onto the Desktop just in case cus iTunes deletes the one in the “iPhone Software Updates” folder if you click “Restore” without holding on to “Shift”

    and thanks azacode! ๐Ÿ™‚

    • azacode
      January 11, 2011 at 5:57 am

      That’s more like it

  80. Andrew
    January 17, 2011 at 9:43 am

    Thanks a mil

  81. torin
    January 23, 2011 at 2:56 am

    It wont let me type ( gs.apple.com) because its a ready-only file, how can i change that?

  82. Ash
    January 26, 2011 at 6:39 pm

    I rarely comment on these threads after using them but I would just like to say thanks for the easy to use guide! – All the aother guides on the internet missed out key bits of the process!

    Absolute life saver!!

  83. austin
    January 28, 2011 at 7:23 pm

    where would i find a cmd.exe?

    • azacode
      February 6, 2011 at 2:17 am

      If you read my previous replies, you’ll find where cmd.exe. Just hit Windows+R, then type cmd, then right ctrl+right shift+enter (to run as administrator)

  84. Sunny
    February 1, 2011 at 6:36 pm

    hi, ive tried to restore the phone through all the points and still keeps saying the same error message, when im holding down the shift key? (not sure if im doing it right) before i press restore on itunes it opens a windows box to add files? if i press the shift key after i press the restore button the error message comes up, im sure im doing something wrong but cant figuire it out

    • azacode
      February 6, 2011 at 2:19 am

      There are a lot cases like you, just reread all the comments and replies and refollow the steps, there’ll be no problem. I’ve tried it dozens of times, even until recently.

  85. geff
    February 6, 2011 at 12:07 am

    ive tryed to put this line into hosts but it just dinies me help

    • azacode
      February 6, 2011 at 2:21 am

      Find notepad on your All Programs, right click it, choose Run As Administrator, then find the hosts file, edit and add the line, then save it. restart iTunes.
      There I made it simple.

  86. Mr.Troll
    February 10, 2011 at 11:58 pm

    Just to make sure I am understanding properly…..I have a new Iphone 4, firmware is 4.2.1 not jail broke.
    The first thing I need to do is jailbreak it so I can upload the files with Cydia, then do the downgrade process to 4.0.2 so it can be unlocked.
    Thanks for the great information, keep up the great work!

  87. Gurvinder
    February 12, 2011 at 10:54 pm

    Hi i have a iphone 3gs running 4.1 firmware and i tried doing the steps but, it still shows me the same error code can u please help me?

    • azacode
      February 13, 2011 at 4:16 am

      Reread all the comments and replies, there are some that might have the same problems with you

  88. rajheshwaran
    February 25, 2011 at 2:53 pm

    im restoring 3.1.3 in 3gs with itunes 10.1.2.
    i did that in cmd.exe, still i cant restore.
    im getting the same 1394 error.
    wat to do. please help.

  89. rajheshwaran
    February 25, 2011 at 2:54 pm

    **for above post**sorry 3194 error

  90. mihail dobrescu
    March 11, 2011 at 10:27 am


    i had an 3gs with 5.13 and ios 4.0.1 and erased all settings and got stuck in boot. i need to recover but when i do it with itunes it gives me error 3194 when contacting apple servers to verify ipsw. i have edited my hosts file but same thins..what can i do?please reply..
    many thanks

  91. March 13, 2011 at 1:25 am

    Works great, thanks

  92. confused
    March 26, 2011 at 1:39 am

    my wifi doesnt work any more

  93. Hyperlite
    March 26, 2011 at 6:01 pm

    Had error 3194. Edited host and restarted iTunes. IP address valid and still worked for me. Thanks!

  94. gyanee
    March 29, 2011 at 12:25 pm

    i am using an apple 3gs and my phone is struck at apple logo on restoring its showing an error 3194….how do i gt my phone restored plz hlp me…..

  95. Francesco
    April 3, 2011 at 10:53 am

    it works!!! thanks a lot :))

  96. The Confused
    April 12, 2011 at 5:30 am

    hi, i jailbroke my iphone 3GS on fr3.1.3 like 6 months ago, never used it at all until yesterday. i am currently aboard and i just tried to unlock it for use out here but when it was rebooting it stays on the loading scree. i just spent many hours doing research and reading all ur post; and your info is the most useful so far. my question is, can i just download the 3.1.3 (say from iclaridied) and do what u said on ur steps and get magic?

  97. jason
    April 18, 2011 at 2:51 am

    my iphone 3g 16gb white now updating… amm sir when the update finish.. should i unlock and jailedbreak again? or will all my music and installed apps will be reverted? tnx again

  98. Marc Wivenson Co
    April 18, 2011 at 11:17 am

    hi i also have a error 3194 but my host file already has gs.apple.com so i changed it to gs.apple.com and still i get the error 3194 my phone gets stuck in the apple logo can’t get through tried in DFU mode also tried redsn0w i don’t know why my itunes still connects to apple i know it shouldn’t connect to apple since i have change the apple URL to it shouldn’t connect to anything have any idea??

  99. Marc Wivenson Co
    April 18, 2011 at 11:30 am

    ok now i have error 3014…

  100. Marc Wivenson Co
    April 18, 2011 at 2:20 pm

    I’m now stuck with the recovery mode but now i have error 1015 on itunes O__O

  101. Alex
    April 21, 2011 at 4:52 pm

    I did everything up to shift + restore and then i cant find my cmd anywhere in my short cuts so its not letting me restore, therefore i cant take it out of recovery mode until i restore! help!

  102. ariane
    May 2, 2011 at 3:35 pm

    hi im currently having trouble with my iphone 3g i started restoring and updating it using ititunes but it didnt work it stopped because there was an errror occured and now i cant open my iphone:) the symbols apple and itunes with usb connector are always on the screen. i connected it to the itunes but it happens the same way again:( help

  103. May 3, 2011 at 4:50 pm

    this is the only useful tutorial i found on the net…i am very very graceful to you…the problem was in my ipod touch 4g

  104. ron
    May 14, 2011 at 11:09 pm

    didnt work. looks like it should. still get 3194 error. waste of time

  105. Nick
    May 28, 2011 at 1:46 pm

    Dear Friend,

    I currently have a problem with iphone 3gs. It just stuck on Boot apple logo and repeating off and on. I tried your method but it still gave me 3194 error.
    Please do help me for this matters. I just want get back way it was.

    Thank YOU

    • azacode
      May 29, 2011 at 3:16 am

      The big question is:
      Have you already saved your SHSHs on Cydia server or on Tiny Umbrella?

      If not then you can’t downgrade. If you already has it,then just follow my steps again.

      • Nick
        May 29, 2011 at 5:27 am

        Dear azacode,

        Many thanks for reply. I managed it successful by using latest firmware and latest itunes. Many thanks. SHSH i still do not know how but glad my iphone back to alive.

        Best Regards,

      • azacode
        May 29, 2011 at 5:32 am

        Good for you then mate.

  106. July 31, 2011 at 12:15 am

    Please Help!!
    I accidentally deleted the ‘Hosts’ File but!!
    Can anyone send it to me!!!!!?? Please!! You will save my life!!!
    Twitter : @mattmcgwalard
    E-mail : matthew_mcg@hotmail.com

    Please Copy and send to me!!!

    You will save my Life!!

  107. denis127denis
    August 12, 2011 at 5:19 am

    omg thanks man look all over for this they never work atlest this one did had a big thing to do with two ipads

  108. Gokhan
    August 22, 2011 at 6:39 am

    what i did was actually the opposite. that line was actually already there and i just removed it. now it works!

  109. Yousuf
    September 5, 2011 at 6:50 am

    hi As i am using windows 7 i am unable to save file in note pad and in cmd command line i got error of read only please help me how to save this file and also my iPhone is in recovery mode will your guidance work on that (3gs)

  110. roger
    November 26, 2011 at 10:41 pm

    does this work for iphone 3gs and for ipsw 5.0.1 to downgrade to 5.0 or 4.3.5?

    • azacode
      January 1, 2012 at 5:32 am

      You cant downgrade to 5.0, but you can downgrade to 4.x if you have SHSH stored on cydia.

  111. Jo
    December 30, 2011 at 10:37 pm

    it saved, but when i try and restore, it still connects and checks with apple…. ๐Ÿ˜ฆ any help?

  112. Jay
    January 1, 2012 at 5:16 am

    Im using an Iphone 3gs 4.1.. No signal just keep on “Searching” Tried to Restore it but getting the error 3194, Im a Computer Science grad so I know i did perfectly what you’ve tell us what to do.. But still my Iphone is Restarting when restoring. Any suggestions Sir. Thx a lot.

  1. June 2, 2011 at 10:55 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: