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!
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>[URL="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3"][B][I]ISO 3166-1 alpha-3 Country code[/I][/B][/URL]</country>
<operator>
<name>[I][B]Operator_Name[/B][/I]</name>
<url>[I][B]URL_Operator[/B][/I]</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.
Reserved for future use 2
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"
/>
dudejb said:
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"
/>
Click to expand...
Click to collapse
Thanks but not the good format
will this be applicable for CDMA devices as well?
I take it you have the AT&T settings right? Standard wap.cingular & the 4G phone/wap.cingular dual gateway right?
bedwa said:
I take it you have the AT&T settings right? Standard wap.cingular & the 4G phone/wap.cingular dual gateway right?
Click to expand...
Click to collapse
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
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
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 ..
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<apnData>
<country>TUR</country>
<operator>
<name>AVEA</name>
<url>www.avea.com.tr</url>
</operator>
<apnInfo>
<name>internet</name>
<apn>internet</apn>
<proxy></proxy>
<port></port>
<username></username>
<password></password>
<server></server>
<mmsc></mmsc>
<mmsproxy></mmsproxy>
<mmsport></mmsport>
<mmsprotocol></mmsprotocol>
<mcc>286</mcc>
<mnc>04</mnc>
<authentycationType></authentycationType>
<type>default</type>
</apnInfo>
</apnData>
Thought you might want to add Giffgaff APN to your app if you haven't already, so to help you out
- APN: giffgaff.com
- Username: giffgaff
- Password: password
- MMSC: http://mmsc.mediamessaging.co.uk:8002
- MMS proxy: 193.113.200.195
- MMS port: 8080 then tap OK
- MCC: 234 then tap OK
- MNC: 10
Zorigo said:
Thought you might want to add Giffgaff APN to your app if you haven't already, so to help you out
- APN: giffgaff.com
- Username: giffgaff
- Password: password
- MMSC: http://mmsc.mediamessaging.co.uk:8002
- MMS proxy: 193.113.200.195
- MMS port: 8080 then tap OK
- MCC: 234 then tap OK
- MNC: 10
Click to expand...
Click to collapse
Thanks a lot but I need the info in XML formet as posted in the second post
festa20 said:
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
Click to expand...
Click to collapse
Yes and that was my first attempt but it is just raw data no country classification or real capacity to filter or sort, or I missed something
bandur said:
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 ..
Click to expand...
Click to collapse
Happy you like the initiative, for the XML just copy it here in plain text and I'll import it
check the second post to see the format
Hi, thanks for your work. I have needed this more than once. Here are the details for my provider for you to add to your web.
Code:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<apnData>
<country>CUB</country>
<operator>
<name>Cubacel</name>
<url>http://www.cubacel.com</url>
</operator>
<apnInfo>
<name>Cubacel MMS</name>
<apn>mms</apn>
<proxy></proxy>
<port></port>
<username></username>
<password></password>
<server></server>
<mmsc>http://mms.cubacel.cu/</mmsc>
<mmsproxy>200.13.145.52</mmsproxy>
<mmsport>8080</mmsport>
<mmsprotocol>WAP 2.0</mmsprotocol>
<mcc>368</mcc>
<mnc>01</mnc>
<authentycationType></authentycationType>
<type>mms</type>
</apnInfo>
</apnData>
This settings are for MMS only.
Regards!
Code:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<apnData>
<country>USA</country>
<operator>
<name>Straight_Talk_ATT</name>
<url>www.straighttalk.com</url>
</operator>
<apnInfo>
<name>StraightTalk_ATT</name>
<apn>att.mvno</apn>
<proxy>proxy.mvno.tracfone.com</proxy>
<port>80</port>
<username></username>
<password></password>
<server></server>
<mmsc>http://mmsc.cingular.com</mmsc>
<mmsproxy>66.209.11.33</mmsproxy>
<mmsport>80</mmsport>
<mmsprotocol></mmsprotocol>
<mcc>310</mcc>
<mnc>410</mnc>
<authentycationType></authentycationType>
<type>default,supl,mms</type>
</apnInfo>
</apnData>
Code:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<apnData>
<country>USA</country>
<operator>
<name>Straight_Talk_T-Mobile</name>
<url>www.straighttalk.com</url>
</operator>
<apnInfo>
<name>StraightTalk_T-Mobile</name>
<apn>wap.tracfone</apn>
<proxy>216.155.165.40</proxy>
<port>8080</port>
<username></username>
<password></password>
<server></server>
<mmsc>http://mms.tracfone.com</mmsc>
<mmsproxy>216.155.165.40</mmsproxy>
<mmsport>8080</mmsport>
<mmsprotocol></mmsprotocol>
<mcc>310</mcc>
<mnc>260</mnc>
<authentycationType></authentycationType>
<type>default,supl,mms</type>
</apnInfo>
</apnData>
Awesome
Good idea.
Here's the info for my network:
Code:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<apnData>
<country>KEN</country>
<operator>
<name>Safaricom</name>
<url>http://www.safaricom.co.ke</url>
</operator>
<apnInfo>
<name>Safaricom_GPRS</name>
<apn>safaricom</apn>
<proxy></proxy>
<port></port>
<username>saf</username>
<password>data</password>
<server></server>
<mmsc></mmsc>
<mmsproxy></mmsproxy>
<mmsport></mmsport>
<mmsprotocol></mmsprotocol>
<mcc>639</mcc>
<mnc>02</mnc>
<authentycationType></authentycationType>
<type>default,supl</type>
</apnInfo>
</apnData>
Hope I formatted it right. Cheers!
think u could add one for sprint ?
robo4130 said:
think u could add one for sprint ?
Click to expand...
Click to collapse
if you provide me with the XML it will be added ASAP
Here I provide info for Claro Ecuador
Code:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<apnData>
<country>ECU</country>
<operator>
<name>Claro Ecuador</name>
<url>http://www.claro.com.ec</url>
</operator>
<apnInfo>
<name>Claro Internet</name>
<apn>internet.porta.com.ec</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>
I started a new tool called DAMAA to display and/or merge apns-conf.xml content.
Main idea is in many ROMs, APNs miss for some users and consequently, users report always same issues :
- "no MMS"
- "no Internet"
...
If each people/ROM developers give its final apns-conf.xml file (join in post here) as base of next merge for another user/dev, we could have very very complete APNs in our ROMs
So, post your apns-conf.xml here with :
- phone model
- ROM
- ROM version
- Android Version
... and others information allowing to identify context of use of APNs configuration
This tool is a Java applet running at this url : http://mat.pxl.free.fr
I have tested with apns-conf.xml from ICS (IceColdSandwich 8.4) and JB (JellyTime) on HTC Desire HD. These files are version 7. I don't think previous versions are correctly managed by this tool.
It is a first version and pre pre pre pre pre alpha, please be fair
In future development, I'll complete/add some features, but your reports and advices are also important !!
Change log 07 August 2012 :
- Added "Add" APN manually.
Thanks
reserved
Hi PXL42
Good idea! Your tool could be a way for me to get - finally - MMS working with ICS/Jelly bean roms without SENSE on my DHD.
It seems that Orange CH needs an APN for wap and the setting "Protocol MMS: wap 2.0" in internet and mms APN. I can send/receive MMS with Virtuous Infinity (custom rom ICS with Sense) without wifi enable, but never with ICS rom without sense (IceColdSandwich or JellyTime)
One big difference in APN settings: Virtuous has 1 APN more for Orange CH: WAP apn and Protocol MMS in all 3 apns.
All I have to do is to find in the custom roms ICS with Sense.where are stocked the APN for Wap and the setting "Protocol MMS". I've verified in apns-conf.xml of Viruous Infinity and it's not there
If someone has an idea, it will be awesome!
First of all, Hello to all!
Iam newebie in this forum, but i have some experience in pc/mobile. I have read (and learn) a lot in your forums. Because i dont have 10 post i cant post this in the official [17.Sep.2012] NexusHD2-ICS-4.0.4-CM9-HWA V2.7 [NativeSD][tytung_HWA_r3.4] forum. Lets explain my problem, today i flashed my HTC HD2 with this rom, i used the SD version, it runs perfectly atm (Lots of thanks tytung!) but my telephone seems to be unable to connect through 2g/3g, it connects perfectly with Wi-fi. I have MAGLDR and i do a 200 mb partition. I dont know if you need more information, but i can provide it.
Thanks! And good job to all comunity! (and sorry for my bad english )
Edit: My fault doesn´t have any APN configured, before agree all works fine. (sorry i was doing that after 10 hours in job). Admin maybe should delete this post?
no Internet / Data on JB4.1.2 HD2 T-Mobile
Hi, I installed NexusHD2-JellyBean-4.1.2-CM10 V1.2 [NativeSD] and it works fine, but have the same problem you have (no 2G/3G)
Did you find a solution? Everything works fine on my CM7 Android 2.3 with these settings:
APN: >cant post link due to xda-developers restrictions
Proxy: not set
Port: not set
Username: none
Password: not set
Server: >cant post link due to xda-developers restrictions
MMSC: >cant post link due to xda-developers restrictions
MMS Proxy: 216.155.165.50
MMS port: 8080
MCC: 310
MNC:260
Authentication Type: Not set
APN Type: default,supl,mms
APN protocol: IPv4
In my case, the problem was that i dont configure any APN. After add one everything goes well.
Mobile Data is not working
Hello to all genius developers
I am coming straight to the point...I am using NexusHD2-ICS-4.0.4-CM9-HWA V2.7 [ 2.6.32 ics_tytung_HWA_r3.4], everything works fine (thanks to tytung :good except mobile data. There is no problem with my APN settings because previously I have used Gingerbread ROM into my HD2 and data worked pretty well that time. I have tried RMNET_to_PPP_update.zip without understanding any need of this {Just got info on extra download section} but it didnt worked as well.
I am not genius on these things. so any type of help will be really appreciated...
Thanks
Samsung Galaxy S4 I9500, firmware 4.3
I ran tcpdump. In the dump, I see many HTTP requests on port 80. One request per minute for a long time.
request:
Code:
GET /generate_204 HTTP/1.1\r\n
User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.3; GT-I9500 Build/JSS15J)\r\n
Host: clients3.google.com\r\n
answer:
Code:
HTTP/1.1 204 No Content\r\n
Server: GFE/2.0\r\n
What application can be traced who is sending requests? OS Monitor can not see connections http://clients3.google.com/generate_204
Android Network Portal detection via clients3.google.com/generate_204
It is the Android using the Network Portal detection by querying the URL clients3[dot]google[dot]com /generate_204
Please see this link for more details groups[dot]google[dot]com/forum/#!msg/android-platform/ATSxh0kG7cc/niuBMs05ip0J
aczire, I do not want to guess/speculate. I want to calculate/detected.
tansve Prends
qwerty22 said:
aczire, I do not want to guess/speculate. I want to calculate/detected.
Click to expand...
Click to collapse
This is not speculation, see http: //androidxref.com/4.4_r1/xref/frameworks/base/core/java/android/net/CaptivePortalTracker.java#372 (I'm not allowed to post links yet).
bitfire said:
This is not speculation, see http: //androidxref.com/4.4_r1/xref/frameworks/base/core/java/android/net/CaptivePortalTracker.java#372 (I'm not allowed to post links yet).
Click to expand...
Click to collapse
Ok. I see in CaptivePortalTracker.java and ConnectivityService.java:
Code:
mUrl = "http://" + server.getHostAddress() + "/generate_204";
...
return "http://" + server + "/generate_204";
Question: how to identify of the connections initiator without source code analysis?
Hello. I cannot connect to clients3.google.com/generate_204.. I tried to install bluestacks to my pc. but there written that web is not available or had been moved to a new address.. please can you help me?