Jailbreaking and updating to 1.1.3

From Mac Guides

Jump to: navigation, search
This article contains out of date information that doesn't reflect recent events or releases.
You can help by updating it.


Right now there exist approximately about 10 to 15 different guides on the web supposedly telling you how to upgrade to and jailbreak 1.1.3. The only problem with these guides is that while they for the most part contain much useful information, that information has to be pieced together like a puzzle from all the various guides. So, here you are - the definitive iPhone 1.1.3 firmware upgrade guide.

This guide will walk you through step-by-step to give you:

  • A jailbroken iPhone or iPod Touch with firmware version 1.1.3,
  • Working iPhone baseband radio to make phone calls, access EDGE, and use Google's new cell-tower locate feature, (ONLY if you are a valid AT&T/O2/etc customer)
  • The choice to either upgrade to 1.1.3's new baseband firmware or not.

This guide will NOT tell you the following:

  • How to unlock your iPhone on any version of the firmware
  • Whether or not your unlock will stick through updating, and whether your unlock will screw up future operation of your phone
  • How to get features such as Google's cell-tower triangulation to work on a non-AT&T or O2 iPhone
  • Anything having to do with unlocks in general


Contents

BEFORE YOU START - Please read the following

  • Make sure your iPhone is backed up in iTunes. You will probably be restoring many times.
  • You will likely need a wireless network with an active internet connection that the iPhone is capable of connecting to (for jailbreaking firmware 1.1.1 after downgrading), unless you already have an iPhone at version 1.1.1 that is working and able to connect to EDGE data.
  • You need at least 300MB of free space on your iPhone before starting this.
  • This guide now uses the official iPhone Dev Team version of the 1.1.3 jailbreak, instead of NateTrue's earlier released version. If you have already followed this guide previously and now want to re-jailbreak your iPhone with the newer (and less buggy) version of the jailbreak, start at step 3 again.


THIS PROCEDURE IS NOT FOR THE FAINT OF HEART

You must have patience, and this will work. As always, you accept completely all risk for undergoing any modifications to your iPhone software or hardware. Follow the steps closely as many things are easy to screw up...and you don't want to have to start over from the beginning.

DISCLAIMER: This guide is by no means a guarantee of some kind, and you fully accept all risks and consequences associated with any action you undertake because of the information provided by this guide. While this guide does provide information that has been shown over multiple instances to work there is always the chance that by some alignment of the planets something will not go correctly or, much worse, your iPhone will become inoperable. Please be aware that all modifications made to your iPhone's software or hardware are your own actions. The jailbreaking process may invalidate your iPhone's warranty.

This jailbreak is fairly new to the iPhone hacking scene, so it is possible that there are bugs with it. This guide will be updated as things change, but there is the possibility that things will not always work perfectly. As of right now, the following appears to not be working:

  • Nothing!


Note: This guide assumes you are starting at a firmware version before 1.1.3. If you have already upgraded to 1.1.3 and now want to jailbreak it, all is not lost. Simply start at step 3 and go from there.


If you want to have version 04.03.13_G of the modem firmware (baseband), then start with step 1. Otherwise, start at either step 3 or below depending on your phone's current jailbroken status.


Upgrading to 1.1.3 to update your modem firmware

(Anyone AT&T, O2, et cetera customers with a valid SIM card, or anyone who otherwise wants to upgrade their baseband to 1.1.3's version (04.03.13_G)), start here.)

WARNING: If you are not a valid AT&T, O2, or Orange customer you very likely do NOT want to do these two steps to upgrade your baseband. If you have an 1.1.2 iPhone out of the box you cannot downgrade you baseband to a previous version, and 1.1.3's baseband is not currently unlockable. If you are a AT&T, etc. customer and have no future plans to switch carriers you are perfectly find taking these steps. Otherwise start below at step 3.

In order to end up with a 1.1.3 iPhone that has the ability to make phone calls and access EDGE data plus use the new cell-tower locate feature in Google Maps, you'll need to take a few more steps. Your iPhone should be connected to your computer for the duration of this process (don't take it out of the dock).

  1. Take your current iPhone, regardless of version or jailbroken-status, and perform a normal (Apple-sanctioned, through iTunes) upgrade to 1.1.3. This is how you get to the newest baseband version, since the jailbreak+update does not upgrade the baseband.
  2. Let the software update finish, and wait for your iPhone's home screen to appear. Continue in the next section with step 3...

Downgrading to 1.1.1 and jailbreaking

(Anyone with a (non-jailbroken) 1.1.2 or 1.1.3 iPhone and no valid AT&T/O2/etc. service, start here.)

Please note - you will need a wireless network with an active internet connection that the iPhone is capable of connecting to.

  1. Download one of the following, and place it somewhere you can find it:
  2. Make sure iTunes is open. At the iPhone's home screen, press and hold BOTH the Sleep/Wake and Home buttons until the iPhone turns off. When it turns off, release the Sleep/Wake button but continue to hold the Home button until iTunes displays the "iPhone in recovery mode" message - your iPhone screen should be BLACK. If it rebooted, go back to the Home screen and try again until you get it right.
  3. Click the Restore button in iTunes while holding Option key on OSX or Shift key on Windows. Navigate to the 1.1.1 firmware .ipsw file you downloaded and choose it.
    • Note: If you try to restore here and get error (1), then you're not in the correct restore mode yet. Go back to step 4 and try again. In order to enter the right restore mode, you must start the step at your iPhone's home screen (not already at the "Connect to iTunes" restore screen) and when you finish your iPhone screen should have nothing on it but iTunes should recognize it at in restore mode.
  4. Let your iPhone restore to the 1.1.1 firmware. You will receive either an error (1013) or (1015) when it finishes and the phone will reboot into normal recovery mode with the connect to iTunes icon on the screen - this is expected. Close the iTunes dialog and Option or Shift click on the Restore button a second time, choose the 1.1.1 firmware .ipsw, and let iTunes restore it a second time. The error will appear again when its done. Close the error, and quit iTunes.
  5. Download one of the following:
  6. Open either iNdependence or iBrickr and wait about a minute or less while they take the iPhone out of recovery mode. Once the "Activate Phone" screen appears, you can close the application and delete them - that's all we needed them for.
  7. Slide the "Slide for Emergency" bar, type *#307# at the keypad, and press Call. The iPhone will start to ring. Delete the characters just entered with the "X" and enter 0, press Call. Then press Answer, Hold, and Decline in that order - you should be at the iPhone's main keypad.
  8. Go to Contacts and add a new contact. Click "Add new URL" on the New Contact screen and type "prefs:" as the URL, save that one. Click "Add new URL" again, type "http://jailbreakme.com/" as the URL, and save this one too. Save the contact.
  9. Press the "prefs:" button now, and the iPhone's Preferences application will open. Go to General -> Auto-Lock and set it to Never. Now go to Wi-Fi and choose your wireless network, entering your password and other network configuration settings if necessary to join the network successfully. After your iPhone is connected via wireless, press the Home button.
  10. You'll be back at "Activate iPhone." Slide the slider, enter 0 and press Call again, then Answer, Hold, and Decline to bring you back to the iPhone keypad. Go to the contact you created, but this time click on "http://jailbreakme.com/" which will open up Safari. Continue with step 13 below...

Jailbreaking your iPhone in 1.1.1

(Anyone with a non-jailbroken 1.1.1 iPhone, start here.)

  1. (If you are not already at http://jailbreakme.com in Safari, go there now.) Scroll down to the bottom of the page in Safari, and click on Install AppSnapp. Wait for a few minutes, until your iPhone reboots and you are greeted with the default "slide to unlock" screen. You now have a jailbroken iPhone with firmware version 1.1.1, but we're not done yet!
    • When you click on Install AppSnapp, Safari will exit and you will either return to the "Activate Phone" screen or your home screen. This is normal - wait for AppSnapp to finish jailbreaking your phone and it will automatically restart.

Upgrading to and jailbreaking 1.1.2

(Anyone with a jailbroken 1.1.1 iPhone, start here.)

  1. Open up Installer.app and install the "OktoPrep" package.
  2. Download the following files (only one of the last two, obviously):
  3. Open up iTunes and go to your iPhone's page. Option-click (Mac) or Shift-click (Windows) on the "Update" (do NOT click Restore) button, and select the firmware package you just downloaded. Once iTunes has finished updating, you will likely need to close it and start up iNdependence or iBrickr again to get out of Restore mode and back to the non-activated screen.
  4. You should now be at the Emergency call screen for 1.1.2 (it has the same "Connect to iTunes" recovery mode icon on the screen). Stay here, and open up the .zip archive for the 1.1.2 jailbreak that you downloaded earlier. Open either "jailbreak.jar" (Mac) or "windows.bat" and click the Jailbreak button.
  5. When the Java app finishes jailbreaking your phone (it will take a few minutes), the phone should restart. If for some reason it restarts in recovery mode, close the Java app (forcefully, if need be) and use iNdependence or iBrickr again to get your phone out of recovery mode and back to the home screen. The phone may restart one more time once you finally get to the "Slide to Unlock" screen - this is normal.

Upgrading and jailbreaking your iPhone in 1.1.3

(Anyone with a jailbroken 1.1.2 iPhone, start here.)

  1. Download the following, unzip it, and place the unzipped folder on your Desktop:
  2. Open up your iPhone settings and join your wireless network. Once you have joined, click the blue arrow next to your network and write down your IP Address.
  3. On your iPhone, go to Installer.app and install the "BSD Subsystem" and "OpenSSH" packages if they are not already installed. Also, make sure your Installer.app is updated to the latest version before you start updating to 1.1.3.
  4. If you're a Mac OS X user...
    1. On a Mac connected to the same wireless network, open up Terminal and type in the following commands:
      • "scp -r ~/Desktop/Jailbreak-1.1.3/* root@<IPADDRESS>:/" where <IPADDRESS> is the IP Address of your iPhone (minus the curved brackets) that you just wrote down. When it asks for a password, type in "alpine" and press Enter (nothing will appear as your type in the password - this is normal).
        • Note: If your computer complains about something having to do with a known_hosts file (you'll see "@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @"), run the command "rm ~/.ssh/known_hosts" and try the 'scp' line again.
      • "ssh root@<IPADDRESS>" with same <IPADDRESS> replacement and password as above
      • "cd /"
      • "sh install.sh"
  5. If you're a Windows user...
    1. You must be on a PC connected to the same wireless network as your iPhone. Download these files and save them to your Desktop:
    2. Now open a command window by going to your Start menu, clicking Run, and typing in 'cmd'.
    3. Type the following commands:
      • "cd desktop"
      • "pscp -r Jailbreak-1.1.3\* root@<IPADDRESS>:/" where <IPADDRESS> is the IP Address of your iPhone (minus the curved brackets) that you just wrote down. When it asks for a password, type in "alpine" and press Enter (nothing will appear as your type in the password - this is normal).
      • "putty -ssh root@<IPADDRESS>" with same <IPADDRESS> replacement and password as above
      • "cd /"
      • "sh install.sh"
  6. Now wait forever. Don't worry about the long time - the jailbreak has to download the entire 1.1.3 firmware package from Apple to your iPhone, decrypt it, do their jailbreaking magic, etc. It will take a while, but the ssh connection will terminate and your iPhone will reboot when it is finished.
  7. Open up your ssh connection to the iPhone again (using either "ssh root@<IPADDRESS>" (Mac) or "putty -ssh root@<IPADDRESS>" (Windows)), and issue the following commands:
    • "cd /Applications"
    • "chmod +s Installer.app/Installer"
    • "chown -R root:wheel Installer.app"

You now have a device at version 1.1.3 that is completely jailbroken. Congrats you're done (or nearly)!

If you're an AT&T/O2/etc. customer then you've probably noticed that you aren't connected to your cellular network. To fix this, there's just a few more steps left (and you'll need that wireless network again.)

Post-jailbreaking - Restoring your phone service in 1.1.3

  1. Download the following file, and place it on your Desktop:
  2. On your iPhone, go to Installer.app and install the "BSD Subsystem" and "OpenSSH" packages if they are not already installed.
  3. Open up your iPhone settings and join your wireless network. Once you have joined, click the blue arrow next to your network and write down your IP Address.
  4. If you are a Mac OS X user...
    1. On a Mac connected to the same wireless network, open up Terminal and type in the following commands:
      • "chmod +x ~/Desktop/lockdownd"
      • "scp ~/Desktop/lockdownd root@<IPADDRESS>:/usr/libexec" where <IPADDRESS> is the IP Address of your iPhone (minus the curved brackets) that you just wrote down. When it asks for a password, type in "alpine" and press Enter (nothing will appear as your type in the password - this is normal).
        • Note: If your computer complains about something having to do with a known_hosts file (you'll see "@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @"), run the command "rm ~/.ssh/known_hosts" and try the 'scp' line again.
  5. If you are a Windows user...
    1. You must be on a PC connected to the same wireless network as your iPhone. Download this file and save it to your Desktop (if you haven't already):
    2. Now open a command window by going to your Start menu, clicking Run, and typing in 'cmd'.
    3. Type the following commands:
      • "cd desktop"
      • "pscp lockdownd root@<IPADDRESS>:/usr/libexec" where <IPADDRESS> is the IP Address of your iPhone (minus the curved brackets) that you just wrote down. When it asks for a password, type in "alpine" and press Enter.
      • "putty -ssh root@<IPADDRESS>" with same <IPADDRESS> replacement and password as above
      • "chmod +x /usr/libexec/lockdownd"
        • Note: These steps are not yet tested for Windows. If after restarting your phone you still do not have cellular access, please post in the forum thread and the guide will be revised.
  6. Restart your iPhone by holding down the top Sleep/Wake button and sliding the red slider. When the phone restarts, you should have a 1.1.3 iPhone that is jailbroken and with your cellular service working.

Frequently Asked Questions about 1.1.3

I already upgraded my iPhone to 1.1.3 and I want to downgrade now, I don't like it! How do I do that?

While it is generally always possible to downgrade to lower versions of the main software, downgrading your baseband is less so. If you bought an iPhone that had 1.1.2 on it when you bought it ("1.1.2 OOTB"), then you have version 4.6 of the bootloader and cannot downgrade your baseband - which means you would be such with 1.1.3's baseband if you decided to downgrade to some other version of the software. For AT&T customers, this means you will not be able to make/receive calls or use the other network-specific functions of your phone and you'll need to stay at 1.1.3 to continue to do o.

If you purchased your iPhone with a version prior to 1.1.2 already installed on it, however, you should be able to also downgrade your baseband as you have version 3.9 of the bootloader. That's beyond the scope of this guide as its another process entirely, however, and you'll have to search elsewhere. Hack that Phone has some information about downgrading your baseband on page 3 of their guide below (in the Credits), otherwise Google is your friend.

I keep getting the message "Incorrect SIM - Insert an unlocked and valid SIM to activate iPhone" while I'm using the guide. Did I break anything?

If you are midway between performing the steps, say on one of the jailbreaking 1.1.1 or 1.1.2 steps, and you used the first two steps to upgrade your baseband to 1.1.3 then this message is perfectly normal. Continue with the steps and this message should disappear once you finally upgrade to and jailbreak 1.1.3.

I used the previous revision of this guide and jailbroke my iPhone with NateTrue's release. What should I do now that the official iPhone Dev Team jailbreak is out?

It is generally recommended that you re-jailbreak your phone with the new official release from the Dev Team. You can do this by starting again at step 3 and following through the guide again, which shouldn't be as hard the second time around since you'll be in familiar territory. There are many problems and issues caused by NateTrue's release that are fixed by the official Dev Team release. Certainly if these issue do not immediately affect you then you do not have to re-jailbreak your iPhone immediately, but you should do so at your first opportunity.

Do I need to use any of the Installer.app packages such as "1.1.3 Soft Upg. Cleaner" that were recommended previously for NateTrue's jailbreak?

If you follow this guide and use the official iPhone Dev Team jailbreak, you should not need to use any of these packages. Indeed many of the "fix" packages should absolutely not be installed if you did not use NateTrue's jailbreak (most of these are marked in capital letters in Installer.app). You should have no need for these packages in any case with the official jailbreak since it does not have the manifold bugs of NateTrue's release and there is no need to manually remove the 300MB image from the phone as this is done by the jailbreak process itself.

What about Anysim, TurboSim, Blah-blahsim, or whatever my favorite unlocking program is? Will these work with this guide?

This guide, right now, covers nothing having to do with any unlocking methods. If you decide to undertake the actions recommended by this guide for devices that are software or hardware unlocked, please remind yourself of the Disclaimer at the beginning of this guide and seek out other sources to verify that you can safely upgrade to 1.1.3.

I have an iPhone that I just bought, and it has 1.1.2 or 1.1.3 already installed on it. Can I use this guide to jailbreak 1.1.3?

Yes! Please make sure you start at the appropriate step of this guide, however. For people with either 1.1.2 or 1.1.3 OOTB (out of the box) iPhone, you should start at the section titled "Downgrading to 1.1.1 and jailbreaking" in most cases. If you are an AT&T customer with a 1.1.2 OOTB iPhone, you should instead start at step 1.

Can I use the Installer.app "Jailbreak 1.1.3" package released by modiphone.net instead of the complicated instructions listed here?

You are certainly free to do whatever you want to your device, but the steps here are maintained for a reason. Jailbreaking through Installer.app is another potential point of failure for your jailbreak, and while the steps here look complicated at first glance they are long because they are simplified for small details. If you do decide to use modiphone.net's jailbreak package, please seek support from them rather than in the forum thread.

Whenever I try to install something in Installer.app, it gets to "Installing package" and then crashes back to the Home screen! What am I doing wrong?

You likely aren't doing anything wrong. The first partition that Applications reside on has probably just filled up, and Installer.app is crashing because it has nowhere left to put anything. You can use symlinks to move your Applications to another (larger) partition so you can use the rest of the space on your device.

Connect to your iPhone via ssh using either "ssh root@<IPADDRESS>" (Mac) or "putty -ssh root@<IPADDRESS>" (Windows) as above and enter these commands:

  • "cd /"
  • "cp -rf Applications /private/var/root/"
  • "mv Applications Applications.old"
  • "ln -s /private/var/root/Applications /Applications"

If you type "ls -la / | grep Applications" now to check whether these commands worked, the final part of the line that's printed should say "Applications -> /private/var/root/Applications". IF it does not say this, STOP and go post in the forum thread with what it does say. If everything looks good, run the following command and then reboot your phone.

  • "cd /"
  • "rm -rf /Applications.old"

I have an iTunes backup that it won't let me restore now that I've completed your guide! How can I restore my backup?

This process is fairly simple. Make sure your backup still exists in ~/Library/Application Support/MobileSync/Backups/ (or wherever that is on Windows) before you try this, or you won't have anything to restore.

Connect to your iPhone via ssh using either "ssh root@<IPADDRESS>" (Mac) or "putty -ssh root@<IPADDRESS>" (Windows) as above and enter these commands:

  • "cd /private/var/mobile"
  • "rm -R Media" (and be very careful with the "rm -R" command", no typos here)

Now connect your phone back to iTunes and it should give you the backup restore screen.

My iPhone is named "untitled playlist" now! Did I do something wrong, and how can I fix it?

This seems to be a weird side-effect of the jailbreaking process, but you didn't do anything wrong and its easily fixed. Just left-click once on the iPhone name in iTunes while its not syncing and you can change the name to something new.

Everytime I try to open Installer.app, it crashes! I forgot to update to Installer.app 3.0b10 before jailbreaking 1.1.3, what do I do?

Installer.app is crashing because you are at a version below 3.0b10 which was made to work with 1.1.3. Once again, this is easily fixed with a quick download and a couple more commands.

  • Download this file and unzip Installer.app to your Desktop:
  • If you're running OSX, run this command: "scp -r ~/Desktop/Installer.app root@<IPADDRESS>:/Applications"
  • If you're running Windows, run this command (make sure you have the pscp.exe tool from earlier in the guide): "pscp -r Desktop\Installer.app root@<IPADDRESS>:/Applications"

This should replace your current Installer.app with the newer 3.0b10 that you just downloaded, and you should have no problem opening it now. Make sure to go back to step 25 and do it again, now that you've changed Installer.app.


Credits:


Questions? Comment in the forum thread.

Changes that need to be made to this guide? Send a PM to Sbrocket, please.

--Sbrocket 15:19, 28 January 2008 (EST)