Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,629 Members 41,221 Now Online
XDA Developers Android and Mobile Development Forum

Lg phones apn type grayed out

Tip us?
 
Montrose480
Old
#11  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Jun 2013
Location: Andalusia
Okay I have figured out my problem I had flashed the 20 G version of 4. 4.2 KitKat and in so doing it was not letting me edit so I flashed back to 4.1 .2 did not root my phone set my APN settings and allowed the phone to update from the phone's software update once the phone was updated to the new 4.4.2 KitKat from at&t I rooted my phone and used to the SqLite editor to go in and change my settings now my picture messages works... I did not delete anything I only changed the two settings that were mentioned buy one of the commentators in the section

Sent from my QMV7A using XDA Free mobile app
 
ratkiley
Old
(Last edited by ratkiley; 7th July 2014 at 02:36 AM.) Reason: Add the attachments
#12  
Junior Member
Thanks Meter 1
Posts: 5
Join Date: Nov 2012
Location: Denver

 
DONATE TO ME
Default Solution for Android 4.4.2 (Build E98020G) on Straight Talk (AT&T LTE)

I tried every solution I could find on the web for changing the APNs on my rooted LG Optimus G Pro E980, but at first, nothing worked. Eventually, I came to this solution:

Although the /system/etc/apns-config.xml file has several, misleading APN values in it, this file is not used to store the APN records in Android 4.4.*. Instead, APNs are stored in the /data/data/com.android.providers.telephony/databases/telephony.db SQLite database.

However, the stock version of Android supplied by AT&T for the Optimus G Pro - Android 4.4.2 (Build E98020G), has disabled the ability to add working APN settings through the system APN settings dialog by defaulting all new APNs to have the (apn) type="default,dun". The settings screen does not let you change this value, so you have to edit the values directly in the SQLite database.

None of the free SQLite-database-editors in the Android market were able to edit the read-only /data/data/com.android.providers.telephony/databases/telephony.db file (after following instructions for editing the APN in the database in the folder where it is stored).

So, using ES File Manager (search for "com.estrongs.android.pop" on google play), I copied it to my SD-Card, copied to my computer and edited it with SQLite Database Browser (a SourceForge project identified as sqlitebrowser).

VERY IMPORTANT: The permissions change both when copying it to and when copying it from the SD-Card. So, I had to set the permissions back to the original telephony.db permissions & owner, (matching the other .db files in the /data/data/com.android.providers.telephony/databases/ folder):

RW-RW----

VERY IMPORTANT:Change the file owner and group back to "radio" from "root". If you do not change the owner back when you copy the file back to the /data/data/com.android.providers.telephony/databases/telephony.db path, the phone.apk process will repeatedly crash until it restarts your phone (and your phone will keep rebooting until you delete the telephony.db file that is owned by "root").

So, to make it easier for you to change your APN settings on your phone, I have attached my working telephony.db file. It contains only one APN record for Straight Talk on AT&T's LTE network. I deleted all of the other APNs, per Straight Talk's APN instructions.

After making this change to the APNs stored in the telephony.db, renaming the old telephony.db file for a backup, copying over the new telephony.db, changing the permissions & owner of the file, and rebooting, I was able to send and receive text messages and picture messages (MMS) to myself.

Note: My phone came with the correct "Service Center Address" setting, because it was an AT&T branded phone before I brought it to Straight Talk. However, you may need to change this setting if you came from another carrier with your phone. The correct setting for Straight Talk customers on the AT&T LTE network should be (the same as it is for AT&T customers on an AT&T plan):

Code:
+13123149810
Also, there is a rumor spreading around the internet that you cannot send MMS messages when your WIFI is connected (instead of a 4G LTE connection). That is false: my phone sends and receives MMS messages while the WIFI is connected.

If you are curious, I also attached the database dump of the telephony.db auto-generated by SQLite Database Browser. It is a text file called "telephony-dump.sql".
Attached Files
File Type: zip telephony.zip - [Click for QR Code] (2.9 KB, 14 views)
File Type: zip telephony-dump.zip - [Click for QR Code] (2.1 KB, 3 views)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Hide Numbers on Your SMS and Call Logs with Reflection

How many times have you given your device to someone else in order to show them a … more

Implement Split View in Your LG G2 KitKat Rom with Automated Installer

Some of you may have remembered a story on the Portal a few weeks back … more

Cast Your Device Screen the Way it Was Meant to be with Second Screen

Not too long ago here on the XDA Portal, we covered how Google had made … more

Samsung Gear Live Unboxed the XDA Way – XDA Developer TV

XDA Developer TV Producer AdamOutleris known for his XDA Unboxingseries where … more