How to unlock iPhone 4S and iPhone 4 using SAM Package

I have got a great news for those iPhone owners who want to unlock their phones and use them on any network of their choice. A chinese hacker named Loktar_Sun has released a new unlock solution for iPhone using Sam Binger’s SAM package. This method needs the device to be jailbroken and running iOS 5.0.1 or iOS 5.1, so that it can effectively unlock iPhone 4 and iPhone 4S.

This method of unlock works on the iPhone that gets detected by iTunes (means it should not be blacklisted). You will need the latest version of iTunes and an active internet connection. Read more for full step by step guide about unlocking an iPhone 4S and iPhone 4 using SAM (Subscriber Artificial Module) method. 

Before you start, make sure your device is jailbroken. If it is not, then follow this guide here.

The SAM package is available at repo.bingner.com in Cydia.

1. Step one: Install Sam Bingner’s SAM (Subscriber Artificial Module) package. I recommend that you get it from repo.bingner.com since older versions have a different interface and may not work for this purpose.

2. Enter SAM by either going through the settings menu or find the SAMPrefs icon on your springboard. You will need to have the SIM card you intend to use in your phone.

3. Go to utilities and select “De-Activate iPhone”, your ActivationState under “More Information” should now be “Unactivated”

4. With SAM enabled, choose “By Country and Carrier” in “Method”; find your carrier, for some carriers operating more than one Carrier ID you may need to select “SIM ID”; easy to tell since iTunes will not activate if the wrong IMSI is selected.

5. Go to More Information”, copy or write down the IMSI in “SAM Details”, then tap “Spoof Real SIM to SAM”.

6. Go back to the main SAM screen and change your “Method” to manual. Paste or enter the IMSI string we saved in Step 5.

7. Connect your iPhone to your computer and allow iTunes to do its job (namely re-activating 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 1.

8. Unplug your phone, close iTunes.

9. Disable SAM. The source article says to uninstall SAM and delete your lockdownd folders; it’s unnecessary.

10. Connect your phone to iTunes again, you should get an error saying that your phone cannot be activated. This is normal. Just close iTunes and open it again.

11. You should see signal bars in a short time, congratulations.

12. Push notifications may stop working after this procedure but can be easily restored with “clear push” utility in SAM followed by connecting to iTunes. [Guide via]

Please note that your unlocked iPhone will only work with the SIM you used while the unlocking process. This is because we tricked iTunes to think that ICCID is one the intended carrier’s. Also, you will not lose your unlock by rebooting your device or connecting it to iTunes.