Original URL: https://www.theregister.com/2008/07/20/iphone_unlock_tool_tested/

iPhone 2.0 unlock tool released, tested

Handset hacked

By Tony Smith

Posted in Personal Tech, 20th July 2008 21:41 GMT

Hands On Apple released the iPhone 3G on 11 July and nine days later, iPhone hacking crew the iPhone Dev Team posted the latest version of the their jailbreaking and unlocking utility, PwnageTool.

First, PwnageTool 2.0 won't unlock a 3G iPhone, but it will jailbreak one to allow third-party apps to be installed through an alternative channel to the one Apple provides. I didn't try PwnageTool with an iPhone 3G, but I did test it on my first-gen iPhone, which was running iPhone OS 1.1.4, unlocked using the excellent ZiPhone utility. PwnageTool 2.0 is supposed to be able to both jailbreak and unlock the 'old' handset. I also tried it out on a Mac - a Windows version is in the works, and may have even been released by now. If not, be patient - it'll come.

First, I upgraded to iTunes 7.7. PwnageTool needs it, so I let Mac OS X's Software Update download and install the new version. Once it was up and running, I connected the iPhone. I was informed that there was a new version of the handset's system software, so I told iTunes I just wanted to download it, not install the update too.

PwnageTool

iPhone Dev Team's PwnageTool 2.0: hacking made simple

With the firmware update downloaded, I was ready to run PwnageTool. First, though, I set the iPhone into DFU mode, its 'restore my software' state. Turn off the iPhone. Press the Home button and while keeping it held down, push and hold the power key. The iPhone'll start up - when you see the Apple logo, let go of the power button. If you get it right, you'll see the iTunes icon and a picture of the dock cable. iTunes itself will tell you the iPhone needs restoring - just click OK for now.

I also download Bootloader code mentioned by a couple of posters on the iPhone Dev site. I unzipped the file - and the Zip files it contains - and put the .bin files on my desktop.

PwnageTool shows you three devices: an original iPhone, an iPod Touch and a 3G iPhone. I clicked on the former. I also stayed in Simple mode. The utility then finds your new firmware download - you'll have to tell it where the code is, if you downloaded it to a specific location - then extracts the software, patches it and saves it onto your desktop. During the process, it asks you if you've run a previous version of PwnageTool.

PwnageTool

Who can say?

It also asks if you're a "legit" iPhone owner. Heaven knows what they mean by this - that your iPhone's not before been unlocked, presumably. I clicked on No, because my iPhone had been.

PwnageTool may also ask you for Bootloader code. It didn't ask me, possibly because I'd already placed the files on my desktop.

PwnageTool

Options for advanced users

I waited about five to ten minutes while the utility did its stuff, only to have PwnageTool tell me my iPhone wasn't in DFU mode. I went through this process a couple more times before I spotted a note on the iPhone Dev website that if you see a 'failure to prepare x12220000_4_Recovery.ipsw' error, you need to add a folder called Device Support into the iTunes folder within the Library folder that's part of your Home folder.

I opened PwnageTool's log drawer and, sure enough, that was the message I was getting at the end of the process.

Moral: read forum posts thoroughly before proceeding, and make sure you click PwnageTool's Log button so you can monitor what's going on.

PwnageTool

Expert mode continued

I created the missing folder and had one more go. This time it worked as anticipated - PwnageTool told me to turn off the iPhone then guided me through starting it again in DFU mode, so I probably didn't need to do this first.

Once again, iTunes told me the iPhone was in recovery mode, and this time, after clicking OK, I clicked on the Restore button while holding down the Alt key. This lets you manually select the firmware restoration file - I chose the one on the desktop put there by PwnageTool.

PwnageTool

Here goes...

iTunes copies across the tweaked firmware, verifies it and installs it. The handset restarts, and runs BootNeuter 2.0, which adjusts the phone's start-up code and its baseband software. When it told me it had done so, it immediately rebooted the handset.

Once it had started, the iPhone immediately connected to my network. Rather than restore the phone's contents from a back-up, I chose to treat it as a new device and sync over data, music and movies afresh.

So far, for me, it's all held up, and I've even downloaded a couple of freebies from the App Store, all without a hiccup. Still, using PwnageTool isn't as easy a process as ZiPhone made unlocking the old iPhone. And some users have had problems getting the app to run at all. If you choose to proceed, do so with caution.

Related Review
Apple iPhone 3G