blog@portamonkey a blog about everything and nothing

13Jun/100

Jailbreak and Install iOS4 using PwnageTool

If you submit apps to Apple, there is now a checkbox that asks if you've tested your app against iOS4 in iTunes Connect. Today, I had upgrade my phone to iOS4 to do some testing so I figured why not try out some of these jailbreak instructions at the same time. For the most part it was pretty straight forward. Most of the time was spent sitting and waiting for the restore image to be created and re-syncing my iPhone. There were a couple steps that I had to redo so I'll try to highlight those on here so you can learn from my mistakes.

I suspect if everything goes well the actual upgrading part will take you less than an hour. Fulling restoring and syncing your music/apps back to your phone is another story - now this depends on how much stuff you have on your phone. I am certainly not recommending that you jailbreak or upgrade to iOS4 but for those of you that are interested, I hope you will find this helpful.

Warning:

  • I have an iPhone 3GS and a Macbook running Snow Leopard 10.6.3, so these instructions may or may not work for you.
  • Links provided below are not official releases from DevTool
  • If you are using a Macbook, it's probably a good idea for you to connect it to your power adapter. You don't want your Macbook shutting down while you do this.
  • As usual, follow these instructions at your own risk. Jailbreaking gone wrong can wreak havoc on your phone or at least put it out of commission for a while.

Pre-requisites:

  • You must have a pwned iPhone to being with (if you do not, then you should use Pwnage Tool to jailbreak your phone before upgrading to iOS4 - from what I've been reading 3.1.2 is recommended)
  • I would suggest you sync and back up your iPhone before installing iTunes 9.3 beta. As part of the upgrade, you will have to restore from an the jailbroken iOS4 image which will wipe out all of your user data until you restore from a backup
  • If you don't have an iPhone Developer Account, you can sign up for one for free. You only have to pay $99 fee if you want to publish apps. If you don't want to do this, you should be able to find iOS4 8A293 build (as well as 3.1.2 restore images) and iTunes 9.2 beta from some torrent sites. I also found this link with URL's for you to download iPhone restore images if you don't want to sign up for a developer account.
  • Download and install iTunes 9.2 beta from Apple iPhone Developer Center
  • Download iPhone iOS4 GM (8A293 build) from Apple iPhone Developer Center. Double click on the dmg file and drag iPhone2,1_4.0_8A293_Restore.ipsw to your Downloads directory
  • Download and install Pwnage Tool 3.1.5 into Applications folder
  • Download iPhone 3GS 4 GM Bundle. Unzip and rename it to iPhone2,1_4.0_8A293.bundle
  • Download data.tar and save into your Downloads directory

Setting up Pwnage Tool for iOS4

  • Right click on Pwnage Tool.app and click on "Show Package Contents"
  • Got to Contents -> Resources -> FirmwareBundles
  • Drag iPhone2,1_4.0_8A293.bundle into this directory, it should look something like this:
  • Pwanage Tool Firmwarebundles

Update Cydia in Pwnage Tool

  • Open up a terminal
  • cd ~/Applications/Pwnage\ Tool.app/Contents/Resources/CustomPackages/CydiaInstaller.bundle/files
  • tar -xPvf ~/Downloads/data.tar

Created your Jailbroken iOS4 Restore Image

  • We will now create a jailbroken iOS4 restore image. If you need to Jailbreak your iPhone 3.1.2, you should be able to follow the same steps but use the 3.1.2 restore image to create a jailbroken image
  • NOTE: If you are upgrading from an already Pwnage jailbroken iPhone to iOS4, you should have iTunes 9.2 beta installed by this point. I initially created my restore image without installing iTunes 9.2 and kept getting 1600 error from iTunes when I tried to restore to iOS4
  • Open up Pwanage Tool
  • Using Simple mode should do for most users
  • Select iPhone 3GS
  • select iPhone 3GSPress the right arrow to continue
  • Select iPhone2,1_4.0_8A293
  • If you do not see iOS4 here, you can switch to Expert mode and use the browser to select iPhone2,1_4.0_8A293_Restore.ipsw
  • Answer the next couple question. For me, I have AT&T so it was Yes for both
  • The process should take about 10 to 15 minutes and you will end up with iPhone2,1_4.0_8A293_Custom_Restore.ipsw. I renamed mine to iPhone2,1_4.0_8A293_Pwnagetool_Restore.ipsw so I won't forget how I created this image.
  • NOTE: If you answer No when Pwnage asks you if your phone has been jailbroken before, it will try to put your phone in recovery mode for you. However, I found that if your phone is connected via a USB hub to your computer, Pwnage Tool has trouble recognizing your phone. It's best if you connect your iPhone cable directly to your computer.

Alright, it's time to pgrading your iPhone to iOS4 using iTunes

  • Open up iTunes 9.2
  • Connect your iPhone via USB
  • Click on your iPhone under Devices on the left of iTunes
  • Put your phone in recovery mode if you did not ask Pwnage to do that for you already. Here's a good link on how to how to put iPhone in recovery mode.
  • Press down alt-cmd and click Restore
  • Use the browser and choose iPhone2,1_4.0_8A293_Pwnagetool_Restore.ipsw
  • Your upgrade should be under way
  • Once it's done restoring the iOS4 image, it will restart your phone.
  • You can now restore a backup of your iPhone to restore all of your contact, calendar, music, apps, etc.


To fully take advantage for your new jailbroken iPad, you will want to install Installous and AppSync. See my instructions here.

To give credit where credit is due, here are the original links that I looked at:

  • http://www.ihackintosh.com/2010/06/jailbreak-iphone-3gs-ios-4-gm-with-pwnage-tool/
  • http://www.iphoneheat.com/2010/06/appsync-4-mobileinstallation-patch-ios-4-jailbreak/

Update 7-22-2010

Here is a link on how to jailbreak your phone using pwnagetool for 4.0.1

  • http://www.ihackintosh.com/2010/07/jailbreak-iphone-3gs-ios-4-0-1-with-pwnage-tool-unofficial/
Share This Post:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Twitter
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.