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.

1 Answer 1


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
    Commented Mar 20, 2011 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
    Commented Mar 20, 2011 at 1:50
  • 1
    I've just got one. That's it. Perfect.
    – Amanda
    Commented Mar 20, 2011 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
    Commented Jul 15, 2013 at 23:15
  • 1
    The db for the actual data is in "/data/data/com.android.providers.telephony.databses/telephony.db" --> bradchow.wordpress.com/2009/02/26/apns-file-in-android
    – Galled
    Commented Feb 19, 2014 at 16:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .