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.
Yes, in particular this one. A Word On 4G SUPL Support It is mandatory to use SUPLv2 on 4G connected devices. To change the SUPL version setting I found out that patching the modems SUPL register is not needed because Sony vendor blob is initializing the setting for you based on gps.conf entry. For SUPLv2 support please add the following setting into the gps.conf file: SUPL_VER=0x20000 In fact, using the fiber connection available on my parents home, I got the GPS fixed indoor at the 4th …
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)
- time.google.com (default)
- asia.pool.ntp.org
- europe.pool.ntp.org
… - oceania.pool.ntp.org
- north-america.pool.ntp.org
- south-america.pool.ntp.org
- [custom to enter by user]
SUPL_HOST:PORT
- supl.google.com:7276
… - supl.grapheneos.org:7275
- [custom to enter by user]
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].