Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ngocquynh85
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Jan 2007
Location: HaNoi
Default GPS problem

My N1 is very difficult to fix GPS.
When indoor, I lost all stas, and when outdoor, with out cloud, it take about 3-4 min for fix GPS with 6-8 stas.
I try some solutions in here, but no lucky.

my N1 rom: cyanogen nightly build (last)
radio: 5.08....

Plz help me
 
Jack_R1
Old
#2  
Senior Member
Thanks Meter 910
Posts: 4,255
Join Date: Aug 2009
Indoor fix will always be difficult to impossible. Nothing out of ordinary.
For quick outdoor fix - do you have data connectivity? Or you're not using 3G data? If not - that's the reason for a long fix time.
 
cmstlist
Old
#3  
Senior Member
Thanks Meter 344
Posts: 2,497
Join Date: Jan 2010
Location: Vancouver
If you do have cellular data, try going into your APN settings and changing your primary one so that the APN type says:
default,supl

This greatly improved my lock time.

Sent from my Nexus One using XDA App
 
jmdsdf
Old
#4  
Member
Thanks Meter 9
Posts: 52
Join Date: May 2010
Cyanogen 6 definitely has a GPS issue: http://code.google.com/p/cyanogenmod...detail?id=2090

While AGPS settings improve the performance, something is still wrong. I remember stock Froyo to be a 5-20x times faster at getting a GPS lock (I've had cases with a clear blue sky where it's taken 120 seconds to get a GPS fix, before it was a max of maybe 10 seconds).

Also I notice that with GPS Status, I see 1, 2, then 3, 4 satellites show up, then they all disappear... and it starts again, until it gets around 7-8 satellites and gets a lock with 32m accuracy and then the precision slowly increases...

I wish someone could tell me 1) what change Cyanogen has implemented that causes this behavior 2) how to revert back to the old GPS code.
 
cmstlist
Old
#5  
Senior Member
Thanks Meter 344
Posts: 2,497
Join Date: Jan 2010
Location: Vancouver
Strange. Your experience doesn't match mine. CM6 here on an AWS Nexus One, with the newer radio. I can get a lock in seconds on GPS Status.

Sent from my Nexus One using XDA App
 
e4604
Old
#6  
e4604's Avatar
Senior Member
Thanks Meter 0
Posts: 113
Join Date: Aug 2007
Location: Seattle
ever since my switch to cyanogen i have had same problem
 
jmdsdf
Old
(Last edited by jmdsdf; 22nd September 2010 at 05:01 AM.) Reason: Added CM version
#7  
Member
Thanks Meter 9
Posts: 52
Join Date: May 2010
Cmstlist, turn off your data (3G and wifi) and try getting a lock with GPS Status so you can see the progress. I'm running the Rogers/AT&T version, and this bug drives me crazy. I'm running the 9/20/2010 nightly, but even RC3 had this bug.
 
cmstlist
Old
#8  
Senior Member
Thanks Meter 344
Posts: 2,497
Join Date: Jan 2010
Location: Vancouver
Well if you remove access to aGPS, of course you'll take longer to get a lock.

My guess: stock N1 gets a faster lock because it has a supplementary cache of offline GPS info supplied by gpsonextra. The urls for gpsonextra appear in /etc/gps.conf in CM6 but I'm betting it doesn't function properly on an AOSP firmware. Can anyone prove my instinct right or wrong?

Sent from my Nexus One using XDA App
 
Jack_R1
Old
(Last edited by Jack_R1; 22nd September 2010 at 08:11 AM.)
#9  
Senior Member
Thanks Meter 910
Posts: 4,255
Join Date: Aug 2009
I've checked on Enomther's build I'm running, which is also AOSP ROM. The most significant correlation of GPS lock time I've noticed was only with data connectivity rates. I've used GPS Status, and it took ~5-10 seconds to lock both in the open near my house and on the moving train at 150km/h in a significantly changed location, with the only thing being common - there was good 3G reception in both areas. Both times it locked in 2 "batches", 3 satellites being locked in the 1st one, and another 5-6 in the 2nd one. The first "batch" is probably strong satellite signals that were locked after Almanach download almost immediately, and the other "batch" might have been post- Ephemeris download. Either that or it has gpsonextra functional - but in any case, the lock is super-fast when the data rates are good.

On the other hand, the data registered on Traffic Info is only 40k download and 20k upload - even on GPRS it won't take long. But the base station needs to support aGPS - that's also something to consider.

 
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

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more