Step-by-step Tutorial: How to Untether Jailbreak and Unlock iPhone 3GS Using PwnageTool 5.0.1 (Mac OS) [iOS 5.0.1]
UPDATE: Apple released iOS 5.1 firmware. Apple has stopped signing iOS 5.0.1, so you can NOT restore to 5.0.1 any more. If you are on 5.0.1 you can jailbreak with RedSn0w.
Using this tutorial you will be able to untether jailbreak iOS 5.0.1 running on iPhone 3GS. Pwnagetool will also preserve baseband version if you need carrier unlock. If you have updated the baseband to version 06.15, you can use this tutorial to update to iOS 5.0.1. This tutorial uses PwnageTool 5.0.1 for Mac OS X.
We are not developers of jailbreak utilities, so we cannot assure that everything will work just fine. However we tried this tutorial on several devices and succeeded.
When downloading the IPSW file, it is best to download it with Firefox since Safari often auto extracts it!
Connect your iPhone 3GS to the computer and launch iTunes.
Select your iPhone from the list of devices on the left. Create a backup by right-clicking on iPhone name in Devices (iTunes left pane) and choosing Back Up.
Double click to mount PwnageTool then drag the PwnageTool icon into the Pwnage folder.
Then from the Pwnage folder double click to launch the PwnageTool application.
Click Ok if presented with a warning.
Click to select Expert Mode from the top menu bar
Click to select your device. A check-mark will appear over the image of the device. Click the blue arrow button to continue.
You will be brought to the "Browse for IPSW" page. Click the Browse for IPSW... button.
From the popup window select your iOS 5.0.1 firmware from the Pwnage folder then click the Open button.
You will then be brought to a menu with several choices. Click to select General then click the blue arrow button.
The General settings allows you to decide the partition size. Check Activate the phone if you are not with an official carrier then click the blue arrow button.
NOTE: Deselect Activate if you have an iPhone legitimately activated on an official carrier. If you have locked iPhone - select Activate the phone.
The Cydia settings menu allows you to create custom packages so you do not have to manually install the necessary them later. If you do not want to install anything here go to next step.
Click to select the Download packages tab. Then click the Refresh button to display all the available packages. Double clicking the package you want will download it and make it available in the Select Packages tab.
Checkmark the ones you want then click the blue arrow button.
The Custom Packages Settings menu displays listed package settings for your custom IPSW. Click the blue arrow button to continue.
Click the blue arrow button to continue.
You are now ready to begin the pwnage process! Click the Build button to select it then click the Blue arrow button to begin.
You will be asked to save your custom .ipsw file. Save it to your Pwnage folder you created on your Desktop.
Your IPSW is now being built. Please allow up to 10 minutes.
You will be asked to enter your administrator password. Do this then click the OK button.
Once your ipsw has been built you will be asked to connect your iPhone to the computer. Once it detects your device PwnageTool will guide your through the steps to putting your iPhone into DFU mode.
Press and hold the power and home buttons for 10 seconds.
Then release the power button and continue holding the home button for 10 seconds.
Once your iPhone is successfully in DFU mode, PwnageTool will prompt you to launch iTunes.
Once In iTunes, hold the Alt/Option key and click Restore.
Navigate to the Pwnage folder on your desktop using the dialog window that appears. Select the custom IPSW that was created and click the Choose button.
iTunes will now restore the firmware on your iPhone. This can also take up to 10 minutes. Once done you will be rebooted into jailbroken iOS 5.0.1!
iTunes will ask if you want to setup your iPhone as a new device or restore from the backup. Choose Restore from Backup if you want to preserve your contacts and other information.
When your iPhone has restarted you can run Cydia. Let it do all the necessary updates.
To have access to the root file system of your iPhone (via file managers like iFunBox or iPhone Explorer) install application called afc2add in Cydia.
If you need carrier unlock – install ultrasn0w via Cydia (if you do not need carrier unlock skip this step). Ultrasn0w supports iPhone 4 baseband 01.59.00 and iPhone 3G/3GS basebands 04.26.08, 05.11.07, 05.12.01, 05.13.04, 06.15.00.
Go to Manage than click Sources.
If you see repository http://repo666.ultrasn0w.com, go to step 8.
Click Edit button in the top right corner.
Then click Add button in the top left corner.
Type http://repo666.ultrasn0w.com and click Add Source.
Then click Done.
Click on on newly created repository http://repo666.ultrasn0w.com.
Click on ultrasn0w and hit Install button in the top right. (if you do not see ultrasn0w, go to Search and find it there).