GPS not Working

core2kid

Senior Member
Mar 6, 2011
112
11
0
Have a bootloader unlocked Xt1053 where the GPS won't lock onto my location anymore. Running OctOS 5.1.1.
ROM is a fresh flash from stock 5.1 (erased everything, fastbooted to stock before installing OctOS

Any suggestions?
 

hbenz2008

Senior Member
Jan 11, 2008
1,105
345
113
Have a bootloader unlocked Xt1053 where the GPS won't lock onto my location anymore. Running OctOS 5.1.1.
ROM is a fresh flash from stock 5.1 (erased everything, fastbooted to stock before installing OctOS

Any suggestions?
So your GPS was working OK on stock 5.1? Reflash modem at times solves this problem. Look at fast boot cmd, 2 lines.
 
Last edited:

core2kid

Senior Member
Mar 6, 2011
112
11
0
I'm not sure about stock however it worked fine in the same ROM and OctOS 6.0 before I reflashed everything.

I reflashed the entire phone because of random reboots happening every hour.

These 3 commands?
$ fastboot flash modem NON-HLOS.bin
$ fastboot erase modemst1
$ fastboot erase modemst2
 

hbenz2008

Senior Member
Jan 11, 2008
1,105
345
113
I'm not sure about stock however it worked fine in the same ROM and OctOS 6.0 before I reflashed everything.

I reflashed the entire phone because of random reboots happening every hour.

These 3 commands?
$ fastboot flash modem NON-HLOS.bin
$ fastboot erase modemst1
$ fastboot erase modemst2
Yes

check this

http://forum.cyanogenmod.org/topic/105666-no-working-gps-in-moto-x-2013-xt1053/

You don't need to go back to stock to get GPS and get a GPS lock to work. Follow this (no data is lost, no flashing to stock is required:

1. Boot into the bootloader as per usual and hook up to your PC so you have fastboot access (May need drivers etc)
2. Run "fastboot devices" in command prompt to ensure your moto X is visible to your PC, if not go back to step 1.
3. Run the following 2 commands to clear your Radio/Modem cache
Code:
fastboot erase modemst1
fastboot erase modemst2
4. Reboot, and you should have working GPS.
 
Last edited:

Simioni

Member
Jul 24, 2016
7
2
0
For many Motorola devices (and some other brands) GPS doesn't work when connected to a 3g network. No problem when connected to 2g, 4g, WiFi, data disabled or no network. Reason is that Google delivers Android with an invalid gps.conf file, for devices with pure or next to pure Android. For this cases follow bellow steps:

You need to replace /system/etc/gps.conf by a valid configuration. Just
search in Google by "Google gps.conf" (without quotes). You will need
root.

You also need to verify APN settings, and add agps and supl if not exists.

For best performance enter the nearest ntp servers, search Google for ntp server list.
 

io_gh0st

Senior Member
Sep 27, 2011
1,098
303
113
Colombo
For many Motorola devices (and some other brands) GPS doesn't work when connected to a 3g network. No problem when connected to 2g, 4g, WiFi, data disabled or no network. Reason is that Google delivers Android with an invalid gps.conf file, for devices with pure or next to pure Android. For this cases follow bellow steps:

You need to replace /system/etc/gps.conf by a valid configuration. Just
search in Google by "Google gps.conf" (without quotes). You will need
root.

You also need to verify APN settings, and add agps and supl if not exists.

For best performance enter the nearest ntp servers, search Google for ntp server list.
I'm having this very problem of GPS not working when 3G is enabled. Searching for "Google gps.conf" gave me one result on Google docs - is this the one you've talked about?
 

Simioni

Member
Jul 24, 2016
7
2
0
I'm having this very problem of GPS not working when 3G is enabled. Searching for "Google gps.conf" gave me one result on Google docs - is this the one you've talked about?
Yes, it's this file.

---------- Post added at 03:49 AM ---------- Previous post was at 03:09 AM ----------

I'm having this very problem of GPS not working when 3G is enabled. Searching for "Google gps.conf" gave me one result on Google docs - is this the one you've talked about?
It's this file. I saw you are Brazilian and from Curitiba like me. You also may see a video in YouTube, search by "Como corrigir problemas de sinal de GPS em seu Android" (in English: How to solve GPS issues on your Android). On this video you can find in comments a ready file, with Brazil and South America ntp servers.
English speakers: you also may use this file, just replace ntp servers to the nearest for a better performance.

---------- Post added at 04:06 AM ---------- Previous post was at 03:49 AM ----------

I found a video, in English, from xda developers, with gps.conf configured for the most countries. These files also solve GPS issues caused by the invalid file provided by Google.

In YouTube search by "How to make GPS lock faster".
 

los17br

Member
Feb 21, 2020
7
1
0
For many Motorola devices (and some other brands) GPS doesn't work when connected to a 3g network. No problem when connected to 2g, 4g, WiFi, data disabled or no network. Reason is that Google delivers Android with an invalid gps.conf file, for devices with pure or next to pure Android. For this cases follow bellow steps:

You need to replace /system/etc/gps.conf by a valid configuration. Just
search in Google by "Google gps.conf" (without quotes). You will need
root.

You also need to verify APN settings, and add agps and supl if not exists.

For best performance enter the nearest ntp servers, search Google for ntp server list.
I'm using the miui global custom rom and this is the only procedure that solved the problem. Thanks!
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone