[FIX] GPS Fixes

smithchipz

Senior Member
Apr 5, 2012
245
84
0
Melbourne
Hi,
So I've noticed alot of people have problems with their GPS from time to time on these forums so I've decided to collate any and all fixes into one place. Here they are:
NOTE: I'm not responsible for any harm done to your phone. These suggestions are tried at your own risk. These steps can be taken in any order you want and a reboot is recommended after you try each step.
First thing you can do to get accurate fixes is to go to the Location settings on your phone. Tick the boxes next to 'GPS Satellites' and 'Google's location service' (Press agree when the prompt comes up). Also click 'GPS Source' and make sure 'Use Internal GPS' is selected.
Second thing you can do is download the 'GPS Status & Toolbox' app from the market. Once installed go into the app and hit Menu and then select Tools. From the popup menu select Manage A-GPS state. Select Reset and then Download. Reboot and see if you can get a fix now.
It is recommended you have a Nandroid backup before trying anything below.
Third thing you can do is download this GPS Fix made for the Legend (From Kot_Ik’s CM7.2 unofficial thread). Put it on your SDCard and reboot to recovery and flash it.
Fourth thing you can do is flash a new radio in recovery. Get one from here. Try the bottom 2 first before trying the top one. This doesn't seem to be supported in the latest versions of CWM so you should load an earlier fake flash zip file. Go here for the recovery and instructions (Thanks ranger4740)
Last thing I can think of is to change ROM's and see if that fixes anything.
That's all folks. If you're reading this part and your GPS still isn't working then I've got no idea what's going to fix it :p
 
Last edited:

ali ba

Retired Recognized Developer
May 30, 2010
576
258
0
Vienna
derhofbauer.at
Third thing you can do is download this GPS Fix made for the Legend. Put it on your SDCard and reboot to recovery and flash it.
This is not needed for old stable releases and was fixed a few weeks ago (so recent RCs and nightly builds already contain that bugfix).


Fourth thing you can try is download a gps.conf file from here that's related to your country/continent and flash it in recovery.
All of the files I checked there are invalid.
 

ranger4740

Senior Member
Jan 17, 2011
1,497
447
0
Melbourne
This is not needed for old stable releases and was fixed a few weeks ago (so recent RCs and nightly builds already contain that bugfix).




All of the files I checked there are invalid.
Ali Ba, as you are the legend master, can you please explain why my legend could never achieve GPS lock on ANY version of CM, stable or not, no matter how long my phone tried until I started using the GPS fix mentioned above. I ask because you are the master, and you did say its not nessasary. So that advice is a bit confusing.
Thank you

sent from my legend using zeubeas cm9 beta2
 

ali ba

Retired Recognized Developer
May 30, 2010
576
258
0
Vienna
derhofbauer.at
can you explain, how a valid gps.conf looks?
It is a config file parsed per line. This means that there shouldn't be any new line characters for lines that the system has to interpret as one.



It's perfectly OK to use a local NTP-server, by the way. It just doesn't fix problems at all. The short differences in the time the packets take to be sent and received are eliminated by the NTP protocol anyway.


Most so called "GPS fixes" are bogus at best (using the newest baseband firmware is something I'd recommend though).



Ali Ba, as you are the legend master, can you please explain why my legend could never achieve GPS lock on ANY version of CM, stable or not, no matter how long my phone tried until I started using the GPS fix mentioned above. I ask because you are the master, and you did say its not nessasary. So that advice is a bit confusing.
Thank you
Everything I say is right so you are wrong per definition. Also, I'm the reincarnation of an ancient demigod and I'll send a shipload of trained African killer bees to decompose your cell phones after you should you dare to question me. Any more questions?
 
Last edited:
  • Like
Reactions: MarkInDaPark

zeubea

Senior Member
Oct 12, 2011
377
1,357
0
Exactly, it is for CM7 Kot_Ik, because it is built in that rep for that version, only clarifying for avoid to see posts from people flash CM7 libs on CM9, because it is not the way.

Sorry the fix is from Kot_Ik’s CM7 thread. Updated the post to show this.

Sent from my Legend using XDA
 

maxydem

Member
Dec 27, 2010
20
0
0
After trying to update gps.conf file for my locatopn Europ/Poland both .zip files (Europ and Poland) crashes during updateing... is there anything ealse i can do to make it works ?;>
after those tryes i ve downgraded cwm useing ranger's update file and instaled latest radio.zip... after rebot gps still couldn't "lock" my positon... with custom settings for gps made by zuebas in cm9beta2 it founds and uses up to 13 satelites but couldnt lock position.... what ealse can i do to make it work properly ?

EDIT: after updating from latest to newest radio (now useing 47.26.35.04_7.05.35.26L) it can't even find any satelites, earlier it was finding up to 13-14.... I've reset and downloaded A-GPS state..... and still nothing
 
Last edited:

smithchipz

Senior Member
Apr 5, 2012
245
84
0
Melbourne
After trying to update gps.conf file for my locatopn Europ/Poland both .zip files (Europ and Poland) crashes during updateing... is there anything ealse i can do to make it works ?;>
after those tryes i ve downgraded cwm useing ranger's update file and instaled latest radio.zip... after rebot gps still couldn't "lock" my positon... with custom settings for gps made by zuebas in cm9beta2 it founds and uses up to 13 satelites but couldnt lock position.... what ealse can i do to make it work properly ?
I'm not sure apart from all the steps I listed in first post. Sorry :/
 

psyionx

Senior Member
Nov 30, 2010
229
50
0
Kota Kinabalu
After trying to update gps.conf file for my locatopn Europ/Poland both .zip files (Europ and Poland) crashes during updateing... is there anything ealse i can do to make it works ?;>
after those tryes i ve downgraded cwm useing ranger's update file and instaled latest radio.zip... after rebot gps still couldn't "lock" my positon... with custom settings for gps made by zuebas in cm9beta2 it founds and uses up to 13 satelites but couldnt lock position.... what ealse can i do to make it work properly ?

EDIT: after updating from latest to newest radio (now useing 47.26.35.04_7.05.35.26L) it can't even find any satelites, earlier it was finding up to 13-14.... I've reset and downloaded A-GPS state..... and still nothing
Ok, what I have noticed so far using legend. Don't mess with gps.conf using other custom gps.conf I've use some before (instant lock) and its bogus as Ali ba put it.

Just use faster fix is enough.

OK, now currently I'm on zuebes cm9 and GPS works but getting it to lock is something else. And I love my waze.

I'll get in my car and start waze. Wait for a minutes or 2 than start moving. Lock or no lock, just start moving. Don't drive so fast but stay constant either 40kmh or 60kmh will do just fine. My lock usually happens when I stop at a junction or a traffic light or slow down before a corner.

Then when you lock for the first time. You can combo for the next trip as long as you on your waze at the same spot before leaving. It's instant lock for some cases but need to start over if it does not lock. Assume you use waze.

But if GPS is important. Use stock based rom and ogo2s rom also have good GPS if I remember well... I think its something about HTC didn't release GPS source that we ended up like this.



Sent from my Legend using Tapatalk 2
 

ali ba

Retired Recognized Developer
May 30, 2010
576
258
0
Vienna
derhofbauer.at
After trying to update gps.conf file for my locatopn Europ/Poland both .zip files (Europ and Poland) crashes during updateing
I'm sorry that it broke your device, but I can't do more than pointing out that these files are invalid.



Well, good question by ranger4740, but bad answer...
So I point out that these files are not only useless (as most GPS fix instructions are) but also broken and invalid and what do I get? Some random guy jumping at me telling me how stupid I am because GPS coincidentally started working on his device after doing some useless things?

You know, that's not even something I have to do (as if I was getting paid for support), I'm doing it because I'm basically a nice guy.

And then you, another random "I know how to register an account so let's attack people"-user, shows up. Thanks, you're welcome. Oh, I was right, by the way. The files are broken. The fixes don't work.



Ok, what I have noticed so far using legend. Don't mess with gps.conf using other custom gps.conf I've use some before (instant lock) and its bogus as Ali ba put it.
Thank you for actually reading what I write.


I think its something about HTC didn't release GPS source that we ended up like this.
That's right. There's a bug somewhere in the GPS module but we never got any sources so we don't really know how to work around it. The GPS module on the Legend doesn't have public sources so we hacked together some code from different versions. It works pretty well - once it starts working.


I sometimes can't get a GPS fix either when I started the device with GPS turned off or after toggling GPS a few times. Yeah, it is broken and I am aware of that.

The only "solutions" that really work are rebooting your device with GPS and mobile internet connection turned on. This lets it download AGPS data, inject the current time into the module and you'll get a fix within 20 seconds.

Using the latest radio (=baseband firmware) for your region has been reported to kickstart GPS as well. That's the only fix I can confirm, everything else is shenanigans and you should get your money back :).
 

ranger4740

Senior Member
Jan 17, 2011
1,497
447
0
Melbourne
I'm sorry that it broke your device, but I can't do more than pointing out that these files are invalid.





So I point out that these files are not only useless (as most GPS fix instructions are) but also broken and invalid and what do I get? Some random guy jumping at me telling me how stupid I am because GPS coincidentally started working on his device after doing some useless things?

You know, that's not even something I have to do (as if I was getting paid for support), I'm doing it because I'm basically a nice guy.

And then you, another random "I know how to register an account so let's attack people"-user, shows up. Thanks, you're welcome. Oh, I was right, by the way. The files are broken. The fixes don't work.





Thank you for actually reading what I write.




That's right. There's a bug somewhere in the GPS module but we never got any sources so we don't really know how to work around it. The GPS module on the Legend doesn't have public sources so we hacked together some code from different versions. It works pretty well - once it starts working.


I sometimes can't get a GPS fix either when I started the device with GPS turned off or after toggling GPS a few times. Yeah, it is broken and I am aware of that.

The only "solutions" that really work are rebooting your device with GPS and mobile internet connection turned on. This lets it download AGPS data, inject the current time into the module and you'll get a fix within 20 seconds.

Using the latest radio (=baseband firmware) for your region has been reported to kickstart GPS as well. That's the only fix I can confirm, everything else is shenanigans and you should get your money back :).
By quoting me you are implying I'm some one that only knows how to register and start attacking people, how did I attack you, most people here know your the master who gave us all cm for our legend which is wonderful, and I simply asked you as you are the expert to explain how? Then you come back with your B.S answer attacking me, for no real good reason Instead of explaining humanly the answer, you also imply I attack people, when all I do here is try and learn to do stuff, and help others when I can.
Any way best you add me to your ignore list then you won't have to see me attack and abuse every one on xda developers ever again! Hey better still report me to the mods and get me permanently band from xda forums if you've seriously got some evidence of constaintly attacking members.

Sent from my Legend using XDA
 

Oops...

Senior Member
Sep 6, 2010
442
209
0
... And then you, another random "I know how to register an account so let's attack people"-user, shows up. Thanks, you're welcome. Oh, I was right, by the way. The files are broken. The fixes don't work.
Calm down. Nobody attacks people. I appreciate your work concerning the Legend port - and stated that several times.

Not giving an answer is ok - as you said, no paid support.

However, I can't agree on statements like ...
... Everything I say is right so you are wrong per definition. ... Any more questions?
as they are rude by definition. No more questions ...


btw, thanks for clarification
The only "solutions" that really work are rebooting your device with GPS and mobile internet connection turned on. This lets it download AGPS data, inject the current time into the module and you'll get a fix within 20 seconds.
 
Last edited:
  • Like
Reactions: ranger4740

homi3kh

Senior Member
Jul 3, 2010
250
259
0
Phnom Penh
www.facebook.com
ugh! this is unnecessary fighting, ali ba might just misunderstood ranger4740 questions, cos it sound corny at first look but if you read it again it's just a genuine question.

about gps fixes, we should trust the expert, yes this won't work as ali ba said there's some bugs in gps module. This fixes might work on other devices but I wonder if it does anything for our Ancient Legend :(
 
  • Like
Reactions: ranger4740

MarkInDaPark

Senior Member
Feb 17, 2012
97
6
0
...So I am using Zeubea's ICS ROM (BETA3) and my GPS isn't working.
I have refreshed the AGPS-data and flashed the newest (?) radio (7.13.35.05).
In what way is the radio dependent on my geographical location? I live in Sweden, am I using the correct radio?
I get no lock, but I get accuracy of roughly 2km. How is this?
Also, I'm searching for an app to see how many satelites I am connected to, havn't found one yet.
Any help in this would be greatly appreciated - thank you in advance ♥
 

farukb

Senior Member
Jul 26, 2007
1,100
155
0
Sarajevo
...So I am using Zeubea's ICS ROM (BETA3) and my GPS isn't working.
I have refreshed the AGPS-data and flashed the newest (?) radio (7.13.35.05).
In what way is the radio dependent on my geographical location? I live in Sweden, am I using the correct radio?
I get no lock, but I get accuracy of roughly 2km. How is this?
Also, I'm searching for an app to see how many satelites I am connected to, havn't found one yet.
Any help in this would be greatly appreciated - thank you in advance ♥
try using mobile data to get a good starting point (google's location service), also check gps source in location settings, and then try to get the precise location somewhere with a good view of sky....every next time it'll be faster, (you can even disable google's location service if you don't like it being turned on,it should still work faster than the first time after flashing)

edit: i just tried what i wrote above and got fix in no time,even from my room,using zeubeas cm9 beta3 freshly flashed... so, enable mobile data for a brief time until you get gps lock then you can disable it if you wish
 
Last edited: