FIX for unable to add APNs (tested for LG G3) - Android Q&A, Help & Troubleshooting

For some reason I was unable to find this anywhere on the internet but managed to fix it myself, so I'm writing here to document it.
I have a T-Mobile LG G3 (model LG-D851) and after rooting, something happened that made me no longer able to add APNs. On top of that, there were no APNs registered on the phone, so I was unable to access any form of mobile data, although telephone worked. T-Mobile's technical support wasn't able to find the solution either. (In retrospect, using Titanium Backup to restore telephony data (messages etc.) likely corrupted my APN database).
Basically what was happening was in Settings -> Networks -> Tethering & Networks -> Mobile Networks -> Access Point Names, it said "No APNs", and selecting menu -> New APN did nothing; no menu appeared or anything. Basically I didn't have T-Mobile's LTE APN registered and I couldn't re-add it.
I tried a lot of things to fix it, but the solution was actually very easy (requires root): in the root directory, go to /data/data/com.android.providers.telephony/databases/ and notice the "telephony.db" file. This is an SQLite database that has the APN data in it, but in my case it was corrupted. I simply renamed the file, then rebooted my phone (actually, the phone crashed ) and voila! LTE was working good as new on restart. The system detected the file was missing and created a new one with default settings; that is, with T-Mobile's APN already inside. "Add APN" also works now.
Maybe someday this will help someone else in my situation. Basically, be careful with Titanium Backup, haha.

Related

[Q] Rooted lg g3, No APNs, no ability to add APNs

Hi, so before I go out and purchase a new SIM I was hoping someone could help me. Originally I was trying to alter the MMS port set in my APN because MMS was failing over wifi due to running Adblock. In doing so I somehow managed to erase my Internet APN. I believe it was just set to vzwinternet.
So on my lg g3 I unfortunately have no way to add an APN, it works fine for wifi and calls still but I have no cellular internet at the moment. The only option when going to APN settings is Reset to Defaults, which does nothing as it just shows "No APNs". The mobile networks option is actually greyed out under Settings->Wireless & Networks->More... but I'm able to get to APN Settings still by using an app.
Possible solutions I've thought of, does anyone knows if these are possible?
A) Is there any way to edit my build.prop to allow me to add an APN such as "ril.sales_code=LOL & ro.csc.sales_code=LOL" (I've tried this it doesn't work).
B) Is it possible to re-add it by replacing apns-conf.xml in /system/etc/ ? If that is possible could someone post theirs so I can replace it?
C) Are there any root apps to allow me to add an APN? (from my research there aren't any since android 4.0)
Or am I just going to have to go out and get a new SIM? I've already master reset hoping it was software related and that hasn't helped.
EDIT: Nevermind guys fixed it by doing a reflash back to factory with lg flashtool. Nothing to see here *whistles*
Hi Jab
I met the same issue.
Could you please tell me how to reflash back to factory?
Thank you
You need to root it, and use shortcut master to open APN setting, same case with my US Cellular G3
otonieru said:
You need to root it, and use shortcut master to open APN setting, same case with my US Cellular G3
Click to expand...
Click to collapse
Thanks

Help Mediatek Android (Made to look like IOS)

Hi could anyone help me I have an Mediatek Iphone 6+ Clone which is actually Android. although thats a problem in of itself. The problem I'm having is that I am unable to enter the APN settings, I am able to navigate to the APN page but there is no option to add APN (I'm guessing where Android has a "Menu" button to bring up Add APN, the IPhake doesn't). I've tried various method such as APN apps, Floating menu button apps and now i'm trying by ADB.
First off I have rooted the phone.
the APN settings I need are
APN Carrier: Lebara UK
I have tried the following a few guides which i found via googling but I cant seem to get them to work
I would post what I tried however I am unable to post URL's
You won't find much help here. We don't deal with knock off devices.

[SOLVED] "APN settings are not available for this user"

Hello everybody,
I have a rooted ASUS Zenfone 5 (A501CG), Android 5.0 Lollipop. After my last upgrade (OTA, by the way) I had to perform a factory reset for personal reasons. Since then, I cannot input my APN settings manually. I get the following message: "APN settings are not available for this user". Googling the internetz and searching through these very forums came to no avail. I tried a new factory reset; then, I recursively changed ownership and permissions for /data/data/com.android.providers.telephony (acording to a thread at StackExchange, these files should belong to user radio and group radio, with chmod of at least 660). I also chow'd/chmodded /config/telephony, just in case... Nothing has worked and I still get the same message, rendering my 3G/HSPA+ services unreachable.
I hope somebody has a solution for this!
Thanks in advance!
update: I tried to set my preferred APN manually using ADB, as per a tutorial posted to an Android.StackExchange Q&A called "How do I add an APN via ADB" (sorry, cannot post links yet ). My APN appears in the config as expected, but my data connection still doesn't work, and the same message appears when I try to open the APN settings menu.
another update
I have posted a question at Android.StackExchange. I tried every single procedure as suggested there, without positive results. So far, I have tried the following:
Factory reset
Changing permissions and ownership of telephony-related files
Adding preferred APN settings via ADB
Repeatedly rebooting the device with mobile data turned off and wifi turned on
I couldn't still get telephony files from CM12.1 into my Lollipop device (I don't know how unsafe it is and did not figure out how to install into VirtualBox and transfer the files afterwards).
This is a last and desperate bump to this thread, as there has been a month without access to mobile data and neither solution as proposed have worked so far.
Thanks for your attention!
solution!
sorry if I am necro-bumping this thread, but this time I have the best of reasons:
The latest stock ASUS update (v. 3.24.40.78) solves the problem.
I had to unroot my phone, apply both 5.3.3.3 and 5.2.2.2 downgrades (in this order), then I applied a FOTA upgrade (97Mb download, received and applied automatically). Then I could install the latest version (downloaded from ASUS website; uploaded via USB to phone's internal storage; unplugged USB and then the update could be applied automatically). APNs are available by default, I did not even have to input my APNs manually (as I had to do in prior versions).
Hope it helps anybody else facing the same issue!

Unable to change APN Network Settings,

Hi
Since the MIUI 10.2.2 update last night, I have been unable to use mobile data, I quickly discovered this was due to the APN network settings being incorrect.
I am unable to change the 'Access Point Name' settings, as they do not clear when "reset" and are not able to be edited meaning I have no Network data.
I have restarted the phone, turned on/off airplane mode, re-inserted the SIM. Contacted my service provider and gotten a new SIM, none of these things have worked,
-unable to attach images of issues, because my account does not have 10 posts.
Any advice on how to resolve this would be greatly appreciated.
If suggesting factory restore, would you be able to give me some advise on how to save all of my app data ect so I can backup/ restore to this, is it possible to do to external SD card, what is lost when doing so, ect.
Many thanks in advance,

TCL A30 android 11, stock ROM rooted visible wireless

Hi, I have a TCL A30 and I am attempting to use visible wireless. The problem is, I can't change my apn settings. I tried to edit the .xml file that contains the apn and but no luck. The file doesn't save. I have tried so many different things and it is the only thing that is preventing me from really being able to use the service. When I use adb to launch the apn setting, the options for mvno are greyed out. It's as if the sim card contains something that forces the os to not let you change any apn settings. I've been working at this for a couple of days and the only thing I am able to use is vzwinternet. I want to be able to use hotspot and high speed data and the only roadblock is these apn settings. There has to be some way to manually configure apn settings that I am overlooking. If anyone has any insight please let me know. It would be greatly appreciated. TCL A30 running android 11 rooted.

Categories

Resources