I have made a custom ROM based on 4.1.2, but Android misses many APNs, including my network operator. I would like to add it.
Where does Android store APNs?
Is there an updated database with almost every provider that I could integrate into the system?
Nick Hill said:
I have made a custom ROM based on 4.1.2, but Android misses many APNs, including my network operator. I would like to add it.
Where does Android store APNs?
Is there an updated database with almost every provider that I could integrate into the system?
Click to expand...
Click to collapse
What is your carrier?
Please elaborate. Actually Android automatically gets all your network settings by default. Give a try by sending SMS to your network operator for network settings.
shashivydyula said:
What is your carrier?
Please elaborate. Actually Android automatically gets all your network settings by default. Give a try by sending SMS to your network operator for network settings.
Click to expand...
Click to collapse
If I factory reset the phone, I can put a Three or Vodafone SIM card in, the APN will set automatically. If I put a TalkMobile (TalkTalk) SIM in, the APN does not set automatically. There is no apparent SMS information reaching the phone.
I wonder where that APN information is coming from. I presume Android has the APN information in a database somewhere.
Nick Hill said:
If I factory reset the phone, I can put a Three or Vodafone SIM card in, the APN will set automatically. If I put a TalkMobile (TalkTalk) SIM in, the APN does not set automatically. There is no apparent SMS information reaching the phone.
I wonder where that APN information is coming from. I presume Android has the APN information in a database somewhere.
Click to expand...
Click to collapse
I have found a source of information for APNs.
See the Android source code here:
https://code.google.com/p/android-s...xml?repo=device--sample&name=android-4.2.2_r1
Now I need to discover where this information is stored, and find a way of changing it!
[solved] Add APNs (access point names) to android system database
Nick Hill said:
I have found a source of information for APNs.
See the Android source code here:
https://code.google.com/p/android-s...xml?repo=device--sample&name=android-4.2.2_r1
Now I need to discover where this information is stored, and find a way of changing it!
Click to expand...
Click to collapse
The access points database for Android 4.1 is in
/system/etc/apns-conf.xml
Talktalk / talk mobile provide information for APN here:
http://help2.talktalk.co.uk/settings/android-phone-settings#
However, the information they provide is false. Username and password must be unset.
I added the following before </apns> at the end
<apn carrier="TalkTalk"
mcc="234"
mnc="15"
apn="mobile.talktalk.co.uk"
mmsc="http://mms.talktalk.co.uk/servlets/mms"
mmsproxy="212.183.137.12"
mmsport="8799"
type="default,supl,mms"
/>
The phone will now give an option for TalkTalk APN, which I just need to select.
Now it is a matter of committing this entry to the official android repository. Of course, whilst I was at it, I replaced the whole apn database with the one from the Android repo.
Related
I bought a new TC
I have one problem with the sms it's show me the number only no name
then I know why
because I'm save the name with a short form number
(short form) 3456789
but if I use the long form I will see the name
(long form) (+012) 3456789
really I don't want to change all my numbers to the long form
my old BA shows the name with the short form
plz help
and sorry for my english
Well mine works fine with short versions.
a long shot but does it make a difference if you set the default area code?
it looks like your regional settings are not correct for your needs.
Well mine works fine with short versions.
Click to expand...
Click to collapse
Thanks for your post
a long shot but does it make a difference if you set the default area code?
Click to expand...
Click to collapse
Where can I set the default area code?
it looks like your regional settings are not correct for your needs.
Click to expand...
Click to collapse
The problem is no Kuwait in the regional settings
Any solution!?
Thanks for all who help and post
Then only the long code remains...
If you have outlook installed then it's easier
gnick666 said:
Then only the long code remains...
If you have outlook installed then it's easier
Click to expand...
Click to collapse
Thanks for your help
but I really want my default sms to work with the short form
tell me for a good outlook program
maybe I will change my idea
Is it a reg. problem!? so i can solve this with the reg. editor??
waiting for solution
(^-^) said:
Thanks for your post
Where can I set the default area code?
Click to expand...
Click to collapse
Go to Contacts -> then Menu -> Options then area code. but this almost seems like a very US centric setting, again maybe due to regional settings.
So I understand your problem correctly, for a Kuwait number
+965-555-1234 you want to be able to just use 555-1234 without the country code? I don't think there are area codes in Kuwait just country codes correct.
hambola said:
Go to Contacts -> then Menu -> Options then area code. but this almost seems like a very US centric setting, again maybe due to regional settings.
So I understand your problem correctly, for a Kuwait number
+965-555-1234 you want to be able to just use 555-1234 without the country code? I don't think there are area codes in Kuwait just country codes correct.
Click to expand...
Click to collapse
U R right in Kuwait no area code just country code
and I use to put the country code in the contact option put no use
thanks for your replays
should I giveup
Mybe I will giveup
Just discovered a code for usage statistics and battery statistics too.
try
*#*#4636#*#*
on the phone keyboard.
Do you know any other codes?
Regards
Thanks. You can even change some settings with this code.
chochis said:
Just discovered a code for usage statistics and battery statistics too.
try
*#*#4636#*#*
on the phone keyboard.
Do you know any other codes?
Regards
Click to expand...
Click to collapse
Very nice stuff, maybe it can be used on the development of other apps... it has the control of the type of networks and other things..
Not being an expert I've a question.. what is the smsc???
Edit: I pushed the refresh and came out a service number from my network provider.. I'll check where is from and I'll inform it!
Edit 2: Upss.. Google know's everything.. Short message service center!
*#06# Display IMEI
*#*#8351#*#* Voice Dialer Logging Enabled
*#*#8350#*#* Voice Dialer Logging Disabled
*#*#4636#*#* Phone Setting
*#*#7262626#*#* FieldTest
found them here http://forum.xda-developers.com/showthread.php?t=447910
Very nice stuff indeed. Thanks.
Some of the settings that this code allows you to change/view are also available using the Spare Parts app from the Market.
If you want to know how these codes actually work you should check this out : http://forum.xda-developers.com/showthread.php?t=540483&highlight=secret
Amon_RA said:
If you want to know how these codes actually work you should check this out : http://forum.xda-developers.com/showthread.php?t=540483&highlight=secret
Click to expand...
Click to collapse
First I was going to bet that who discovered this it was you..
..but, it was too far guess.. it was haykuro All the best to both
Edit: I went directly to the header and to the code.. sorry "Props to zinx"!!!
May I please ask a few of you xda members to post your apn settings?
Free app APNBackupRestore on the market will dump the settings to the sd card.
What came on my phone out of the box is full of foreign telcos and cannot be the correct settings .
bushmasters said:
May I please ask a few of you xda members to post your apn settings?
Free app APNBackupRestore on the market will dump the settings to the sd card.
What came on my phone out of the box is full of foreign telcos and cannot be the correct settings .
Click to expand...
Click to collapse
The folks over at howard forums said APN is for GSM phones, not CDMA when I asked if they might have something to do with the inability to wifi-tether. Are you sure they are relevant to the Triumph?
No, I'm not sure. Just trying to diagnose why my mms's don't work. I didin't know they were specific to GSM networks.
I was using Galaxy S4 before switching to OnePlus. I have blacklisted several annoying telemarketer phone numbers using the "blacklist" feature available on CyanogenMod.
How do I bring those over to OnePlus so that I do not need to start over again?
Isn't this feature built in? It should be under Settings -> Privacy -> Blacklist... I'm on a custom rOM so the option may be hiding in one of the menus. The feature is there though.
zephiK said:
Isn't this feature built in? It should be under Settings -> Privacy -> Blacklist... I'm on a custom rOM so the option may be hiding in one of the menus. The feature is there though.
Click to expand...
Click to collapse
The feature is there. My question is, I have blacklisted a bunch of phone numbers on my old phone. I do not want to restart that process all over again with OnePlus.
For example, if I had already blacklisted a number, lets say XXX-XXX-XXXX. When I start using OnePlus, that caller will still be able to call me as that number won't be in the blacklisted numbers on OnePlus
If I am missing something please let me know.
lewisville said:
The feature is there. My question is, I have blacklisted a bunch of phone numbers on my old phone. I do not want to restart that process all over again with OnePlus.
For example, if I had already blacklisted a number, lets say XXX-XXX-XXXX. When I start using OnePlus, that caller will still be able to call me as that number won't be in the blacklisted numbers on OnePlus
If I am missing something please let me know.
Click to expand...
Click to collapse
You'd have to manually add those numbers in to be blocked. The method you're blocking their numbers is done by software, not by carrier.
zephiK said:
You'd have to manually add those numbers in to be blocked. The method you're blocking their numbers is done by software, not by carrier.
Click to expand...
Click to collapse
I know it is done by software. That information is already stored somewhere on my Galaxy S4. My question - is there a way to export these numbers and then import them in the Blacklist on OnePlus. Please let me know even if it means me manually exporting/importing those numbers. I do not know where they are stored else I would have tried it.
lewisville said:
I know it is done by software. That information is already stored somewhere on my Galaxy S4. My question - is there a way to export these numbers and then import them in the Blacklist on OnePlus. Please let me know even if it means me manually exporting/importing those numbers. I do not know where they are stored else I would have tried it.
Click to expand...
Click to collapse
No there is no way to export/import them using the stock Blacklist. Insert them manually as I mentioned previously.
If you have a lot of numbers blocked, maybe its time for you to change your number.
zephiK said:
No there is no way to export/import them using the stock Blacklist. Insert them manually as I mentioned previously.
If you have a lot of numbers blocked, maybe its time for you to change your number.
Click to expand...
Click to collapse
okay. I was hoping that it was saved somewhere in SQLLite DB. Just wishful thinking I guess
lewisville said:
okay. I was hoping that it was saved somewhere in SQLLite DB. Just wishful thinking I guess
Click to expand...
Click to collapse
Well I guess in that case, you should be able to carry it from ROM to ROM on your Galaxy S4 as well. For example, if you went from 1 ROM to the next ROM, you'd be asking yourself the same question. Could I export/import blacklisted numbers?
Alternatively, you can use a app to "block" numbers which will carry the data over. https://play.google.com/store/apps/details?id=com.mrnumber.blocker is one of them.
The Cyanogen profile will transfer the list automatically.
I'm processing a large quantity of Sprint devices and need a way to clear the "Phone #" and "User ID" address that is always stored in the phone details. They are almost all older mobile platform before android, some are windows based. All of them still retain the info after a factory reset and RTN# and SCRTN# prompts me to enter the MSL. Normally they go through a drill press, but I've been trying to process them without destroying them lately. I ordered a Cellebrite UME-86 Pro because someone said it might have a way to read the MSL for different devices. I'm still waiting for it to arrive, but was wondering if there were any other solutions for this? I tried CDMA workshop, but the demo was essentially useless for my needs. The news page has the last post from 2013, is this software still supported or updated? Any alternatives to this also? Sprint phones are the only phones that I'm having trouble with, I checked with Sprint in-store, contacted via phone, and online chat, but the reps could not help me without an account to reference. Any help would be greatly appreciated.
Thank you.
Hey, you already checked this thread???
http://forum.xda-developers.com/showthread.php?t=1815580
Alf_Doge said:
Hey, you already checked this thread???
http://forum.xda-developers.com/showthread.php?t=1815580
Click to expand...
Click to collapse
Which part in particular are you referring to? I don't believe the IOThiddenmenu applies since these aren't galaxy phones or even android based. I tried all of the codes listed in "dialer codes" in that thread. Some had no effect, others prompted me to enter the MSL code just like RTN and SCRTN did.
Thanks.
well,
CDMA workshop modded
will be a option but no legal.
Any other ideas or suggestions?