About
Kooty's TechnoBabble is a blog by Brennan Kootnekoff, and is about the interesting day-to-day life of a multi-platform systems engineer/administrator. From time to time, he will post useful tidbits of information here that may save hours of time, and prevent premature gray hairs and aging.
Search
Other
SecuScan Certified
March 3rd, 2010. comments are open 6 commentsReinstalling 3.1.2 on iPhone 3GS. When things go wrong.

Today, I restored the “Network Settings” on my iPhone to factory defaults only to find that my phone didn’t boot up afterwards. Sigh – cursing Apple’s name under my breath I go to do Restore through iTunes. Since I was jailbroken at 3.1.2, and didn’t want to upgrade to 3.1.3 since I needed my unlock to work.

Here we go, I fire up iTunes, Option+Click Restore, and select the 3.1.2 firmware ipsw for my 3GS. Extracting firmware… waiting…waiting…

“This device isn’t eligible for the requested build”

Hmm?! I figured that this would be an issue with the SHSH hashes which I stored on Saurik’s site when I clicked “Make my life easier” in Cydia.

I had my hosts file entry pointing at the proper place as well:

74.208.10.249 gs.apple.com

All the Googling looked like I was screwed and would have to upgrade to 3.1.3 because Saurik’s site didn’t store my SHSH hashes. Well f*** me I wasn’t going to go out and shell out another grand on a new iPhone.

After hours of fiddling, getting bitched at by my girlfriend, 3 missed calls from work, I finally came up with a solution to this problem.

It looks like Saurik’s site @ gs.apple.com DID in fact store the hashes, but wasn’t sending them to iTunes properly.

Anyhow, go to http://thefirmwareumbrella.blogspot.com/2009/09/tinytss-all-your-iphone-restores-are.html and download the fw-umbrella package there.

Grab your ECID using one of the bazillion tutorials on the internet (http://www.ihackintosh.com/2009/09/grab-and-get-signed-your-ecid-for-iphone-3gs-os-3-1/ <– one for the lazy people out there)

Open up Umbrella on whatever OS you may be using.

Umbrella GUI

Paste your ECID that you got earlier on into the box. Select 3.1.2 3GS, make sure that Saurik is selected for the source, and hit Submit.

Now, go open up your Command Line or Terminal, go to the directory where you downloaded Umbrella (fw-umbrella), and type out the following command:

Mac OS:

sudo java -jar tinytss.jar -f 000000000-iphone-3.1.2.shsh

Windows:

tinytss.exe -f 000000000-iphone-3.1.2.shsh

Now, change your /etc/hosts entry to:

127.0.0.1 gs.apple.com

Fire up iTunes, go through the usual Restore routine while in DFU mode, and voila! It should work.

Peace out,
Brennan

6 Responses to “Reinstalling 3.1.2 on iPhone 3GS. When things go wrong.”

  1. Tiyema Says:

    Thanks for this VERY useful post !!! I was looking for this the last 2 days !
    Unfortunately, I messed up with something : I tried to restore with a 3.1.3 custom using snowbreeze (bootrom and baseband are not updated with this method), as I thought my SHSH was saved on saurik’s server. Now it’s too late to send 3.1.2 SHSH with umbrella as my iphone is now in 3.1.3 :(

    Thanks a lot ! You *almost* saved my life ! :)
    Keep it real

  2. Tiyema Says:

    Forget my previous post, I didn’t correctly understood what umbrella was made for… sorry

  3. kooty Says:

    @Tiyema:

    Most likely your SHSH’s are stored on Saurik’s server. As with most everyone who had to ‘update’ in the past few weeks. There is something wrong with Saurik’s SHSH store.

    Just fire up Umbrella, manually grab your SHSH’s from Saurik’s gs.apple.com, run TinyTSS, edit your hosts file, and voila.

    Feel free to e-mail me if you have any questions.

  4. Dan Says:

    Hi there – thanks for the great article on how to do this, however I do have one question.

    I’m struggling on where to set up this “SHSH” part of the process. When I go into Cydia I can’t see anything like “make my life easier” – is this just something for 3GS? I can’t see it myself but that’s the only thing different

    Thanks again
    Dan

  5. kooty Says:

    No problem. Are you currently on 3.1.2?

    I actually don’t remember getting the ‘make my life easier’ option either – but open up Cydia, and at the top you should be able to see “This device has SHSHs on file for iPhone OS 3.1.2″ at the top

  6. chintan vaghani Says:

    i dont have “this device has shsh backed up with cydia.Its was written tss request pending before my phone crashed and ended up in restart loop.When i unlock it with blackra1 it gets unlocked but with the input disabled screen for passlock.I cant feed the passlock.I grabbed my ECID with grabber and when i put it in umbrella with my existing os 3.1.2 with 5.11.07 the status says not found.What should i do?

Leave a Comment

Trackback this post  |  Subscribe to the comments via RSS Feed