All the credits go to iClarified @ http://www.iclarified.com/entry/index.php?enid=2538
These are instructions on how to software unlock the iPhone 3G for use with any GSM cellphone carrier.
Before you can follow these instructions you must have a jailbroken iPhone and you must be on the 02.28.00 baseband(modem firmware). This means that you must be running the 2.2 firmware. If you used PwnageTool to update to 2.2 from 2.1 you will have to rejailbreak using a QuickPwn jailbreak tutorial for the time being.
To find your firmware and modem firmware(baseband) versions you can follow this tutorial. If you are not on firmware version 2.2 and baseband version 02.28.00 then you need to follow one of these tutorials before unlocking: Mac, Windows
Watch the Video!
For your convenience this tutorial is available in video format also. Click the Watch It button to view the tutorial!
For your convenience this tutorial is available in video format also. Click the Watch It button to view the tutorial!
Step One
Press to launch Cydia Installer from your SpringBoard.
Step Two
Press to select the Manage tab at the bottom of the screen.
Step Three
Press to select the large Sources button
Step Four
Press the Edit button at the top right of the screen.
Step Five
Press the Add button at the top left of the screen.
Step Six
Enter http://apt9.yellowsn0w.com/ as the source url and press the Add Source button.
Step Seven
Once the source has been added press the large Return to Cydia button.
Step Eight
Press the Done button at the top right of the screen.
Step Nine
Press to select apt9.yellowsn0w.com from the list of user entered sources.
Step Ten
Press to select yellowsn0w from the list of packages
Step Eleven
Press the Install button at the top right of the screen.
Step Twelve
Press the Confirm button at the top right of the screen.
Step Thirteen
After installation completes successfully press the large Return to Cydia button.
Step Fourteen
Now press the Home button then power off and power on the iPhone. You do this by holding down the power button for 3 seconds then moving the power slider that appears to the right. Press the power button again to turn on the phone.
Step Fifteen
You should now be able to insert the SIM of your choice!
***HINTS: It seems that getting your iPhone to pick up your new carrier can be helped by turning off 3G and perhaps toggling the Airplane Mode switch on and off. If you are still having problems try removing and reinserting the SIM or booting with the new SIM already inside. Finally, you can also try to Reset Network Settings from the Settings:General:Reset Menu.
***IMPORTANT: For those having trouble. The yellowsn0w application can simply be uninstalled. If you have tried all the hints and suggestions and still have problems just use Cydia to remove the package and then reboot. You will then have service with your locked carrier as always.
***THANKS: A big thank you to all the members of the iPhone Dev-Team for all their hard work! It is much appreciated by all.
***UPDATES: The Dev-Team has made the following updates...
1. Soon you’ll see yellowsn0w 0.9.1 in the repos. It uses a much longer delay to let your SIM card initialize. If you have problems with 0.9.0, try this one and wait a full minute after you see homescreen, then reinsert sim card. We need both success and failure reports to tune this across the world, so please be patient (but please also report result!)
2. If you are in the U.S. and are trying this with T-Mobile, you must turn off the 3G switch in Settings. Also if you are good with the command line, you can make it much easier by adding the line
3. No PIN support yet. Remember how we said this was beta? Well we’re still working out the flow for SIMs with PINs enabled. Please disable any PIN you may have on that SIM before trying yellowsn0w, for now..