MuscleNerd just confirmed a new unlock solution called SAM (Subscriber Artificial Module) discovered by Chinese hacker Loktar_Sun managed can unlock any model of the iPhone on any baseband. That's really great! And now here is the how-to for unlocking your iPhone 3GS, iPhone 4 or iPhone 4S (CDMA + GSM) on any firmware above iOS 5.0 and also any baseband version with the new tool SAM.
Before you start however, there are a few things you need to keep in mind. First of all you need to make sure that you have Jailbroken iPhone that has not been listed on any IMEI blacklists. Secondly, you will need to ensure you have the latest version of iTunes and also know which carrier your iPhone is locked to. Finally, please keep in mind that this process only applies to the SIM card you carry it out on. This means if you have another SIM card you wish to use on your unlocked iPhone you will need to repeat this process.
Jailbreak your iPhone. You can find instructions for your devices on Pandaapp Jailbreak page.
Tap to launch Cydia from your SpringBoard.
Press to select Manage from the tabs at the bottom of the screen.
Press the large Sources button.
Press the Edit button at the top right of the screen.
Press the Add button that appears at the top left of the screen.
Enter http://repo.bingner.com and press the Add Source button.
Press the large Return to Cydia button.
Press to select Bingner from the list of Sources.
Choose SAM from the list of packages.
Press the Install button at the top right of the screen.
Press the Confirm button to begin installation.
Once installation has completed press the large Restart SpringBoard button.
Insert your new SIM card and tap to select SAMPrefs from your SpringBoard.
Press to select De-Activate iPhone. Your ActivationState under "More Information" should now be "Unactivated". If you don't have De-Activate iPhone you can use De-Activate iPhone (clear push).
With SAM enabled, tap Method and choose By Country and Carrier.
Tap Country and choose the country of your ORIGINAL SIM.
Tap Carrier and choose your ORIGINAL carrier that your iPhone is locked to.
For some carriers operating more than one Carrier ID you may need to select SIM ID. If you are unable to activate in Step Twenty Four then you have selected the wrong one.
Step Twenty One
Tap More Information and copy the IMSI under SAM Details to the clipboard.
Step Twenty Two
Tap Spoof Real SIM to SAM
Step Twenty Three
Go back to the main SAM screen and paste the IMSI number in your clipboard.
Step Twenty Four
Connect your iPhone to the computer and let iTunes reactivate your phone.
"Double click "Phone Number" parameter at the main device screen and make sure that the ICCID matches that of your SIM card." If not you need to start over from Step Fourteen."
Step Twenty Five
Unplug your iPhone from the computer and close iTunes.
Step Twenty Six
Reopen SAMPrefs from your SpringBoard and disable it using the Enabled switch.
Step Twenty Seven
Connect your iPhone to the computer and launch iTunes again.
You should get an error saying that your phone cannot be activated. This is normal. Just close iTunes and open it again.
Step Twenty Eight
In a short time you should see signal bars. Congratulations!
Step Twenty Nine
You should now backup your iPhone unlock ticket in case this method is ever blocked. You can find instructions on how to backup the unlock ticket here.
If push notifications stop after this process, you can restore then with the Clear Push utility in SAM, followed by connecting to iTunes.
Your phone will work normally with your SIM card and that SIM card ONLY since we have tricked iTunes to think that ICCID is one of the intended carrier's. The phone can be rebooted and connected to iTunes freely without losing the "unlock", at least for now.
We should say thanks to Loktar_Sun and Laforet for their contributions!
Update: If you are bored with the steps, maybe you would like to check out the video tutorial. (via idownloadblog)