GPS acquisition

support

#1

Hi,

I am now in the position to move to /e/ as a daily driver. Came across an issue this evening which is preventing me from completing the move.

I have tried to see about raising this as an issue in the git lab thing but can’t see how to do that…

Basically GPS doesn’t work. I did a fresh install of the latest /e/ on a OPO 3T. Maps and Waze were unable to get a fix. Waze reporting no GPS Fix possible. I install GPS Status which confirmed that even with being outdoors I was unable to pick up and satellites.

After some quick googling I found that this is a common issue for lineage.

The culprit being a gps.conf file which is not configured and so has no options enabled.

Using ADB I was able to gain access to /system/etc/gps.conf and edit the file. Removing the # from the 3 lines which start with XTRA_SERVER and also changing Version check for XTRA from 0 to 1 has fixed the GPS issues. Device now gets pretty much an instant fix.

How do I go about getting this fixed from source ? as I expect that the changes will get overwritten with each new update of /e/


#2

I cannot answer your question on how to fix this from source. I just want to point out that there is an app in F-Droid called FasterGPS. It is an editor for the gps.conf file which makes editing more convenient. Of course it requires root.


#3

I don’t think it is possible to integrate the modification of this file into the global version of /e/ because the XTRA server settings you modify depend on the user’s location. So the gps.conf file must be customized according to the country of each user, which seems difficult to manage for each build of each smartphone model.

However, to prevent your configuration from being reset each time you update, it is essential to change the permissions of the gps.conf file (as shown in the image) before saving it to the smartphone.


#4

Thanks I’ll see about finding the correct configuration for my location and changing the permissions as you suggest. Seems to only affect 7.1