Dear all Flashoholics and Chefs
One of joy or painfully of flashing new ROM is seeing or not the auto APN works on fresh ROM. Of course manual APN config is not so hard but sometime it turn me off to enjoy yours very hardworking, chefs.
After few time failed to figure out the issue that happened to my carrier Mobifone, finally, today I find out this issue and I want to share my experience with people who got same problem.
Normally, if some thing wrong with auto APN, I am looking for problem in APNs-conf.xml located in system/etc/ and my carrier name, access point name, user name ans password already there.
<apn carrier="Mobifone" mcc="452" mnc="00" apn="m-wap" user="mms" server="" password="mms" mmsc="" type="default,supl"/>
Click to expand...
Click to collapse
I try to overwrite it by an working apns-conf.xml from 'working' build but no luck.
Till now, after Google-ing I found the problem is I overwrite it too late, after flashing, apns-conf.xml to gets the sack and another star went in to the stage telephony.db located in /data/data/com.android.providers.telephony/databases/telephony.db
see excellent articale from Dr. Pei Zheng's Mobile Computing Blog
In my case, I use SQLite Editor to check and found my manual APN with correct data at the bottom of the list, correct
mnc="01"
Click to expand...
Click to collapse
like I found in 'working' apn list or similar to manual APN and then auto APN works like a charm!
So, for flashoholics experience same my trouble, before flash you new favorite ROM, check your APNS-CONF.XML before flashing, if your carrier data is not correct, extract it out, correct it, delete wrong one, drop corrected one in ROM. Enjoy perfect ROM.
So, for chefs, would you kindly spare some time to check this small items and correct it so your ROM become perfect one.
My working auto APN ROM, say white list are: TYTUNG NEXUS HD2, LANGTHANG MIUI ROM
My painful list name a few are: stock MIUI, BPSenseZv1.0_eu,HD2_Core_Droid_Desire_HD_Froyo_V1.7_RV, TyphooN CyanogenMod 7,...
I post my working APNs List in attachment.
ANy body having manually edit APN, post your case below, I'll try to update it in 2nd post and update apns-conf.xml
Thanks
Edit: just found another topic about update APN
Once you have obtain an updated version of the apps-conf.xml file, you run the following commands using the Android Developer Kit.
Code:
adb remount
adb push apns-conf.xml /system/etc
adb shell chmod 755 /system/etc/apns-conf.xml
adb reboot
I just found out that to save the existing APN list you use the command below which will save the existing apns-conf.xml file to the local PC. I also discovered that when I went to view the global APN list on the phone, nothing was listed, it was all blank. I’ve just read tho, that if you press “RESTORE DEFAULTS” in the APN view, they should appear…. test time!
Code:
adb pull /system/etc/apns-conf.xml D:\android\APN
Click to expand...
Click to collapse
But I haven't test is yet! You may try it instead of edit db file and let me know it works?
My 1st case: wrong MNC=00, right MNC=01
<apn carrier="Mobifone" mcc="452" mnc="01" apn="m-wap" user="mms" server="" password="mms" mmsc="" type="default,supl"/>
Nice thread. A lot of people have problems with apn.
Sent from my HD2 using XDA Premium App
This have 1409 lines !
My list: 3478 lines (This is from HTC WWE)
dungphp said:
This have 1409 lines !
My list: 3478 lines
Click to expand...
Click to collapse
The problem is correct line, not more or less! I can verify your ROM in my white lists, Sir!
I upload yours on 1st post!
Same problem with CM7 nightly on my N1 with Mobifone, using TB to restore the manual added APN.
Tks for this tip.
Good Topic.
Anybody have problem with apn auto setup post here.
We'll update to ROM
Is there anyway to add another t-mobile apn
wap.voicestream.com is what i use for t-mobile data apn.
my apn is :
<apn carrier="MCC" mcc="310" mnc="260" apn="mcinet" user="" server="" password="" mmsc="" type="default,supl"/>
can i add just this apn to apns-conf and delete them ???
DJ_MiX said:
Is there anyway to add another t-mobile apn
wap.voicestream.com is what i use for t-mobile data apn.
Click to expand...
Click to collapse
You can try to add like this syntax and save as your own apns-conf.xml.
Code:
<?xml version="1.0" encoding="utf-8"?>
<apns version="8">
<apn carrier="T-Zones WAP" apn="wap.voicestream.com" user="none" password="none" mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc" mcc="xxx" mnc="yyy" operator="T-Mobile" type="default,supl,mms" />
</apns>
Most important is APN, MCC, MNC. You also can get it by install market enabler and read actual Values: gsm.sim.operator.numeric = xxxyyy, your MCC = xxx, MNC= yyy.
You also can check your Carrier via this page Mobile Network Codes (MNC) for the international identification plan for public networks and subscriptions (According to Recommendation ITU-T E.212 (05/2008))2009
Please feedback your experience so as we may update it!
hessamx said:
my apn is :
<apn carrier="MCC" mcc="310" mnc="260" apn="mcinet" user="" server="" password="" mmsc="" type="default,supl"/>
can i add just this apn to apns-conf and delete them ???
Click to expand...
Click to collapse
Yes, you can make your own apns-conf.xml use only your APN with 1 simcard only and saving few hundred KB on your ROM. See above post.
But your APN is really mcinet? Your carrier is MCI Iran? If it is correct so yours are mcc="432" mnc="11".
mcc="310" mnc="260" is T-mobile US.
Pls feedback!
THANHVO31 said:
Yes, you can make your own apns-conf.xml use only your APN with 1 simcard only and saving few hundred KB on your ROM. See above post.
But your APN is really mcinet? Your carrier is MCI Iran? If it is correct so yours are mcc="432" mnc="11".
mcc="310" mnc="260" is T-mobile US.
Pls feedback!
Click to expand...
Click to collapse
yeah my mcc and mnc are 310,11 .
it's for my marketacces i remove it,i use this attachment ,it worked and my defualt apn is mcc .
thanx Bro
for use my apn change name to apns-conf.xml
is that work on another cellphone like Motorola defy cm7-nightly 2.3.4 ??
THANHVO31 said:
You can try to add like this syntax and save as your own apns-conf.xml.
Code:
<?xml version="1.0" encoding="utf-8"?>
<apns version="8">
<apn carrier="T-Zones WAP" apn="wap.voicestream.com" user="none" password="none" mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc" mcc="xxx" mnc="yyy" operator="T-Mobile" type="default,supl,mms" />
</apns>
Most important is APN, MCC, MNC. You also can get it by install market enabler and read actual Values: gsm.sim.operator.numeric = xxxyyy, your MCC = xxx, MNC= yyy.
You also can check your Carrier via this page Mobile Network Codes (MNC) for the international identification plan for public networks and subscriptions (According to Recommendation ITU-T E.212 (05/2008))2009
Please feedback your experience so as we may update it!
Click to expand...
Click to collapse
I ran markey enabler and all I see is
gsm.sim.operator.numeric = 310260
your MCC = xxx, MNC= yyy
do not show up in the app but show in apn settings as
MCC 310
MNC 260
for MMSC I'm using default t-mobile
http://mms.msg.eng.t-mobile.com/mms/wapenc
hessamx said:
is that work on another cellphone like Motorola defy cm7-nightly 2.3.4 ??
Click to expand...
Click to collapse
Yes, of course! Any Android phone, I think.
DJ_MiX said:
I ran markey enabler and all I see is
gsm.sim.operator.numeric = 310260
your MCC = xxx, MNC= yyy
do not show up in the app but show in apn settings as
MCC 310
MNC 260
for MMSC I'm using default t-mobile
http://mms.msg.eng.t-mobile.com/mms/wapenc
Click to expand...
Click to collapse
Just replace what you find in your xml, put in to your rom and flash. you can see "magic" auto apn
worked on motorolla defy !!
thanx for ure work
Hi,
Could someone please explain or refer me to a website what the different APN settings and their options mean, like for instance the APN Authentication type (PAP / CHAP / none )...
Regards,
B
Anyone wanna chime in or just drop a link
Bueller..... Bueller .....
hey Guys, trying to run adblock plus here since we dont have root yet,
Anyone figured out a way to edit APN at all?
I cant delete apn to build a new one or edit existing.
All i need to do is add proxy localhost on port 2020..
Bumparoo! anyone figured out how to either adblock nonroot or edit APN settings?>
Xperia T2
Sir,
Please wait until mods will move this thread to the device specific forum.
Stand by
Good luck
Contact to your operator customer support? Ask them just for apn or request settings.
If they tell only apn then go to settings > more... >mobile networks> access point names (add simply network operator name and apn, now press back key)
I.e.
Airtel = airtelgprs.com
Idea = internet
Hope you enjoy...
Cheers
Hi everyone i live in france and i have configured my elephone with the correct apn that i used.
But sometimes my p8000 switch automatically to cmnet.
The option delete apn is not available for this one.
How can i delete permanently through root browser for example ?
thanks you