Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 9 down vote accepted

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

You can also use an app like APN Backup & Restore:

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.

share|improve this answer
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
I've just got one. That's it. Perfect. – Amanda Mar 20 '11 at 2:56
It doesn't appear that you can restore by just replacing the file. I think the actual data is in a db somewhere. – gdw2 Jul 15 '13 at 23:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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