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.
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.
Attachments
Last edited: