Is there a way to verify that Mozilla Location Services work

As the title suggests. Is there some kind of test that the MLS are working as they should. On their own and combined with the GPS for faster positioning.

What is the question? In detail?

Online MLS is dead on SFOS.
Online MLS as provided by Jolla (why is it still in Settings if they will never require an API key from Mozilla? Or will it come soon ™? Silence!) does not work!

MLS offline tool can calculate rough position from cell towers. (provided from community on openrepos as well from Jolla in store).
But this does NOT help speed up GPS fix (edit: on XA2, just provides a faster rough positioning). In general rough positioning should speed up GPS fix locating satellites faster.

Maybe this link helps you?

2 Likes

I was using Pure Maps.
I noticed that my phone seems to take quite a while to lock position (high accuracy mode selected) and the time that takes to do so seems to be GPS only. I have MLS from the jolla store installed.
If i set it to Battery Saving Mode -which i assume uses MLS- it doesn’t seem to find the possition.
So i want to know if there is something wrong with it and if its my device or a general SFOS problem.

This was/is definitely my feeling too. But i’m fairly sure i got called out on that not being accurate. The problem is that it was probably on IRC, and i’m too lazy to search online logs that far back. Might have been @mal?

1 Like

Location service with or without MLS takes ages on my XA2 but is pretty fast on my X10ii. I guess that’s a well know bug of the XA2. MLS works fine with local data, which is easily arranged by the MLS manager from Openrepos.

Ah yes.
Should have been more verbose: related to XA2.
Under normal conditions (other HW?) the rough location should help the GPS to locate / choose satellites faster. (but as I am on XA2 I chose above wording).

My experience has been similar on 3 devices, (XA2, X Compact, and XZ2 Compact): first time getting gps fix is very slow, (up to 10 minutes), and every time after that is just slow, (maybe 1-5 minutes). Offline mls works fine, but fix is always on the slower side. …

Your question has been answered somewhere in the epic XA2/GPS thread(s).

battery saving mode uses online services which are dead on SFOS.

you need to choose some specific setting under
custom settings
and select GPS and Offline
(afair)


and to check
just run GPS Info
and wait for (depending on country/continent/world selection) a few seconds (<30)
and see your location matching roughly ( a few thousand meters off, again depending on cell tower availability/locations).

1 Like

It is not High Accuracy mode that uses offline MLS. You have to use Custom Settings ->Offline Position from Mozilla.

OK. I tested with custom settings (xz2c phone in case it matters) and only the mozilla options enabled. 5-6 minutes later not even a rough position fix.

Something seems/is wrong.

Do you have the offline location packages installed from Store for your region?

Should you are using Pure Maps for checking rough position fix only then set PM->Preferences->Navigation->Positioning Accuracy accordingly i.e. 50m.

also, may need to chown mslbd directory…
See post #21 here - Any replacement plan for Mozilla location service? - #20 by Levone1

Obviously

Still nothing after that.

the permissions seem right (root root)

Shameless necro bump.

Any solution to this would be more than welcome. :neutral_face:

Until hopefully 4.5, I’d say @nekron patch which is great, (thanks again to @nekron) + offline mls (but it relys on google :cry:)

Disable the online service and leave only the offline service and GPS enabled. Probably still takes long time to download the epochs from the satellites, but those are the recommended settings.

Tested this and it doesn’t seem to change much. :neutral_face:

Still seems to rely only on the GPS.

Use GPSinfo inside a building:

Did you try this one from the GPS thread?

I haven’t tested this myself yet, but reading from the thread, many people say it has helped them get a lock in just a few seconds when outside and in reasonable time when inside. The “hack” turns off the TLS for A-GPS so the device can download the almanac/ephemeris from Google.