this is the way I unlock one of my friend's iphone to work with iran mobile provider.
first of all you have to know which version of firmware your iphone has, in this tutorial we assume you have a brand new iphone and have firmware version 1.1.1 (latest). if you are not sure which version do you have then : On the emergency dial screen dial *3001#12345#* and tap Versions.
It should be 04.01.13_G. if its 03.14.08_G you have v1.0.2 and need to update it first or search on google to find old tutorial.
you need to have a Wi-Fi-network connection available. you can share your laptop connection trough the Wi-Fi and then use an adhoc connection to do the rest.
Bypass activation, and prepare phone for software installation
- On the activation screen, get to the emergency dialer and dial: *#301# to make the phone call it self. (If the incoming call dialog quickly disappears but it keeps ringing, just dial 0 (remove *#301# first), and it will call itself)
- Answer the call, and tap on Hold
- Phone will call it self again, tap Decline
- You will now be returned to the normal dialer.
- Tap on contacts, and add a new one. Tap Add new URL and fill in this URL: jailbreakme.com. Tap Save twice.
- When viewing the contact, tap on the home page. Safari will launch, but you will get an error that page can't open. Tap Ok.
- Now you just wait for a minute: The screen will turn dim, and turn off after 30 seconds, but after another 30 seconds it will suddenly turn on again, and the Wi-Fi selction dialog is shown. Tap on your network (If it has a lock icon next to it you'll have a problem, because the keyboard does not show up so you can't enter a password).
- The webpage should load now, but your phone will "freeze", so just hold down the power button for 5 seconds and slide to power off, before you power it on again.
- Repeat step 1 to 4, but don't create a new contact, just tap on the home page to the one you already created.
- Now the web page will load properly and you can read through the text, before you Install AppSnapp
- Phone will return to activation screen, but don't panic, just wait.
- Phone will eventually call it self again, but this time, just restart the phone, by holding down the power button for 5 seconds.
- Start the phone again, and you should be taken directly to the home screen! Activation is now bypassed, and phone prepaired for software installation!
Unlock the SIM-lock
- Open installer, and install the update if prompted.
- Go to sources and tap Edit and Add
- Add this URL: i.unlock.no
- Tap Done and then Refresh
- Go to Install (at bottom) and scroll down to the category "System"
- Install BSD Subsystem (this may take some time)
- When done, go to Unlocking Tools category and install AnySIM (ignore the others, they are already installed if you followed this tutorial)
- When installed you can press the home button, and you will find a new AnySIM icon on your home screen. Launch it and follow the instructions.
- The unlocking process will take about 5-10 minutes, in the end it should say it was successful!
- To clean up your phone, launch Installer, and uninstall AnySIM and BSD Subsystem. Lastly, go to Settings → General → Auto-Lock and set it to a prefered value.
- If YouTube does not work ("You must first connect to iTunes..."), install YouTube activation which is found in the Unlocking tools-category.
Congratulations, you are done!