Where are my Access Point Names stored in the file system? Can I back them up via adb shell?

My phone is unlocked (AT&T Contract. Le sigh.) and I'm inching towards modding it but I want to be sure I've got my APN settings.


Yes, just copy the /system/etc/apns-conf.xml file.

You can also use an app like APN Backup & Restore: https://market.android.com/details?id=com.riteshsahu.APNBackupRestore

Edit: To backup manually-entered APNs (or ones otherwise not part of your ROM, such as ones "imported" when you insert a new SIM card) you also need to back up


APN Backup & Restore does not do this.

  • I actually just dug out /system/etc/apns-conf.xml but ... that file contains the default T-Mobile APNs not the APN that I entered manually for AT&T. Under Settings > Mobile Network > Access Point Names on my phone itself I see the correct APN for my carrier. Where is that stored? – Amanda Mar 20 '11 at 1:34
  • (An academic question. I'm just curious. I copied the settings I need using the age old "eyeball and pen" method.) – Amanda Mar 20 '11 at 1:50
  • Hmm, that's a good question. I just checked mine and it doesn't have info for my carrier either ... can't find any information about it or files that look promising. Maybe it's in a database somewhere. – Matthew Read Mar 20 '11 at 2:23
  • 1
    I've just got one. That's it. Perfect. – Amanda Mar 20 '11 at 2:56
  • 1
    It doesn't appear that you can restore by just replacing the com.android.settings_preferences.xml file. I think the actual data is in a db somewhere. – gdw2 Jul 15 '13 at 23:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.