yashsingh1/xdaforums huggingface dataset:
[Verizon LG G2] acejavelin:
Not yet, ... You can try it, if its worse switch back, but there are some Verizon and US specific settings in this config, the CDMA and GSM versions use some different options, I am familiar with some of them and may try a GSM version after getting it tweaked up some.

There isn't going to be a one file solution for all applications
[Verizon LG G2] wilkster:
Using now on Verizon model. Took a few minutes to lock after initial boot but locks quickly after. Seems the same as stock so far. I will run it for a while and report back.

Sent from my VS980 4G
[Verizon LG G2] acejavelin:
Yeah, I have a feeling that SUPL isn't working right, not sure why... it might be hard coded in the GPS firmware which would explain why there are no SUPL entries in the stock gps.conf. There are only a handful of tweaks in this one, I am starting small, I have a feeling there is a major difference between the CDMA and GSM versions, maybe even differences between the Sprint and Verizon versions, the stock GPS configs have some different settings for each handset.

BTW, using my v01 config, I am getting better (more accurate) satellite reception, but am still getting sporadic loss of signal for >1 sec that I wasn't getting on stock (or perhaps didn't notice). Screen shot attached... One in motion, one stationary.
[Verizon LG G2] MkVsTheWorld:
How long is it taking you to get GPS locks after cold boots?
[Verizon LG G2] acejavelin:
About 55-60 seconds in the open. Subsequent locks are >10 sec.

I am on the road now on a service call, open highway, lost lock multiple times from anywhere between 2-20 seconds. Doesn't do that with stock config, the main things in this config are SUPL related, it seems like any config change I make that specifies SUPL services causes sporadic loss of GPS lock. Very odd, unless that is coded in the chip set firmware and causing a conflict.

Remember, if you are completely stock and can't maintain lock, you likely have a hardware issue, this GPS.conf is an attempt to find a good CM/AOSP configuration file, possibly better than stock but right now every time I make a change it seems to muck up stuff over time.
[Verizon LG G2] MkVsTheWorld:
55-70 seconds lock is about what I get after a cold boot, on stock. My Moto X gets a lock in 2-3 seconds after a cold boot. Also, cold boot GPS locks are within 5 seconds with my LG Nexus 5, although I had to get a replacement from Google for the exact same GPS issue. So, this is definitely a hardware defect.

I've already sent my LG G2 away twice for repair and they don't find an issue with it. They tell me that the carrier is responsible for the software on the phone and to contact Verizon.
[Verizon LG G2] acejavelin:
I am aware that Moto's and other devices get faster locks... All other devices I have access to get better lock times (Nexus 4, Moto G, HTC One M7) but we have 3 G2's in my family, all get similar GPS lock times, ~60sec on a GPS cold start and 3-10 seconds on a warm start. I think this has more to do with a poor design and poor firmware than anything else. It has been noted that the GPS antenna is in a bad spot and often makes a poor connection, and the firmware seems to control many of the things that are normally set in the gps.conf file. My objective is to make it less annoying, not perform like a Moto X, since I don't think this is possible with the hardware/firmware combination in the device.

Your lock times on a cold GPS restart seem very low though, your lucky.
[Verizon LG G2] MkVsTheWorld:
My hat's off to you.

It's complete BS that they sold the phone knowing the GPS was like that. It's like they assumed that the high end specs would overshadow the defect. It shouldn't take more than 15 seconds in a clear view of the sky to get a GPS fix.

I don't consider myself lucky, the GPS performance in my Moto X is how LG G2 should perform and it doesn't.
[Verizon LG G2] acejavelin:
I agree... but it is what it is... as I look over at my bookshelf at my venerable Dell Axim X51v with a Globestat CF GPS card and remember back about 5 years ago or so getting ready to go out geocaching, had to take it out on the deck and let it warm up for 15-20 minutes or so to get a lock... It makes the G2 look like a rock star! And your Moto X like a GOD!!! :D
[Verizon LG G2] xsirxx:
Here is how I fixed mine....

I found out why mine wouldnt lock, or rather how to fix it. I went and followed this route to go back to 11A...

http://xdaforums.com/showthread.php?t=2448960

I checked GPS and immediate quick lock which I had never had on the phone before.

EDIT: Also note you can bypass the verizon activation by hitting vol up, vol down, back, home in that order.

After that I re-rooted and installed TWRP. Then installed CM 11 (regular not the stock version).

GPS works perfectly, VERY quick lock. I had NEVER had gps working before. Even with all the fixes I could find and read about. So something somewhere inbetween the basebands and modem tweaks and android installs something somewhere got messed. Make sure you use the route in the first post, I tried a dirty flash and it did not fix it. Good luck!

Ohh also you may need to reinstall your download mode if you cant get your computer to recognize your phone after following his instructions then install the standard download mode:

xdabbeb:

http://xdaforums.com/show....php?t=2715408

file:

https://www.androidfilehost.com/?fid=23329332407586639
[Verizon LG G2] tmorin:
GPS Woes

Here's my story

VS980

was on JPC's builds. When I went to the latest build of Sept 7th My GPS stopped working reliably. I use the term reliably loosely as this phone's GPS hasnt ever really been up to par

Original stock had some quirks to it. For example, sitting at a light the GPS didnt know which way i was going until i started moving again. And at times it would just jump about 20-30 feet away from where I was.

Anyway after the Sept 7th install I tried debugging.

Went to bootstack 25A - No improvement

Went to Malladus - Started working again although not rock solid

Tried XDABBEB - it also worked but still not solid.

back to bootstack 24a, malladus, XDABBEB again - no noticeable changes

Tried all the fixes in this thread - no difference. In fact I can see an indentation on the GPS pad on the back cover so I know it was making contact with the pin on the main board.

I use GPS Status to track satellites. Ive tried GPS fast fix, multiple gps.conf files etc.

Im thinking I need to go back to stock and try out for a warranty replacement.

So I do, following this thread http://xdaforums.com/showthread.php?t=2432476 - worked like a charm (thanks!)

And in the process updated to VS98025B.

So i am now stock and up to date.

Ran some errands around town

After initial lockon I get re-locked in under 10 seconds, typically 6 seconds. This was outside on a cloudy day.

Google NAV seemed to work pretty well. A couple of times the big blue arrow pointed the wrong direction at a standstill. But the Arrow was always on the road.

I will report back after some more usage.

:cowboy:
[Verizon LG G2] whittikins:
I know this is old, but hopefully you're still around! Does this hardware fix work on the D800 (att variant)? Thanks!
[Verizon LG G2] acejavelin:
You can try, it easy to do... But to be honest it has been determined that is not the GPS antenna. If you are stock and the GPS doesn't work, reflash your stock images, if it continues to fail you may have a defective device. If you are running an AOSP or CM based ROM, try your devices stock gps.conf file.

I don't have a D800, but on many devices the gps.conf from your variants Mahdi ROM often gives acceptable results as well.
[Verizon LG G2] acejavelin:
So after logging a few hundred miles today, I think I have found a sweet spot with the gps.conf... I can't say if this will work for everyone, but with a relatively clear view of the sky I am consistently getting GPS locks >5 seconds, with 18-24 visible satellites and 10-16 satellite lock, resulting in an error margin of 10'-16' at a stand still and 16'-36' at 70mph. It is basically the 24A stock gps.conf file with a handful tweaks.

Attached is a FLASHABLE ZIP of the gps.conf I have been testing all day, it never failed me once and never lost a lock.

vs980_gps_conf_v4.zip

This has same Verizon and US specific settings, so if you are not using the vs980, or are using it on a different carrier or outside the US, or if the above one doesn't seem to help much for you, try the one from Mahdi... it is more generic and seems to work with multiple variants. Well testing it it seemed to be the most reliable and accurate one I found, but still suffered from occasional "lock loss" but very rarely. I tried to find a merger of the two but every attempt seemed to cause more problems than it was worth, it is also below (untouched from the Mahdi thread) and is a flashable ZIP as well.

mahdi_lg_gps_conf.zip

If you do not wish to flash them in recovery, you can extract the /system/etc/gps.conf file from the archive and replace your existing one.

If you test it out, PLEASE comment or PM me with your results and thoughts. Thanks!
[Verizon LG G2] Lycidias:
I noticed, that my compass doesn't work correct, it's about 1/4 more to West compared to my friends d802. Seems to be a Hardware Problem.

I will Try the mahdi right now, thanks.
[Verizon LG G2] wilkster:
Have you tried calibrating the compass using GPS Status or a similar tool?
[Verizon LG G2] Jaysusername:
(TL;DR: Anyone with the GPS signal lost, could you try running the Munzee app in the foreground and see if that fixes the issue?)

Hey all, just wanted to add a new twist to this mess. This is more in reference to the lost signal 'GPS lost'as I have been struggling with google maps frequently saying 'GPS lost' and seeing the 'GPS' notification icon going grey during navigation.

While experimenting I used another app called Munzee which is a location based game using a map. It has a toggle to keep GPS on so I thought I'd give it a shot. I now have 2 trips to and from work (which I was losing GPS in google maps) without any loss and my location was bang on the whole time. On top of that this morning's drive was cloudy and raining to make it even tougher with no issue. The weird part, if I have it running in the background with google maps or even GPS toolbox run in the foreground the problem returns and I lose GPS signal.

It almost seems as if the GPS is putting itself to sleep at the wrong times and the Munzee app is overriding this. This is far from confirmed obviously. Also, in all my reading about this it seems far from isolated to the G2 or Verizon. (I'm with Rogers in Canada).
[Verizon LG G2] Lycidias:
My experience : I was on pardus rom(d802) and tried other custom Roms but on every one i had only 2-4 Satellites and very often not even a fix. Then I CSE flashed back to JB Stock.kdz (O2), and updated via OTA to KK. I also bought a New battery backplate. Now i get a fix in like 5 seconds :D still not as good As on my S3,but it is okay for me. But my compass still is ~30 degrees ****ed up.

I only wonder Why it did not worked yesterday, suddenly i started to work this evening.

And can i switch back to pardus rom without losing gps again? Do I need to the gps.conf only?
[Verizon LG G2] Jaysusername:
I dont seem to have any issue with map quest losing signal either.....I switch back to Google maps and it loses signal again. So odd!
[Verizon LG G2] Lycidias:
Update: installed Worship ROM and compared the gps.conf with the Stock O2. It's the SAME ONE. And GPS works still great.

So either the New battery backplate or the CSE full format Fixed my gps. Still wondering why it did not worked yesterday. Very suddenly it started working today, As i already said.
[Verizon LG G2] GWashington:
Hey acejavelin, very much appreciate your efforts!! Unfortunately for me, I still can't get a lock.

I reverted back to Malladus today & grabbed a GPS lock while on the road & maintained it all day. Pulling 10-14 of the 21 satellites & averaging about 35 ft or so accuracy while driving. Best accuracy while standing still was about 10 ft. However, I didn't get a lock until I left my house, although the lock remained after I arrived home tonight. It stayed locked until I re-flashed Beanstalk. So, I will try your fix after I leave my house tomorrow as well, maybe that will be the difference, but I am guessing not. We'll see...

Bummed, loved Beanstalk otherwise, but this should be listed as a bug in that OP.

Thanks again for your efforts sir!:good:
[Verizon LG G2] acejavelin:
It seems to affect only a percentage of handsets, the specific variant doesn't seem to be a factor, it effects some handsets with no common thread to the cause. I have been successful in getting "broken" GPS working across a few different variants probably 2/3 of the time. I'm sorry my fix didn't work for you.

I have one question, did you upgrade by OTA each time, or have you ever upgraded by flashing XDABBEB's bootstack?
[Verizon LG G2] GWashington:
Hey...please don't apologize...makes me feel bad! Not your fault & your efforts are greatly appreciated.

To answer your question, & more... I just received my phone back from LG service to replace a defective screen, so I thought they might have damaged the hardware, but I did get a lock with Malladus, all day, so guess it's not hw related. I ran Malladus for almost a year prior with no or little GPS issues. Anyway, I believe LG repair took an OTA before returning my phone to me. As soon as I got it back I rooted with Towelroot, installed TWRP with Autorec (much easier than the way I had to do the same last year!), then wiped & flashed PA. Had some issues so I then flashed Beanstalk. I did not take an OTA & did not flash the bootstack?

Hope that helps...
[Verizon LG G2] acejavelin:
Thanks... It was more curiosity than anything, a couple people who flashes the bootstack manually had issues a full factory reload fixed, but not enough to make a definite pattern, was just curious.
[Verizon LG G2] GWashington:
I have an interesting update, not sure if it will help anyone or create more confusion.

So, like I said in one of my last posts, acejavelin's fix didn't help, but I sometimes have a hard time getting a fix at my house, so I tried to get a fix after I got away from my house today, & got a lock... all day & with the stock Beanstalk gps.conf file!

Here's the scenario:

Re-flashed Malladus earlier in the day & had a lock all day. Got home & restored nandroid of Beanstalk & lost lock. Tried acejavelin's fix, didn't seem to work, at least not at my house, then reverted back to stock gps.conf & flashed an old LG G2 GPS fix from [MENTION=790321]bouchigo[/MENTION] & no luck with that either. Wiped caches a couple of times as well through all of this. Wanted to remove all traces of the old GPS fix that I just flashed so I did a full wipe & again restored my Beanstalk nandroid. Went to bed with no lock. Left the house today & Beanstalk locked after getting away from my house & stayed locked all day! Even had a little better satellite reception than with Malladus! Was not even running acejavelin's fix, just stock Beans gps.conf file.

So, what the heck happened...why do I now have GPS lock?! I know it is sometimes suggested to revert to a ROM that can get a lock, then re-flash to the ROM that had trouble locking, & that somehow fixes the problem, which is what I did yesterday. However, that never made sense to me, I must be missing something. How can that help, if a full wipe is done of the ROM that had the lock, before re-flashing the ROM that wouldn't lock? If there is a logical explanation for this, then I suppose that might be what fixed the Beanstalk locking issue for me, I just didn't realize it until I left my house today & was able to get the lock.

Would love to hear from you all. Thanks, & I will let you know if I lose lock again!
[Verizon LG G2] Dearborn1977:
*Delete*
[Verizon LG G2] Dri94:
For those switching to aosp and having trouble locking. Flash a stock rom. Get the gps lock. While lpcked reboot straight into recovery. Backup efs. Flash aosp. If your ever having slow locks or if after awhile it doesn't lock again then restore efs. Works every time
[Verizon LG G2] Droiddude24:
How do you back up efs?
[Verizon LG G2] acejavelin:
It is a option in twrp's backup and restore.
[Verizon LG G2] Droiddude24:
Cool thanks I just went back to stock 24a and the GPS locks on great! I j was on Aosp Vanir and didn't lock on anything looks like the problem
[Verizon LG G2] :
You're right. I'm glad I searched and searched about this. The piece everyone is saying is the GPS connection is not. It is just part of the cdma antenna. Wow. Thanks for the find and the service manual. I only seem to have GPS issues on AOSP ROMS anyways. I'm sticking with Stock 26A Rooted Xposed. Peace brother.
[Verizon LG G2] acejavelin:
That has been proven... The real "fix" is in GPS.conf and EFS partition. Get a good lock in stock, jump into twrp and backup everything, normal wipes, install aosp or CM, fully boot... If no GPS signal, reboot into twrp and restore only EFS partition, do not wipe anything then reboot... If still no GPS signal, run FasterGPS and set NTP servers and flash my custom GPS.conf v4 from a few pages back. Has about an 80% success rate on AOSP and CM based Roms, until [MENTION=3419683]Snuzzo[/MENTION] shares his better fix. :)
[Verizon LG G2] :
I couldn't restore just the EFS with TWRP. It failed every time I tried. So what I did was I used a flashable zip that [MENTION=2684188]autoprime[/MENTION] made to backup the efs then I used the flashable EFS backup that was made and just installed it through TWRP. Successful. Fingers crossed and the next time I booted into SlimKat and BeanStalk I had fast locks and 14-16 sats out of 22 each time which is what I get on stock KK. Worked great. Thanks for the tips!!!
[Verizon LG G2] MkVsTheWorld:
Well, I gave up on the LG G2. I called Verizon and asked for a refund, which they initially said no because it was way past the 14 day return window. But, they let me.

If you need a TPU case, I got one.
[Verizon LG G2] veiovis:
Hi,

thanks for your post.

I have tried putting some cardboard/tape under the connectors, but I have had no success in improving my GPS quality.

I have attached a photo of my LG G2 backcover from the inside (Attachment 1).

Which of the connections is the one for the GPS? Does anyone know that?

I noticed that there are visible pressure points on the connection pads, which should mean that there is contact to the antennas.

I have an EU LG G2 without branding. Should be similar to the verizon model?!

Another question: What does it mean if my GPS says "0/20 Satellites fixes" (Attachment 2)? Where comes the 20 from? Is it from the AGPS data? Or does the GPS module see 20 satellites, but has a bad signal strength to all of them?

Is there any way to tell if there is a working eletrical contact to the gps antenna?

Grateful for any help

veio
[Verizon LG G2] acejavelin:
This has proven to NOT be the GPS antenna and NOT a valid fix... If you read through the thread or just the last few pages you would know that.

If you are stock and cannot get a fix, your handset is defective, plain and simple... If it works on stock but not on AOSP/CM there are potential software fixes.
[Verizon LG G2] veiovis:
Thanks, thats unfortunate.

I already sent it in once, but they "found nothing". Probably did nothing.

Well, I have to sent it in again I guess.

I can get a fix. But it loses it all the time in the car. It's totally unsuable for navigation.
[Verizon LG G2] acejavelin:
Are you stock and/or rooted, or on a custom ROM?
[Verizon LG G2] veiovis:
Stock, without root.
[Verizon LG G2] acejavelin:
Hmm... Has it ever been rooted or had a custom ROM on it?
[Verizon LG G2] Jaysusername:
But why is it I only seem to have issues with Google Maps....I downloaded map quest, Munzee and Geocaching and they all seem to hold the signal fine??
[Verizon LG G2] veiovis:
No, it was always Stock and never rooted.

I also recently resetted it to factory status (for sending it in).
[Verizon LG G2] acejavelin:
Then, unfortunately, your unit seems to be defective. Have you tried GPS Status & Toolbox or AndroiTS GPS to update the aGPS data?
[Verizon LG G2] wilkster:
To determine if your antenna is faulty or making a bad connection what signal levels to get when you are outdoors. Attached is an example of mine (VS980) using the GPS Test app standing in my front yard. I rarely see levels higher than 36 for one or more satellites. I don't experience my signal being lost during navigation (it has only happened once very briefly over many trips up and down the east coast). My signal levels are not as good as other devices, but I think that is a limitation of the G2 and is one reason when indoor reception is poor. I am stock rooted.
[Verizon LG G2] veiovis:
Yes.

It usually sees a lot of satellites, but the signal is to weak (yellow in AndroiTS). On the MotoG of my girlfriend all the signalstrengths are higher.
[Verizon LG G2] veiovis:
That is the signal strength diagram of my G2 on a roof of a building (so no buildings/tree obstructing the view) and almost clear sky.

Significally weaker, I would say.
[Verizon LG G2] Lycidias:
Guys, just buy a New battery backplate. This Fixed my issue
[Verizon LG G2] Dearborn1977:
I tried bending the clips - it seemed to work but then the phone was back to having problems. Guess it was a placebo effect. It would get a lock eventually, but in Waze the GPS would lose lock several times over the course of a 25 minute drive. I called Verizon and the rep - a Tier III rep - said it was a known issue and that they were working with LG on a fix. I had to ask politely several times for a warranty replacement and she finally gave it to me and said "well, it may not make a difference but I'll put in for one for you." Now I have the replacement and it works. It's still not amazing - for no reason in particular, it took 5 minutes to get a lock this morning, while yesterday it got a lock immediately. But it generally works well, both on AOSP and stock based ROMs. I was on Slim but am back on XDABBEB's 2.2 right now. Don't know if it made a difference, but before I installed Slim, I booted into recovery while I had a GPS lock and backed up EFS.
[Verizon LG G2] wilkster:
That may work for the non-verizon phones, but the verizon phones have the GPS antenna under the very small cover that is attached to the phone (next to the buttons). It isn't in the backplate.
[Verizon LG G2] chairthrower:
GPS problems due to SIM card?

Just did an online chat about my (replacement) VS980 from Verizon that I've been having GPS issues with since I received it. The perhaps too perky agent seemed utterly convinced that my SIM card needs to be replaced, and that will magically fix my problem. I guess it's possible since I believe this is the same SIM I got with my Galaxy Nexus three years ago. I assume my unlimited data plan will stay intact when I replace it, but I'm wondering if anyone else has ever heard of this as a potential solution to GPS problems.
[Verizon LG G2] wilkster:
I would be astonished if replacing your sim card fixes your GPS issue. The one in my vs980 G2 is a 3 year old cut down card from another phone and it is working fine. Also, replacing it won't impact your UDP if you use a new one from Verizon so it won't cause any harm.
[Verizon LG G2] acejavelin:
This is NOT the fix, well, I would be literally shocked if it was... I've had several SIMs, including new ones and GSM ones, in my device, the GPS issue is consistent regardless of the SIM.
[Verizon LG G2] chairthrower:
Unsurprisingly, I got my new SIM card from the VZW store (there's one literally two minutes from my house) and it has not changed the problem behavior at all. At least the rep in the store said they'd just give me a new phone if this didn't work. I had also realized that if it was the SIM, having no SIM in the phone would have fixed it too (which, of course, it does not.)