about apns-conf.xml

mapleshadow

Senior Member
Feb 18, 2006
144
5
0
hello,everyone.i'd like to ask a question,i modity , configurate the content of ''/system/etc/apns-conf.xml'' and i set my own network provider's APN settings.But when I use the restore default Settings ,it didn't show the APN information,which i set in the file ''apns-conf.xml''.is there any ways can mandate the system to identify it except WIPE.thx...

PS:
finally,i found the solution,you need to modify the file of ''framework-res.apk'', the internal value of ''apns.xml'' must be consistent with that in ''etc/apns-conf.xml''.only this can work,otherwise it will be invalid.
 
Last edited:

bl0wf1sh

Senior Member
Feb 16, 2011
236
25
0
hello,everyone.i'd like to ask a question,i modity , configurate the content of ''/system/etc/apns-conf.xml'' and i set my own network provider's APN settings.But when I use the restore default Settings ,it didn't show the APN information,which i set in the file ''apns-conf.xml''.is there any ways can mandate the system to identify it except WIPE.thx...
Gingerblur has a full apns-conf.xml . Pull it from there, and push it to your phone.
 

mapleshadow

Senior Member
Feb 18, 2006
144
5
0
i already tried ''apns-conf.xml'' from gingerblur,but it didn't work.my network provider is not ATT,please tell me how to fix this problem.in other words,how can ''apns-conf.xml'' itself automatically set ,which i have modified it.besides,i don't want to WIPE my atrix.FYI,i'm now living in china.
the Configuration information of my ''apns-conf.xml'' is provided by MCC-MNC information of the network i am using.
 
Last edited:

lindsaytheflint

Senior Member
Oct 26, 2009
194
127
0
Melbourne
Yeah the GingerBlur apns-conf.xml file didn't work for me either. Australian networks aren't in that one. I edited the stock xml file, put in my APNs, rebooted, clicked "Reset to default" (under the APN settings page), and my two APNs were there (default & MMS).

So it should work for you. Did you reboot after editing (or pushing & pulling) the file?
 

mapleshadow

Senior Member
Feb 18, 2006
144
5
0
1.modify ''apns-conf.xml'',
2.use adb push access into /system/etc/ to Cover the original source files,
3.reboot phone,
4.enter APN settings,Restoring default Settings ,but it didn't work.
this is my operation.it confused me.If your modifications effective,is this because the MMC MNC of your network had not been shielding ??
 

mapleshadow

Senior Member
Feb 18, 2006
144
5
0
After testing,i found that the original official version 1.5.2 Really can automatically refresh the APN configuration.but what's the reason??? is there any problems with my operation method??or i didn't notice some mechanism
 

mapleshadow

Senior Member
Feb 18, 2006
144
5
0
finally,i found the solution,you need to modify the file of ''framework-res.apk'', the internal value of ''apns.xml'' must be consistent with that in ''etc/apns-conf.xml''.only this can work,otherwise it will be invalid.