GPS not working
-
@flohack Rotation works, light sensor works.
Later today I might try to reinstall everything from scratch to see if it helps. On the way maybe I can check if GPS works on android to rule out a hardware issue.
-
So apparently the GPS works now, it just takes a loooong time to get a fix, which makes it unusable in practice. Specially since you need to keep the screen on and the app focused while you wait. My experience wasn't like this a few months back when I first tried UT on the NP6... how is it for you guys?
I don't know if it had any effect, but I did a complete reinstall from scratch. I first tried the GPS on android and it took circa 30 mins to get a fix. Then on fresh UT it was more like 20-25 mins. Finally I restored my backed-up userdata and it also worked after some 20 mins. Once there was a first fix, other apps were able to almost immediately (~ 1 min) get location info. Although maybe this was cached info or something?
Btw, the warnings/errors in the output of test_gps that I reported a few days back are still present, so they seem to be harmless.
-
If the first fix on Android took 30 minutes, while first fix on UT took only 20, that sounds like an improvement. From my own experience with a Nexus 5 and from what I read here your first fix times are normal.
-
@lgtrombetta Thats definitely still too long. I normally get a fix under 2 mins on coldboot, later on during seconds...
-
@flohack Maybe the difference in time to a fix is due to the difference in geographic location? The time to a fix was similar on Android and UT for this user.
-
I've been doing some more testing:
After many reboot and test cycles the TTFF has been improving. Now it is more in the order of 5 to 10 mins.
Occasionally, after reboot it would not get a fix at all (waiting at least 30+ mins), with the only solution being a reboot. Maybe related to the bug mentioned by @rocket2nfinity ?
I also tested getting location this morning, having had a successful fix last night and no reboot in between. It only took 2 mins.
To give some more context: I haven't used the GPS much since my initial testing of this port in August (staying at home and all). At the time it worked well as @Flohack described. Recently I tried it again a few times and it was not working (hence my original post). Now I see that after many attempts it is sort of "warming up" and performing better. This is pure speculation from my part, but I suspect there is some kind of caching that helps the GPS get subsequent first fixes faster. Over time, if not used frequently, this information becomes outdated. Maybe this is why there is such thing as AGPS? (which, as far as I understand, is not available in UT).
Anyway, I don't think there is much more to do here. Maybe we should mark this as "solved". Thanks everyone!
I will keep doing some more tests. I'd be happy to help testing if there are any projects that aim to improve the overall performance of GPS on UT.
-
@lgtrombetta That is indeed what A-GPS is for.
-
Its still very strange, tested a few occasions now, I usually have only 10secs to fix
-
Mine didn't use to work, but now it's pretty reliable. I once made it connect this summer, no luck since before last week. I changed the battery and kept the GPS open for a while, and suddenly it's working.
Did it learn where to look after randomly finding a signal twice? Did I accidentaly push the antenna back into place when changing the battery somehow? Was there a change on the devel channel that made the difference?
I don't know, but it didn't work at all, and now it does.
-
@potet There was no change in software I would say. We use the android container for GPS, so we have 0 influence on what it does ^^ and after a reboot it takes longer to get a fix, so try to keep your device running when possible, that should make future locks faster.
Not that when you close an app with location, GPS will stop so it looses track of all satellites. Thats a privacy feature ^^
-
@flohack It's quick to reconnect even after reboots now, while earlier I could never make it work at all. So there is truly something that has snapped into place the device.
Not much help for those experiencing problems though - sorry I don't have anything more valuable to add based on my experience!
-
@flohack said in GPS not working:
Not that when you close an app with location, GPS will stop so it looses track of all satellites. Thats a privacy feature ^^
About that... it can also be an anti-feature, for instance for the purpose of tracking your sport activities. This point has already been raised before, for example here: https://github.com/ubports/ubuntu-touch/issues/1067
-
@lgtrombetta i am having the same issue reboot does not help wace you found a soultion?? No matter how long i wait it cant find gps
-
@cor3 GPS works for me. There is some sort of hang up that occasionally occurs. Try restarting the UI with UT Tweak tool
-
@rocket2nfinity ill give that a try right now considering ive rebooted and tried everything else ill let you know how it goes
-
@rocket2nfinity well using t ut tweak tool just caused the screen to sit and load i had to hard reboot my phone, just tried with pur maps and still no sucess....ive tried two other map apps also no luck.....
-
-
@rocket2nfinity only issues ive had so far since my inital install yesterday is ,1 gps can not and will not find location, bluetooth wont even turn on when i flip the BT switch it goes byby and sometime if i open to many windows the screen locks up but the screen is not a big deal ive figured out to keep a max of about 4 open windows and there seems then to be no issue but the other two problems ugggg really sucks
-
@cor3 You will also find video recording is now broken. My N6P is becoming unusable after being rock steady for a long time. Was going to reflash, but your experience proves that won't help.
The porter is aware of the problem and is working on a solution.
-
@flohack im gonna give that a shot and see if it works ill post later if it works or not thanks for the fyi