[Q] Wifi & network location unavailable after switching location off & on again - Nexus 5 Q&A, Help & Troubleshooting

[Q] Wifi & network location unavailable after switching location off & on again
Hi there,
I found this strange but reproduceable bug on my N5's location services and was wondering if it's the same for you.
Turn off location via settings or quick settings
Turn it back on
You'll be asked to accept Google location terms
Switch to battery saving mode (only wifi & network, no GPS)
After these steps, my N5 cannot find it's location via Wifi & mobile network anymore. In Maps it might still show the blue dot but moving around it won't update. When using any other app which will try to get a fresh location it's a no go. Like Google+, try and make a post with location, no joy.
I have to reboot to get it working again.

Did you agree to those Google terms? If not that's the reason...

cawith said:
Did you agree to those Google terms? If not that's the reason...
Click to expand...
Click to collapse
I agreed to those of course. If you cancel that it will turn back to device (GPS) only

Sander M said:
I agreed to those of course. If you cancel that it will turn back to device (GPS) only
Click to expand...
Click to collapse
Strange. Are you running stock ROM? I had no problem doing the thing you described.

cawith said:
Strange. Are you running stock ROM? I had no problem doing the thing you described.
Click to expand...
Click to collapse
Just got it 2 weeks ago, all is stock, locked and original.
Did you try any other app besides Maps? That sometimes uses last known location and shows blue icon.

Sander M said:
Just got it 2 weeks ago, all is stock, locked and original.
Did you try any other app besides Maps? That sometimes uses last known location and shows blue icon.
Click to expand...
Click to collapse
You're right, mine also won't find my position without GPS. However a reboot fixes it for me.

Somewhat glad to see others having this bug too. Indeed a reboot fixes it right up so it's not a huge deal.
Under normal circumstances I would't change this setting ever, but when I just got my N5 I wanted to test the GPS only feature. After turning it back to Battery saver I noticed and started investigating what caused it.
Thanks for testing mate!

Sander M said:
Somewhat glad to see others having this bug too. Indeed a reboot fixes it right up so it's not a huge deal.
Under normal circumstances I would't change this setting ever, but when I just got my N5 I wanted to test the GPS only feature. After turning it back to Battery saver I noticed and started investigating what caused it.
Thanks for testing mate!
Click to expand...
Click to collapse
No problem. I'm glad also to be aware of it now, so that I can avoid standing somewhere I need and it won't find it

Anyone else willing to try this? The N5 from a friend of mine did not show this behavior. And another did. Weird bug.
Verstuurd vanaf mijn Nexus 5 met Tapatalk

I have the problem on my 16 GB black nexus 5 with stock Rom and no root. I tested with dalvik and art but the problem exist. I have found 3 solutions:
1- reboot phone (temporary solution)
2- stop Google Play Services (temporary solution)
3- uninstall updates of Google Play Services use with stock/no update (permanent solution)
one more thing; when I can't get a location fix with network/wireless GPS mode on Google Maps or any other application, I can see a circle on " Yandex Navigation" that shows my location.
but more interesting thing is I can see a circle that shows my location on Yandex Navigation when my GPS is completely off.
I think this problem is about Google Play Services or Google Location Services. I hope someone find a solution.

ymeksur said:
I have the problem on my 16 GB black nexus 5 with stock Rom and no root. I tested with dalvik and art but the problem exist. I have found 3 solutions:
1- reboot phone (temporary solution)
2- stop Google Play Services (temporary solution)
3- uninstall updates of Google Play Services use with stock/no update (permanent solution)
one more thing; when I can't get a location fix with network/wireless GPS mode on Google Maps or any other application, I can see a circle on " Yandex Navigation" that shows my location.
but more interesting thing is I can see a circle that shows my location on Yandex Navigation when my GPS is completely off.
I think this problem is about Google Play Services or Google Location Services. I hope someone find a solution.
Click to expand...
Click to collapse
Thanks for your (rigorous :good tests.
Reboot was the one I used to fix it, didn't know about the others you found.
In a strange way glad to see it's a software bug, which means it's fixable. I guess the friend I mentioned has not updated the Play services ever, that would explain why he is not affected.

happens to me as well on a Nexus 7 (2013). I've found that battery drains faster even when in deep sleep

Me and my colleague also have this issue...
Completely wiped and factory reset to stock, same prob.
Reboot solves it until you turn location services off and on again, or go from "device only" mode to "battery saving".
A quicker way then reboot (reboot actually does the same as this step) is go to settings, apps, running, Google Services (you might have 2), there STOP the GoogleLocationService (it will stop and reload the service)
Location should work again in battery saving mode...

Thanks for that one Foggy79!
Reboot or restarting the google play services takes much longer (especially when you have to disable ADM first) then your trick of only stopping the only location service.
Verstuurd vanaf mijn Nexus 5 met Tapatalk

Sander M said:
Thanks for that one Foggy79!
Reboot or restarting the google play services takes much longer (especially when you have to disable ADM first) then your trick of only stopping the only location service.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
No problem.
I just reproduced the issue on an other colleague's N5, that makes 3 ppl here in the office, can't be coincidence.
If the GoogleLocationService could restart automatically when you turn on "Location" and agree the terms, that would be great...

Foggy79 said:
No problem.
I just reproduced the issue on an other colleague's N5, that makes 3 ppl here in the office, can't be coincidence.
If the GoogleLocationService could restart automatically when you turn on "Location" and agree the terms, that would be great...
Click to expand...
Click to collapse
It appears the issue is fixed for me.
I have Google Play services 4.3.24 so it might be fixed behind our backs.
Now when you turn the location off and on again, the GoogleLocationService is automaticly restarted also

Fixed for me as well with the new Google Play Services!
The new version now indeed restarts the LocationService again.
I'm glad Google also reads XDA (j/k)

Now if they can get GoogleLocationsManager and NlpLocationsReciever to stop running when Locations Services are turned off completely, that'd be great.
Sent from my Nexus 5 using Tapatalk

Related

[Q] GPS Issues

From out of the box I've been having GPS issues. It won't get a lock when I use navigation. I've tried different places, different apps (waze and google maps) and different times (different days). If I restart the phone, it'll get a lock after about 10 seconds.
What would cause the GPS to not work unless the phone is restarted?
I contacted OnePlus and they all but told me to go screw myself. They suggested that I should walk around to get a GPS lock and if it persists that I should reset my phone. I reset my phone but all that did was waste two hours of my life re-installing apps and settings.
Any ideas? Anyone else with this issue? The phone is perfect besides this =(
Can't say I'm sure, as I haven't had any issues, except if I caused them. You let google apps have location access in the settings? Are you wake blocking any google location services?
+1 to what roxxorz said. If OP applied the workaround to Google Play Services and denied access to location it can cause a problem.
Also in addition to that make sure your location is set to "High Accuracy" as well as enabling WiFi.
Do note that when your phone is on High Accuracy it is draining the most battery.
I also have the same problem when I m on stock XNPH25R. Have to reboot in order to get a lock from the GPS.
http://forum.xda-developers.com/showpost.php?p=54334569&postcount=1
But after I switch to nightlies, no such GPS issue, works like a charm.
I am actually on stock 30O cm11s and I have a GPS lock in two out three seconds. Try to download GPS status app from Google play
Inviato dal mio A0001 utilizzando Tapatalk
Sorry I'm a complete noob when it comes to the advance stuff. I know nightlies are cyanogenmods quick version changes that may sometimes have small bugs, but never tried updating phone with nightlies. I've always just done the standard OTA updates on my previous phones.
GPS is always on high accurac. Surprisingly today, GPS was working like a charm. I haven't done anything that should affect this positive change.
What is wake locking?
ValmonUni said:
Sorry I'm a complete noob when it comes to the advance stuff. I know nightlies are cyanogenmods quick version changes that may sometimes have small bugs, but never tried updating phone with nightlies. I've always just done the standard OTA updates on my previous phones.
GPS is always on high accurac. Surprisingly today, GPS was working like a charm. I haven't done anything that should affect this positive change.
What is wake locking?
Click to expand...
Click to collapse
It could be just a thing. Sometimes I'll have apps [maps] that'll lock up, like if they tried to connect and I stopped it / turned off data. At that point killing / force closing the app works.
Normally I'd say if you don't know, don't worry about it, but wake lock is where an app / process keeps the phone awake and keeps the phone from sleeping properly, which leads to more battery drain. Google play services is notorious for waking the device for nonsense, so more advanced users block it. If you have no issues, I'd recommend leaving it alone.
Same problem here
ValmonUni said:
From out of the box I've been having GPS issues. It won't get a lock when I use navigation. I've tried different places, different apps (waze and google maps) and different times (different days). If I restart the phone, it'll get a lock after about 10 seconds.
Click to expand...
Click to collapse
I'm seeing the same thing. GPS was working fine for a week or so, but when I went to use Waze this morning it wouldn't get a lock. GPSTools showed satellites, but wouldn't lock either. Reboot fixed it. A few hours later, same problem. Reboot once again fixed it. This is all stock.
I don't have anything to suggest, but wanted to add to the evidence that there is a problem.
I did install a couple of apps from the app store between the last time I saw the GPS work normally and this morning, so I'll try uninstalling them to see if that helps. I killed them from the task manager, but that didn't help.
walendo said:
I'm seeing the same thing. GPS was working fine for a week or so, but when I went to use Waze this morning it wouldn't get a lock. GPSTools showed satellites, but wouldn't lock either. Reboot fixed it. A few hours later, same problem. Reboot once again fixed it. This is all stock.
I don't have anything to suggest, but wanted to add to the evidence that there is a problem.
I did install a couple of apps from the app store between the last time I saw the GPS work normally and this morning, so I'll try uninstalling them to see if that helps. I killed them from the task manager, but that didn't help.
Click to expand...
Click to collapse
Sorry to hear you're having trouble too, but glad I'm not going nuts. You're only the second person I've read that has the same issue I have. OnePlus support was of no help nor did they admit that the issue was real. I hope they'll figure this one out, cause I can't.
Please vote on this issue in CM's bugtracker: https://jira.cyanogenmod.org/browse/BACON-115
Hints
Here's some new data. As I mentioned, my GPS was working fine up until a few days ago. In those few days, I installed 2 apps: "UP", by Jawbone, and "MyFitnessPal". Both of them use the GPS for some sort of logging.
Anyway, this morning I installed "AppOps" from the App Store. It's the one by Sylvain Galand, and the package is fr.slvn.appops. It doesn't need root, apparently. I used that to disable location access from both UP and MyFitnessPal. Since then, my GPS has been working fine again.
I think there's something broken under the LocationManager implementation in this version of Cyanogen. Seems like some apps are able to break it somehow. The other thread about this subject points fingers at Dragon Dictate, too. Whatever it is, apps shouldn't be able to wedge a system service like this.
walendo said:
Here's some new data. As I mentioned, my GPS was working fine up until a few days ago. In those few days, I installed 2 apps: "UP", by Jawbone, and "MyFitnessPal". Both of them use the GPS for some sort of logging.
Anyway, this morning I installed "AppOps" from the App Store. It's the one by Sylvain Galand, and the package is fr.slvn.appops. It doesn't need root, apparently. I used that to disable location access from both UP and MyFitnessPal. Since then, my GPS has been working fine again.
I think there's something broken under the LocationManager implementation in this version of Cyanogen. Seems like some apps are able to break it somehow. The other thread about this subject points fingers at Dragon Dictate, too. Whatever it is, apps shouldn't be able to wedge a system service like this.
Click to expand...
Click to collapse
I honestly hope that they at the very least acknowledge that this issue exists. GPS Navigation is a primary use for mobile. I haven't installed anything that would break location. All I Have is Waze and Google.

GPS keeps turning on when screen turns on on device only

Hey everyone, my play services updated last night to 6.5.87. I keep my location on "device only" to tame the wakelocks and since the update my GPS icon turns on every time I unlock my screen. When I go to location it says that play services was using "high battery" location. This is really annoying as "device only" location was awesome for me. It would get rid of the npl location wakelocks and GPS worked great when I needed it without having to switch to "high accuracy". I'm running stock 5.0, unrooted. Has anyone encountered the same issue? Or can anyone that's running the same play services check if it occurs to you too? Thanks.
Are you using smart lock with location setup? If so that's why. Did the exact same thing to me when testing it. Even worse it never worked when in doors because the GPS couldn't ever see me.
frigidazzi said:
Are you using smart lock with location setup? If so that's why. Did the exact same thing to me when testing it. Even worse it never worked when in doors because the GPS couldn't ever see me.
Click to expand...
Click to collapse
Nope. I only have my moto 360 setup as a trusted device/smart lock. Trusted places is set as "none" That's why I'm so confused why it started happening.
I am getting this too. Haven't narrowed it down yet. Might be one of my greenified apps.
Jnewell05 said:
I am getting this too. Haven't narrowed it down yet. Might be one of my greenified apps.
Click to expand...
Click to collapse
The thing is, if you look at location services, it tells you that google play services is the one that's requesting the GPS location.

How to fix Google Play Services Has Stopped ?

Hi all.
Out of the blue I got this error message every minute.
I use Unofficial Beanstalk ROM 5.0.2.
Stock kernel.
I cleared cache, and Dalvik. I also cleared cache of Google Play Services and Google Services Framework.
But this error keeps coming back.
I haven't changed anything in the phone nor have I messed with any system settings.
I can't find any decent solution to the problem.
The apk shows version 7.5.71 (1955121-438)
Appreciate your help.
gil80 said:
Hi all.
Out of the blue I got this error message every minute.
I use Unofficial Beanstalk ROM 5.0.2.
Stock kernel.
I cleared cache, and Dalvik. I also cleared cache of Google Play Services and Google Services Framework.
But this error keeps coming back.
I haven't changed anything in the phone nor have I messed with any system settings.
I can't find any decent solution to the problem.
The apk shows version 7.5.71 (1955121-438)
Appreciate your help.
Click to expand...
Click to collapse
AFAIK, there is no "decent" solution at this time.
Please change your Location setting to Device Only. It will stop the FCs for the time being.
knedge said:
AFAIK, there is no "decent" solution at this time.
Please change your Location setting to Device Only. It will stop the FCs for the time being.
Click to expand...
Click to collapse
No one knows why it happens or how to solve this? wierd.
How is this related to device location settings?
Out of nowhere I get "Google Play Services" has stopped working messages like every 20sek. Working with the phone is impossible and my Moto 360 doesn't work anymore either Using Stockrom CM12S with franco kernel, any ideas or solution?
Same problem here. This is so annoying!
Will try "device only" now. AFAIK this uses only GPS to get your current location - so this should dramaticly increase battery drain, right?
This trick didn't help
Same case. I am also getting these errors. there are solutions people have posted to disable GPS. But the phone is useless when it is without GPS.
Waiting for a fix ASAP.
For me it actually did! In another thread another solution came up: try enabling "keep awake", "wake up" and "autostart" in Privacy Guard for the Google Play Services. This also worked for me (although my Privacy Guard was not enabled for the Google Play Services the settings still did matter! So make sure to really enable them in the submenu!).
The random crashing seems to occur when:
location "high accuracy" PLUS Google Play Services are limited in Privacy Guard (keep awake, wake up, autostart)
Disabling one of the two should fix the problem.
BTW disabling GPS didn't solve the problem for me. "device only" means you only use GPS and not network location. The network location thing is what causes the crashing in combination with the Privacy Guard. So (at least for me) no need to disable GPS.
Looks good. Let me see if there is any issues now. I remember we all changed the "keep awake", "wake up" and "autostart" in Privacy Guard for the Google Play Services in an older version of Google Play Services.
Hope this is all fixed now and should not drain the battery (as it did in previous version).
How I solved the Play Services stopped FCs
Hardly this last version of Google Play Services will work properly, either clearing the data, blocking services on Privacy Guard, etc. Tested many things and the problem comes from the last update of Play Services, which includes in its changelog suspiciously some "Location Api improvements".
In my experience these last days the problem it seems to come when the services requests for location. If you use Apps asking frequently for locations you'll have the error very often, making usefulness your phone, as least mine. Using 3 Apps needing GPS location at same time is frustrating..
How I solved for now:
Go to Play Store, find Google Play Services in your Apps
Click on Uninstall (only will uninstall the last update of Google Play Services).
From that moment, some advice about certain Google Apps (Hangouts, Google Maps, etc.) may appear if you have these Apps installed. Ignore them, otherwise you'll need to update again if you want to use them, but...
But I can't find google play services in play store.
GPS vs Networ in Location fixed
gil80 said:
Hi all.
.
Out of the blue I got this error message every minute.
I use Unofficial Beanstalk ROM 5.0.2.
Stock kernel.
I cleared cache, and Dalvik. I also cleared cache of Google Play Services and Google Services Framework.
But this error keeps coming back.
I haven't changed anything in the phone nor have I messed with any system settings.
I can't find any decent solution to the problem.
The apk shows version 7.5.71 (1955121-438)
Appreciate your help.
Click to expand...
Click to collapse
Same as TerrorApple. Disable Location services, but as this is needed often enable Location services only with GPS. This worked for my device

Waze GPS issues

All of a sudden when I try to use waze it can't find a GPS signal.
All my other GPS apps works fine (Google maps, runkeepe etc).
When I restart the phone and open waze again it finds the location and after a few seconds the signal is lost and after that it won't get any signal again.
It happened all of a sudden!
The GPS is on and on high accuracy,
I tried to reinstall the app,
I clear cached data.
wipe cache
Nothing works.
same here
same here, all other apps working fine
this issue started with update 5.1.11 with me
also waze does work for me after a reboot ... briefly then loses signal after a few seconds
I was able to fix this by always launching Waze from the "GPS Locker" app. You can get the app from the Play Store.
Ok so I tried everything and still no GPS connection to Waze. Started yesterday out of no where (didn't update anything) and now I can't use Waze at all. Google Maps works fine, gps tested fine , only Waze is not working.
Any ideas?
sounds like gps time sync error.
Same here, works briefly after I restart my phone. I also think it has something to do with the update I did.
Any solution?
Exact same problem here...
The same problem in Op6 5.1.9 root
Enviado desde mi ONEPLUS A6003 mediante Tapatalk
Same issue here. Waze is working fine on the smartphone itsef (but only if I enable advanced Battery optimization). But through Android Auto the GPS is not taking position (only briefly after rebooting phone)....
Google maps though is working just fine!
OK on mine but I am using the One+ Android 9 beta and also the latest Waze Beta on my 6. Used it from Somerset to London today OK.
Continues to be OK
Same issue here, but i thought it was due to the Beta i am using, so i filled a report on the beta forums of waze.
Same here.
was working fine yesterday and sudnely afternoon waze cant fined GPS signal
A lot of people report the same issue on the OnePlus forum also.
I got contact with Waze support. After the starndard mail with the obvious suggestions, they've asked me to reproduce the issue in debug mode and to send them the log files.
I suggest that everyone of us contacts Waze support in order give them access to as much cases as possible. The more notifications of the problem they get, the quicker we will have a solution.
klecocq said:
A lot of people report the same issue on the OnePlus forum also.
I got contact with Waze support. After the starndard mail with the obvious suggestions, they've asked me to reproduce the issue in debug mode and to send them the log files.
I suggest that everyone of us contacts Waze support in order give them access to as much cases as possible. The more notifications of the problem they get, the quicker we will have a solution.
Click to expand...
Click to collapse
In debug mode? How do I get into this mode.?
Enviado desde mi ONEPLUS A6003 mediante Tapatalk
By entering 2##2 in the search box and then restart Waze (same to exit debug mode).
When you contact support, they send you mail with pretty clear instructions on how to send the report logs.
Please make sure to contact them first, otherwise they cannot link the report logs to the correct ticket!
---------- Post added at 11:49 AM ---------- Previous post was at 11:40 AM ----------
From the Waze forum:
It would help staff if people with One Plus devices could submit their debug logs for analysis.
Follow all the steps here to enable debug mode on your App and submit them:
https://support.google.com/waze/answer/6270063?hl=en
I am having the same problem. All other GPS apps are working fine
Hi same issues here.
GPS are stacked since yesterday evening on the same position and not take any new places on my road...
WTF ?!?!?
Bradden1 said:
All of a sudden when I try to use waze it can't find a GPS signal.
All my other GPS apps works fine (Google maps, runkeepe etc).
When I restart the phone and open waze again it finds the location and after a few seconds the signal is lost and after that it won't get any signal again.
It happened all of a sudden!
The GPS is on and on high accuracy,
I tried to reinstall the app,
I clear cached data.
wipe cache
Nothing works.
Click to expand...
Click to collapse
If you disable the "Advanced battery optimization" it simply won't work anymore.
I enabled the advanced optimization again and set waze AND android auto (which I use) to: "don't optimize", after that, waze is able to position agian after a second or 10.
Though, when using it trough android auto, the GPS signal is lost, to only return for a few seconds if you reboot the phone.
Google Maps though is working just fine without any issues.
Updated Oxygenos yesterday, same problem after update. Anyone who has a solution or is in contact with Oneplus?

Gmaps not working without internet connection

Hi,
I'm currently in Thailand for holidays and had to realize that without an internet connection, Google maps don't work properly.
When I start the app I got the position immediately but it doesn't update. So the blue dot stays at the same spot until it finally turns grey.
I also had the same problem with other map apps.
Weirdly, navigation DOES work!
So, whenever I go into navigation mode I'm navigated without a hitch...
Anyone else faced the problem and knows how to resolve it?
I tried all the obvious... Checked permissions, uninstalled maps and Google play services after deleting date, logged out of my Google account, cleared cache in recovery...
Oh and by the way... Location history doesn't work. But I guess that's because it's a China rom?!
Thanks!
Jan
jaytee86 said:
Hi,
I'm currently in Thailand for holidays and had to realize that without an internet connection, Google maps don't work properly.
When I start the app I got the position immediately but it doesn't update. So the blue dot stays at the same spot until it finally turns grey.
I also had the same problem with other map apps.
Weirdly, navigation DOES work!
So, whenever I go into navigation mode I'm navigated without a hitch...
Anyone else faced the problem and knows how to resolve it?
I tried all the obvious... Checked permissions, uninstalled maps and Google play services after deleting date, logged out of my Google account, cleared cache in recovery...
Oh and by the way... Location history doesn't work. But I guess that's because it's a China rom?!
Thanks!
Jan
Click to expand...
Click to collapse
I dont really know what you mean with "Google Maps doesnt work properly", I only know, that you can download offline maps when you have wlan, so maybe that's a possibility?
Emare212 said:
I dont really know what you mean with "Google Maps doesnt work properly", I only know, that you can download offline maps when you have wlan, so maybe that's a possibility?
Click to expand...
Click to collapse
No of course I got maps downloaded.
As described ( ) there's a problem with the GPS.
I only get a GPS fix immediately when I open Google maps (after force close). Then GPS connection is lost immediately (blue dot doesn't move and becomes grey).
Zero idea why... As navigation with Google maps works flawlessly - also in offline mode.
jaytee86 said:
No of course I got maps downloaded.
As described ( ) there's a problem with the GPS.
I only get a GPS fix immediately when I open Google maps (after force close). Then GPS connection is lost immediately (blue dot doesn't move and becomes grey).
Zero idea why... As navigation with Google maps works flawlessly - also in offline mode.
Click to expand...
Click to collapse
Oh ok, now I know what you mean
Never faced this issue. For me Maps (also in non navigation mode) works fine. Maybe something with the aggressive power saving mode from emui?
Emare212 said:
Oh ok, now I know what you mean
Never faced this issue. For me Maps (also in non navigation mode) works fine. Maybe something with the aggressive power saving mode from emui?
Click to expand...
Click to collapse
That's what I was thinking...
Have you ever tried using maps in flight mode (GPS on of course)?
Because back home (with 3g/mobile internet) maps worked fine I think.
EDIT: one more interesting thing... I realized GPS works for a short time (like 10 minutes) after I was connected to a WiFi. Then it stops working.

Categories

Resources