yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] FFU5y:
Having another look, I think that even a full downgrade to KK isn't fixing it for me. That is even when in Safe mode. I need to test it a bit more, but I was trying to use it today and it was getting 'stuck'.

It seems like you've tried:

Adding 'supl', which changes it to tolerable. (My APN already has supl)

Downgrading to 4.4.x radios: no difference

In device only it happens for you (whereas for me I only get very brief skips in device only, but total jamming of position in high accuracy)

In flight mode it doesn't happen for you (I haven't tested this).

Tried removing a weird APN which your provider adds, but it didn't seem to make any difference.

Switching to Permissive SELinux (Running in KK, it seems to still be happening for me, and that is in permissive mode).

Did you try a complete downgrade to KK? If so, did that help for you?

Thanks for the ongoing feedback; it is really helpful as I'm trying to pin this down so I know what to tell Google when I speak to them.
[Nexus 5 Q&A, Help & Troubleshooting] PeQuEsan:
No. I haven't tested to go back to KK. It's difficult to downgrade for me, and it was so clear that problem began when upgrading to LP that it doesn't worth the effort.

Reviewing all tests I've done, I can't understand one thing: why it stops happening in flight mode, and it doesn't in "device only" mode, which leads me to wonder: device mode disables or NOT agps? If it's NOT disabled, for me the problem is clearly the AGPS process, which in flight mode can't be downloaded... Next test would be to try disabling mobile data only. I think I did it with no success...

But I'm so tired of testing... :(
[Nexus 5 Q&A, Help & Troubleshooting] Feet On The Road:
For me it doesn't lock when I'm inside (no satellites) even when I'm connected to wifi. It does lock when I'm in flight mode with wifi on, which leads me to believe that it has something to do with getting gps location from wifi being disabled in all modes but flight mode. My location mode is already set to high accuracy. This could be why gps drops so much or isn't very accurate for you guys.
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
bahh it still happens on M Preview... what a suckers!!!
[Nexus 5 Q&A, Help & Troubleshooting] PeQuEsan:
You CAN use kk radios on top of LP roms. I did it with no problem... but unfortunatelly it doesn't fix this issue, which I remember is very specific, not just random signal drops...

bye!
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
I also have this problem since Lollipop, and the worst is that Google tagged it as "small defect" and Android M previews 1 AND 2 have this terrible GPS bug on them yet.

On 2015 if I want to use GPS on a Nexus 5 I need to multirom to a KK build. Incredible.. and Google says this is minor.
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
M2 also has the same problem?? I still haven't the time to test that...
[Nexus 5 Q&A, Help & Troubleshooting] BitingChaos:
Sometimes my Nexus 5 (running 5.1.1) would start to get a GPS signal, then it seemed to just "lose" it. Not all the time, though! Sometimes the signal is fine. When it isn't working I don't know what else to try other than to reboot a few times. (My device is encrypted, so each reboot takes quite a while.)

My Moto G LTE on 5.1 and Nexus 7 (2013) on 5.1.1 don't seem to have such issues with GPS. When they see satellites they get a lock and hold on to it.

I did a search on the issue and discovered this thread (and many like it) where it seems GPS just doesn't work right on the Nexus 5. I thought having a "Google" Nexus 5 with Google's stock OS for it would mean that things "just worked".

Edit:

When I use "High accuracy" I get GPS dropouts.

When I use "Device only" the GPS stays connected.

Using the app switcher to go back and forth between Settings and "GPS Test Plus" when changing Location modes I can easily see it cause the dropouts.
[Nexus 5 Q&A, Help & Troubleshooting] sdmark:
I read this as well...I haven't tested it extensively though. I have a tasker profile that changes to 'device only' when i open my nav apps
[Nexus 5 Q&A, Help & Troubleshooting] drose6102:
The past few weeks I have been struggling to keep a lock, the last 3 days I can't get a GPS lock at all. I have always device only for a long time too. Its almost as if the GPS has been slowly dying ever since I bought it after first release. I have been running cyanogen caf 5.5.1 for the last few weeks, previously was on kitkat 4.4.4. But I have always had gps lock issues, now I have no GPS .
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
Not sure, im still waiting for some multirom
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
Btw, they completely ignored the bug report, like they ignored the mobile radio drain bug in the past.

However, for the mobile radio drain bug they opened a new report for m developer preview and they linked to the old one, and got immediate response and a promise for M fix, asking for logs and such.

Maybe we should try the same opening a bug report for M preview linking to the original one? Maybe we will get the fix on M this way, getting a fix on Lollipop seems impossible for now.

Google is just a disaster on this. They're going to leave millions of people stuck on Lollipop without GPS working at all, Android may seem to be a iOS competitor but checking this...
[Nexus 5 Q&A, Help & Troubleshooting] drose6102:
After dealing with no GPS for a bit, I had enough and looked again for answers. I reverted back to Kitkat radio KOT49E (running cyanogen caf 5.1.1) and followed this http://xdaforums.com/showthread.php?t=1239713 gps.conf file edit. I opened the config file and deleted everything, copy and pasted the lines on the thread and changed the top few lines to us.pool and rebooted. Holy hell it worked. Lock in 40 seconds. I hope this isn't just dumb luck, someone else give it a shot and let me know.
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
[MENTION=3107834]drose6102[/MENTION], I just had to MultiRom a stock 4.4.3 KTU84M rom for N5 (available on the MultiRom thread) and GPS works awesome out of the box..

I hate how noone seems to like my proposal above, opening a new ticket would probably get this fixed on LP and M but..
[Nexus 5 Q&A, Help & Troubleshooting] cristi.istrate:
Not Lolipop Related

Hi, I just made a research on my bike tracks recorded with Nexus 5.

The 5 minutes interval GPS satellite reset is present (more or less at that interval) from march 2014. I guess it was 4.3 then.

I tried all the posible settings:GPS Accuracy: Device Only, HIGH. WiFi (background) ON/OFF, everything without success.

I found a possible cause and fix.

First look at my analysis:

Every spike is a reset of GPS Satelites, GPS Signal Lost, EVERY 5 minues after witch a few seconds to relock on the satellites.

The first part of the chart with GPS loss is with GSM Data OFF.

The second part is with GSM Data ON and everything is OK.

The cause is that either Play services or android itself want to send the location to the servers and in that second it resets the satellites data if the phone can't reach the servers.

So use DATA and it will work (99%+ of the times at least in my exerience) with HIGH ACCURACY Setting, but there are 2 downsides of this:

1) The problem persists if you have no good GSM coverage.

2) The battery drain will be greater with DATA ON.

Also use GPS Tools to download the latest ephemerides.

Hope this works for you.
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
In my case using high accuracy or not (always on DATA) doesn't change anything at all.
[Nexus 5 Q&A, Help & Troubleshooting] hobojoebr:
Fixed the issue by clearing cache of the Google Play Services app

Hi,

I've been experiencing the gps fix issue on my Nexus 6 for the past 2 weeks.

I managed to fix it by simply clearing the Cache of the Google Play Services application.

I've also did the same on my wife's Nexus 4 (which had the same issue) and the problem was fixed.

Hope it helps you guys!
[Nexus 5 Q&A, Help & Troubleshooting] PeQuEsan:
Sooner than later, it will come back... Sorry man.
[Nexus 5 Q&A, Help & Troubleshooting] jackfrost909:
Just wanna add - def soft/firmware issue

Hi all,

Sorry, tl/dr whole thread (is very long now) but I have 32GB N5 US from Play store.

Have had intermittent GPS issues but now they are permanent. Can't get a lock to save my life (literal or figurative).

My phone is dual-boot with multirom. In Lollipop Dream 5.0.1 (my DD) I can't get a fix. If I dual boot back to 4.4, gMaps instantly finds me.

No other changes, no tweaks, just boot into old version and it works, boot into 5.01 and no workie.

Gotta run so that's all for now. Any questions/details please ask.

This is majorly raining on my parade.

BTW, none of the apps, gps resets, clear Play svcs, stop Play svcs, etc. have helped but booting 4.4.4 based rom does. CLEARLY not a hardware issue.

hth.
[Nexus 5 Q&A, Help & Troubleshooting] Xx-Ness-xX:
Although I don't have a solution for this GPS dropping issues, take a look at this http://androidforums.com/threads/gps-conf-fix-for-lg-volt-as-of-4-9-2015.907784/ maybe someone can tinker the gps.conf in Lollipop to make the GPS dropping more usable? [Edit] Maybe someone should compare a Kitkat vs Lollipop version of gps.conf. As far as I know, they don't look exactly the same.
[Nexus 5 Q&A, Help & Troubleshooting] jackfrost909:
Ok, gotta update this again now. Sorry to say that after working flawlessly for about 30 mins on a drive GPS started having issues in kit kat. I got to destination and tried again on way home (cpl hrs later). GPS worked again - for a short while and then now it doesn't work at all.

So to be clear - kit kat was working but after running for about half hour to an hour of use, it stopped too.

Lollipop still doesn't work either.

What could/would have updated during that half hour I was using it that caused it to stop working?

Or maybe it's just coincidence - maybe it's just dying hardware being flaky??
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
Exactly the same problems. Impossible to get a lock on any lollipop build now (it gets worse every day!! WTF) and instant locks on multirom KK builds..
[Nexus 5 Q&A, Help & Troubleshooting] PeQuEsan:
6.0 Marshmallow final Preview comes with new radio... Anyone wants to test?

Anyway: known issues: GPS going wrong with LTE devices... Maybe finally Android devs acknowledge this?

Desde Tapatalk..
[Nexus 5 Q&A, Help & Troubleshooting] drose6102:
I gave up on it, hope 6.0 will fix it or just get the new nexus that comes out this fall
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
Does M3 have the same problem? Anyone?
[Nexus 5 Q&A, Help & Troubleshooting] garett2:
Try tightening the screws on the back especially the ones at the top
[Nexus 5 Q&A, Help & Troubleshooting] cristi.istrate:
Just flash the M Preview 3 radio (2.0.50.2.27) over my CM 12.1 who had xxx.25

In 1 hour of gps recording (no data/no wifi) seems OK!

I will test some more in the next days.

---------- Post added at 11:34 PM ---------- Previous post was at 11:21 PM ----------

Unfortunely after 1 hour of recording, the gps issue apears again :(

I will flash the M preview and see.
[Nexus 5 Q&A, Help & Troubleshooting] cristi.istrate:
Android 6.0 no fix :(
[Nexus 5 Q&A, Help & Troubleshooting] PeQuEsan:
Finally Google acknowleged this issue!!!

https://code.google.com/p/android/issues/detail?id=81140#c464

We're not crazy... Our phones are NOT faulty.
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
I'll be damned!!! At last!!!
[Nexus 5 Q&A, Help & Troubleshooting] mineIsAlreadyTaken:
Right. Just in time for the switch to the Nexus 5X :silly: Well at least I won't need to have an awkward conversation about the wonky GPS with the future buyer - if Google manage to fix it, that is.
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
Really? NOW they acknowledge the issue? NOW?

This is so SAD. Google is YEARS LIGHT away from Apple right now. This bug is CRITICAL for a lot of us, yet when apple takes 1 day to fix critical bugs, Google takes 1 year to acknowledge...
[Nexus 5 Q&A, Help & Troubleshooting] darkamikaze:
:( I literally just updated my ROM LMY48I -> M and this started happening... terrible. I don't know if I need to flash back to KitKat...
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
In my case it's been the inverse!!

After upgrading from LMY48I to LMY48M, GPS works again!!! finally! after a year lol..
[Nexus 5 Q&A, Help & Troubleshooting] darkamikaze:
yea I don't know what I just did, tried hardware mod, tried reseting the gps data, switching back from high accuracy to device only... but it started working again lol Now I can't touch it
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
It worked for 2 days, then it's not working again!!

What the hell??
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
Just receive this email:

Hell yeah!!!
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
Priority-High

About damn ****ing time Google. Now I hope they fix on L not only M
[Nexus 5 Q&A, Help & Troubleshooting] knicknut:
Comment #514 seems to be removed from that page... did it imply a fix?
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
A fix or not... :\
[Nexus 5 Q&A, Help & Troubleshooting] BitingChaos:
This is still broken on Android 6.0 on the Nexus 5. Amazing.

How could Google leave GPS broken for this long? It's nice to get updates for a Nexus, but it's terrible that they don't work right!

The "bug" works the same on 6.0 as it did on 5.1.

1) When Location is set to "High accuracy", GPS gets a signal, freezes up, loses the lock, hangs for a bit, and sometimes starts getting a signal again.

2) Setting Location to "Device only" gets GPS to work.

Downgrading to Android 4.4 gets GPS to work on "High accuracy", but I shouldn't have to do that!!
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
Yes, it's broken the same way on 6.0. It's that ridiculous that I've gave up any hope to have a normal device with GPS anymore until I drop this N5. I have a

KitKat 4.4.3

multiRom image ONLY for when needing GPS. It's so sad.
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
Don't forget to report on the google developer page for the bug!!
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
Whoa, Today I noticed that the 4.4.3 rom I was using for GPS for like a year.... now has broken GPS too o_O, Now there is no single way to get GPS working on my N5, on any android version. If this is related to some Google Play Services or anything, good work Google, you managed to do it.
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
Well, yesterday I used a lot GPS with Android 6.0 and had only 1 drop, but was when I cross below a bridge. I don't know if it was really that, but the thing is that over the rest of the journey I didn't experience any more drops...
[Nexus 5 Q&A, Help & Troubleshooting] baknblack:
I finally gave up and ordered a Bluetooth gps receiver today. Should fix the problem. We'll see.

Some days mine would work fine. Other days constant drops.
[Nexus 5 Q&A, Help & Troubleshooting] cristi.istrate:
Please put the link for Bluetooth receiver

Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] baknblack:
I bought a Garmin glo. They are 99 bucks at the gps store and at Cabelas . There are cheaper ones but, this one has good reviews.
[Nexus 5 Q&A, Help & Troubleshooting] RusherDude:
It is worth it? Does it work perfectly, 100% and fast? (aka Android < 5.0)?

I do not trust Google anymore so I'm seriously thinking on getting one.

In fact, I'm debating if to buy another Android phone again after this. It just can't be that Nexus 5 has the GPS broken a year later, after a giant SO update, and so are a lot of other random phones apparently randomly. Google dug their grave with this.
[Nexus 5 Q&A, Help & Troubleshooting] Corbu:
I feel the same way, I have lost interest and hope in Android. It has never been and will never be something that just works. It might be ok for the modder or the tinkerer waiting and hoping for the bugs to be fixed, but I am gretting tired of waiting. In my family there are 3 Android phones and all of them GPS issues. I am waiting until Christmas time and hope for the bug to be fixed, but most likely around that time I will buy either an iPhone or one of the new Lumia phones if Windows 10 mobile is something that is worth buying.
[Nexus 5 Q&A, Help & Troubleshooting] baknblack:
I'll report on it when I get it and have a few days with it.

---------- Post added at 10:12 PM ---------- Previous post was at 10:11 PM ----------

And yes this issue is not just a nexus 5 issue.
[Nexus 5 Q&A, Help & Troubleshooting] decat:
Due to this bug I'm planning to return back to KK.

I'm running xTRaSmooth and upgraded the radio + bootloader before flashing M through recovery.

Do I need to downgrade the bootloader and radio before flashing a KK rom, or can I keep them as they are now?

Thanks
[Nexus 5 Q&A, Help & Troubleshooting] baknblack:
Kit kat will run on the new radio and boot loader. I'd do that. The problem seems to be in the rom code not the radio.
[Nexus 5 Q&A, Help & Troubleshooting] decat:
That's a nice read. Off to KK this evening then. :D
[Nexus 5 Q&A, Help & Troubleshooting] Corbu:
Is it possible to downgrade to KK without loosing all the data and wiping the device? Similar to when upgrading to a newer ROM? I want to go back to KK, but I don't want to do a factory reset.
[Nexus 5 Q&A, Help & Troubleshooting] baknblack:
After one day of use:

The garmin glo is rock solid. Don't like having another piece of hardware but, such is life. It has a 12 hour battery life plus easy to charge with usb. Position and speed indication respond better and more accurate. I'll have it no matter what phone or tablet I want to use. The only negative was having to buy it.
[Nexus 5 Q&A, Help & Troubleshooting] trent999:
I use GPS on my Nexus5 with stock OTA Marshmallow for playing Ingress, which requires a lot of very accurate GPS.

It works fine.
[Nexus 5 Q&A, Help & Troubleshooting] mineIsAlreadyTaken:
Yes, we know that this issue does not affect everyone. :rolleyes:
[Nexus 5 Q&A, Help & Troubleshooting] decat:
That's why I needed to downgrade, had problems playing Ingress :D
[Nexus 5 Q&A, Help & Troubleshooting] baknblack:
2 days on the Garmin GLO. Zero hiccups. I'd say a 100 dollar success. On the internal gps it was constantly losing lock.
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
For me, it did affected me all 5.x versions, but now I don't have it on 6.0
[Nexus 5 Q&A, Help & Troubleshooting] cristi.istrate:
Try with data OFF please.

With data ON it works fine for me 99% of the time, but with data OFF in 20-30 minutes it misbehave.
[Nexus 5 Q&A, Help & Troubleshooting] trent999:
I could try with data off and use my hotspot for WiFi. Would that be a fair test, run stock M that way and Ingress for an hour or so ?
[Nexus 5 Q&A, Help & Troubleshooting] onesolo:
A few days ago I tried GPS and I had the issue again!!! Argghh!!!
[Nexus 5 Q&A, Help & Troubleshooting] jeremie57:
I'm facing to the same issue with my LG G3 32Gb D855. Perhaps is there a way to explore to avoid the loss of fix every 5 minutes.

What I do :

1. Turn on datas

2. Turn on GPS

3. Start application that use GPS

4. Wait for GPS fix

5. After 10 seconds, turn off datas

I have no loss of GPS fix when I do so.

Maybe since Android 5.0, AGPS must be updated more often to avoid loss of fix ? It's like if the device try each 5 minutes to get AGPS datas !

This method works for me but obviously when we are in a roaming zone, the fact that we turn on datas generates fresh !!!

I'm root, so I installed a firewall ...

EDIT : I made some tests and you can find here a "solution" to avoid that...

http://xdaforums.com/showpost.php?p=65624021&postcount=2189
[Nexus 5 Q&A, Help & Troubleshooting] DiamondJohn:
Is there a pattern between 16GB and 32GB models? there appeared to be in the first few posts (ie it mostly happens on the 32GB models).
[Nexus 5 Q&A, Help & Troubleshooting] callmejon:
working again after gps reset and uninstall gps status, awesome thanks. -no more lost gps signal

nexus 5 16G 6.0.1
[Nexus 5 Q&A, Help & Troubleshooting] alphie72:
padfone A86

I almost send in my padfone A86 because of the GPS issue but did a downgrade instead and my GPS issue is resolved. Under Android 4 kitkat no more problem with GPS. i am reading a lot of problems with GPS under lollipop, but no solutions from google or Asus.
[Nexus 5 Q&A, Help & Troubleshooting] buaser:
I think I found a fix. Try to disable MSA and MSB under capabilities mask in gps.conf and reboot.
[Nexus 5 Q&A, Help & Troubleshooting] maortrol:
Do you mean disabling MSA and MSB by setting "MSB = 0" and "MSA = 0" (instead of 0x02 and 0x04, which are their default values in gps.conf)?
[Nexus 5 Q&A, Help & Troubleshooting] jeremie57:
Hello,

The explanations are here :

https://code.google.com/p/android/issues/detail?id=81140#c695

And here :

http://xdaforums.com/showpost.php?p=65624021&postcount=2189

Envoyé de mon LG-D855 avec XDA Forums
[Nexus 5 Q&A, Help & Troubleshooting] mineIsAlreadyTaken:
same here, Waze ..
[Nexus 5 Q&A, Help & Troubleshooting] MoodZy:
I'm also a big user of Waze, and that's how I discovered the problem. But after some tests with Google Maps I understood that the problems were there too, but that Google Maps was just better at hiding a potential GPS signal loss (you are advancing further on the map as if nothing happened, but if you stop in reality and you continue to advance on the map, or if you make a turn that was not supposed to happen if you had followed turn by turn directions, you will see that the problem is there too).

Therefore I'm thinking the problem is more at firmware or Android level.
[Nexus 5 Q&A, Help & Troubleshooting] LordPando:
This morning I used Google Maps for my daily trip to the office and I have to quote what you have said...

While Waze tells you explicitly that there was a signal loss, google maps is hiding it (it's something also visible when you are crossing a tunnel) .

I'm considering to rollback to KitKat this weekend just to exclude a hardware issue on my phone.
[Nexus 5 Q&A, Help & Troubleshooting] MoodZy:
I personnaly posted an issue on the AOSP, and there someone said (issue 81140 - As a newbie, I'm still unable to post the link) going back to Android 4.4.4 solved the problem, if what he says is real, it is clearly a software problem with Lollipop.

Keep us posted on your tests ! :good:
[Nexus 5 Q&A, Help & Troubleshooting] dmatik:
Yep, I have tried Google Maps and the issue is also there. I will try iGO also, but clearly its a software problem.

The strange thing is that I know a lot of people with Nexus 5 that updated to Lollipop and have no GPS issues. Maybe its only on specific hardware? Mine is D821 32GB. Most of my friends brought theirs from US so they have D820 models.
[Nexus 5 Q&A, Help & Troubleshooting] sappe:
Problem in Gps on Lollipop under Nexus 5 32gb

Same problem for me. The gps fix is very difficult. I have n5 d821 32gb.
[Nexus 5 Q&A, Help & Troubleshooting] PeQuEsan:
Same problem here... Intermittent gps lock loose, using Sygic.

I also confirm what someone before stated: gps status, which on kitkat appeared as notification icon always, while using gmaps or Sygic, now it appears when you first start any nav app, but it disappears after some seconds.

Will see 5.0.1...

Anyone could point me to AOSP issue opened about this?

Thanks a lot.
[Nexus 5 Q&A, Help & Troubleshooting] MoodZy:
For me :

Phone : Nexus 5 - D821 - 32Gb

Android Version : 5.0

Build : LRX21O

Kernel version : 3.4.0-g88fbc66

Apps where the problem is seen : Google Maps, Waze
[Nexus 5 Q&A, Help & Troubleshooting] dmatik:
Looks like the issues are only on D821 models?
[Nexus 5 Q&A, Help & Troubleshooting] MoodZy:
It looks like it. It even looks like only D821 and 32Gb models have issues.
[Nexus 5 Q&A, Help & Troubleshooting] mineIsAlreadyTaken:
looks like here is one:

https://code.google.com/p/android/issues/detail?id=81140
[Nexus 5 Q&A, Help & Troubleshooting] MoodZy:
Yes, I started it, but there is not that much interaction. Probably because the problem is not that visible to people not using localisation for driving.
[Nexus 5 Q&A, Help & Troubleshooting] freshlysqueezed:
Thanks. Working well so far.