Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Turwaithion
Old
#1  
Member - OP
Thanks Meter 4
Posts: 35
Join Date: Jul 2011
Default GPS does not work

Hello everyone

I have Cyanogenmod 7.0.3 running on my HTC Legend but am having trouble with the GPS.

I have used GPS test on both radio firmware 7.13.35.05 and 7.08.35.21 and get 6-10 satellites on both and about 5-8 in use. However I never get a position or accuracy reading and in apps such as Google Maps it just says "waiting for location".

What can be the problem ?
 
Asovse1
Old
#2  
Asovse1's Avatar
Senior Member
Thanks Meter 94
Posts: 605
Join Date: Oct 2010
Location: Edmonton
I actually have the same problem, but the only time it locks (RARELY) when I use Maps. RARELY!

I flashed to CM 7.1 RC and don't think I experienced this problem in 7.0.3. I'm also curious as to what the problem is, I've updated the radio to 7.13.35.13 long ago and recently I've applied the GPS "Faster Fix" Mod buried somewhere in the Dev forum.
04/08/2010-20/08/2012, 22/08/2012-27/03/2013: Bell HTC Legend - HTC Sense 2.1 with Android 2.3
26/12/2011-20/08/2012: TELUS LG Optimus One - Oxygen
14/07/2012: Asus Nexus 7 from Google - AOKP nightly 4.1.2
20/08/2012-22/08/2012: Rogers Samsung Galaxy Note - Unrooted stock (worst phone ever, of all time)
27/03/2013: AT&T HTC One X(L) - Stock, unrooted
Twitter | Google+
Proudly Vietnamese-Canadian
 
Turwaithion
Old
#3  
Member - OP
Thanks Meter 4
Posts: 35
Join Date: Jul 2011
I have tried the faster fix without luck.

When the gps eventually gets a fix (after 10-20 minutes sometimes never) it works flawlessly.. . But then when i turn it of and on - the same story.. waiting for ages

Is this a rom problem or a general Legend issue ?

My 5 year old Garmin Nuvi gps for the car gets a lock within 8 seconds... So er new smartphone should be able to do this also.
 
doubleup
Old
#4  
Junior Member
Thanks Meter 2
Posts: 25
Join Date: Nov 2010
I thought I share my GPS experience.
Ever since I updated gps.conf to point to a local ntp server,
I now always get a GPS fix in seconds.
I'm currently loving CM71 RC1 but have also had GPS success with B 0.84.
I hope this helps.
 
Turwaithion
Old
#5  
Member - OP
Thanks Meter 4
Posts: 35
Join Date: Jul 2011
Ithought that was what fasterfix was supposed to to ? To modify the gps config file..

How do you do it manually ?
 
Asovse1
Old
#6  
Asovse1's Avatar
Senior Member
Thanks Meter 94
Posts: 605
Join Date: Oct 2010
Location: Edmonton
Use Root Explorer.
Take a gander through here:
http://forum.xda-developers.com/show....php?t=1066284
04/08/2010-20/08/2012, 22/08/2012-27/03/2013: Bell HTC Legend - HTC Sense 2.1 with Android 2.3
26/12/2011-20/08/2012: TELUS LG Optimus One - Oxygen
14/07/2012: Asus Nexus 7 from Google - AOKP nightly 4.1.2
20/08/2012-22/08/2012: Rogers Samsung Galaxy Note - Unrooted stock (worst phone ever, of all time)
27/03/2013: AT&T HTC One X(L) - Stock, unrooted
Twitter | Google+
Proudly Vietnamese-Canadian
 
doubleup
Old
#7  
Junior Member
Thanks Meter 2
Posts: 25
Join Date: Nov 2010
CM7 defaults to NTP_SERVER=europe.pool.ntp.org
HTC defaults to NTP_SERVER=north-america.pool.ntp.org
So replace that line with a server closer to your part of the world from pool.ntp.org.
The safest way to replace gps.conf is via recovery, for example:

adb reboot recovery
+/+/ then +/+/
adb shell mount /system
adb push gps.conf /system/etc/gps.conf
adb shell chmod 644 /system/etc/gps.conf
adb reboot
 
djsubtronic
Old
(Last edited by djsubtronic; 12th July 2011 at 10:36 AM.)
#8  
Senior Member
Thanks Meter 268
Posts: 1,471
Join Date: Jun 2010
Do you see the GPS icon blinking? If so then you can try flashing the various GPS fix files, modifying configurations, or waving your phone in the air to recalibrate the sensors. However, after none of those solutions worked for me, I realized the issue was hardware related. The GPS sensor is directly underneath the loudspeaker on the back, behind the plastic cover. Similar to the way the battery cover is the antenna for WiFi/mobile network etc, the upper cover is the antenna for GPS. I found that fiddling around with it, or applying pressure where the speaker is can help achieve a better GPS signal, but if you stop applying pressure, it tends to stop working again.

Download the "GPS Test" app from the market, run it, look at the strength of the GPS and then check again after applying pressure. If you notice the bars go up, then you've found your issue. If you are adventurous enough, you can use a pin to pry open the cover (be careful not to scratch) and you'll see two small metallic connectors below the speaker. You could try to adjust them to provide better contact with the antenna in the plastic cover. That's how I fixed my GPS issues.
 
Turwaithion
Old
#9  
Member - OP
Thanks Meter 4
Posts: 35
Join Date: Jul 2011
My config is now set to europe (where i live) and i get 9-11 satellites with 20-45 in signal strengthwith "gps test" but it still takes up to 20 minutes sometimes to get a fix. The icon is blinking but it still takes far more time than suppose to.

My garmin gps running watch lock on to a satellite in under 10 second..

This is crazy..
 
Turwaithion
Old
#10  
Member - OP
Thanks Meter 4
Posts: 35
Join Date: Jul 2011
I have now tried to set to denmark (my home country) at that seems to do the trick.. But come on.. everytime i travle to germany and france i have to reset the servers ?

Can it really be true that gps in smartphones are so bad when older gps devices for cars and waches are better ?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more