Ask / Submit
6

[SOLVED] XA2 takes a long time to catch the GPS signal [answered]

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

vicentpavel gravatar image

updated 2019-05-16 17:45:39 +0300

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.

SOLVED 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 "the question is answered, an answer was accepted" by vicentpavel
close date 2019-05-16 17:46:07.067951

Comments

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

1 Answer

Sort by » oldest newest most voted
6

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

DrYak gravatar image

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.

(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).

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.

    I haven't been able to get UnifiedNLP reliabily working.

    • some Apps which rely on directly accessing the GPS hardware work (things like GPSTest is able to see GPS sattelite, Google Maps will eventually lock the position)

    • other Apps which rely on assisted position don't even start the location server and never get a position lock (most of the ridesharing / vehicle renting apps I've tried: Uber, Lime, Flash, Tier, Mobility, Catch a Car).

edit flag offensive delete publish link more

Comments

Of course, any help from any other user beside me who also uses MicroG but managed to get GPS working reliably for Android Apps is welcome...

DrYak ( 2019-05-16 17:42:35 +0300 )edit

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

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

Question tools

Follow
3 followers

Stats

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

Seen: 299 times

Last updated: May 16