Remove All Ads from XDA

[GPS] Fix for LTO AGPS

22 posts
Thanks Meter: 19
By frostinide, Junior Member on 30th September 2015, 04:48 AM
Post Reply Email Thread
Start an app that uses GPS (such as Maps), and then use a root file explorer to look in /data/gps/ , you will see the file gldata.sto, but you will not see lto.dat. This contains long term orbit data used to speed up a GPS fix from a cold start. If you see this file, then the fix posted here is not needed.

If you enable logging and look in the log file, you will see a line like this: LBS: Error resolving address from I have no idea why it can't resolve the DNS, but this prevents the file from being downloaded. This address is stored in the /system/etc/gps_brcm_conf.xml file. You will see the following: LbsServer=""

Simply change this to the resolved IP address and it should resolve the problem. I have attached a zip that you can install from recovery so you don't need to make the modification manually.

I have tested this on P769. Please give feedback on whether this works for you, and whether this helps for other L9 models.
Attached Files
File Type: zip - [Click for QR Code] (125.6 KB, 246 views)
1st October 2015, 04:42 PM |#2  
Senior Member
Thanks Meter: 182
Thanks, testing today with endomondo running...
2nd October 2015, 10:48 PM |#3  
Senior Member
Thanks Meter: 182
After test, working fine for me on P760 with cm11.
Thanks so much
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes