Jailbreaking the iPhone 4 on 4.2.1 firmware with greenpois0n and unlocking with ultrasn0w

Updated: February 8, 2011

Who is this guide for?
  • iPhone 4 owners.
  • Official SIM card, or unofficial SIM card.
  • I used iTunes version 10.1.2.
  • I used OS X 10.6.6.

Thanks go out to the Chronic Dev Team for providing this amazing, and FREE program for customizing the iPhone. You can visit their website here, their blog here, and their Twitter here.





Some notes if you are already jailbroken using a previous method.
  • If you used redsn0w to achieve a tethered jailbreak on 4.2.1 then just follow these instructions. If you have any problems, then restore the phone to 4.2.1 and try again. Keeping in mind that restoring updates modem firmware, so do so properly.
  • If you used redsn0w and performed the Jailbreak Monte method to untether, then you MUST restore to 4.2.1 first before using this tutorial. Keeping in mind that restoring updates modem firmware, so do so properly.
Attention: The creator of TinyUmbrella has posted a newer process for getting the iPhone 4 onto 4.2.1 firmware while preserving your unlocked modem firmware. This process is exactly the opposite of what I'm documenting here. He now proposes you restore instead of update to get to 4.2.1. You do this at your own risk. I've already burned one of my iPhone 4s by restoring and using TinyUmbrella. I then updated to preserve the baseband on two of my iPhone 4s and it worked that time using the instructions presented in this tutorial. If someone wants to send me their iPhone 4 to risk on his new instructions I'd be happy to offer those instructions as well. To read these alternate instructions simply go to the TinyUmbrella website linked to below.

The iPhone 4 I'm using is currently on 4.0 firmware with 01.59.00 modem firmware. It has never been jailbroken. If your modem firmware is any other version then you can not unlock.

iPhone       iPhone




Step 1.

Download greenpois0n here. Double click the .zip to decompress it. A folder will appear. Open the folder and drag the greenpois0n.app icon into your Applications folder on your Mac.

iPhone



Download TinyUmbrella here. Double click the .pkg and install the program. The version may be newer than what is pictured.

iPhone



Download iPhone 4 4.2.1 firmware here:
http://appldnld.apple.com/iPhone4/061-9858.20101122.Er456/iPhone3,1_4.2.1_8C148_Restore.ipsw



Step 2.

Launch TinyUmbrella. Click your iPhone in the connected devices heading. Click the Save SHSH button and it will retrieve every SHSH it can for your device. This may take several minutes. Keep TinyUmbrella open, you'll need it shortly. The TSS server is NOT running at any point!

iPhone




Step 3.

On your Mac, go to your Applications folder, then go into the Utilities folder. Launch the Terminal.app program. Enter the following:

sudo nano /private/etc/hosts

You'll be prompted for your password so enter it.

iPhone



If you see the line 74.208.10.249 gs.apple.com then you are good to go. This means that any requests to the Apple verification server will instead be directed to the Cydia server. Ensure this line does not have a # symbol at the beginning! Double check this, especially if you happened to start the TSS server by mistake and then stopped it. If you screw this up your modem firmware will be updated and you will be unable to unlock at present. You can close the Terminal at this point

iPhone




Step 4.

Launch iTunes. Press the Option key on your Mac and click Update. Do NOT click Restore!

iPhone



Navigate to your 4.2.1 firmware, select it and click Choose.

iPhone



This message better say update and not restore. Click Update.

iPhone



The updating process will take several minutes.

iPhone



A status bar on the iPhone will display the progress of the update.

iPhone



When the process completes you'll receive a pop up with error 1013. Click OK.

iPhone



Another pop up will appear. Click OK.

iPhone



The iPhone will display the connect to iTunes graphic.

iPhone



Go back to TinyUmbrella. Select the iPhone in the Recovery Devices section, then click the Exit Recovery button. The iPhone will boot after a minute of displaying the status bar graphic (seen during the update process). You can close TinyUmbrella now.

iPhone



If you launch Settings, and go to General, About you'll see at this point that you are on 4.2.1 firmware and still have your 01.59.00 modem firmware. I left my iPhone on. Even if you don't have an official SIM in your iPhone you should still be able to get to these screens since an update shouldn't affect your activation.

iPhone       iPhone




Step 5.

Launch greenpois0n. Make sure your iPhone is plugged into your Mac. Click the Jailbreak button.

iPhone



You'll have three seconds to press and hold the Power (sleep/wake) button.

iPhone



While holding the Power button press and hold the Home button.

iPhone



Release the Sleep button, but keep holding the Home button.

iPhone



A blue status bar will zip by a few times.

iPhone



A couple lines of text will appear at the top of the screen. Then code will scroll and fill up the screen.

iPhone



Click the Complete button and the program will close.

iPhone



The code will pause for about one minute and then continue scrolling slower. A skull logo will appear on the iPhone and change to an Apple. You may also see a spinning wheel under the skull. Note: this new animation logo makes the phone boot slower. If you want to remove the skull logo then install OpenSSH onto the iPhone and then go to the /usr/bin directory and delete (or rename) the file named animate.

iPhone




Step 6.

Ensure you have an Internet connection then press the Loader icon. Press Cydia.

iPhone       iPhone



Press Install Cydia. When it finishes downloading press the Home button and the iPhone will respring.

iPhone       iPhone



You should see the Cydia icon. If not, then reboot the iPhone. Launch Cydia and it will initialize the filesystem. After a minute Cydia will close.

iPhone       iPhone



Launch the Loader program again. Press the Options button.

iPhone       iPhone



Press Remove Loader.app. The iPhone will respring and the Loader will be gone.

iPhone       iPhone



Launch Cydia. Press Upgrade Essential. Search for ultrasn0w and install it as well.

iPhone       iPhone



Switch out your SIM card (unless you already did).

iPhone



After the iPhone reboots you can enjoy your non-AT&T network.

iPhone       iPhone







Return to top of page