Page 1 of 8
 1  2 3 4 5  >
 Last »
Reply
   
 Upgrading to iPhone firmware 1.1.2 
 
 
  #1 (permalink)  
Old 20-11-2007, 12:34 AM
Regular

Group: Regulars
Location: ...


Upgrading to iPhone firmware 1.1.2

A few people here at MacTalk have successfully updated their iPhones to firmware 1.1.2. This thread is intended to provide a guide to updating successfully, and offering whatever troubleshooting we can offer.

But first some details. This guide is intended for those who are successfully running firmware 1.1.1 unlocked, but is not intended for IPSF (iPhoneSimFree) unlocked phones, or phones running 1.0.2. Here's why.

The 1.1.2 update includes a new version (04.02.13_G) of the modem firmware (or baseband.) If you have been running firmware 1.0.2 and you unlocked your iPhone with any version of anySIM prior to 1.1 (or iUnlock or unlock.app) you may need to revirginise your baseband first. What does this mean? There is a unique token in your baseband which identifies your iPhone. Early versions of the unlock inadvertently corrupted that token (which is part of your seczone.) If that token is not present when updating the baseband to a newer version, you may end up with a locked and corrupted baseband, and an iPhone which will refuse to work as a phone (as we witnessed when people first applied the 1.1.1 upgrade.)

The IPSF unlock (at least the early versions) zeroed out the token in your secpack. If you are an IPSF unlocker, I cannot guarantee you won't brick your phone in the process of upgrading, or following any part of this guide. Remember to jailbreak you'll need to do so from 1.1.1.

If you have revirginised your iPhone, then unlocked with anySIM1.1+ the Update to 1.1.2 will overwrite the unlock. If you have any issues it may help to back up your relocked secpack. This should allow you to recover from most situations. I can vouch for being able to get back to a locked 1.0.2 virgin firmware, after fucking this up over the weekend.


Please note, this is not a straightforward process. You run the risk of permanently disabling your iPhone, and losing all your data. Please do not proceed unless you're aware of the possible consequences, and are happy to take the risk. This guide is only a work in progress, and I'm sure by the time I wake up tomorrow, they'll have made a one-click GUI for the whole process.



WHAT YOU'LL NEED
  • A Mac (they smell nice, plus, if you're on PC, this guide will be only partly useful)
  • Wireless network
  • iTunes 7.4.x (preferably, iTunes 7.5 should be fine, but you'll need the mobile device library from iTunes 7.4.2 for iNdependence)
  • iNdependence 1.3beta2 (or iNdependence 1.2.5)
  • 1.0.2 firmware
  • 1.1.1 firmware (without the jailbreakme.com TIFF exploit patched)
  • 1.1.2 firmware (you can let iTunes download that for you if you're a trusting soul)
    You can find links to the Apple versions of the firmware here, but you may need to look harder for an earlier version of the 1.1.1 firmware (pre-TIFF exploit patch by Apple)
  • AppTapp installer
  • anySIM 1.2.1u (the version modified by the iphone-elite-team to include the 04.02.13_G secpack. Read the warnings on the front page. Do NOT run under 1.1.2)
  • The official Dev Team jailbreak for 1.1.2 (jailbreak.jar, a Java archive, which will also run on Windows with the supplied .bat file.)
  • These AU specific files (inc. modified AppSupport, Telstra and Optus .plist files and UIPhoneFormats.plist.) This link will expire in a week.


STEP 1: Sync your phone
Connect your iPhone to your computer, start iTunes (if it doesn't open automatically) and sync your phone. When you sync your phone, iTunes updates (or creates) a backup of much of the important information on your iPhone. When you go to set-up your phone again after the update, you'll find it much simpler if you have a current backup.

STEP 2: Update to 1.1.2
This step assumes you are running firmware 1.1.1. Under the Info tab of the iPhone, you'll find a button that says 'Update.' Press it and you'll be asked if you want iTunes to check for the most recent version of the firmware. If you've already downloaded it, it will begin to unzip, otherwise the 160MB file will start downloading from Apple.

Let iTunes do it's thing, might take a few minutes because it has to upgrade the baseband. The new modem firmware is the important step at this stage.

STEP 3: Put the phone in DFU mode
While still connected to iTunes, hold down the iPhone home button and then the sleep button until the screen goes black. Release the sleep button, but hold onto the home button until iTunes recognises the iPhone in 'Restore Mode.' The iPhone screen should remain black. If you see the iTunes icon and iPod cable with an arrow, the downgrade will not work; error (1), IIRC.

STEP 4: Downgrade your firmware to 1.0.2
You will only have the option to Restore here. Make sure you hold Option when you click Restore. This will bring up the dialogue box to locate the firmware of your choice. Select 'iPhone1,1_1.0.2_1C28_Restore.ipsw'

The firmware will now downgrade to version 1.0.2. It will attempt to write an earlier version of the baseband, but when the versions don't match, iTunes will stop and show an error (1013) and put the phone in Restore Mode.

STEP 5: Unlock and Activate firmware 1.0.2
Open iNdependence and wait. It should kick the iPhone out of Restore Mode. Quit iNdependence and reopen it (voodoo, I know, but it seems to help.) Click the Activate button. This should jailbreak and Activate the phone (after you follow the instructions.) If it fails, quit the app and try again.

STEP 6: Install and run anySIM1.2.1u
Use iNdependence to install SSH/SCP/SFTP etc. Then, you must make sure the anySIM 1.2.1u folder is renamed anySIM.app (capitalisation important) by using Get Info from the File menu. (This includes all 19 files in the directory, the .pngs etc. as well as the anysim .exe file.) If it is not correctly named, the procedure will fail. Back in iNdependence, go to the Customize tab, click Applications/User, then click Add. Navigate to where you have saved the anySIM 1.2.1u app and select it. You'll need to enter the iPhone's wireless network address and password. iNdependence should look after correct file permissions.

iNdependence should restart Springboard and put you back on the slide to unlock screen. If it doesn't for any reason (e.g. my wireless network was causing issues at one point) you might like to make absolutely sure by removing it and reinstalling it.

*see note below about performing this step in 1.1.1, or alternatively, doing it all under 1.0.2

STEP 7: Restore firmware 1.1.1
Option-Restore from iTunes and select iPhone1,1_1.1.1_3A109a_Restore.ipsw (this needs to be an early version, before the TIFF exploit was patched.) Once the Restore is finished, iTunes will show an error (1015) and put the phone in restore mode.

Quit iTunes and use iNdependence to get the phone out of Restore mode. Wait a minute or so (longer if you like) but if this does not work, like it failed to for me, Option-Restore the 1.1.1 firmware again. This allowed iNdependence to bump the phone out of Restore mode, second time lucky in my case. If that fails, you can also try using iPhuc to issue the following commands to get the phone out of Restore mode;
Code:
cmd setenv auto-boot true
cmd saveenv
cmd fsboot
STEP 8: Activate and Jailbreak firmware 1.1.1
This has been documented well; use the emergency dial pad to dial *#307# etc. to access the prefs, select a wireless network and browse to http://www.jailbreakme.com

Select Install AppTapp at the bottom of the page. This will install Installer.app, jailbreak the phone, and patch the TIFF exploit, returning you to the Activation screen. Wait a few minutes to let the phone reboot and you should be back on the Slide to Unlock screen. If it fails you will see the Activation screen again; you can try Option-Restoring again, or find an earlier version of the firmware.

STEP 8a: Install OktoPrep
The jailbreakme.com exploit should have installed Installer.app for you. You may need to update Installer.app, then install OktoPrep (from the Tweaks (1.1.1) menu)

STEP 9: UPDATE to firmware 1.1.2
First time around, it didn't matter whether you Updated or Restored to 1.1.2. This time, you must Update. If you Restore, you'll overwrite the OktoPrep and won't be able to jailbreak. Quit iTunes.

STEP 10: Jailbreak 1.1.2 and install SSH
On the Activation screen (which now looks like the Connect to iTunes screen, with an emergency dial pad in several languages) make sure your iPhone is connected to your computer. Double-click the jailbreak.jar file from the DevTeam jailbreak you downloaded earlier. This should include the necessary Java library.

On the first screen, the jailbreak gives you the option to install SSH. Check it, as you want to be able to alter some files to run on Australian networks. When it's all done, it will ask you to restart, then it will force another restart itself.

STEP 11: Modify the phone and SMS apps for Australia
Download these AU specific files; (Thanks, anarchron for the Telstra .plist)
Code:
/System/Library/Frameworks/AppSupport.framework/AppSupport
/System/Library/Frameworks/CoreTelephony.framework/Support/Telstra_Australia.plist
/System/Library/Frameworks/CoreTelephony.framework/Support/Optus_Australia.plist
/System/Library/Frameworks/UIKit.framework/PhoneFormats/UIPhoneFormats.plist
*You can view and edit .plist files using this handy little utility called PrefSetter


I've included Telstra and Optus .plists, but have a look and you'll be able to work out any others that are needed e.g. Vodafone. I've added the ability to edit Edge (GPRS) settings (apn/username/login) as this was not enabled by default.

For more information on how to edit the AppSupport file, read this post in this hackint0sh thread. The timschuerewegen dude made this rocking little utility which extracts a data table containing info about recognising and handling phone numbers in various countries.

STEP 12: Create symlinks for your new Australian carrier .plist
You'll need to install the BSD subsytem via Installer for this step. Then fire up the terminal, ssh in to the phone and enter the following;
Code:
cd /System/Library/Frameworks/CoreTelephony.framework/Support/
ln -s Telstra_Australia.plist 50501
Just alter the names as necessary.
Telstra=50501
Optus=50502
Vodafone=50503
(See the entire list here at Wikipedia.)

You'll need to restart the phone with a different SIM (perhaps the orig. AT&T SIM) then switch back to your SIM for the symlinks to take, apparently.

You might now be good to go with firmware 1.1.2


NOTES: These steps are probably unnecessarily complex. You may not need to go all the way down to 1.0.2. I didn't have any luck at the 1.1.1 firmware level, the phone kept getting stuck in DFU mode, and endless reboots. Only a restore to 1.1.2, and back down to 1.0.2 got me back working again.

When you restore from 1.1.2 to 1.1.1, apply the Restore twice if you can't get out of DFU mode. If you can get to the Activation screen, you're good to go (assuming the jailbreakme.com TIFF exploit works.)


Finally, virtually none of this info is mine. I just thought it would be good to put it in one place after wasting a large part of my weekend. Thanks to anarchron for the carrier .plist, and go read all the hundreds of posts at hackint0sh, just like I did, before posting here. We can edit as we go with new info.

_______________

FURTHER NOTES:
A Mr. Lefteris, from Athens, Greece, has kindly posted his successful experience further into the thread explaining how it might be possible to go straight from firmware 1.0.2 to 1.1.2 by installing OktoPrep in 1.0.2. Thankyou, sir.

I can also confirm that from firmware 1.1.2, it is possible to force DFU mode and use iTunes to downgrade (Option-Restore) firmware 1.1.1, jailbreak, OktoPrep, and Update back to 1.1.2 then jailbreak.jar. In my case, it was necessary to setup the iPhone with the backup I made previously in 1.1.1, which restores your Address Book, SMS and call data etc.

Last edited by Edge; 22-11-2007 at 07:06 PM.
Edge is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #2 (permalink)  
Old 20-11-2007, 12:37 AM
Resident Hippie

Group: Forum Leaders
Location: Brisbane


Excellent guide Edge I am not quite game to try yet but I am sure others have been hanging out for this. I will put a sticky up and keep this in mind when putting together the comprehensive all in one iPhone guide. Cheers
__________________
Support MacTalk by shopping at the Apple Online store via this link!
Contact Me: andrew.wilson[at]mactalk.com.au | iChat | Twitter | My Environment Blog (occasionally updated)
andrew.wilson is online now
Profile CardPM
Go to the top of the page
Reply With Quote
  #3 (permalink)  
Old 20-11-2007, 12:55 AM
Taking a break

Group: Forum Leaders
Location: Adelaide


Nicely written edge. Thanks.
__________________
Read my drivel, be dazzled by my Twitter

Are you some kind of devil trying to keep me from using my time usefully? - Currawong
"You're an enigma wrapped in a ferreo roche" - fulltimecasual
Disko is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #4 (permalink)  
Old 20-11-2007, 04:31 AM
Regular

Group: Regulars
Location: Auckland, New Zealand


This is a LOT more complicated than the process I followed. I have an IPSF unlocked phone and the upgrade process was very straight forward. If you have an IPSF unlocked phone already on 1.1.1, follow this guide:

http://modmyifone.com/forums/showthread.php?t=15752
JonoNZ is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #5 (permalink)  
Old 20-11-2007, 04:38 AM
Fuckin' A

Group: Forum Leaders
Location: Melbourne


Nice one edge.

Just so I'm clear - for those who have updated to 1.1.1 using the anySIM 1.1/Virginize method, it seems like you can probably skip straight to OktoPrep. Is that right?
__________________
MacBook 2.0 GHz Core Duo, iPhone 3G 16GB
criminaldeli.tumblr.com | twitter
tcn33 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #6 (permalink)  
Old 20-11-2007, 06:13 AM
Member

Group: Registered Users


I have a turbo sim and am with Optus. I upgraded to 1.12 as follows:
1. Jailbreak 1.1.1 (jailbreakme)
2.Ran oktoprep
3. Upgraded in iTunes
4. Ran jailbreak.jar

The only issue I was having was the keypad crashing.

I edited the AppSupport file.

Now everything works: EDGE, phone functionality etc.

I did not do anything with plist files of symlinks. Is there a reason I need to do this if everything is working fine?
dgold105 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #7 (permalink)  
Old 20-11-2007, 07:06 AM
Regular

Group: Regulars
Location: ...


Quote:
Originally Posted by JonoNZ View Post
This is a LOT more complicated than the process I followed. I have an IPSF unlocked phone and the upgrade process was very straight forward. If you have an IPSF unlocked phone already on 1.1.1, follow this guide:

http://modmyifone.com/forums/showthread.php?t=15752
Thanks, Jono. The big difference is, like with the TurboSIM, the firmware does not need to be unlocked with anySIM1.2.1u in firmware 1.0.2/1.1.1.

Quote:
Originally Posted by tcn33 View Post
Just so I'm clear - for those who have updated to 1.1.1 using the anySIM 1.1/Virginize method, it seems like you can probably skip straight to OktoPrep. Is that right?
You need to get the latest modem firmware on the phone, which requires an Update/Restore to 1.1.2. Then you need to unlock it, which for some reason only works in 1.0.2 or 1.1.1 at the moment. (I'm not sure why, the bastardised version of anySIM will most likely be updated very soon to run under 1.1.2, so it may be better to wait.)

Quote:
Originally Posted by dgold105 View Post
Now everything works: EDGE, phone functionality etc.

I did not do anything with plist files of symlinks. Is there a reason I need to do this if everything is working fine?
The symlinks in question point to .plist files. The phone looks for a symlink in the format MCCMNC.plist, where MCC and MNC are numbers. (MCC=Mobile Country Code, and MNC=Mobile Network Code) In Australia, the MCC is 505, and Telstra is 01, so the symlink points to a Telstra_Australia.plist, which contains a string <Compatible SIMs> which identifies it as the correct .plist.

If you don't have a symlink to a .plist, the phone uses UnknownCarrier.plist, with predefined settings. You can edit the UnknownCarrier.plist directly if you prefer, but there are drawbacks to this method (I forget exactly what.)

Last edited by Edge; 20-11-2007 at 07:35 AM.
Edge is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #8 (permalink)  
Old 20-11-2007, 07:54 AM
Regular

Group: Regulars
Location: Melbourne Australia


Guys

I have tried this - and dont seem to get a signal or anything - almost like the AnySIM Step isnt there.

Am i missing something?

Tony
tonyberinson is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #9 (permalink)  
Old 20-11-2007, 07:56 AM
Regular

Group: Regulars
Location: Melbourne


Thanks for the guide. Though i might wait a little longer first before trying it.
undertow is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #10 (permalink)  
Old 20-11-2007, 08:01 AM
Regular

Group: Regulars
Location: ...


Quote:
Originally Posted by tonyberinson View Post
I have tried this - and dont seem to get a signal or anything - almost like the AnySIM Step isnt there.
More info needed, did you run anySIM1.2.1u?
Edge is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #11 (permalink)  
Old 20-11-2007, 08:02 AM
Regular

Group: Regulars
Location: Melbourne Australia


Yes - but when u reload the 1.1.2 in the final steps - it is unlocked - but wont recognise my SIM Card - says its not an allowed card.

Its a Telstra Card
tonyberinson is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #12 (permalink)  
Old 20-11-2007, 08:07 AM
Regular

Group: Regulars
Location: ...


So the jailbreak succeeded, which means you updated correctly to 1.1.2.

Did anySIM report a successful unlock under 1.0.2?
Edge is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #13 (permalink)  
Old 20-11-2007, 08:10 AM
Regular

Group: Regulars
Location: Melbourne Australia


yep - 102 was fine - no problems - and when i got to 1.1.1 it was fine - jailbreakme was ok - but wen i got to 1.1.2 - it didnt change.
tonyberinson is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #14 (permalink)  
Old 20-11-2007, 08:13 AM
Regular

Group: Regulars
Location: Melbourne Australia


i think i am going to wait for a simple method of upgrade.
tonyberinson is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #15 (permalink)  
Old 20-11-2007, 08:33 AM
Regular

Group: Regulars
Location: ...


Strangely, it sounds like the new baseband is locked. If you successfully upgraded to 1.1.2 in the first place, complete with the new firmware, before downgrading and unlocking successfully, I'm not sure why it didn't work.

I'd try changing SIMs and restarting. Or SSHing into the phone and replacing the modified lockdownd file (the jailbreak should have taken care of that, but you can find a new version at iphone elite. Don't forget to backup the current one.) Then I'd go back to 1.0.2 (via DFU mode) and check whether it's still unlocked. Don't run anySIM on an already unlocked baseband, though.

Now that you've done the process already, it will be quicker second time around.

But if you're happy staying in 1.0.2 or 1.1.1 for the time being, the upgraded, unlocked firmware will work fine in either firmware.

Last edited by Edge; 20-11-2007 at 08:36 AM.
Edge is offline
Profile CardPM
Go to the top of the page
Reply With Quote
 
Page 1 of 8
 1  2 3 4 5  >
 Last »
Reply

Thread Tools

 
Similar Threads
 
Thread Thread Starter Forum Replies Last Post
Can I download iPhone firmware without an iPhone? limpboy iPhone Help and Support 3 05-03-2008 09:39 PM
iPhone firmware 1.1.2 marc iPhone & Mobile Phones 5 04-11-2007 07:15 PM
iPhone firmware 1.1.1 released tcn33 iPhone & Mobile Phones 30 09-10-2007 01:38 PM