The unofficial release of PwnageTool for jailbreaking iOS 4.0.2 is now out in the wild. It can jailbreak iPhone 3GS (with old bootrom only) using iOS 4.0.2 custom firmware. There is of course no need to update to iOS 4.0.2 if you have iOS 4.0.1 (jailbroken using JailbreakMe) and PDF Patch installed from Cydia. But in case you have updated to iOS 4.0.2 accidently on your iPhone 3GS (with old bootrom), you can jailbreak it again using this version of PwnageTool for Mac.
Oh and if you have saved your SHSH blobs, you may want to check out the guide posted here instead to downgrade your iPhone or iPod touch from iOS 4.0.2 back to iOS 4.0.1 / 4.0 so that you can jailbreak it again with JailbreakMe.
Follow the instructions below to jailbreak iPhone 3GS (old bootrom) on iOS 4.0.2 with PwnageTool.
Step 1: Download and install the latest version of iTunes.
Step 2: Now start iTunes and sync your iPhone with your PC or Mac so that it backs-up all your important data including settings, apps, music, contacts and photos.
Step 4: Start PwnageTool and select your device:
Step 5: PwnageTool will now automatically detect the correct firmware for your device as shown in the screenshot below:
Step 6: Click on “No” when PwnageTool asks you “Do you have an iPhone contract that would activate normally through iTunes?”:
Clicking on “Yes” will update your baseband to the latest version. Click on “Yes” only if you are on an officially supported carrier like AT&T.
Step 7: PwnageTool will now create the custom .ipsw file for your iPhone which will be jailbroken.
The following “ihaz Success” screen will confirm that the requested .ipsw file has been created successfully.
Step 8: Once the .ipsw file has been created, you will now have to restore your iPhone to this custom firmware 4.0.2 that you just cooked using PwnageTool for your iPhone. Click on your phone icon from the sidebar in iTunes. Now press and hold left “alt” button (“Shift” button on Windows) on the keyboard and then click on “Restore” (Not “Update” or “Check for Update”) button in the iTunes and then release the “Shift” button.
This will make iTunes prompt you to select the location for your custom firmware 4.0.2 file. Select the required custom .ipsw file and click on “Open”.
Step 9: Now sit back and enjoy as iTunes does the rest for you. This will involve a series of automated steps. Be patient at this stage and don’t do anything silly. Just wait while iTunes installs the new firmware 4.0.2 on your iPhone. Your iPhone screen at this point will be showing a progress bar indicating installation progress. After the installation is done, iPhone will restart automatically and you should now have a fully jailbroken iPhone running on iOS 4.0.2.
In case the Cydia icon on the homescreen is in white with no repositories added, simply add http://apt.saurik.com/cydia-3.7 repo in Cydia to get going!
Step 10: Once you are done with the unlocking and jailbreak process. You can now restore all your settings, apps, music, contacts and photos to the newly installed firmware version 4.0.2 by restoring the backup that you made in Step 2 from iTunes.
If you are an iPhone 3G user, you can follow the complete step by step guide posted here to jailbreak your iOS device using Redsn0w, and then unlock it using Ultrasn0w on any baseband (including 05.13.04 and 05.12.01).
[Thanks to Lendr33 for the hat tip!]
Disclaimer: Since this is an unofficial release, I wont recommend using it as it may have bugs that in some cases might result in malfunctioning of your iPhone. This guide is for testing & educational purposes only. Follow it on your own risk. I’m not responsible for any loss of important data or malfunctioning of your iPhone.