Home / Tutorials / How to Unlock your Jailbroken iPhone with SAM

How to Unlock your Jailbroken iPhone with SAM

You can Unlock your jailbroken iPhone right now thanks to an iPhone hacker called Loktar_Sun. The iPhone unlock relies on a project made by iOS developer Sam Bingner dubbed SAM, which stands for Subscriber Artificial Module. Loktar_Sun used SAM in an unexpected way, reusing the IMSI obtained in an early step by adding it to a later step. Renowned iPhone hacker MuscleNerd has confirmed via his Twitter that this unlock method works with his iPhone 4S:


MuscleNerd tells us that the unlock must be performed with each SIM individually. The activation ticket on the iPhone needs to match that of the SIM it was generated with, so you won’t be able to switch between SIM cards on the fly unless you unlock them one by one by repeating this process. This is where the factory unlocked iPhone has an advantage.

MuscleNerd also states that if Apple fixes this unlock method, your unlock should still be valid.


Unlocked Jailbroken iPhone 4 /iPhone 4S  with any baseband:

What do you need: A jailbroken iPhone that can be activated in iTunes (that is, not officially blacklisted), a computer with the latest iTunes installed and working internet connection.  You will also need to know the carrier that your iPhone is locked to.

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.

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.

Since it does not involve emergency numbers or IMSI spoofing it will not have any of the issues associated with SIM interposers. Tested working on iOS 5.0.1 but should work with tethered 5.1 too.

more information

Carriers’ Code:


Download Full Version

About J8mesz

I don't strive to be #1, but to be the only one.


  1. My iphone is AT&T but can’t be activated I turned the iphone off and now I can’t use it it says that needs the original sim card

Leave a Reply