FORUMS
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
Problem
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.

Cause
If you enable logging and look in the log file, you will see a line like this: LBS: Error resolving address from bcmls2.glpals.com. 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="BCMLS2.glpals.com"

Fix
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 L9-GPS-LTO-fix.zip - [Click for QR Code] (125.6 KB, 246 views)
 
 
1st October 2015, 04:42 PM |#2  
Senior Member
Thanks Meter: 182
 
More
Thanks, testing today with endomondo running...
2nd October 2015, 10:48 PM |#3  
Senior Member
Thanks Meter: 182
 
More
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)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes