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