Typical Complains / Rants:
1. GPS does not lock
2. GPS takes ages to lock
3. Keeps loosing signal / picks up very few satellites
4. Lock is not consistent, and fluctuates
Since quite a few users have struggled with GPS issues (including myself), I thought that I'll share my experience. I'm on Jellytime R10.1 and I believe that the GPS issues (as quoted by several users) is not related to the ROM. I've had GPS issues with a few other Custom ICS/JB ROMs. Instead it's related to the settings in the files,
1. /etc/gps.conf &
2. /system/build.prop
I have tried the fix provided by both MarcoHD (FasterFix) & crypted (AGPS Patch) and have had mixed, but unsatisfactory results.
So, I researched on the web for GPS lock solutions, for DHD (In the UK). Based on several findings I have been playing with my settings and have finally achieved a state where I can a really fast lock, with atleast 6-8 average Satellites. Configuration that works for me:
1. gps.conf needs to have correct entries for NTP_SERVER. Best way to locate those entries is to go to http://www.pool.ntp.org/en/, click on 'Active Servers' on the right hand side for your continent, and choose your country. At the top you'll see a set of 3 or 4 servers, and all of those need to be set in gps.conf, as below (UK in my case)
NTP_SERVER = 0.uk.pool.ntp.org
NTP_SERVER = 1.uk.pool.ntp.org
NTP_SERVER = 2.uk.pool.ntp.org
NTP_SERVER = 3.uk.pool.ntp.org
Remember that these should be the only NTP_SERVER entries in the file
2. I found this suggestion in the AGPS Patch (by crypted) and it worked for me. Edit the entry in the build.prop file as below:
ro.ril.def.agps.mode = "1" (Generally this value is set as "0" or "2"
After making the above changes, reboot the phone. Then load the GPSStatus app, and you'll see that it'll start latching onto Satellites, give the app sometime until it gets a stable lock, and you're good to go.
Disclaimer: I'm not an expert, and these are settings that worked for me, based on my limited research.
Now, the only outstanding issue I'm facing is the accuracy of the lock. I had a 100 mile journey today using Copilot, and the lock was absolutely stable, but accuracy was left wanting. Typical issues were encountered when there're roads that go under/over the motorway, parallel roads, slip roads, etc. The Sat Nav kept deviating into these other roads before reverting to the motorway on which I was.
So, the accuracy will be an area where I'll need more research, and suggestions from all ..
so other such as XTRA_SERVER, intermediate, c2k_host, supl_host etc shoud remain?
Yes I haven't disturbed any other parameter.
Sent from my Desire HD using Tapatalk 2
Same problems for me. I think my gps is not working in ics and jb roms. Need to check again with gb backup ROM..
Sent from my Desire HD using xda app-developers app
dg170775 said:
......
Now, the only outstanding issue I'm facing is the accuracy of the lock. I had a 100 mile journey today using Copilot, and the lock was absolutely stable, but accuracy was left wanting. Typical issues were encountered when there're roads that go under/over the motorway, parallel roads, slip roads, etc. The Sat Nav kept deviating into these other roads before reverting to the motorway on which I was.
So, the accuracy will be an area where I'll need more research, and suggestions from all ..
Click to expand...
Click to collapse
You could try this setting:
---------------------------
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# use only increment/decrement of 10 and DON'T go below 30
ACCURACY_THRES=5000
---------------------------
A thousand thanks to you.
this really has solved my gps issue...
now my phone locked damn fast than my girlfriend unrooted.
thank you very much.
havitoc said:
A thousand thanks to you.
this really has solved my gps issue...
now my phone locked damn fast than my girlfriend unrooted.
thank you very much.
Click to expand...
Click to collapse
That is really good to hear. Feedback on how's the accuracy when you use a sat nav..
Sent from my Desire HD using Tapatalk 2
Worked well for me too. Inspire 4G on cfX 0927. Now locks within seconds. 9 satellites.
bananagranola said:
Worked well for me too. Inspire 4G on cfX 0927. Now locks within seconds. 9 satellites.
Click to expand...
Click to collapse
How long did the first lock take?
Just tried these tweaks out and it's searching for sats now.
first lock will be longer (about 20-25 secs), and preferably try the first lock out in the open (not indoor)..
Also, if you're using GPSStatus App, then you can see that it'll keep picking up one by one SATs ..
PDub11 said:
How long did the first lock take?
Just tried these tweaks out and it's searching for sats now.
Click to expand...
Click to collapse
Nearly a minute. After that, several seconds.
dg170775 said:
Typical Complains / Rants:
1. GPS does not lock
2. GPS takes ages to lock
3. Keeps loosing signal / picks up very few satellites
4. Lock is not consistent, and fluctuates
Since quite a few users have struggled with GPS issues (including myself), I thought that I'll share my experience. I'm on Jellytime R10.1 and I believe that the GPS issues (as quoted by several users) is not related to the ROM. I've had GPS issues with a few other Custom ICS/JB ROMs. Instead it's related to the settings in the files,
1. /etc/gps.conf &
2. /system/build.prop
I have tried the fix provided by both MarcoHD (FasterFix) & crypted (AGPS Patch) and have had mixed, but unsatisfactory results.
So, I researched on the web for GPS lock solutions, for DHD (In the UK). Based on several findings I have been playing with my settings and have finally achieved a state where I can a really fast lock, with atleast 6-8 average Satellites. Configuration that works for me:
1. gps.conf needs to have correct entries for NTP_SERVER. Best way to locate those entries is to go to http://www.pool.ntp.org/en/, click on 'Active Servers' on the right hand side for your continent, and choose your country. At the top you'll see a set of 3 or 4 servers, and all of those need to be set in gps.conf, as below (UK in my case)
NTP_SERVER = 0.uk.pool.ntp.org
NTP_SERVER = 1.uk.pool.ntp.org
NTP_SERVER = 2.uk.pool.ntp.org
NTP_SERVER = 3.uk.pool.ntp.org
Remember that these should be the only NTP_SERVER entries in the file
2. I found this suggestion in the AGPS Patch (by crypted) and it worked for me. Edit the entry in the build.prop file as below:
ro.ril.def.agps.mode = "1" (Generally this value is set as "0" or "2"
After making the above changes, reboot the phone. Then load the GPSStatus app, and you'll see that it'll start latching onto Satellites, give the app sometime until it gets a stable lock, and you're good to go.
Disclaimer: I'm not an expert, and these are settings that worked for me, based on my limited research.
Now, the only outstanding issue I'm facing is the accuracy of the lock. I had a 100 mile journey today using Copilot, and the lock was absolutely stable, but accuracy was left wanting. Typical issues were encountered when there're roads that go under/over the motorway, parallel roads, slip roads, etc. The Sat Nav kept deviating into these other roads before reverting to the motorway on which I was.
So, the accuracy will be an area where I'll need more research, and suggestions from all ..
Click to expand...
Click to collapse
What the hell dg!!! I leave You alone for a day ore 2 in here and You go of creating a thread about gps!!!!GREAT!!!:good::laugh:
There has been allot of anger on the Jellytime....the usual, when a ROM becomes interested and starts working smoothly. Allot of folks gets on the thread and it becomes a bit uncontrolled.....oh well!
So what is this about neither the one ore the other gps fix/patch works for You my friend.....hmm....i forgot to tell You that way back i implemented some files i found on a thread on the inet......that i cannot remember the name of....5 files.
These files where drawn out of the 2.3.5 gb HTC stock ROM and addresses the HTC gps Worldwide......before applying either the faster gps fix ore the agps patch, i did have gps connection, but very slow, so for my part, what faster fix did, was making the connection faster. Looking at Your above statement, it resembles the code within these files. i could copy them from my phone and You could have a try with them on Your phone.
The gps.spade.so, goldfish and saga goes in /System/lib/hw
The liprpc.so goes in /System/lib
The gps.conf goes in /System/etc
Here is my gps.conf script:
NTP_SERVER=0.europe.pool.ntp.org
NTP_SERVER=1.europe.pool.ntp.org
NTP_SERVER=2.europe.pool.ntp.org
NTP_SERVER=3.europe.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
INTERMEDIATE_POS=1
C2K_HOST=c2k.pde.com
C2K_PORT=1234
SUPL_HOST=FQDN
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
SUPL_NO_SECURE_PORT=3425
SUPL_TLS_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert
SLP_TYPE=FQDN_PHONE
PROTOCOL_TYPE=Non_TLS
PHONE_TYPE=UMTS
ACCURACY_THRES=5000
CURRENT_CARRIER=common
DEFAULT_USER_PLANE=TRUE
REPORT_POSITION_USE_SUPL_REFLOC=1
I Use Europe instead of just Sweden...ore as with You U.K
I have an accuracy of between 4-14 meters out doors and 10-20 meters indoors.....
I have attached 2 .zip with the files. One with the actual files and a .txt with where to put the files, as i already described above.
So this is the only files or just NTP_SERVER entries and leave everything else there?
I'll try Geko's file first. and report back.
hmm, the accuracy, within 100m
but sometime will lost, i think that was the navi app problem.
overall is super awesome and fast.
get statellite & locked within 10seconds
well done man
Hey geko, that's a lot of info.. I will go through the details and try out..
Strangely if I use the Europe NTP servers I don't get more than 1 or 2 SATs but the UK ones work great for me.. that's why fasterfix didn't help.
I guess I was so happy that my research (fueled by your initial help ) worked that I had to share...
Sent from my Desire HD using Tapatalk 2
Remember that some desire hds have a hardware problem where the GPS antenna is not making good contact inside try pushing on your antenna wich is the square cover over the LEDs. if you get an instant lock this is your issue
Sent from my HTC Desire HD using xda app-developers app
Fast GPS FIX
Use this zip and you should get a faster fix on your DHD....
Hit the Thanks Button if i helped you:laugh:
Looks like I've managed to break my GPS Configuration now
I managed to get the GPS working as per the OP (on JellyTime R10.1), but then I flashed Jellytime R12 and my GPS again does not latch any Sats, with the same settings as in the OP.
dg170775 said:
Looks like I've managed to break my GPS Configuration now
I managed to get the GPS working as per the OP (on JellyTime R10.1), but then I flashed Jellytime R12 and my GPS again does not latch any Sats, with the same settings as in the OP.
Click to expand...
Click to collapse
Well....by the looks of it DG, RB has mad some mods on the R12 getting sat stats quicker.....the flip side is that it does not work for Europe....try flashing faster fix and the get into Your gps.conf file and modify to Your settings!!! I am not 100% sure, but i think that this will fix Your connection....
Try.....Try and Try again.....and if that does not help......reflash.....hopefully You have dun an nandroid of Your 10.1......if not....hmm....
Hey I can confirm that the GPS works on R12 without making any changes to any files. RB has cracked it...
But, once you've used GPS based apps, the gps needs to be switched off and on, to get lock again.
But accuracy still an issue..
Sent from my Desire HD using Tapatalk 2
Related
I can confirm.. that the GPS issue is not fixed only with the GPS Files from the leaked Rom. At least on my device..
I have tried both ROMS (Bionix and Twiz) and I'm never able to get a GPS fix unless I wait like 2 minutes for the first time and then I have to Open GPS Status (market app) to kind of wake up the GPS and then get a fix. I have tried several times and is always the same result... on the other hand... once I install the JI2 leaked ROM... I can get a GPS Fix in less than 20 Seconds in the first try, ALWAYS,, after that I can go to Maps and get a fix in less than 3 seconds every time. So, I'm sure that there is something else in the ROM that is fixing the GPS...
I installed the gps fix only and it was working pretty good for me where I live in Florida. However, tuesday I flew out to Ohio on business and it was pretty hit and miss there. Currently I'm in North Carolina and I can't get a flicker of a signal on the gps. Kind of disappointing after thinking it was fixed.
eortizr said:
I can confirm.. that the GPS issue is not fixed only with the GPS Files from the leaked Rom. At least on my device..
I have tried both ROMS (Bionix and Twiz) and I'm never able to get a GPS fix unless I wait like 2 minutes for the first time and then I have to Open GPS Status (market app) to kind of wake up the GPS and then get a fix. I have tried several times and is always the same result... on the other hand... once I install the JI2 leaked ROM... I can get a GPS Fix in less than 20 Seconds in the first try, ALWAYS,, after that I can go to Maps and get a fix in less than 3 seconds every time. So, I'm sure that there is something else in the ROM that is fixing the GPS...
Click to expand...
Click to collapse
I honestly think the exact same thing. I applied the gps fix from the leaked j12 update and it always takes 2 min to get a lock. After I reboot my phone, I always have to wait another 2 min.
Sent from my Samsung Vibrant
I get a fix in under 5 seconds - with WiFi off. The JI2 update fixes the compass which can and will mess up Navigation like Google Nav.
To play that broken record
Sats with SNR's below 17 will 1) Not Lock & 2) will show at 0 SNR with GPSTest regardless of what the reading is below 17. This means no GPS for you under poor GPS conditions. Other phones will lock with SNR's below 17 but the fix is less accurate.
Will not lock or it will take a LONG time to lock over WiFi. Disable WiFi for best performance... (odd bug here).
My GPS would just freeze up my phone, after applying the patch not only does the GPS work but i am usually connecting to 7-8 Sats out of 10.
BTW, I asked people in the Captivate forum to list their GPS settings after a successful update:
http://forum.xda-developers.com/showthread.php?p=8290175&posted=1#post8290175
There's a new address for the SUPL server:
- h-slp.mnc410.mcc310.pub.3gpp
Tried it and I can pick up satellites a bit quicker (subjective impression), but it doesn't really work for me.
Anyone else want to give it a shot?
Kubernetes said:
There's a new address for the SUPL server:
- h-slp.mnc410.mcc310.pub.3gpp
Tried it and I can pick up satellites a bit quicker (subjective impression), but it doesn't really work for me.
Anyone else want to give it a shot?
Click to expand...
Click to collapse
On the leaked Vibrant ROM, one tester I worked with had very bad performance when changing the server values (not to the address above, which I think comes from the new Captivate firmware, but to the old values floated on the forums weeks ago). After experimenting, he seemed to get the best results simply enabling MS Based mode and leaving those server details stock.
I have come to believe there is not much sense in amateurs playing with the SUPL settings. The operators of the SUPL servers seem to have a relationship with specific carriers, and I think there is some handshaking that goes on. I would advise leaving well enough alone.
make sure your wifi/apn work well.
it works great on NERO V3 and V4.1
method:
dial *#3214789650# into lbs
first choose:app setting
1:Sessing Type
(Tracking)
2:test mode
(H/W Test)
3p mode
(H/W Sensitivity Test)
4:start mode
(Cold start)
5:GPS Plus
(ON)
6:
(ON)
7:
(50)
8:
(OFF)
second choose supl/cp setting
1: FQDN type
(Custom Config)
2:
supl.nokia.com
3ort
7275
4:SUPL security
ON
5:AGPS mode
(SUPL)
then back to home and reboot your device.
after it, get into lbs again
1.choose delete gps data
2.get position test
3.after located, change 1st "cold start" into "hot start".
completed.
get more detail from
bbs.gfan.com/android-503202-1-1.html
I had 3 and now running 4.1. GPS picked up within 3 - 4 seconds with v3. With 4.1 my GPS picked up in 2 seconds. I did not have to modify any files.
Sent from my SGH-T959 using XDA App
Here's the best fix:
1.) Install Nero 4.1
2.) Leave it alone.
The end.
If that doesnt work:
1.) Install Nero 4.1
2.) Do the hardware fix
3.) Leave it alone.
The end.
my solution: get a new phone once a suitable 4" replacement comes out on t-mobile.
it works!
this by far is the best solution!
I get 10m accuracy now whereas i used to get 1200m before...
Let me try it a bit more, but it seems it works!
Sent from my SGH-T959 using XDA App
HOLY ****?
i got 10 satellites in 5 seconds, then they all started connecting and now my accuracy is 12 meters???
I think your all connected to wifi, maybe thats why your getting good locks. Disable it and try again.
Sent from my SGH-T959 using Tapatalk
I was out walking my dog this morning (no wifi) and while yes I was in a clearing, I turned on GPS Status for the first time since installing the new rom so it came up with the default html page explaining GPS Status, but I read it before so I closed it immediately and was already locked onto 8/11 birds. 2 seconds maybe. 7m accuracy.
On the flip side when I first got my phone I tried to use it as a GPS to navigate and drove around for 30 minutes without ever locking onto a single bird.
I understand and do believe there is a hardware problem with many Vibrants however I also believe that there has been a HUGE software problem as well.
iwillkillyou said:
I think your all connected to wifi, maybe thats why your getting good locks. Disable it and try again.
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
I've been using OP's "fix" for 3 days and so far it's working very well. I typically get locks in 10s or less, and accuracy 15-30 ft, inside. I nearly always disable wi-fi when I test GPS, but I've tried it both ways with this setup and it's working virtually the same either way.
At this point my only reservation is I've seen so many similar suggestions to tweak some setting that don't really pan out over time. This one may do the same, but so far so good.
I have done nothing but installed axura rom.ine locks in couple of seconds and works flawllesly. Even the accuracy is fantastic.
My gps went from bad to worst, 600 metter accuracy, maybe its the rom, ill try teamwhiskey. i been crying for a working gps lately.
Sent from my SGH-T959 using Tapatalk
I do see a improvement will check it out for a few days to see if it holds
Not perfect but now I actually can get a GPS signal, which is a plus
adiprince1 said:
I have done nothing but installed axura rom.ine locks in couple of seconds and works flawllesly. Even the accuracy is fantastic.
Click to expand...
Click to collapse
I had applied both the hardware and software fixes while using many versions of Nero and my GPS would never get quick locks, usually it wouldn't lock at all.
Flashing Axura fixed my GPS too. Locks within seconds and has 7-9 meter accuracy.
Axura also fixed my fiance's GPS (with no hardware fix). She had the same issues with every other rom, slow/no locks. So I know it wasn't only my device.
I don't know what method Devs4Android used to fix the GPS, but it works perfectly. They need to sell the fix to Samsung so customers can get functioning GPS out of the box.
never had a problem with the gps locking on to sats and getting 20-40 foot accuracy. the problem is the drifting and staying locked once you start moving or just standing there. that is the problem i have. driving down the highway and bam your on the other side going the wrong way, or in the middle of the field a mile away. that is problem i have
fioricet said:
never had a problem with the gps locking on to sats and getting 20-40 foot accuracy. the problem is the drifting and staying locked once you start moving or just standing there. that is the problem i have. driving down the highway and bam your on the other side going the wrong way, or in the middle of the field a mile away. that is problem i have
Click to expand...
Click to collapse
Thankfully, Axura fixed that for me as well. Not only does it lock fast, but its accurate too.
After 2 days.
Last 2 days, I've tested my GPS in some different scenarios. In every one it has been quick and accurate enough.
I got 8 satellites in average, and the accuracy was of around 7-8 meters, something that has never happened before. I did the hardware fix, and it helped with the SNR values, but this is the definite best solution yet!
I'm still testing, but I've got a very good feeling about this method.
The only difference I see between this "fix" and other "fixes" is changing the SUPL server to supl.nokia.com. Since the original thread came from a Chinese forum, I'm guessing the SUPL server might work well in China. Not sure how effective this would be in the US or other countries.
That said, this isn't really a fix. All it does is change the SUPL server, which for most of us (using supl.google.com) works just fine. The Cold Start -> Delete GPS Data -> Lock -> Hot Start method will work just once because it clears bad cached GPS data if you've moved, but it's old news (dozens of other threads on this one) and it's not really a "fix."
The hardware fix is still one of the few real fixes out there.
jamesyl said:
The only difference I see between this "fix" and other "fixes" is changing the SUPL server to supl.nokia.com. Since the original thread came from a Chinese forum, I'm guessing the SUPL server might work well in China. Not sure how effective this would be in the US or other countries.
That said, this isn't really a fix. All it does is change the SUPL server, which for most of us (using supl.google.com) works just fine. The Cold Start -> Delete GPS Data -> Lock -> Hot Start method will work just once because it clears bad cached GPS data if you've moved, but it's old news (dozens of other threads on this one) and it's not really a "fix."
The hardware fix is still one of the few real fixes out there.
Click to expand...
Click to collapse
So I take it you haven't tried this. I agree with what you say, however, I've been using OP's suggested settings for 4 days and see a significant improvement in lock times (only exception is I leave it set to Coldstart). I've been turning my phone off at night and after booting yesterday morning it locked in 14s first time, this morning in 7s. I know lock times can vary depending on where the sats happen to be at that moment, but this performance is much better than I was getting previously, which was in the 1-4 min range on first lock of the day. It's so simple to try there's no real reason not to see if it helps, unless you're already getting lock times like this. Only time will tell if it lasts, but so far so good.
(Running pure stock JI6, and I've also done the HW fix posted in the sticky, which definitely improved my SNRs.)
right I have to know if its only me but even after editing the gps config file it still only works every now and then and even that requires gps status and tools? At the moment using WP7 and gps is lightning fast (fix etc) but switching back to android as android is most definatly superior in most cases at the moment. Especially the camera quality is bad and battery life is ok but better on android
Is there a rom with a WORKING gps not one that works under supervision? as I like to use the gps apps like maps and copilot etc
OK well just changed a couple things and now gps is working
I dont know whether Radio revision affects it but downgraded it to 2.12 from 2.15 and left my gps location as europe after clean flash and now getting a gps fix under 10 secs mass improvement to before (2 mins to never)
might try with UK ntp.pool settings, and see the results
Edit as you like, but < 10 seconds is about as good as it gets, don't fixit if it ain't broke!
well tried it anyways and it is even better >5 seconds is this a radio related. If so gotta write down this radio version for future reference
You get quicker fixes when you've already recently had one, I don't think a <5 seconds cold fix is possible.
willzrocking said:
OK well just changed a couple things and now gps is working
I dont know whether Radio revision affects it but downgraded it to 2.12 from 2.15 and left my gps location as europe after clean flash and now getting a gps fix under 10 secs mass improvement to before (2 mins to never)
might try with UK ntp.pool settings, and see the results
Click to expand...
Click to collapse
This is intresting.
Is it possible to keep us updated in a couple of days to check if the quick fix is consistant with radio 2.12 ?
I think it would interest alot of people.
My phone was also with 2.15 previously, as willzrocking i experienced mixed result with this radio and long time locks in any case.
This morning i was encouraged by this post and gave 2.12 a try, unfortunately for me it seems tobe no go, it seems worst than 2.15 on my phone.
In the same road to my office (10 minutes by car) 2.15 was able to lock 1 or 2 minutes before i reached destination (not really usefull...), 2.12 was not able to catch the signal.
I'm going to try have a lock in a plain surface later on today and will let you know the results.
Cheers.
Still working good for me... I am using the Cleandroid Rom but even though the gps is now very good the network keeps dropping alot and sometimes randomly the H signal disappears and replaced with G sometimes until I switch between flight mode so think I am gonna have to sacrafice the GPS until I find a better radio/rom
I've just put on 2.12 here in the UK and don't notice any real difference at all
EDIT: ooh think i've now solved it for me!
I also have an Orange San francisco ( ZTE BLADE) and that always locks on GPS very quickly...
so i had a delve into the blade's gps conf and i notice a few parts were commented out that arent for my HD2.
the parts i just added/commented out are.
I added
INTERMEDIATE_POS=0
and commented out the following to look like this
#SUPL_HOST=supl.google.com
#SUPL_PORT=7276
Now after locking/unlocking the phone and rebooting i get a lock onto GPS in under 10 seconds every time, whereas before it was very hit or miss!
Out of curiosity, those who have problems, how many have the app GPS STATUS installed? i'm wondering if it is causing a problem too.
this thing is driving me crazy... as the gps is!
2.12 was worst than 2.15, then i tried 2.08, same as 2.12. So i did a roll-back to 2.15 and tried to put crunchie's settings into my gps conf.
Didn't notice any difference so i tried to remove gps status.
After reboot i made the following test:
launching google navigator 3 times, every time i placed the phone in the same position where i was sure to get good signals.
Between each tentative i removed the phone from its position, closed navigator, turned off and then on the gps, replaced the phone back.
It took 20 secs to do this operation.
I got a fix each time, which is good, but look at locktimes...
1) around 90" (good)
2) around 3 minutes...
3) around 4 minutes...
It seems like it doesn't save gps data previously scanned, every time it's like a cold start...
I really don't know if there is any way to fix this at the moment but i would really like to know which is the difference between my phone and yours. Maybe 'cause mine is brand new? (i received it the 4th of jan)
Very important for me too. So my parts:
RADIO: 2.15.50.14
ROM: MDJ's CyanogenMod 7 v. 2.6
COUNTRY: Latvia (EUROPE)
Actually this is the only Android build where I got any week GPS signal. Previously - nothing.
Well, on WM 6.5 GPS works extremely good and stable with the same radio.
I am using GPS Status (to download some A-GPS data, which really does not helps).
I live in Latvia, but my gps.conf was set to europe.pool.ntp.org. I was able to get some week connection today with a fix in approx. 10 minutes. When I changed my gps.conf to my country: lv.pool.ntp.org GPS stopped working. Will try now to revert back.
P.S. My friend with Desire HD also living in Latvia has north-america.pool.ntp.org, but still gets fix in about 30 sec. And changing gps.conf and downloading A-GPS data does not help at all.
NTP_SERVER=lv.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
Click to expand...
Click to collapse
crunchie-uk said:
the parts i just added/commented out are.
I added
INTERMEDIATE_POS=0
and commented out the following to look like this
#SUPL_HOST=supl.google.com
#SUPL_PORT=7276
Now after locking/unlocking the phone and rebooting i get a lock onto GPS in under 10 seconds every time, whereas before it was very hit or miss!
Click to expand...
Click to collapse
That sounds promising, so I've edited my gps.conf to match and I'll get back and let you know how I get on with it.
Incidentally, I used Navigator today for the first time in ages and didn't expect it to work as I flashed a new ROM over the weekend, but it worked a treat. I'm in the UK but it was set to use a North American NTP server, so I'm surprised it worked!
Glad it did though
johncmolyneux, so that worked for you?
Can you please post in QUOTE your full gps.conf text?
Synoptex said:
johncmolyneux, so that worked for you?
Can you please post in QUOTE your full gps.conf text?
Click to expand...
Click to collapse
johncmolyneux said:
I've edited my gps.conf to match and I'll get back and let you know how I get on with it.
Click to expand...
Click to collapse
I'll let you know mate.
Ok, I tried all that in different ways rebooting each time.
Only one time I had cold start and fix in 10 sec was: (changes bolded)
NTP_SERVER=xtra1.gpsonextra.net
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
INTERMEDIATE_POS=0
#SUPL_HOST=supl.google.com
#SUPL_PORT=7276
Click to expand...
Click to collapse
This 10 sec. story was only once. Now I again can't accure sattelites. Will try to launch with gps.conf file fully empty. Will see, what it does.
Mine seems pretty stable now, but gps status seems to screw it up so for those still trying I'd advise you don't open gps status at all and/or force close it
crunchie-uk said:
Mine seems pretty stable now, but gps status seems to screw it up so for those still trying I'd advise you don't open gps status at all and/or force close it
Click to expand...
Click to collapse
I'll bear that in mind - thanks. I don't tend to use any extra apps anyway. We all know from WM days that the GPS in our phones is pretty good without it.
I'll try it tomorrow, when I drive a mile down the road to my local shop. And yes, I do know the way
crunchie-uk said:
Mine seems pretty stable now, but gps status seems to screw it up so for those still trying I'd advise you don't open gps status at all and/or force close it
Click to expand...
Click to collapse
Do you mean program GPS Status? Well, I'm using it to find a sattelites and then quickly switching to Google Maps. )))
Why do you think it can mess up the GPS reception? I'll try not to use that. Thank's.
Synoptex said:
Do you mean program GPS Status? Well, I'm using it to find a sattelites and then quickly switching to Google Maps. )))
Why do you think it can mess up the GPS reception? I'll try not to use that. Thank's.
Click to expand...
Click to collapse
When I open it to see what satellites are connected then go back to maps, maps is no longer as accurate even though gps status says it's locked.
It looks like it makes maps revert back to wifi or gsm triangulation.
Then if I go back to gps status, force close it then reopen it, gps status is no longer able to lock on nor Is maps.
So, I open maps, leave it for upto 20 seconds (usually under 10) it locks on to 2M accuracy
If I then open GPS Status, it says no satellites.
Exit back to maps and I'm no longer locked on and it doesn't seem to lock on again (cold start maybe.)
Then , force close gps status
Force close maps.
Reopen maps and I'm locked on again after a 'cold start' and then maps behaves itself again with under 5-10 second locks even after reboots and gps off/on
crunchie-uk said:
When I open it to see what satellites are connected then go back to maps, maps is no longer as accurate even though gps status says it's locked.
It looks like it makes maps revert back to wifi or gsm triangulation.
Then if I go back to gps status, force close it then reopen it, gps status is no longer able to lock on nor Is maps.
Click to expand...
Click to collapse
Oh, well, thank's. I experienced it today on a road, that after GPS Status, my Google Maps were jumping from GPS sattelites to Mobile Network Stations.
One more wish from you. Can you please post your gps.conf in a QUOTE here? I tried now this:
SUPL_HOST=lbs.geo.t-mobile.com
SUPL_PORT=7275
NTP_SERVER=xtra1.gpsonextra.net
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
Click to expand...
Click to collapse
Actually not having anything with t-mobile, but I still managed to connect... after a while, after a long while....
Working GPS was the only thing keeping me from fully embracing CM7. Lack of Netflix for Froyo was the only thing keeping me on CM7. With build #55, I was able to get a slight GPS lock if I stood outside on one foot and rubbed my tummy while twirling the Vibrant.
Reading this thread (http://forum.xda-developers.com/showthread.php?t=1172428) kinda sorta' helped my GPS lock issues. I didn't need to balance on one foot anymore, but locks still took forever, and the accuracy was around 100ft. Signal quality was also sub-par, with most SNRs barely hitting the teens and only locking on 4 or 5 birds.
Back to google for some answers. I found a few references to a 'hardware' fix for the vibrant, and eventually found this thread: http://forum.xda-developers.com/showthread.php?t=878970. Seemed easy enough, and even though my phone had an April, 2011 serial number I didn't think it would hurt to bend out the contact. 30 minutes and one busted thumbnail later I was getting better signal quality with SNRs in the mid 30s, but bird acquisition and locks were still taking the better part of 5 minutes.
At this point I figured the GPS had bad data - either NTP, AGPS, XTRA or something. AngryGPS didn't appear to do much for helping the situation, and GPS doctor doesn't work on CM7. I was trying to figure out how to manually configure this data on CM7 - /data/gps/secgps.conf and /etc/gps.conf don't exist; hell, I didn't even know if CM7 used those files. I unzipp'ed Jellette's GB GPS fix (http://forum.xda-developers.com/showthread.php?t=974702) and pushed the secgps.conf and gps.conf to their respective locations, rebooted the phone and went outside. I had 12 birds with SNRs in the mid 30's and within 5 seconds had a 12 foot lock with 6 birds. I turned off the GPS, walked a block away, turned it back on and had the same lock. Walking back to the office with the GPS on showed that the SNR varied a bit and my lock went as high as 55 ft, but it remained locked on until I stepped inside my building. All SNR went to single digits at that point and lock was lost.
I ran Navigation during my 5 mile drive home from work; it had me on both sides of the road at times but it followed my path with excellent accuracy.
I think it was a combination of the hardware fix and the GB GPS fix that did it; I'm still not entirely convinced the gpsd binary from Trigger 12 does anything. I inadvertently deleted my original gpsd binary; otherwise I'd test that theory out.
FWIW, I had horrible GPS performance stock and it didn't get much better under Project V or Bi-Winning.
John
jad3675 said:
Working GPS was the only thing keeping me from fully embracing CM7. Lack of Netflix for Froyo was the only thing keeping me on CM7. With build #55, I was able to get a slight GPS lock if I stood outside on one foot and rubbed my tummy while twirling the Vibrant.
Reading this thread (http://forum.xda-developers.com/showthread.php?t=1172428) kinda sorta' helped my GPS lock issues. I didn't need to balance on one foot anymore, but locks still took forever, and the accuracy was around 100ft. Signal quality was also sub-par, with most SNRs barely hitting the teens and only locking on 4 or 5 birds.
Back to google for some answers. I found a few references to a 'hardware' fix for the vibrant, and eventually found this thread: http://forum.xda-developers.com/showthread.php?t=878970. Seemed easy enough, and even though my phone had an April, 2011 serial number I didn't think it would hurt to bend out the contact. 30 minutes and one busted thumbnail later I was getting better signal quality with SNRs in the mid 30s, but bird acquisition and locks were still taking the better part of 5 minutes.
At this point I figured the GPS had bad data - either NTP, AGPS, XTRA or something. AngryGPS didn't appear to do much for helping the situation, and GPS doctor doesn't work on CM7. I was trying to figure out how to manually configure this data on CM7 - /data/gps/secgps.conf and /etc/gps.conf don't exist; hell, I didn't even know if CM7 used those files. I unzipp'ed Jellette's GB GPS fix (http://forum.xda-developers.com/showthread.php?t=974702) and pushed the secgps.conf and gps.conf to their respective locations, rebooted the phone and went outside. I had 12 birds with SNRs in the mid 30's and within 5 seconds had a 12 foot lock with 6 birds. I turned off the GPS, walked a block away, turned it back on and had the same lock. Walking back to the office with the GPS on showed that the SNR varied a bit and my lock went as high as 55 ft, but it remained locked on until I stepped inside my building. All SNR went to single digits at that point and lock was lost.
I ran Navigation during my 5 mile drive home from work; it had me on both sides of the road at times but it followed my path with excellent accuracy.
I think it was a combination of the hardware fix and the GB GPS fix that did it; I'm still not entirely convinced the gpsd binary from Trigger 12 does anything. I inadvertently deleted my original gpsd binary; otherwise I'd test that theory out.
FWIW, I had horrible GPS performance stock and it didn't get much better under Project V or Bi-Winning.
John
Click to expand...
Click to collapse
That's great to hear! What about the magnetometer? Are you getting an accurate compass reading after all of the work you did?
Where is the secgps.conf and gps.conf location in the phone? I wanna try this EXCEPT the hardware fix.
Nabeel10 said:
Where is the secgps.conf and gps.conf location in the phone? I wanna try this EXCEPT the hardware fix.
Click to expand...
Click to collapse
/data/gps/secgps.conf
/system/etc/gps.conf
The hardware fix isn't hard, and if you have low SNR it will probably fix it.
John
For this fix to work properly, you'll also need a lto.dat file in /data/gps. There are a few ways to get it. If you're comfortable with adb:
adb shell
cd /data/gps
wget http://gllto.glpals.com/7day/latest/lto.dat
chmod 777 lto.dat
If not, there's an app in the market - GPS Aids V2. It doesn't work 100% on CM7; it fails on the XTRA download, but there is an option in the app to download LTO.
I had mistakenly thought that AGPS downloaded the lto.dat, but turns out it's a replacement for agps. http://www.broadcom.com/collateral/tb/LTO-TB100-R.pdf
Once the lto.dat file is in place, GPS works.
John
I read somewhere that gps can be fixed by removing the sim, connecting to a wifi. And using gps config to reset and redownload gps data. Then use your sim data to get a fix. Should work, at least it did for me.
Not sure about the theory behind this, but it could be because the phone is forced to get a gps fix
From the wifi, and not from the signal towers.
Sent from my Desire HD using XDA App
I did some digging; it turns out CM7 for the P990 (LG Optimus) had a similar issue as the Vibrant - a lack of lto.dat. There was a fix applied to their stream of CM7:
http://review.cyanogenmod.com/#change,6455. It's not in the stream for the Vibrant; I'm pretty sure getting into the vibrantmtd builds would help.
John
Also, if anyone has any other ideas...
John
I recently switched from EVO 4G to EVO shift 4G and noticed a huge difference in the GPS performance in these two models. I used AGPS in both phones (built-in + tower). My previous EVO 4G caught GPS signal usually in 5 seconds (most of time, it is instantly). However, it takes 1 minutes for EVO shift to get GPS signal. And it easily gets lost during driving...
My question is: are EVO and EVO shift using the same GPS chipset? If yes, why are there so huge difference in the performance.
ctzw said:
I recently switched from EVO 4G to EVO shift 4G and noticed a huge difference in the GPS performance in these two models. I used AGPS in both phones (built-in + tower). My previous EVO 4G caught GPS signal usually in 5 seconds (most of time, it is instantly). However, it takes 1 minutes for EVO shift to get GPS signal. And it easily gets lost during driving...
My question is: are EVO and EVO shift using the same GPS chipset? If yes, why are there so huge difference in the performance.
Click to expand...
Click to collapse
Turn on wireless network assistance. Yes, same chipset.
VICODAN said:
Turn on wireless network assistance. Yes, same chipset.
Click to expand...
Click to collapse
Sometimes even with this on the GPS lock is very slow. I've found editing the /etc/gps.conf file with your local NTP server from pool.ntp.org and changing the SUPL source to Sony Erricson's helps greatly. This is what mine looks like:
Code:
NTP_SERVER=us.pool.ntp.org
NTP_SERVER=0.us.pool.ntp.org
NTP_SERVER=1.us.pool.ntp.org
NTP_SERVER=2.us.pool.ntp.org
NTP_SERVER=3.us.pool.ntp.org
NTP_SERVER=0.north-america.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=0
# Report supl ref location as position, 1=enable, 0=disable
REPORT_POSITION_USE_SUPL_REFLOC=1
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=supl.sonyericsson.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=3425
SUPL_SECURE_PORT=7275
SUPL_TLS_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert
# FOR C2K PDE SUPPORT, set the following
C2K_HOST=c2k.pde.com
C2K_PORT=1234
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
Edit it as necessarily for your country then use the app "GPS Status" to reset your GPS, download a fresh SUPL file, and get your first GPS lock (very important as the first lock will be slow). After that you'll have near instant locks.
Nice. Doesn't fasterfix do this?
Sent from my PG06100 using XDA App
VICODAN said:
Nice. Doesn't fasterfix do this?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Fasterfix only updates your NTP servers and doesn't touch the SUPL source. Besides, why waste system resources with an app if all you have to do is edit a text file which also gives you more options?
Sent from my PG06100 using XDA App
I noticed a significant improvement doing this a while back.. prior to that I had a really difficult time obtaining a lock. Honestly I think this should just be included in shift roms, since it seems quite a few users have gps issues.
What app should I use to open the file referenced above? I used OI Notepad, as that's what is installed, and I only see XTRA_SERVER and the NTP lines of code. Nothing else.
tokuzumi said:
What app should I use to open the file referenced above? I used OI Notepad, as that's what is installed, and I only see XTRA_SERVER and the NTP lines of code. Nothing else.
Click to expand...
Click to collapse
Copy & paste mine into notepad on your desktop, edit as neccissary, save the file to your sdcard as gps.conf, then use a root explorer to copy & paste the file over /etc/gps.conf. Easiest way to do it. Restart your phone then install GPS Test and inside GPS Test under the Tools menu goto Manage A-GPS State. Reset the GPS and download fresh SUPL data then wait for a gps lock.
Sent from my PG06100 using XDA App
Nice protip. However, does this have any effect on the GPS losing fix after it had acquired?
I often run into a problem where I open Google Nav for navigation in the car (clear view of the sky thru the windshield), it gets a lock, then a minute later loses the lock and won't find it again no matter how long I leave it open. If I have time at a red light, I can exit Nav go into GPS Status, reset A-Data, re-download then re-launch Nav and it will lock again immediately, but again lose lock a few mins later.
No problem in my stock nandroid backup or a Sense ROM like MikShift. Only happening with CM7 - been happening since my first install of nightly 90-something, still happening up through 224.
I've tried the GPSCLRX fix, as well as the updated GPS driver for Speedy.
I'll try this, but wondering if anyone has seen a positive affect already.
cmags said:
Nice protip. However, does this have any effect on the GPS losing fix after it had acquired?
I often run into a problem where I open Google Nav for navigation in the car (clear view of the sky thru the windshield), it gets a lock, then a minute later loses the lock and won't find it again no matter how long I leave it open. If I have time at a red light, I can exit Nav go into GPS Status, reset A-Data, re-download then re-launch Nav and it will lock again immediately, but again lose lock a few mins later.
No problem in my stock nandroid backup or a Sense ROM like MikShift. Only happening with CM7 - been happening since my first install of nightly 90-something, still happening up through 224.
I've tried the GPSCLRX fix, as well as the updated GPS driver for Speedy.
I'll try this, but wondering if anyone has seen a positive affect already.
Click to expand...
Click to collapse
I met this problem before. But that was because I was using a new radio version 1.08.xxx (I found on this forum). Then I flashed the older radio 1.07.xx back to shift. The GPS signal becomes stable, I mean, it won't easily get lost during driving. However, it would still take a while (longer than my Evo 4G) to get locked. I will try the gps.conf method above.
cmags said:
Nice protip. However, does this have any effect on the GPS losing fix after it had acquired?
I often run into a problem where I open Google Nav for navigation in the car (clear view of the sky thru the windshield), it gets a lock, then a minute later loses the lock and won't find it again no matter how long I leave it open. If I have time at a red light, I can exit Nav go into GPS Status, reset A-Data, re-download then re-launch Nav and it will lock again immediately, but again lose lock a few mins later.
No problem in my stock nandroid backup or a Sense ROM like MikShift. Only happening with CM7 - been happening since my first install of nightly 90-something, still happening up through 224.
I've tried the GPSCLRX fix, as well as the updated GPS driver for Speedy.
I'll try this, but wondering if anyone has seen a positive affect already.
Click to expand...
Click to collapse
I had this problem before and what fixed it was a full wipe + fresh install of CM7.1 nightly. Since then most I've had happen is I lost my fix while passing through NYC to CT going under all the underpasses and the GWB, but got an instant lock again once I was in the open. And yes I'm using the new radio.
Ron Overdrive said:
I had this problem before and what fixed it was a full wipe + fresh install of CM7.1 nightly. Since then most I've had happen is I lost my fix while passing through NYC to CT going under all the underpasses and the GWB, but got an instant lock again once I was in the open. And yes I'm using the new radio.
Click to expand...
Click to collapse
Yep I had lots of GPS issues myself and then it started working great after I wiped and reflashed my phone. I'll be trying your tips as well.
Took me a while to find it again so before people start giving me credit for the findings here's the thread I got my gps.conf script from: http://forum.xda-developers.com/showthread.php?t=1239713
Ron Overdrive said:
Took me a while to find it again so before people start giving me credit for the findings here's the thread I got my gps.conf script from: http://forum.xda-developers.com/showthread.php?t=1239713
Click to expand...
Click to collapse
Decided to try the fix on the thread you posted. My GPS works great, but I just wanted to see if this would improve it. It definately did, my GPS now locks within 8 seconds or less .
prboy1969 said:
Decided to try the fix on the thread you posted. My GPS works great, but I just wanted to see if this would improve it. It definately did, my GPS now locks within 8 seconds or less .
Click to expand...
Click to collapse
how the GPSLock performance indoors
if using a script that
Once you follow all te steps, even inside it locks fairly quickly. Under 20seconds for me.
Unfortunately my shift also had poor gps performance and was never curable no matter what rom I used, some if them made it worse. Other than that it was always a great phone.
Sent from my MB855 using XDA App
My GPS lock, and performance were always ok. But after doing this it was great. I regularly get GPS Lock in under 29 seconds
TEAM MiK
Mik Roms Since 3/13/11