Solution to iPhone 1.1.1 not keeping non-AT&T carriers’ APN

October 20th, 2007 by ktula

iPhone icon

Update 20071025 17:15 If you are having problem getting the APN setting appear after a reboot even after changing the UnknownCarrier.plist file, try this: Edit the UnknownCarrier.plist file as shown below, and then go into Settings > General > Network > EDGE and enter the appropriate info for APN. I found out that i had to do this after i restored my iPhone again.

Update 20071021 10:02 For Windows/Linux users, the UnknownCarrier.plist file is just an ordinary xml file. You can edit it with your favorite text editor.

The file looks like this, with the section to edit in red (change internet2.voicestream.com to your appropriate APN server):
UnknownCarrier.plist in text editor

Update 20071020 10:00 The previously mentioned easier method has been reported not to be working for some.

Update 20071020 16:25 There appears to be another easier solution. According to RpR at the Dev Team forum, just install Services.app, run it, switch off EDGE and then switch on EDGE again. Select Other and enter the APN server. This should update the plist file.

Original post:
After upgrading to iPhone firmware 1.1.1, i noticed that after a reboot or power off/on of my iPhone, i would lose the APN server setting for T-Mobile.

iPhone APN setting

So i posted a question on iPhone Dev Team’s forum and almost immediate i got a reply. The suggestion was to edit the following plist file on iPhone:

/var/root/Library/Preferences/com.apple.carrier.plist

However, i realized that this file is just a symbolic link to:

/System/Library/Frameworks/CoreTelephony.framework/Support/UnknownCarrier.plist

So i transferred the UnknownCarrier.plist file and edited it using Property List Editor (if you double-click on the file, it will open up Property List Editor automatically). I updated the value for “apn”, as shown in the highlighted screenshot below:

iPhone UnknownCarrier.plist file edit

After that, i transferred the edited file back to my iPhone. To test, i rebooted the phone and voila, the APN server setting is still there!

Related posts


6 Responses to “Solution to iPhone 1.1.1 not keeping non-AT&T carriers’ APN”

  1. 1

    TiringthoughtNo Gravatar Says

    I already did your steps above but cannot get the phone to go onto edge.

    Whenever i try to edit the APN settings the phone goes back to the home screen and forgets what I entered into the APN field.

    Any advice on what i can do to get EDGE working on my phone?

    Thanks.

  2. 2

    ktulaNo Gravatar Says

    If every time you attempted to edit the APN settings and the phone reset itself, taking you back to the home screen, then you have a bigger problem than not being able to keep the APN settings. Did you install Summerboard? If so, is the “Dim Wallpaper” option on? I, and several other people, have problems with iPhone constantly resetting itself with that Summerboard option on.

  3. 3

    Sparky10No Gravatar Says

    Do you know a way in which I can add a second APN, and be able to choose between the two depending on the email account I am connecting to? My work email uses a specific APN, which can’t connect to the internet generally…

  4. 4

    ktulaNo Gravatar Says

    I don’t believe there is a way to add a second APN server.

  5. 5

    OneyNo Gravatar Says

    That way worked for me, (sort of), I just used PuTTy to SSH in and nano edit it. As for adding a 2nd APN, connecting through one carrier, is that possible with ANY cell phone?

  6. 6

    rickxNo Gravatar Says

    My iphone has no UnknownCarrier.plist at all, so this is a clear explanation of the not-storing problem. I’m writing a new one now…but if you could upload yours, that could help somebody (I surely did not delete mine in any way).

Leave a Response

Yes, I would like to receive notification on incoming comments!

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word