Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

APN Generator

OP CarpeNoctem

23rd May 2012, 06:41 PM   |  #1  
CarpeNoctem's Avatar
OP Senior Member
Flag New York
Thanks Meter: 676
 
1,212 posts
Join Date:Joined: Mar 2007
More
If there is one thing I hate about changing rom all the time is the need to think about saving and restoring my APN setting, depending on the carrier I use.
To solve this issue I developed a webtool that will allow you (and I) to automatically export the setting for the carrier I need and re-inject them into your phone using APN Backup and Restore, the app is developed by riteshsahu, all credit goes to him.

First, a word of caution, APN Backup and Restore works without any issue with GB or HC but need to be installed as SYSTEM APP on ICS.

The tool is available here: http://www.osimood.com/2012/05/news-apn-database/ just choose your country and operator to see the details and if you want the XML to be imported with APN Backup and Restore just use the "Generate XML" button

The file downloaded has to be place in the folder /sdcard/ApnBackupRestore to be used.

I hope it helps, feel free to leave your comments and ideas!
Last edited by CarpeNoctem; 30th May 2012 at 04:31 AM.
The Following 14 Users Say Thank You to CarpeNoctem For This Useful Post: [ View ]
23rd May 2012, 06:42 PM   |  #2  
CarpeNoctem's Avatar
OP Senior Member
Flag New York
Thanks Meter: 676
 
1,212 posts
Join Date:Joined: Mar 2007
More
Your operator information is not included, feel free to send me an XML document formatted as below and I'll update the data ASAP
Code:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<apnData>
    <country>ISO 3166-1 alpha-3 Country code</country>
    <operator>
        <name>Operator_Name</name>
        <url>URL_Operator</url>
    </operator>
    <apnInfo>
        <name>APN_Name</name>
        <apn></apn>
        <proxy></proxy>
        <port></port>
        <username></username>
        <password></password>
        <server></server>
        <mmsc></mmsc>
        <mmsproxy></mmsproxy>
        <mmsport></mmsport>
        <mmsprotocol></mmsprotocol>
        <mcc></mcc>
        <mnc></mnc>
        <authentycationType></authentycationType>
        <type></type>
    </apnInfo>
</apnData>
Feel as much data as you have and if your operator use several APNs (for example, one for data and one for MMS), send me different files for each of the APNs.
Last edited by CarpeNoctem; 23rd May 2012 at 08:28 PM.
The Following User Says Thank You to CarpeNoctem For This Useful Post: [ View ]
23rd May 2012, 06:42 PM   |  #3  
CarpeNoctem's Avatar
OP Senior Member
Flag New York
Thanks Meter: 676
 
1,212 posts
Join Date:Joined: Mar 2007
More
Reserved for future use 2
23rd May 2012, 09:13 PM   |  #4  
dudejb's Avatar
Senior Member
Flag Montreal
Thanks Meter: 100
 
572 posts
Join Date:Joined: Feb 2007
More
Here is mine I took from APN Backup
Code:
 <apn 
 name="Rogers Internet" 
 numeric="302720" 
 mcc="302" 
 mnc="720" 
 apn="rogers-core-appl1.apn" 
 user="" 
 server="" 
 password="" 
 proxy="" 
 port="" 
 mmsproxy="10.128.1.69" 
 mmsport="80" 
 mmsprotocol="null" 
 mmsc="http://mms.gprs.rogers.com" 
 type="default,supl,mms" 
 />
 
  <apn 
  name="Rogers Tethering" 
  numeric="302720" 
  mcc="302" 
  mnc="720" 
  apn="isp.apn" 
  user="" 
  server="" 
  password="" 
  proxy="" 
  port="" 
  mmsproxy="" 
  mmsport="" 
  mmsprotocol="null" 
  mmsc="" 
  type="dun" 
  />
23rd May 2012, 10:26 PM   |  #5  
CarpeNoctem's Avatar
OP Senior Member
Flag New York
Thanks Meter: 676
 
1,212 posts
Join Date:Joined: Mar 2007
More
Quote:
Originally Posted by dudejb

Here is mine I took from APN Backup

Code:
 <apn 
 name="Rogers Internet" 
 numeric="302720" 
 mcc="302" 
 mnc="720" 
 apn="rogers-core-appl1.apn" 
 user="" 
 server="" 
 password="" 
 proxy="" 
 port="" 
 mmsproxy="10.128.1.69" 
 mmsport="80" 
 mmsprotocol="null" 
 mmsc="http://mms.gprs.rogers.com" 
 type="default,supl,mms" 
 />
 
  <apn 
  name="Rogers Tethering" 
  numeric="302720" 
  mcc="302" 
  mnc="720" 
  apn="isp.apn" 
  user="" 
  server="" 
  password="" 
  proxy="" 
  port="" 
  mmsproxy="" 
  mmsport="" 
  mmsprotocol="null" 
  mmsc="" 
  type="dun" 
  />

Thanks but not the good format
29th May 2012, 06:32 AM   |  #6  
Senior Member
Flag SOCAL
Thanks Meter: 1
 
111 posts
Join Date:Joined: Jan 2008
will this be applicable for CDMA devices as well?
29th May 2012, 07:03 AM   |  #7  
bedwa's Avatar
Recognized Developer
Flag Springfield IL
Thanks Meter: 655
 
1,129 posts
Join Date:Joined: Oct 2008
More
I take it you have the AT&T settings right? Standard wap.cingular & the 4G phone/wap.cingular dual gateway right?
29th May 2012, 07:06 AM   |  #8  
CarpeNoctem's Avatar
OP Senior Member
Flag New York
Thanks Meter: 676
 
1,212 posts
Join Date:Joined: Mar 2007
More
Quote:
Originally Posted by bedwa

I take it you have the AT&T settings right? Standard wap.cingular & the 4G phone/wap.cingular dual gateway right?

I did already input some APN but the more you have the more all benefit of it, feel free to check the site and tell me if any error or missing element
29th May 2012, 09:49 AM   |  #9  
Senior Member
Flag Barnsley
Thanks Meter: 836
 
1,701 posts
Join Date:Joined: Jan 2011
More
Hi guys just a thought for you why don't u use cm9 apns.conf file as this has absolutely loads in it
Let me know if you want the file containing them or just download cm9
The Following User Says Thank You to festa20 For This Useful Post: [ View ]
29th May 2012, 12:16 PM   |  #10  
Senior Member
Thanks Meter: 13
 
161 posts
Join Date:Joined: Jun 2008
Here is a file for Dhiraagu, Maldives
Thanks for your initiative, I too hate plotting in the information over and over ... XDA will not let me upload a an xml file, so here is a zip ..
Attached Files
File Type: zip dhiraagu mobile.zip - [Click for QR Code] (6.1 KB, 102 views)

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes