Ask / Submit
19

[Solved] XA2 takes a long time to catch the GPS signal [released]

asked 2019-05-16 15:15:43 +0300

vicentpavel gravatar image

updated 2019-11-17 17:12:32 +0300

SOLVED: After the Torronsuo 3.2.0.12 update and having tried the GPS many times and under different conditions. I have to say that the location GPS problem has been solved.

It had happened to me since I installed SFOS in my XA2. Now after 2 updates it takes still many minutes sometimes it even doesn't connect to the GPS satellite. I have read nothing about this matter and I would like to know if you have experienced the same. When my XA2 had Android, it connected to the GPS satellite as soon as I opened the maps app.

How to change behaviour: Settings App -> under Connectivity section -> icon Location in Location tool -> under Accuracy section -> select High-Accuracy positioning .

Thanks you all.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by vicentpavel
close date 2019-11-17 17:13:05.791485

Comments

1

Are you using a native application or an Android one? With native ones it should work as long as you have selected accurate positioning in location settings, so it uses GSM antennae to locate the device. For Android apps I think only GPS works, so it takes a lot of time after GPS location is initially requested. In Android I've seen some applications (Waze) that work after some time, others (like Google Maps) never end up working.

txtmode ( 2019-05-16 15:42:26 +0300 )edit

Same thing here on XA2. Takes up to 5min to get a GPS fix in pure maps and GP info, although I had a GPS fix at almost the same location the day before.

bomo ( 2019-05-16 16:42:36 +0300 )edit

Since a few days I also have a GPS issue on my Xperia XA2 Ultra with 3.1.0.11. GPS seems to have simply stopped working. I do not get a lock anymore independent of location settings (accuracy), reboot, etc... I've left it for multiple hours of several days now. GPSInfo shows between 0/22 to 0/48 satellites but no lock...

Any ideas what I can do to remedy this situation?

wb1000000 ( 2019-09-30 15:00:53 +0300 )edit

There are still issues with the GPS on XA2 that aren't solved by enabling High-Accuracy positioning, so I've removed the [SOLVED] text in the title and re-opened the issue. Hopefully this will make this issue a bit more visible for the devs!

sjn ( 2019-11-11 03:18:33 +0300 )edit
2

For me, the problem is not solved. On my XA2 Ultra I still every now and then don't get GPS fix within 30minutes.

bomo ( 2020-01-12 19:18:17 +0300 )edit

1 Answer

Sort by » oldest newest most voted
13

answered 2019-05-16 16:50:42 +0300

DrYak gravatar image

updated 2019-09-17 19:19:17 +0300

update : microG+UnifiedNLP now works with 3.1.0 Seiteminen


Regarding Sailfish

Out of the box, Sailfish native application (e.g.: Pure Maps) taking a long time to lock GPS is the expected behaviour, because out of the box Sailfish only exclusively rely on GPS sattelites and it takes quite some time to find them (several minutes, exactly like on a car's satnav without an up to date ephemerids table).

To change behaviour:

  • Settings App -> under Connectivity section -> icon Location
  • in Location tool -> under Accuracy section -> select High-Accuracy positioning

    (Or play around tith Custom settings)

This will cause your phone to gather information around it (visible GSM Cell Towers, Wifi Access point) and send them to Mozilla's servers, this helps find the position before the GPS sattelites get locked upon, and also brings extra information for faster GPS bring up.

Now the Sailfish native application will almost immediately lock upon starting... well as long as Mozilla knows of which cell towers and AP are visible around you (of course if you're somewhere Mozilla doesn't know about, they won't be able to recognize your position based on the visible towers).

(Back when your XA2 had Android installed, this is exactly what the "Google Play Service" (com.google.android.gms) did, except using Google's server instead of Mozilla's, and except that it is constantly doing it even if you don't want it too, enabling Google to track every inch you move and market the crap out your behavior to advertising agencies).

Note: I've occasionally run into situation where location refuses to use any sattelite, despite having more than a couple of dozens in view. Cold reboot seems to fix this.

Regarding Android Apps

You have two solutions to get this working in Alien Dalvik:

  • install the actual Google Play Service from Google

    (Note: I haven't tried it personnally)

  • install MicroG (an opensource program which re-implements the same APIs) which uses the UnifiedNLP infrastructure provide several plugin to do similar GPS assisting.

    To get UnifiedNLP reliabily working, keep in mind that the current alien-dalvik doesn't give android apps access to 3G/4G cell status, only to Wifi AP.

    • So either use some UnifiedNlp backend that exclusively rely on Wifi AP (e.g.: Apple's servers)
    • Or configure your UnifiedNlp - e.g. Mozilla's - to only use Wifi and ignore 3G/4G Cell towers.
    • Whatever you choose check microG settings -> Self-checks
      • After a while "UnifiedNLP has no last known location. This will cause some apps to fail" should dispear
      • You should not get "No UnifiedNlp location was provided by the system within 10 seconds"

    Once that is set up position works much better :

    • Apps that directly talk to the GPS hardware will always work (things like GPSTest is able to see GPS satelite, Google Maps will eventually lock the position)
    • Apps which rely on assisted position should get a rough position estimates, most will get updated to a more precise one as soon as the UnifiedNLP kicks in (though some might fail to kick UnifiedNLP, try running Self-Checks to force it running) (most of the ridesharing / vehicle renting apps I've tried: Uber, Kapten, Pick-e-Bike, Lime, Circ, Tier, Bird, Mobility, SBB).
    • Some might still crash due to other missing API (Mobility in my case).
edit flag offensive delete publish link more

Comments

1

I am not so sure about this honestly. I used my XA2 with microg and without a SIM card for long time. Offline Google maps with no internet connection managed to get a GPS signal very quickly, meanwhile Sailfish is just completely unusable for GPS. Now, I am not saying that what you're saying is wrong but I think there must be more to it. Are these ephemerid tables cached on Android but not Sailfish OS by any chance? Will enabling high-precision GPS in settings waste time trying to connect to the internet even if there is no internet access? I only really in a radius of about 10 miles so would aquiring GPS lock in my backyard with High Accuracy mode on help future connections when no internet is available?

Thanks.

mynameisnotimportant ( 2019-05-16 20:11:24 +0300 )edit
1

I can support mynameisnotimportant, I too have the feeling that there is an issue with AGPS on XA2. Yesterday it took more that 10 minutes to get a GPS fix. At the same place, I had a GPS fix the day before.

Moreover, I remember that on my xperia X (at older SFOS version) the GPS fix was almost immediate if I had a fix at similar locatation not too long ago.

bomo ( 2019-05-17 08:54:38 +0300 )edit

I agree with the comments here, I strongly believe from observing my phone, there does seem to be more than bad GPS here. Are there any low level diagnostics for viewing GPS position in Sailfish OS? Any way to do restart GPS service from the command line?

nshiell ( 2019-08-11 16:04:41 +0300 )edit

I'm also still suffering from very slow GPS connection issues. I'm using SFOS 3.1.0.11 on the XA2.

sjn ( 2019-09-12 00:58:04 +0300 )edit

I'm also using Sailfish OS 3.1.0.11 on the AX2 The GPS doesn't work reliably at all, sometimes it gets a position, other times it doesn't.

nshiell ( 2019-09-14 20:02:44 +0300 )edit

Question tools

Follow
6 followers

Stats

Asked: 2019-05-16 15:15:43 +0300

Seen: 2,226 times

Last updated: Nov 17 '19