Installing microG on Sailfish OS

Well, as far as I seen - microG is a jailed component that can be disabled and even when it runs cannot influence others subsystem unless it allows Android applications with system priviledges like Google app to interact with the network and stabilise the system clock.

The system clock stabilisation, is enough to do the magic to fix the GPS quickly also indoor. Under this point of view the green area is - even - much bigger!

In fact, a malicius Android application that would messup the system clock would be able to create a GPS service DOS. Please, keep in consideration that I verified the clock skew with the default native browser and also with DuckDuckGo for Android to check if the two source of time were different.

Again, this test has been done in a blackbox mode with appaling rude instruments. Thus a more specific and detailed investigation could arrive to another conclusion. However, about GPS there are 676 post in a single thread (and there are few many thread) - thus, it is time to fix such issue.


GENERAL SOLUTION PROPOSAL

@vige: I think that it is time to give a end to GPS stops working which is a thread with 676 posts about 3 years long. The following UI change will make a lot people happy expecially using the proper values as default.

Parameter to set are the following in /etc/gps.conf or /vendor/etc/gps.conf:

NTP_SERVER (selection dropmenu)

SUPL_HOST:PORT

in order to support 4G mobile connection the version 2 is mandatory:

  • SUPL_VER=0x20000

plus optional but suggested these other parameters:

  • XTRA_SERVER_QUERY=1
  • INTERMEDIATE_POS=1
  • ACCURACY_THRES=5000

Which can set by a menu or simply by three check boxes [0/1].