Unlocking the iPhone
Unlock Guide
Step 1 - Jailbreaking your iPhone
To begin the unlocking process you need to jailbreak your iPhone in order to write files to it. There are many simple 1 click solutions for this but they sometimes result in problems. A good tool for jailbreaking your iPhone this is either iNdependence, or iFuntastic. iNdependence works best so that is what will be used in this guide. Run iNdependence and performt he jailbreak. You will have to direct the program to the firmware files for the iPhone, which can be downloaded by clicking here.
Step 2 - Activation
You will need to activate your iPhone now. This can be done quite easily from within iNdependence. To do this you will still need the iPhone firmware files from the last step. After redtarting your iPhone a few times you should be activated and you will now be able to check out the iPhone interface and applications.
Step 3 - Using SSH and Installer
Now that the iPhone is activated you will need some tools, specifially SSH. You will need to install this onto your iPhone. However, before you can do this you will need the installer.app from NullRiver. It is possible to install SSH directly from iNdependence but installer.app is something you will want to have anyways.
Installer is an amazing program that will allow you to install an array of iPhone applications. Setup your WiFi connection in your iPhone settings and then you can begin downloading necessary programs using installer. You will need to install the following applications, in this order:
BSD Subsystem (v1.5 currently - adds some FreeBSD tools)
Community Sources (v2.5 - adds tons of community maintained apps, :))
Installer (v2.63 - Installs stuff!)
OpenSSH (v4.6x - allows us to SSH to the iPhone)
Once those applications are installed, you should be able to SSH to your iphone (user: root / password: dottie):
ssh root@your.iphone.ip
Step 4 - Copy Necessary Files
At this point you can remove the SIM from your phone; you won’t need it again until the end of the iphone unlocking procedure. Now we need to copy some files from this zip folder onto the iPhone. You can do this step easily with any SFTP client like Transmit (for Mac users). Put the files from the zip folder onto your iPhone into the following locations; (note: you will not need to create any folders):/usr/libexec/lockdownd/etc/termcap/bin/ice.fls/bin/nor/bin/iunlock/bin/bbupdater
Step 5 - “Hacking” the iPhone
Log into your iPhone using SSH and execute the following commands, everything should be work smoothly but make sure you watch for error messages. The NOR dump/patch will take about 20 minutes:chmod +x /bin/iunlockchmod +x /bin/bbupdatermkdir /usr/localmkdir /usr/local/etc/bin/launchctl unload /System/Library/LaunchDaemons/com.apple.CommCenter.plistiunlock ice.fls norbbupdater -v
Step 6 - Tweak the Modem Settings
At this step you will need to tweak/adjust the modem slightly. Again in SSH, run:minicom -sYou will get an error message about no configuration file found, but this is okay. Select serial port setup, and change /dev/modem to /dev/tty.baseband, save the setup as dfl, and then exit.
At this point you should have initialized the modem and input the information to a command line within minicom 2.2. You are now almost done unlocking your iPhone! Type this:AT+CLCK=”PN”,0,”00000000″and thenAT+CLCK=”PN”,2Each of these commands shoud result in an OK response from minicom.
Step 7 - Your all done!
At this point, reboot your iPhone and insert your SIM card. Your iPhone is now unlocked. Time to celebrate!
Click here for More information on Phone Unlocking







February 9th, 2008 at 1:23 am
Wow! Great unlocking guide, thanks so much! I had a bit of toruble with the SSH my first time but on my second try i got it.