Upgrade jailbroken iPhone to iOS 5.1.1 and preserve baseband with redsn0w

Update

This guide is now for upgrading to iOS 5.1.1 – Currently it is untethered for old-boot rom 3GS only, all other devices will require a tethered boot.

How to upgrade a previously jailbroken iPhone to iOS 5.1.1 and preserve the baseband.

The process of getting this job done requires a number of steps (but are easily done), which are downloading the official iOS firmware from Apple, upgrading iTunes to the latest version, getting the latest redsn0w from the dev team, making your custom iOS, restoring your iPhone to the custom iOS, restoring your iPhone data, installing Cydia and lastly installing Ultrasn0w. If you are new to this it can well be intimidating with loads of jargon but take your time and go through the information below.

This process has been tested and successfully installed/Jailbroken on a iPhone 3GS old boot rom device that has been previously jailbroken and had the iPad baseband firmware of 6.15 applied.

ios-51-jailbreak

iOS 5.1.1 Jailbroken

If you have previously jailbroken your iPhone, the only way to get to the latest iOS 5.1.1 is from a custom iOS IPSW which is made from a stock Apple standard iOS IPSW. In which case you will want to follow the whole post.

If you are on an unjailbroken iPhone stock iOS 5.1.1 and just want to jailbreak go to the second half of the post.

Mac/Win users can create their own custom IPSW with the coolest software app from the dev team called ‘redsn0w’.

Please note that this is only an untethered jailbreak for iPhone old-boot rom 3GS, but a tethered jailbreak for new-boot rom 3GS Phone 4, iPhone 4-CDMA, iPad1, iPodTouch 3G, iPodTouch 4G. Untethered meaning that you can reboot the device normally without software assistance. Tethered boot note.

This will not work on iPhone 4s and iPad2/iPad2 known as A5 devices.

What boot-rom am I (for iPhone 3GS) ?

What basebands are unlockable ?

 

Getting Started…

Download Standard stock iOS for
iPhone | iPad | iPodTouch

Download the latest official Apple stock IPSW iOS 5 for your iOS device:

 

Upgrade iTunes

Update to the latest version of iTunes

Mac – iTunes Menu > Check for Updates
Win –  iTunes Help Menu > Check for Updates

 

Sync iPhone to iTunes

This will ensure you have an up to date backup of your iPhone in iTunes

 

Get the lastest redsn0w

Get the latest Redsn0w   — Mac OSX   or  Windows

 

 Upgrade to iOS 5.1.1 with redsnow

1) Launch redsn0w – click Extras

redsn0w latest version launch

launch redsn0w > click extras

 

2) Select Custom IPSW

Select Custom iOS IPSW

Select Custom IPSW

 

3) Browse and select the stock standard iOS IPSW 5.1.1 that was downloaded from Apple – and let redsn0w make the custom firmware, – this will take a little while… in this example the 3GS iPhone standard iOS file was selected “iPhone2,1_5.1.1_9B206_Restore.ipsw” – Before the IPSW is created you are asked which bootrom the iPhone is old or new. (see the section near the bottom of the post )

Confirm which bootrom the iPhone is

Confirm which bootrom the iPhone is

 

Custom IPSW being made

Custom IPSW being made

 

4) A Custom IPSW is then created by redsn0w created with a prefix of “NO_BB…..” which is short for no baseband, the full file name for 3GS iPhone is named ‘NO_BB_OLDROM_iPhone2,1_5.1.1_9B206_Restore.ipsw’

Custom IPSW created

Custom IPSW created with NO_BB prefix

 

5) Connect the iPhone to the the computer  and in redsn0w – Enter Pwned DFU Mode

Enter pwned DFU mode

Enter pwned DFU mode

 

6) Follow the Steps in the redsn0w app to get the iphone into Pwned DFU Mode:

follow-dfu-mode-instructions

follow-dfu-mode-instructions

 

 

7) Once the screen is black – time to do the custom restore. If the screen has a USB/iTunes logo then it did not enter pwned DFU mode – the screen has to be black.

sucess-dfu-mode

success-dfu-mode

 

8 ) Launch iTunes and option (Mac) /shift (Win) click on restore and browse to and select the custom IPSW created which starts withNO_BB_” make sure this is the one you restore to.

Shift/Option click itunes restore to restore iphone from custom IPSW

Shift/Option click restore to restore iphone from custom IPSW

iTunes extracts the software  and preps the iPhone for restore, verifies the restore, restores the firmware and then restarts the iPhone.

Voila!, you are on iOS5.1

 

9) Now in iTunes you can restore all your data from the last  iTunes backup as prompted – just have to remember that password that was initially set for iTunes!

restore-from-itunes-backup

restore-from-itunes-backup

After the restore, iTunes will then sync all of the Apps, Music, Photos etc.

 

To Activate (Hacktivate) Jailbreak and Unlock the iOS device

To activate and jailbreak and install Cydia and to unlock install Ultrasn0w: -  launch redsn0w again and this time the application needs to work with the stock standard official iOS firmware  initially downloaded from the links above in this instance with the iPhone 3GS the firmware is ‘iPhone2,1_5.1.1_9B206_Restore.ipsw’

1) launch redsnow and click on ‘Extras

ios501-select-stock-firmware

ios501-select-stock-firmware

 

2) Select IPSW and browse to your downloaded stock iOS – in this case it is - iPhone2,1_5.1_9B176_Restore.ipsw

ios501-select-stock-firmware-2

ios501-select-stock-IPSW

 

3) For the iPhone 3GS redsnow needs to know if it is an old or new bootrom – see other notes on the post if you are not sure on what bootrom version. If you are not sure use refer to this boot rom guide.

ios501-select-stock-firmware-oldrom

Which BootRom is This?

 

4) IPSW verification made from redsn0w

ios501-select-stock-firmware-verify

Confirm IPSW

 

5) Now time to Jailbreak

jaibreak-iphone-install-cydia

jaibreak-iphone-install-cydia

 

 

6) Click on Install Cydia

install-cydia

install-cydia

 

7) You then have to enter the PwnedDFU mode again, so follow the onscreen instructions

ios-5-1-pwned-dfu

8 ) After it enters DFU

jailbreak-complete

jailbreak-complete

 

You should see a hardrive icon followed by a bunch of scrolling code and then running pineapples – and its all happy days.

9) After rebooting, launch Cydia on the iPhone, the app will ask you what type of user you are and then download the lastest packages and upgrade when prompted, then tap the Cydia Search icon (bottom right) and tap in ultrasn0w, Cydia finds the package and then install ultrasn0w 1.2.5 and reboot the iPhone this will complete the jailbreak and unlock the device.

 

If Ultrasn0w doesn’t install/load there is a fix coming out from the Dev Team shortly – but if you need there is an interim fix called Ultrasn0w Fixer

  • Launch Cydia tap ‘Manage’ from the tool bar at the bottom of the app. Tap ‘Sources’
  • Tap the ‘Edit’ in the top right and then select the ‘Add’ button bar
  • Add the repository URL – ‘http://repo.iparelhos.com’ tap ‘Add Source’
  • After repository has refreshed and finished loading, tap on the repo name in the sources list which will display the Ultrasn0w Fixer utility
  • Select the Fixer utility, pressing ‘Install’ in the top right hand corner. Confirm the install
  • Select the ‘Search’ from the bottom of Cydia, typing in ‘Ultrasn0w’ and ‘Search’
  • Select ‘Install’. After the installation has been confirmed the unlock will apply
  • Re-install ultrasn0w by going Manage > Packages > ultrasn0w > Modify > Re-install or install from scratch as above

Note on Tethered Boot !

If your iPhone requires a tethered boot this means that the device requires a software jumpstart (everytime it is booted) to operate after being jailbroken, there are a few apps that can do this but redsn0w also has the function built in. So if you have successfully jailbroke but are stuck on iPhone Apple logo, spinning gear on iPhone boot up, connect the iPhone, launch redsn0w > Extras.

Then ‘just boot tethered right now’.

This also applies if Cydia crashes on launch or you get a white icon – this means that a tethered boot is also required but is known as a semi-tethered boot as the iPhone can reboot without assistance but to be in a jailbroken state needs a tethered boot.

The only iPhone that can boot untethered on this redsn0w/jailbreak is the old bootrom iPhone 3GS.

iphone-tethered-boot-apple-logo

iphone-tethered-boot-apple-logo

Future versions of the redsn0w software will no doubt allow for an untethered experience for iPhone 4 users.


 

What boot-rom am I?

Check your iPhone 3GS serial number, on iPhone – Settings > General > About
Look for the Serial Number – if the 4th & 5th digits are below 40 you are lucky and have the old boot-rom.

To be absolutely sure about the boot rom – check if you have iboot 359.3

 

What basebands are unlockable with Ultrasn0w?

iPhone 4

  • 01.59.00

iPhone 3G/3GS

  • 04.26.08
  • 05.11.07
  • 05.12.01
  • 05.13.04
  • 06.15.00

The official basebands installed for iOS 5.1 are:
iPhone 3Gs = 05.16.05
iPhone 4 = 04.12.01
iPhone 4S  = 2.0.10

These are not currently unlockable with Ultrasn0w. If you mistakenly upgraded an unlocked/jailbroken iPhone via iTunes to a regular iOS update you will end up on one of these basebands and lose that unlockable functionality.

No related posts.

  • Abhi_pune_22

    I followed this post to upgrade my iPhone 3gs which was already jailbroken. Everything went off well until step 8. Then when i rebooted the phone, it asked me to connect to wifi. And now I’m unable to connect to wifi. Tried many things like restore network settings, reboot bit of no help. Since, i cant connect to wifi, i cant even perform step 9.

    Please help!!

  • Pingback: "restoring" my iPhone? No idea where to start - Page 5

  • Jonathan Martinez9294

    ok i have an iphone 3gs unlocked and connect to simple mobile and i have 4.1 version on it and i want to upgrade it to 5.1 without loosing my simple mobile plzzz help

  • Devin Imirie

    Worked perfectly for me.  

    iPhone3GS 4.1 (8B117), new bootrom, already jailbroken/unlocked T-Mobile.

    Went through the steps exactly, then installed ultrasn0w…reboot.  Installed ultrasn0w fix…reboot.  Install SIM card.  Perfect service and updated to 5.1.   It’s tethered boot, but it works.  Thank you, sir.

  • Gung_surya

    awesome… my iphone 3gs succesfully jailbreak and unlock thanks alot……….

  • Thekoplegend

    Hi Neil

    i hv iphone 3gs with factory unlocked , os 4.1 version.

    now i want to upgrade the os to 5.0.1 , since i can do ugrade with itunes, but the newest version 5.1 is only available.

    how can i upgrade it to 5.0.1 since i dont want 5.1 without damging my phone:)

    since my phone is factory unlocked, kindly suggest me the steps 

  • Michael J

    YOU GUYS ROCK!!!  I can’t believe my old iPhone 3gs 8g is actually unlocked and running 5.1 on T-Mobile…Thanks so much guys, seriously!!! 

    • Mike Barker

      what baseband?  I am getting no service

  • Pingback: Anonymous

  • Paco

    You guys did a great job at explaining, but it still does not work with my iPhone, maybe you know what’s wrong:

    It is an iPhone 3Gs with iOs 5.1 and Baseband 06.15.00 and it has the old boot-rom.
    I have the latest redsn0w_win_0.9.10b6.
    Everything works untill I put my iPhone into DFU mode, than after starting to jailbreak micriosoft days an error occured and that redsn0w must be closed.

    What am I doing wrong?
    thanks for your help!

    • Paco

      I tried a couple more times and it worked

  • Truch

    Hi

    I get an iPhone 4 (5.0.1) Vodafone lock
    04.11.08

    And I followed this guide to update 5.1 except. Baseband

    But now my sim doesnt work.
    It s a new sim but I have used at another iPhone 4 5.1 unlock 04.12.01 and it works

  • Rameshwer Matharu

    Phone details:
    > 3GS
    > Serial Number 86008 (Old Boot Rom I’m guessing)
    > IOS: 4.1.

    Hey Neil, I’ve tried customizing the IPSW (Step 3) But an error message comes up “Memory exhausted”. I’ve tried doing it again but end up having the exact same results.PS: I’m using an old laptop with Windows XP as I am on holiday

  • Sakeeralipt

    hello dear my phone jailbrake 5.1 but my phone switch off then on not working cydia   please help me

    • Doaldstyle

       go back to jailbreak and just boot tethered 

  • http://www.facebook.com/buzzprostar Chris Burroughs

    Please can someone tell me why after step 8) it states “exploit failed”?

  • Kimberjohnson1909

    Great work!!!! Am now jailbroken but not for sure about unlocked.  Am ATT so I don’t know if that has anything to do with it.  Thank you so much!!!!!!

  • gerardmcgrath

    Hi, 
    I followed the steps and I successfully upgraded from version 4.1 to 5.1 but my SIM card is not been picked up, it was at Searching… for a while but it is telling me now that there is No Service

    I installed Cydia and I installed the ultrasn0w 1.2.5 package but still no service.
    I have a 3GS which was previously unlocked, i had the old stock root..

    any ideas?

    thanks in advance,
    ger

  • Klod

    Hi Niel,

    Thanks for this post, it’s incredible easy to follow all steps which are well explained. Before I start from work, I would like to ask if is possible to activate my iPhone without jailbreak ?

    I own IPhone 4 locked at AT&T which I have unlocked with Gevey Sim and anything work on now.
    iOS 4.3.5
    Firmware 04.10.1
    Model MC319LL

    Appreciate your reply.

    Thanks for all support.

  • Kimo_101

    my iphone is jailbroken 4.1 3gs ,, while updating to ios5.0.1 (3194) error appears so i runed tinyumbrella and restart the update again then (2005) error appears so what should i do so i can update to ios5.0.1 ,,

    • Sid K

       Kimo,

      As the signature of your firmware (SHSH file) is not already registered in Cydia using TinyUmbrella when 5.0.1 was the latest update from Apple, you are facing this error as I did…. I guess the solution would be to move to 5.1.

  • Pingback: From 4.1(JB) to 5.1(JB) : 3GS stuck in DFU mode

  • TravisBickle

    Hi Neil,
    I have followed your guide but my device (3GS old bootroom on ipad BB and 4.1 iOSJB) is now stuck into DFU mode. What could have gone wrong? Everything worked flawlessly but Itunes did not reboot the phone at the end of the upgrading process, and after the Apple and the loading bar thing just went black again.
    Thanks!

    • Genie

       Travis, same thing happened to me. I have have been trying for almost 12 hours to change this now. Did you find an answer?

  • Pingback: From 4.1(JB) to 5.1(JB) : 3GS stuck in DFU mode | SpyPhone Pro

  • Ndb

    Great instructions. I was able to go all the way upto the unlock. The service was not getting detected. So I have to remove the SIM and install it again. That did the trick.

    Thanks again! You rock!!

    • Klod

      Which sim u used to activate?

  • http://www.facebook.com/profile.php?id=1379940618 Devie Howell

    I hope someone can answer this question. I did everything it said, worked fine. As long as its plugged in to the computer. If I take it off the computer and when the screen locks in 5 mins, it will not work. I have to use redsn0w to reboot it.  I don’t understand. Battery is full, its not bing shut off just locking.
    3gs 5.1 baseband 06.15.00 new bootrom

  • Arpan Parikh07

    Iphone is restored with custom ipsw prepared by redsnow by following the first half of the tutorial,so do we need to jailbreak again because what I know is that redsnow already prepares hacktivated version of ipsw.

    • Klod

      Can you activate iPhone without original sim?

      • http://coolestguyplanettech.com Neil Gee

        yes but you need to use redsn0w to hackivate it

  • Dipan Patel

    Hi,Neil Gee my name is Dipan
     I have iphone 3gs old bootrom, upgraded from 4.01 with 05.13.04 BB. The only problem I had,  no service to AT&t so can u help me what i have to do plzplzplz

  • Reno Ray

    not sure which step to start at. I got a unlocked iphone working on t-mobile but now that I did the software upgrade to 5.1 my sim is nolonger compatible.
    Do I need to re-jailbreak, or start at a later step?

    • http://coolestguyplanettech.com Neil Gee

      what is the baseband?

  • Richards

    The screen shows me that this is not supported on a first generation device.  Did I do something wrong or does this mean I can not update?

    • http://coolestguyplanettech.com Neil Gee

      doesn’t work on 3G has to be 3GS and newer

  • http://coolestguyplanettech.com Neil Gee

    as long as your SHSH blobs are saved – check in the the Cydia app

    • Enune

       Where is that in cydia?

  • http://coolestguyplanettech.com Neil Gee

    should be OK as you are wiping the device with a new firmware and then using redsn0w to jailbreak and activate it

  • Mike Barker

    I get thru the restore process and am told phone is restored to factory settings, then it tells me phone is in recovery mode.  Any ideas where I went wrong?

    • Mike Barker

       Figured it out – I thought I had old bootrom, but had new (right month, wrong year).  Redid the IPSW for new and all was good.  Did have to run ultrasn0w fixer for 5.1 then reboot from redsn0w to get TMobile back up and running.  Things are FANTASTIC now, many thanks.

  • http://coolestguyplanettech.com Neil Gee

    sure does – old boot rom = untethered , new boot rom = tethered

  • Dan

    “If you are on an unjailbroken iPhone stock iOS 5.1 and just want to jailbreak go to the second half of the post.”
    Where is SECOND HALF OF THE POST ?

    • http://coolestguyplanettech.com Neil Gee

      WHERE THE NUMBERS START FROM 1 AGAIN

  • Dan

    If I am on an 3 GS FACTORY UNLOCKED  stock iOS 5.1 unjailbroken iPhone on 05.16.05 baseband and old bootrom, what are my choices to jailbreak ? Will the baseband remain the same after the jailbreak ?

  • Shari

    I bought a IPhone 3GS from a friend he had it unlocked and jailbroke.  He told me that if I did an update to newer version that it would relock my phone.  Some of the apps I want need the upgrade.  It is Model #MB715LL, I have ersion 4.0.1 (8A306) and odem firmware is 05.13.04  can I still do this update and not relock my phone
    Shari

    • Tim

      Hi shari… did it work for you? I’m in the exact same situation and I’m hesitant whether I want to get IOS 5 in case my sim gets locked out as well. How well did it work for you?

  • http://profile.yahoo.com/3U43LY4UOBI5GG5FOTZBR6QPU4 choco_hk

    Hi Pls help me
    I would like to upgrade to iOs 5.1 without losing my JB 4.1
    Any easy way to do that? like back up or if this is possible
    currently on cydia 1.1.6 and iphone 4, as my home button is not working properly, want to upgrade to ios5 to have the assistivetouch for home button.

    thx alot

  • Pingback: [iPhone] Pro?ba

  • Wickedeye

    after i done it. it says. there is not simcard, ( but actually i did put in one)  on ur iphone please insert one :(

    help me please..

  • Chicks_stallion

     hi, i have iphone 4 ios 4.0.1.i was following steps till o8. everything seems to be perfect. while i m trying to back up itunes giving me error. itunes couldnt connect to the i tune store. an unknown error occured 11556.. make sure your network connection is activate and try again.
    need your help here.
    thank you very much

  • khalid haroun

    I HAVE I PAD 2 
    5.1 
    I CAN 

  • RJ

    Thanks a bunch man! It was a success unlike other articles on the web.

  • nishid

    hey i have an iphone 3gs need urgent help from you my phone is restarting automatically over apple logo and its also not detected over itunes please help what should i do m in serious trouble as i am without my phone…
    please help asa possible…

  • Julie

    hi ultrasnow doesnt work on me and it says NO SERVICE , and it was tethered so i need to boot up using redsnow everytime my iphone 4 got bat empty, what do i need to do? my bb is 01.59.00 pls help me :(

  • Nikola-pp

    I had the iPhone 3gs ios 5,0,1 05,16,05 jailbreker modem worked put iosversion 5.1 jailbrek if I put things but if you turn off the phone or if he do notrestart after running cydia should again be recorded
    please help

  • pickledpie

    Hey Neil! I have a really bad problem! Your post was very clear and everything seemed to be ok but when my iphone 3gs old bootrom restarted after all the procedures itunes said there is no sim card!!! What is happening and how can I fix it?!!! PLEASE HELPP!!!!

  • Janvasil16

    I have 3gs ios 4.1. BB 5.14.02 – i am updating to firmware 5.1 – everything was OK to point 8. Now on the device I have massage: panic: We are hanging here …
    Any idea how to get out of it – what went wrong ???
    thanks 

  • Linh Nelson

    You are the coolest guy on the planet! Followed your directions and now have an unlocked, jailbroken 3gs running 5.1! Love it!
    And next, an untethered fix? I’ll be keeping an eye out for your update.

  • plasma_boi

    Question: i’m not that good with this stuffs but i want to upgrade my iphone 4 to OS 5.1

    Is it possible even if im only using a gevey sim on it. My BB is 4.10.01

    Can someone help me out here. Thanks guys!

  • Mr.Kash

    Thanks a Lot!!
    Ii upgraded and unlocked my iphone 3gs 4.3.1 to 5.1

  • Dave

    I went through all the instructions for my jailbroke 3Gs 4.0.1.  I have the old boot rom, etc.  When Apple verified my restore to 5.1 it brought back an error message saying I was ineligible for the upgrade.  Any thoughts on why that is so?

  • Ftsanjeep

    while jailbreaking and installing cydia in my iphne after entering to dfu mode it always says usb communication problem… plz let me get out of it

  • Debarnies

    Thanks very much! Very good en clear manual. Helped me all the way trough.