Ever since iPhone firmware 2.x Apple had allowed the carriers to disable the ability to edit the APN settings on the iPhone. Fortunately, there is a way around this issue. The are perfectly justified reasons for any iPhone users wanting to change the APN settings. One reason, is to enable data service at a foreign country with a local SIM card.
There are two different methods of accomplishing this. One is for iPhone that are factory SIM-unlocked (ie. iPhones from Australia, Belgium, Canada [iPhone 4], France, Hong Kong and UK [iPhone 4]), the other is for iPhone that had been jailbroken or unlocked using one of the many 3rd party hacks available.
iPhone that are factory SIM-unlocked
- Download the iPhone Configuration Utility.
- Create a new Configuration Profile by clicking on the New button in the Toolbar.
- In the General tab enter the required profile Name and Identifier (ie. "com.vinko.profile").
- Go to the Advanced tab click on the Configure button to enter the edit pane.
- Enter the APN information for the carrier in question.
- Click the Share button in the Toolbar to send the configuration file to an email address that you can receive on your iPhone.
- Open the email on your iPhone, double click on the attached configuration file and follow the instructions to install it. Trust and/or Allow if it ask you about the configuration file.
iPhone that are jailbroken or unlocked using 3rd party hacks
- SSH to your phone
- Edit the carrier.plist file in /System/Library/Carrier Bundles/. In my case "SmarTone_hk.Bundles". Add the following snippet
right after the code block<?xml version=”1.0″ encoding=”UTF-8″?><!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”><plist version=”1.0″><dict>
After you made the necessary APN changes. You should be able to access the Cellular Data Network settings within Settings → General → Network → Cellular Data Network
If you do not see this settings in Network you may have to restart your iPhone.
For APN settings in Hong Kong please see my post, MMS With iPhone 3.0 On iPhone 3G.