Tutorial:Unlock iPhone 3G with TurboSim

From The iPhone Wiki
Revision as of 00:10, 5 May 2009 by Srts (talk | contribs) (TurboSIM Compatibility with Operators)
Jump to: navigation, search

By following these instructions, you acknowledge your responsibility for any damage you cause to your device, and you recognize that you may void your iPhone's warranty.

This article is a step by step instruction to use a net-locked iPhone-3G with a different provider.

The dev team states on their blog that the SIM hacks they examined send illegal signals.

Update / Warning:

ZeroG, was not intended to do trickery to your cellular network. But due to the way the iPhone's 2.x baseband firmware handles the login, actually it does. Short overview: ZeroG starts up the SIM replacing MCC / MNC with test IMSI codes, leaving the MSIN untouched. Then it restarts the SIM giving the correct IMSI afterwards. Unfortunately the iPhone asks the SIM exactly one time for the IMSI, it doesn't care about the restart. So effectively the login into the cellular network is done in test IMSI mode. Now it is up to your provider, how it handles such requests. For normal logins (no turboSIM) the login request is processed by your provider. In the roaming case your login request is routed from the guest provider to your provider. There is no provider for 'test' MCC / MCN. Your provider has to recognize this upon login (This implies you have to manually select cellular network right from the start.) If your provider accepts the test IMSI code and does authentication with your MSIN (this implies, (real) roaming is not possible, as only _your_ provider can process MSIN correctly), everything could be fine. You don't spoof your identity, there should also be no billing problems. But if you try this method, have successfully installed ZeroG.trb and do _not_ gain access, probably your provider does not accept test IMSI mode. In this case better do not retry as you might risk your IMSI beeing blacklisted.


Swisscom -> O2 Germany

Preamble

Apart from the warning and some other things, the method is quite stable if it works with your provider at all. You have to take care of:

  • never switch on 3G mode
  • before you use your SIM card that you want to unlock, put it in a different 2G phone and manually select provider and check GPRS works
  • for GPRS, "data roaming" has to be enabled on the iPhone (it is not roaming for your provider, but the iPhone thinks it's roaming)

Motivation

Everyone who dislikes pink T's, over-priced unlocked iPhones and likes investigating exciting techniques ... (a.s.o.)


Supported Basebands

Baseband Exploitable
01.43.00 unknown
01.45.00 yes
01.48.02 yes
02.04.03 unknown
02.08.01 yes
02.11.07 yes
02.28.00 yes


Prerequisites

You need:


Installation

1. Insert your simcard in another 2G phone, and remove the SIM Card Pin Code. You should also go to the Network Selection, and Manually select your network. Then cut your SIM card to fit with the TurboSIM. Google a little bit how to do this, or use YouTube and insert both into your iPhone 3G.

2. Unpack turbo-cable-utils

3. Copy contents of bin-iphonev2 to folder /bin/ on your iPhone. (username: root password: alpine)

4. Unpack zerog-0.95 and copy zerog095.trb to /private/var/root/

Winscp turbo-utils.png

5. For Windows users, SSH into your iPhone using Putty. For Mac users, SSH into your iPhone using Terminal (Applications::Utilities::Terminal)

6. Change the permissions of the turbo files to 755

chmod 755 /bin/turbo-*

7. Run

launchctl unload -w /System/Library/LaunchDaemons/com.apple.CommCenter.plist

8. You should now lose your signal, and WiFi. Restart your phone. You will now have WiFi on and CommCentre unloaded.

9. Run turbo-info

# turbo-info
 initializing modem
modem initiated
OK. No Error

NOTE: If you get an error from turbo-info, look for turbo-iphone-smsreset and run it.

10. Now run turbo-app /private/var/root/zerog095.trb

# turbo-app /private/var/root/zerog095.trb 
SRC /private/var/root/zerog095.trb
SIZE 1032
initializing modem
modem initiated
OK. No Error

11. Run

launchctl load -w /System/Library/LaunchDaemons/com.apple.CommCenter.plist

12. Now you should see Zero-G in the Sim Applications in Settings -> Phone -> Sim Applications


Ip simapp.png

Ip zerog.png


14. Click on Zero-G

15. Remove your card and TurboSIM from the 1st Generation iPhone

16. You will get No Service

Ip noservice.png


17. Open Settings -> Phone -> Sim Applications and click on Zero-G You may be interrupted by a popup which says Going to Switch, just choose Accept (Green Button) If you do not get interrupted, it will appear in a minute after choosing Zero-G from Sim Applications.


Ip zerog2.png


18. That's it!!

Ip unlocked.png


2G data settings

  • roaming must be enabled
  • make sure APN settings are correct (if APN options don't show up, just install a configuration file created with Apple's 'Web Configuration Utility' (Mac / Windoze) (In Windoze you can reach it with http://localhost:3000 ). Send this file to yourself and open it with the mail client.
  • in BossPref (if you don't use it, don't care) 'edge' should be left enabled, even if network does not provide it (seems the BossPref option is a little bit misleading and 'edge' actually means 'GPRS/edge')

3G-SIM / USIM

A new adapter was released in December 2008 (Gevey-3G Plus 2) which allows full unlocking of any firmware version (2.2 and previous), without the need of first placing the simcard in another unlocked device. You may have to turn 3G off, then insert the adapter placed with your sim card. After that you can turn 3G on. You'll have a full unlocked iPhone, including 3G signal. Also, this particular adapter does not require to cut your simcard, since the memory component is placed in the bottom part. This new version allows "flight mode" use, seamless 3G/EDGE working, as well other functions. In some cases a jailbreaking is needed in order to have it working properly.

It works with (some?) USIMs (blau.de Germany) as well. 3G must not be activated on the iPhone. Once 3G is activated, it stops working, even if it is deactivated afterwards. To revive such SIM, put it in a non UMTS capable phone (did it together with turboSIM), check phone and GPRS functions and then this USIM will work again on the iPhone-3G. The SIM application (zero-g) was not visible, but it worked though. If GPRS does not work after a while (3 minutes or so), reboot your phone and try again.

GPRS-'Fix'

Today GPRS stopped working for me. Seems to be there are some 'states', stored on the SIM. This fixed the issue:

  • removed SIM+TSim
  • put SIM (without TSim) into non UMTS, but GPRS/edge mobile
  • checked GPRS
  • repacked Sim+TSim and put it back to the iPhone

Voilà, here we go :-) GPRS for another few days :-)

Tho' this might really not be the ultimate solution, I could hardly switch back to my old XDA Orbit. But XDA is a good device to revive the TSim solution... For that, I still love it a litte bit ;-)


Stuck in No Signal after a period

Randomly you can get stuck in a bad No Signal. To correct that:

  • remove SIM+TSim
  • put SIM (without TSim) into non 3G phone
  • Manually select your provider (desired to unlock) network
  • repack Sim+TSim and put it back to the iPhone

Here we go again, unlock iphone for a few days more also.


TurboSIM Compatibility with Operators

Actually this table gives a rough overview of all *sim solutions because it reflects working of MCC/MNC = 001/01 and all *sim known so far use this method. The table doesn't give information about 3G though, as turbosim does not support 3G SIM-ME communication at the moment. So could be, some *sim solutions work with 3G where this table indicates no. Most probably there isn't any *sim solution that works in a specific configuration if this table indicates 'no' for the method at all.

Remarks

  • Important is you get zero-g into your turboSim. So you could also try with a first gen iphone, this needs the other version of turbo-cable-utils (bin-iphonev1) in case you didn't upgrade to 2.x yet.
  • If you get ERROR: Not Enough RAM run turbo-rm-apps
  • If you should encounter any problems with your TurboSIM (no access anymore, wrong app, ...) there is an easy method to remove installed turbo sim applications: instead of giving your SIM-Pin, enter the TPIN which you can find next to the serial number on the cover. This will reset your TurboSIM. Afterwards the phone asks a second time for your PIN, now use the SIM-Pin.
Country Unlocked Provider SIM/USIM Calls? SMS? GPRS/EDGE? UMTS/HSDPA? Comments
Brazil TIM SIM Yes Yes Yes Yes 3G signal with Gevey-3G adapter. Turn off 3G, insert simcard, then turn 3G on.
Brazil Claro SIM Yes Yes Yes Yes 3G signal with Gevey-3G adapter. Turn off 3G, insert simcard, then turn 3G on.
Brazil Vivo (Telefónica) SIM Yes Yes Yes Yes 3G signal with Gevey-3G adapter. Turn off 3G, insert simcard, then turn 3G on.
Brazil Oi SIM Yes Yes Yes Yes 3G signal with Gevey-3G adapter. Turn off 3G, insert simcard, then turn 3G on.
Germany Blau.de USIM Yes Yes Yes No
Germany Congstar USIM Yes Yes No No N/A
Germany O2 USIM No No No No They realized the challenge, striking back. Don't stress them. Don't use it.
Germany O2 SIM No No No N/A They realized the challenge, striking back. Don't stress them. Don't use it.
Israel Orange (Partner) USIM Yes Yes Yes No
Jordan Orange SIM Yes Yes Yes N/A
Jordan Umniah SIM Yes Yes Yes N/A
Jordan Zain SIM Yes Yes Yes N/A
Netherlands KPN USIM Yes No No No Unstable.
Turkey Turkcell SIM Yes Yes Yes N/A
UK Orange SIM No No No N/A
UK Tesco SIM Yes Yes N/A N/A
UK Virgin SIM Yes Yes N/A N/A
UK Vodafone SIM Yes Yes N/A N/A
N/A T-Mobile SIM No No No N/A
Bermuda Mobility SIM No No No No No Signal, Works With Yellowsn0w, but loses signal as soon as TurboSim is insrted.
Australia Three USIM Yes Yes No Yes Airplane mode not working. Turn 3G off needs reboot if you want signal again. Using "i-SmartPhone" TSim