[REF] Tweaking the GPS for Speed and Accuracy - AT&T Samsung Galaxy S II Skyrocket SGH-I727

I don't take credit for this, I'm just basically confirming that if you are inside the US, the following tweak should improve lock speeds and accuracy. I was able to lock on inside my house < 10 secs, with a 6 meter accuracy. It's been done on a number of phones -- just posting it for the folks here who haven't found the tweak yet.
It requires root - see the threads in this forum.
To install it, you should create a backup of your /system/etc/gps.conf file before doing anything. The easiest way is to use Root Explorer and then copy the file to somewhere on your sd card. (Make a directory, or put it in a safe place).
[ Edit: Sorry, I'm having trouble getting the new file attached - the links below work (I think) but look sort of funny ]
Download and unzip the file View attachment 784134, then copy the attached file to /system/etc/gps.conf. Reboot or power off/on and you are done. (Again, use Root Explorer if you aren't comfortable enough with terminal/adb shell to do this on your own.)
Alternately you can edit your existing file with the text editor of your choice. All you are doing is replacing the NTP server and adding the SUPL lines at the bottom.
Code:
# Thanks to Da_G from the xda-forums for additional information on data for
# the below changes. Switch to the us.pool.ntp.org for better time resolution
# inside the US, but the xtra1 servers are good worldwide. You can
# Also just choose one of the below *.pool.ntp.org areas for where you plan
# to use your GPS.
########################################
###Uncomment only one NTP_SERVER line!##
########################################
##### US Time Servers
NTP_SERVER=us.pool.ntp.org
##### Worldwide
#NTP_SERVER=xtra1.gpsonextra.net
##### Continental Servers
##### Asia
#NTP_SERVER=asia.pool.ntp.org
##### Europe
#NTP_SERVER=europe.pool.ntp.org
###North America
#NTP_SERVER=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 = 5
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# GPS Capabilities bit mask
# SCHEDULING = 1
# MSB = 2
# MSA = 4
# default = MSA | MSB | SCHEDULING
CAPABILITIES=0x7
# The SUPL_HOST and SUPL_PORT lines below can be commented out if
# you will be using your GPS outside the AT&T network and/or outside.
# the US. The Skyrocket is configured to use the AT&T servers by
# default, and Da_G's says that the AT&T has a more accurate
# geolocation database.
#SUPL_HOST=supl.google.com
#SUPL_PORT=7276
After you have made the changes reboot your phone. (power off/on)
Here's the gps.conf file - just unzip it and replace. It is *NOT* something that can be flashed, just the conf file: View attachment 784134
Enjoy.

tejones36 said:
I don't take credit for this, I'm just basically confirming that if you are inside the US, the following tweak should improve lock speeds and accuracy. I was able to lock on inside my house < 10 secs, with a 6 meter accuracy.
...
Click to expand...
Click to collapse
My phone already does this, even while indoors. Has anyone been having worse GPS quality?

Mine was at 25ft previously. It's been reported on quite a few forums to improve both lock time (mine improved here as well) and accuracy.

Two seconds to first lock with 3 sats. 4 seconds later floating between 9 and 10 sats locked.
F'n sweet. No tweaks needed.

gheck911 said:
Two seconds to first lock with 3 sats. 4 seconds later floating between 9 and 10 sats locked.
Click to expand...
Click to collapse
Mine improved from 5m to 3m accuracy indoors and better lock times so I thought I'd share something I found useful.

Daedalus_ said:
My phone already does this, even while indoors. Has anyone been having worse GPS quality?
Click to expand...
Click to collapse
Same here. We shouldn't be scaring people into thinking that the SR has accuracy issues.

Dranakin said:
Same here. We shouldn't be scaring people into thinking that the SR has accuracy issues.
Click to expand...
Click to collapse
By that logic, we shouldn't be building custom kernel's or ROMs - we shouldn't be scaring people into thinking that the SR has UI or development issues right?

tejones36 said:
By that logic, we shouldn't be building custom kernel's or ROMs - we shouldn't be scaring people into thinking that the SR has UI or development issues right?
Click to expand...
Click to collapse
You know that's not even a logical analogy. Don't be a douche now.

Does this file work on all GB devices, or at least Samsung devices, or at least least an Infuse?
thx

Yup, pretty much everything that I've seen so far.
Sent from my SAMSUNG-SGH-I727 using Tapatalk

(nothing to see here, move along...)

How is the GPS Lock and Tracking say compared to HTC or Motorola? Just wondering because I am debating on going back to BB tomorrow and swapping out my HTC Vivid for this phone. Just slightly worried as I have hear horror stories about Samsung and horrible GPS.

malickie said:
How is the GPS Lock and Tracking say compared to HTC or Motorola? Just wondering because I am debating on going back to BB tomorrow and swapping out my HTC Vivid for this phone. Just slightly worried as I have hear horror stories about Samsung and horrible GPS.
Click to expand...
Click to collapse
I don't know about either of those phones, but I had the Captivate which was pretty horrible. both the SGS2 and the skyrocket are excellent right out of the box with none of those problems.
This post was meant to be about getting that last couple percent of accuracy and lock time, or to possibly help if someone had a restricted view of the sky via the SUPL lines at the bottom of the config along with closer geographic time servers. I've used the GPS heavily in the last couple of weeks and it's been terrific.
( Obviously the Skyrocket was only released this past Sunday, but I was using the OGS2 prior to returning it for the Skyrocket upgrade. )

tejones36 said:
I don't know about either of those phones, but I had the Captivate which was pretty horrible. both the SGS2 and the skyrocket are excellent right out of the box with none of those problems.
This post was meant to be about getting that last couple percent of accuracy and lock time, or to possibly help if someone had a restricted view of the sky via the SUPL lines at the bottom of the config along with closer geographic time servers. I've used the GPS heavily in the last couple of weeks and it's been terrific.
( Obviously the Skyrocket was only released this past Sunday, but I was using the OGS2 prior to returning it for the Skyrocket upgrade. )
Click to expand...
Click to collapse
Very good to know. I am actually one of those that has issues getting gps lock in my house not sure even this will help considering I have a tin roof. Still good to know that this has good GPS out of the box.

(wave) Hi
On the topic of this thread,
I did some disassembly on the GPS kernel module, and it is looking at 3 seperate config files for configuration infos. /etc/gps.conf, /data/data/angryGps/secgps.conf (i think there's a com.android in there, have to go double check, don't remember from memory) and /etc/loc_parameter.ini.
loc_parameter.ini appears to be the most interesting one, with a number of previously undocumented configurations. Notably the GPS is always defaulting to start up in "driving mode" vs. "pedestrian mode" which anyone familiar with the function of GPS will know means there is a filtering algorithm active to prevent some GPS updates from getting to the user (if the location has not moved more than 5 meters in any direction since the last update, assume this falls within the margin of error and report no movement)
Pedestrian mode is desirable in many cases as there are no GPS reports filtered out and you get the constant position updating every second.
Also the GPS driver reports 1Hz update mode, which is common for consumer level GPS receivers. More expensive/higher level receivers can report as fast as 3 times per second. It might be possible to tweak our GPS to perform similarly (boy wouldn't that be sweet)
Lastly, the GPS driver defaults to full verbosity in logcat output. This might be slightly detrimental to performance and flipping a simple bit in loc_parameter.ini cuts the amount of output by a large amount with every position update.
Out of box the GPS daemon is configured to use AT&T's SUPL server, so switching to google's SUPL server should actually be detrimental to GPS time-to-first-fix performance, since AT&T has a much more accurate geolocation database driving their SUPL platform vs. google. Outside of the US however, I imagine google's SUPL server will perform better. Also, outside of AT&T's data network their SUPL server is not accessible, so this is another case switching to google's SUPL server would be advantageous.
Further disassembly tonight

Da_G,
Thanks for the very informative post! Glad to see someone well versed in the subject commenting.
Da_G said:
I did some disassembly on the GPS kernel module, and it is looking at 3 seperate config files for configuration infos. /etc/gps.conf, /data/data/angryGps/secgps.conf (i think there's a com.android in there, have to go double check, don't remember from memory) and /etc/loc_parameter.ini.
loc_parameter.ini appears to be the most interesting one, with a number of previously undocumented configurations.
.
.
Click to expand...
Click to collapse
This does sound pretty interesting and worth playing with. Is there an easy way (like killing a process, like in system panel or from a terminal) to get the process to reread the config file short of a reboot? I have no idea if mobile phones can take a kill -HUP <pid> and reread, or just a -TERM and the system restarts it.
Pedestrian mode is desirable in many cases as there are no GPS reports filtered out and you get the constant position updating every second.
Click to expand...
Click to collapse
That does sound interesting - I wonder if the "pedestrian" routing on google maps actually does something besides changing how it routes - maybe it also changes the gps functionality as well?
It might be possible to tweak our GPS to perform similarly (boy wouldn't that be sweet)
Click to expand...
Click to collapse
Definitely!
Lastly, the GPS driver defaults to full verbosity in logcat output. This might be slightly detrimental to performance and flipping a simple bit in loc_parameter.ini cuts the amount of output by a large amount with every position update.
Click to expand...
Click to collapse
If you'd like me to include that file with instructions in the first post, I can certainly do so (and properly accredit you of course).
Out of box the GPS daemon is configured to use AT&T's SUPL server, so switching to google's SUPL server should actually be detrimental to GPS time-to-first-fix performance, since AT&T has a much more accurate geolocation database driving their SUPL platform vs. google. Outside of the US however, I imagine google's SUPL server will perform better. Also, outside of AT&T's data network their SUPL server is not accessible, so this is another case switching to google's SUPL server would be advantageous.
Click to expand...
Click to collapse
Good to know. What amount of time do you think the first fix might be delayed, order of magnitude wise? (1s, 10s, etc.) I'd trade a short period of time for better global/rural data possibly, but it's good to know the trade offs.
Further disassembly tonight
Click to expand...
Click to collapse
Awesome, thanks for the info!

So I tried to download the attachment didnt work. Then I tried to put in that information and rebooted. But it still doesnt lock on with google maps.

atomoverride said:
So I tried to download the attachment didnt work. Then I tried to put in that information and rebooted. But it still doesnt lock on with google maps.
Click to expand...
Click to collapse
I've included the full file now in the main post, it's working on my phone. Here's a copy of the file as well - I'll try to relink it in the original post.
gps.zip - gps.conf replacement: View attachment gps.zip

@Da_G
Is the 5 meter update condition meant to filter out noise from inaccuracy? Does increasing the Hz on the position update compromise battery life?
@tejones36
Earlier I wasn't trying to be rude, I was just saying that my GPS works fine and if yours isn't it might've been broken.

What is the address for AT&T supl? Or does it default to this if you have no supl lines?

Related

[AGPS] The Universal AGPS Project - Let's get it working!

Okay, so here's the deal. If we get AGPS working in some way, we can get MUCH quicker GPS fixes (30 seconds or less). I'm the coder for GPSToolPro you can find here in the Software subforum of the Raphael forum. I'm hoping to incorporate this into the program in some way.
I've managed to obtain the Lat/Long coordinates using Cell Tower information and Google.
There are two ways to solve this issue.
#1
Now, I'm looking to use these Registry Keys
HKLM\Software\HTC\SUPL AGPS\ServerIP
HKLM\Software\HTC\SUPL AGPS\ServerPort
HKLM\Software\HTC\SUPL AGPS\GPSMode
The plan is to set the ServerIP to 127.0.0.1 and run any port. Then the GPSToolPro will listen in on the port number on the device and RESPOND with the Lat/Long information obtained from Google. Right now, what I need is, somebody who has AGPS working with their provider to try to packet sniff and get see how we can make our own AGPS server run on the device. GPSMode mode will be set to "1", not "2". This is specific to the QualComm's GpsOne unit. The values are the following:
0 - Standalone - Your handset has no connection to the network, and uses only the GPS satellite signals it can currently receive to try and establish a location.
1 - MS Based - Your handset is connected to the network, and uses the GPS signals + a location signal from the network.
2 - MS Assisted - Your handset is connected to the network, uses GPS signals + a location signal then relays its 'fix' to the server, which then uses the signal strength from your phone to the network towers to further plot your position. You can still maintain voice communication in this scenario, but not 'Internet/Network service' ie Web Browser, IM, streaming TV etc..
4 - MS Assisted/Hybrid - Same as above, but network functionality remains. Normally only in areas with exceptional coverage.
Click to expand...
Click to collapse
I haven't been able to find the signal strength of the tower I'm connected to yet so right now, I'm limited to mode 1. Also, I can only find information on the tower I'm currently connected to, not all of them so I can't try cell tower triangulation yet.
This solution is limited to only working with HTC GpsOne devices.
#2
We can also try using the IOCTL_GPS_WRITE_ASSISTED command. This command will directly send the AGPS info to the GPS device. The question is, how do we send this information? I believe we need to get a AGPS signal first, use IOCTL_GPS_READ_ASSISTED, parse that information, figure out the format, get Lat/Long from Google, format it in the same way as received from IOCTL_GPS_READ_ASSISTED and send it back with IOCTL_GPS_WRITE_ASSISTED.
This universal for all Windows Mobile phones.
For method #1, I need somebody who has an HTC device with a working AGPS signal (from their provider or whomever).
For method #2, I need any Windows Mobile device that has a working AGPS signal.
I say method #1 requires HTC device because supposedly AGPS isn't standardized and one manufacturer's AGPS format may differ from another.
Hopefully, with the your help, we can get this working.
let's support CLShortFuse iniciative, it would be incredible if we would get AGPS working.
My AGPS (Spain-Orange) doesn't work at all. And i don't know anybody that has a working AGPS device/operator combination.
I've read around XDA that some people in the Raphael CDMA section have AGPS working, maybe we could post there to see if somebody replies and can collaborate with this project.
I was just about to post something similar. Only I wasn't as prepared with as much information. I was going to try to start a thread to consolidate the AGPS server settings for each additional carrier since I'm with T-Mobile and using an AT&T Fuze. My AGPS is not working at all. It keeps trying to connect to AT&T's Media Net and naturally, it fails.
Would it be possible to maybe create some kind of way to trick the devices into thinking that they are AT&T Fuze's and connect to the Media Net to connect to AT&T's AGPS Servers?
I Personally support this project 100%!!
Side note - Has anyone gotten AGPS working on USA T-Mobile at all? I attached a screenshot of the result of what happens when I try to use AGPS on my Fuze.
dharvey4651:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"Network"="MEdia Net"
"GPRSConnection"="MEdia Net"
You need to change those to whatever your network is called on t-mobile
I dont know much about any of this, I have an AT&T Fuze with AT&T service, I also have the AT&T Navigator Software and an account with it, so, is there anything I can do to help? how do I know if my AGPS works or not?
dharvey4651 said:
I was just about to post something similar. Only I wasn't as prepared with as much information. I was going to try to start a thread to consolidate the AGPS server settings for each additional carrier since I'm with T-Mobile and using an AT&T Fuze. My AGPS is not working at all. It keeps trying to connect to AT&T's Media Net and naturally, it fails.
Would it be possible to maybe create some kind of way to trick the devices into thinking that they are AT&T Fuze's and connect to the Media Net to connect to AT&T's AGPS Servers?
I Personally support this project 100%!!
Side note - Has anyone gotten AGPS working on USA T-Mobile at all? I attached a screenshot of the result of what happens when I try to use AGPS on my Fuze.
Click to expand...
Click to collapse
Actually, there are AGPS standards. Today, most GPS chipset vendors use their own AGPS platforms. However, that is rapidly changing. To my knowledge, most (including Snaptrack/GPSOne, aka Qualcomm) support 'secure user plane location architecture' or SUPL. This is a standard adopted by the OMA or 'Open Mobile Alliance' (www.openmobilealliance.org). The OMA is basically almost all of the heavy weights of wireless including Silicon manufacturers, Handset Vendors, Carriers, etc.
Currently, the OMA has ratified SUPL v1.0 and the standards body and members are working on the next version - 2.0.
What is SUPL? In a nutshell, SUPL is designed to support location determination regardless of the location server used by the mobile carrier. As the number of applications grow for LBS, so does the need by developers to work across location platforms and mobile device hardware manufacturers.
CLS, I am a bit confused as to your intentions. The Raphael supports artificial ephemerids (Qualcomm's GPSOneXTRA) which cut cold-start TTFF down to under 10 seconds. Using cellular triangulation won't buy you much.
Is there another reason I am missing here?
Da_G said:
dharvey4651:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"Network"="MEdia Net"
"GPRSConnection"="MEdia Net"
You need to change those to whatever your network is called on t-mobile
Click to expand...
Click to collapse
I'll try this now. I think my data is called "T-Mobile Data"
fatguybp said:
I dont know much about any of this, I have an AT&T Fuze with AT&T service, I also have the AT&T Navigator Software and an account with it, so, is there anything I can do to help? how do I know if my AGPS works or not?
Click to expand...
Click to collapse
If your AGPS is working, your GPS should lock in just under a minute every single time, sometimes even faster. With my old Sprint Touch(back when I was with Sprint), I was able to lock onto upwards of 7 satellites every single time in less than 10 seconds. Now it takes 2-5 minutes every time with my Fuze on T-Mobile.
Operation619 said:
Actually, there are AGPS standards. Today, most GPS chipset vendors use their own AGPS platforms. However, that is rapidly changing. To my knowledge, most (including Snaptrack/GPSOne, aka Qualcomm) support 'secure user plane location architecture' or SUPL. This is a standard adopted by the OMA or 'Open Mobile Alliance' (www.openmobilealliance.org). The OMA is basically almost all of the heavy weights of wireless including Silicon manufacturers, Handset Vendors, Carriers, etc.
Currently, the OMA has ratified SUPL v1.0 and the standards body and members are working on the next version - 2.0.
What is SUPL? In a nutshell, SUPL is designed to support location determination regardless of the location server used by the mobile carrier. As the number of applications grow for LBS, so does the need by developers to work across location platforms and mobile device hardware manufacturers.
CLS, I am a bit confused as to your intentions. The Raphael supports artificial ephemerids (Qualcomm's GPSOneXTRA) which cut cold-start TTFF down to under 10 seconds. Using cellular triangulation won't buy you much.
Is there another reason I am missing here?
Click to expand...
Click to collapse
I've never had my Fuze lock it's GPS 10 seconds or less. NEVER. It's usually 2-5 minutes on average. Sometimes it doesn't even lock at all after standing outside in the cold for upwards of 5 minutes smoking a cigarette.
Dharvey:
I get 3D position fixes in open-sky conditions in ~6 seconds.
Under my balcony in my apartment in a highly attenuated partial-sky view I will get 3D fixes in ~20 seconds.
Indoor in my home office with a south facing window and light foliage I'll see 2D in about 1 minute and 3D almost always under 2 minutes.
At my corporate office with a re-radiating GPS antenna I'll see consistent GPS lock in ~6 seconds.
Hell, I'd love to put this in the multi-channel GPS simulator at my desk but I don't think that's a good idea.
Operation619 said:
Dharvey:
I get 3D position fixes in open-sky conditions in ~6 seconds.
Under my balcony in my apartment in a highly attenuated partial-sky view I will get 3D fixes in ~20 seconds.
Indoor in my home office with a south facing window and light foliage I'll see 2D in about 1 minute and 3D almost always under 2 minutes.
At my corporate office with a re-radiating GPS antenna I'll see consistent GPS lock in ~6 seconds.
Hell, I'd love to put this in the multi-channel GPS simulator at my desk but I don't think that's a good idea.
Click to expand...
Click to collapse
Yes you definitely have working AGPS
I made the registry changes mentioned above and I'm about to test my AGPS now. If it works I'll make a cab file to make the registry changes for everyone who may want it. (T-Mobile Only of course)
EDIT:: Making the following registry changes seems to have helped a little. My GPS locked in about 1 minute in my bedroom from a cold start(after soft-reset) It also connected to the data instead of error-ing out which was also different.
FROM:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"Network"="MEdia Net"
"GPRSConnection"="MEdia Net"
TO:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"Network"="T-Mobile Data"
"GPRSConnection"="T-Mobile Data"
EDIT AGAIN:: I just soft-reset and from a dead cold start(GPS OFF COMPLETELY) it locked onto 8 satellites in less than a minute in my bedroom agian.
I'm starting to like this phone again.
EDIT AGAIN...Spoke too soon... It's doing it again. It was fast for 2 locks and 2 soft-resets but now it's slow again.
This is what the SUPL AGPS key looks like in my registry:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS]
"EnableAGPS"=dword:00000001
"Network"="T-Mobile Data"
"GPRSConnection"="T-Mobile Data"
"PrivacyMethod"=dword:00000003
"TLSHostName"="h-slp.mnc410.mcc310.pub.3gppnetwork.org"
"ServerIP"="199.88.233.169"
"ServerURL"="h-slp.mnc410.mcc310.pub.3gppnetwork.org"
"DynamicURL"="h-slp.mnc000.mcc111.pub.3gppnetwork.org"
"EnabledPrivacyMethod"=dword:00000001
"CloseConfirmMsgTime"=dword:0000003C
"EnableLocInfo"=dword:00000001
"ServerPort"=dword:00001C6B
"QosPerformance"=dword:00000059
"QoSAccuracy"=dword:00000032
"TimeBetweenFixes"=dword:00000001
"NumberFixes"=dword:3B9AC9FF
"GPSMode"=dword:00000002
[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS\DefaultSetting]
"EnableAGPS"=dword:00000001
"CloseConfirmMsgTime"=dword:0000003C
"PrivacyMethod"=dword:00000000
"EnableLocInfo"=dword:00000001
Nope. I'm not using any type of TOA or AOA, or what you and the OP are describing as "AGPS" on this handset. Network provided AGPS is disabled. Furthermore, GPS performance is somewhat better when my GSM radio is off.
Note that I am using the artificial ephemeris information provided by the Q or "QuickGPS" as most users know it.
These shots were taken in my home office scenario I described above. PDoP is pretty high (but still good) as I am in a poor visibility scenario (lots of multipath, limited sky view, etc.)
Well... I finally got AGPS working for me(at least it feels like it). My GPS is now locking onto 6-10 satellites in less than a minute every single time. Even after a soft-reset without using any kind of primer like GPSToday or HTC GPS Tool.
I'm a happy camper.
All it took was a little tweaking to the registry and now it works.
I attached a cab file to fix the AGPS.
WARNING!!! This is ONLY FOR USA T-Mobile!!
Harvey,
Are you downloading the QuickGPS file? If so, what's the age of the download?
Operation619 said:
Harvey,
Are you downloading the QuickGPS file? If so, what's the age of the download?
Click to expand...
Click to collapse
Where does QuickGPS download to? I downloaded it today but I never bothered looking for the file it downloaded.
I would suspect you are still not using network-assisted positioning. The QuickGPS file is aiding the receiver.
If you were using network assistance you would be getting rough position (<1000m) in seconds. Even indoors or your basement where there is zero GPS signal available.
Here's a quick way to test if AGPS is really working.
Set GPSMode to 1. GPSMode is normally set to 2 - it will auto-fallback if AGPS fails.
GPSMode 1 will continually try to get an AGPS fix, and not send you any NMEA data at all if it doesn't. You'll probably need to up the value in TimeBetweenFixes from 1 to at least 3 or 4, allowing only 1 second between fixes doesn't give your phone enough time to send location data to the AGPS PDE server and get a response.
Anywho, in GPSMode 1 i get no NMEA strings at all, so my agps is definitely broke
Operation619 said:
I would suspect you are still not using network-assisted positioning. The QuickGPS file is aiding the receiver.
If you were using network assistance you would be getting rough position (<1000m) in seconds. Even indoors or your basement where there is zero GPS signal available.
Click to expand...
Click to collapse
You may be right but I feel that It's still using some form of network assisted GPS because it's never been this fast before. I hard-reset and did not use QuickGPS at all and my results are the same.
Try turning off your radio to see if you still have the same TTFF.
Remember QuickGPS will download it's data in the background on a cradled connection with no cue from you, too, so make sure it didnt download \Windows\xtra.bin and inject it without you knowing
Also the QuickGPS data survives a hard reset if "ClearGPS" flag isnt set for the hard reset program or you don't have the CleanGPSData package in your ROM.
Operation619 said:
Try turning off your radio to see if you still have the same TTFF.
Click to expand...
Click to collapse
I'll try this now.
EDIT:: Seems you're right. It just locked onto 10 satellites in flight mode right in my bedroom in less than 30 seconds. WOW. Never saw it do that before.
Good catch Da G.
Harvey - are you willing to do a little test?
To test if network assistance is available and helping you might want to try the following.
This test will need to be performed at the same location in an ideal, open-sky condition with the handset in the same orientation in your hand each time:
1. Make sure your handset is free of the QuickGPS file.
2. Shut off all radios, go outside in a clear, open-sky environment.
3. Acquire 3D position fixes 10 times. Record the times it takes to acquire in seconds (aka TTFF).
4. Average the TTFFs
5. Power Cycle the handset.
6. Ensure no programs or registry settings inhibit AGPS or network assistance.
7. Make sure there is no QuickGPS file present.
8. Turn on your GSM radio.
9. Re-acquire GPS 3D position fixes in the same open-sky area 10x and record each TTFF
10. Average the TTFFs
What's the result?

GPS Settings: Performance Options (improvement)

Ok, There are a lot of posts and information regarding the GPS issue that some are experiencing. I am starting (yet) another post in the interest of compiling and maintaining information regarding that information in one location. As users/devs find out information I will update this post so everyone doesn't have to go looking everywhere for the information. I am hoping that the Moderator will sticky this post.
Some users are experiencing very long lock times for their GPS. Everyone, after reading A LOT of posts/threads it seems to be the consensus that this is a software/settings issue - NOT, a hardware issue. However, results from tweaking the following settings are very mixed. Most seem to get great results by tweaking the following settings while stationary - but, moving is a whole different ball game. I use the below settings and have great results while stationary. However, my G1 blows the Captivate completely out of the water!!! My G1 gave 3-10m accuracy while driving. This device can barely keep me on the correct highway and always seem lagging behind my current location. The G1 was spot on no matter what. What hasn't been determined is if these issues are hardware or software. For whatever my opinion is worth - I think it is a firmware/software issue. Here are some things to try.
Here is the info:
To get to your GPS settings open you dialer and dial the following number. This will not call anyone - it is a code shortcut to the settings:
*#*#1472365#*#*
Once entered you will observe a screen that has five buttons:
Get Position Test
Application Settings
SUPL/CP Settings
Test Application
Delete GPS Data
We will be interested in three of these initial buttons.
Get Position Test: This will be what one uses to test the results of your changes.
Application Settings: Exactly what it says.
SUPL/CP Settings: settings that determine specific data connectivity with the satellites.
In Application Settings the following are some that you might consider adjusting:
Operation Mode - Standalone, MS Based, MS assisted, Network Provider
Accuracy - defaults to 50. Don't set it below 10 (and only use increments of 10's)
SkyHook - not sure what it does. But, someone on a thread mentioned it and it DOES effect satellite lock times.
In SUPL/CP Settings one we'll be interested in the following:
Server FQDN Type
Server
Server Port
The following are the options provided on other threads:
Original/Stock Settings:
SUPL/CP Settings/SErver FQDN Type/Custom Config
Application settings/Operation Mode/Standalone
SUPL/CP Settings/Server/www.spirent-lcs.com
SUPL/CP Settings/Port/7275
Second suggested setup (from other posts and claimed to have great results):
SUPL/CP Settings/SErver FQDN Type/Custom Config
Application settings/Operation Mode/MS Based
SUPL/CP Settings/Server/supl.google.com
SUPL/CP Settings/Port/7276
Other settings that I have played with:
Application settings/SkyHook/On (and Off)
SUPL/CP Settings/SErver FQDN Type/Auto Config (and Custom Config)
You can play around with these to see what gives you the best results. If your GPS doesn't work better with whatever changes you made - than you can always put it back to the orginal settings above.
However, it has been recommended and I concur (for whatever that is worth) that you NEED TO SET THE FOLLOWING BEFORE YOU START PLAYING AROUND: Settings/Location and security/uncheck (turn off) "Use Wireless Networks). Most likely this won't really effect anything while your testing within the GPS settings - however, this will effect your results if you test using Google Maps, etc.
Now, having duly noted all of the above and having played around with the settings for several hours I found the best results FOR MY DEVICE IN MY AREA AT ONE LOCATION was the following:
Note: I adjusted these settings from earlier as the earlier settings proved to be very accurate when stationary - but, very inaccurate while moving. The latest settings I'm using are below. Also, look to the bottom of this post regarding changing your gps configuration file. That also helped A LOT. The bottom section of information is from the Official websites that run the time servers(effects GPS performance).
Application Settings/Operation Mode/MS Based
Application Settings/Operation Mode/SkyHook/ON (VERY IMPORTANT)
SUPL/CP Settings/Server FQDN Type/Custom Config
SUPL/CP Settings/Server/supl.google.com
SUPL/CP Settings/Server Port/7276
SUPL/CP Settings/SUPL Secure Socket/Off
Turning "SkyHook" ON assisted in faster locks with ALL of my tested settings when stationary!
My test results with the above would lock on up to three satellites in under four seconds and between 7 and 10 by eight seconds. Google Maps would locate me in about 6-8 seconds.
Using "Get Position Test" the settings in the three lines above consistently gave the not only the fastest locks and the most locks - but, also STRONGER SIGNALS!
I used at least seven different combinations of the above settings and some of them were just as quick - but, not as strong. Most of them were slower.
If anyone has better information to add then please PM me and I will add it to this top post.
LASTLY, I will make some guesses as to what some of the other settings do as I have heard different information:
Application Settings:
Session Type: Tracking or Singleshot - obvious (use Tracking)
Start Mode: Hot or Cold Start - someone posted on a thread that Hot uses data from your last read to get started. Cold start will start all over. So, Cold start SHOULD increase the time for you to get a lock unless you went left the area to an area that had different satellite to look up.
Test Application:
Performance Test: worked for me - but, I found the test above to work faster and give me quicker results for what I wanted.
Hardware Test/Sensitivity Test: Pretty cool - went on forever and I stopped it.
CNO Test: Seemed to test the average satellite signal strength.
Antenna Test: Never worked for me and I received errors.
H/W Test Settings: Settings for the above tests - I didn't mess with them.
NOTE: WANT TO SEE HOW ACCURATE YOUR ACCELEROMETER/COMPASS/ORIENTATION settings are? Check this out:
Test Application/Show Sensor Data - there is no way to calibrate it here... But, you can see just how sensitive your instruments are!!
Delete GPS Data - I didn't select this button and I don't recommend anyone else doing so either unless someone from Samsung tells us what it does. LOL!
FINALLY: Keep in mind that if you are seeing GPS lock times that are in the 3-8 second range (which was what I was getting) this WILL NOT be how long it takes for Google Maps to get the GPS data! Expect 8-15 seconds or a little longer (but, under 30 seconds) for Google Maps to pick up your location. Although the GPS sensors might pick up the satellites - you still have to give the software time to evaluate the data and apply it to the software.
Hope this helps someone out there.
Update/Additional Information (http://androidforums.com/1194187-post197.html):
Hot Start - The GPS receiver remembers its last calculated position and which satellites were in view, the almanac used, and the UTC Time. It then performs a reset and attempts to acquire satellites and calculate a new position based upon the previous information. This is the quickest re-acquisition of a GPS lock.
Cold Start - The GPS receiver dumps all information and resets. It then attempts to locate satellites and then calculate a GPS lock. This takes the longest because there is no known information. The GPS receiver has to attempt to lock a satellite signal from all of the satellites, basically like polling, which takes a lot longer than knowing which satellites to look for. This re-acquisition of a GPS lock takes the longest.
Thanks to Shadow77895 for the link to this info. I altered the settings above. Doesn't effect my results much at all.
MSBased Operation Mode(http://www.vzwdevelopers.com/aims/public/menu/lbs/LBSFAQ.jsp#GenQues11):
What is MS-Based mode of operation?
In MS-Based mode, the network provides the satellite information to the device, based on a rough estimate of where the device is located, and the device acquires the GPS signals from the satellites and calculates its location. After the initial fix, the device operates like an autonomous GPS receiver, until the satellite information must be refreshed, at which time the device goes back to the network to update the satellite information. MS-Based mode is appropriate for applications that require the device location to be updated rapidly, such as a navigation application.
And email thread regarding using the Google settings for GPS(http://osdir.com/ml/android-platform/2009-08/msg00386.html)
NEW INFORMATION!!!
ALSO! Check out this page: http://www.pool.ntp.org/en/use.html:
As pool.ntp.org will assign you timeservers from all over the world, time quality will not be ideal. You get a bit better result if you use the continental zones (For example europe, north-america, oceania or asia.pool.ntp.org), and even better time if you use the country zone (like ch.pool.ntp.org in Switzerland) - for all these zones, you can again use the 0, 1 or 2 prefixes, like 0.ch.pool.ntp.org. Note, however, that the country zone might not exist for your country, or might contain only one or two timeservers. If you know timeservers that are really close to you (measured by network distance, with traceroute or ping), time probably will be even better.
Find your optimal pool server here: http://www.pool.ntp.org/zone/north-america
For US the optimal server is: us.pool.ntp.org
Reference other threads I (http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=731462) I recommend you do the following:
Use Root Explorer or some other method (I use Root Explorer as it has a built in Text Editor and automatically backs up the altered file.) to go to here:
system/etc/gps.conf
Use the text editor to alter the gps.conf file to this (if you are in the US):
NTP_SERVER=us.pool.ntp.org
XTRA_SERVER_1=north-america.pool.ntp.org
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
If you are NOT in the US go to here: http://www.pool.ntp.org/en/use.html and look at the links in the center of the page to navigate to the closest pool to your geographical location and use that pool for the top server entry.
REQUEST FOR ADDITIONAL INFORMATION:
Many are suggesting that we do NOT leave the Secure Socket ON. How will this effect data security with our devices? I don't understand how it could hurt us... But, there must be a reason for it. If someone could let me know I would appreciate it.
Good, guide, think you meant hot start should be faster though.
I'll be linking to this.
Sent from my Samsung Captivate using XDA app
Great, but doesn't address the problem
I need to point out that while this information is helpful it doesn't really address the problem that the GPS is facing.
What the above settings are doing is enabling multiple different A-GPS technologies to help compensate for the Galaxy S's poor GPS performance. A properly functioning GPS unit would not need these crutches except to acquire a faster fix.
I had my GPS outdoors today, with the first set of recommended settings, and was unable to achieve a fix while seven satellites were in view (according to it) with sufficient signal strength. This is a GPS firmware issue!
The above post is very helpful for people to get some better performance - however - the core GPS issues need to be addressed by Samsung.
I hope people will refrain from saying "It's perfect now!" and let up on Samsung. Unless you know what what the following are you're tweaking settings blindly and declaring victory: ephemeris, PDOP, SBAS, WGS-84, 2D fix, 3D fix (And the conditions one is chosen over the other.) and finally SA
I'm betting this phone would never achieve a fix in an SA environment! It's also clear that the person(s) who originated this information knew exactly what they were doing..!
If anyone is interested in learning how GPS works there are tons of great resources on the web that Google will point you to. Of course they're written for all sorts of different levels.
In short, the above settings may help, but please don't become convinced that things are "fixed"!
I'd suggest you read my posts on the subject:
http://forum.xda-developers.com/showthread.php?p=7244888#post7244888
http://forum.xda-developers.com/showthread.php?p=7289539#post7289539
@haydonxda - I agree that this does NOT address the potential problem that the firmware and/or hardware is inadequate! And, we should put pressure on Samsung to fix this issue. However, the phones have already been produced and I'm just trying to do the best with I have.
@Shadow77895 - thanks for the info. Added a bunch of further information after looking into your posts and references from them.
Try this fix (from 4pda.ru), working on Galaxy S, root access required:
$su
#cat /data/gps/secgps.conf > /sdcard/secgps.conf
#rm /data/gps/secgps.conf
#reboot
After reboot, new (correct) secgps.conf appears.
At your own risk!
shaneaus said:
NEW INFORMATION!!!
ALSO! Check out this page: http://www.pool.ntp.org/en/use.html:
As pool.ntp.org will assign you timeservers from all over the world, time quality will not be ideal. You get a bit better result if you use the continental zones (For example europe, north-america, oceania or asia.pool.ntp.org), and even better time if you use the country zone (like ch.pool.ntp.org in Switzerland) - for all these zones, you can again use the 0, 1 or 2 prefixes, like 0.ch.pool.ntp.org. Note, however, that the country zone might not exist for your country, or might contain only one or two timeservers. If you know timeservers that are really close to you (measured by network distance, with traceroute or ping), time probably will be even better.
Find your optimal pool server here: http://www.pool.ntp.org/zone/north-america
For US the optimal server is: us.pool.ntp.org
Reference other threads I (http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=731462) I recommend you do the following:
Use Root Explorer or some other method (I use Root Explorer as it has a built in Text Editor and automatically backs up the altered file.) to go to here:
system/etc/gps.conf
Use the text editor to alter the gps.conf file to this (if you are in the US):
NTP_SERVER=us.pool.ntp.org
XTRA_SERVER_1=north-america.pool.ntp.org
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
If you are NOT in the US go to here: http://www.pool.ntp.org/en/use.html and look at the links in the center of the page to navigate to the closest pool to your geographical location and use that pool for the top server entry.
Click to expand...
Click to collapse
How do you use the text editor in Root Explorer. I can see the text but it won't allow me to edit it.
Hello, the code:
*#*#1472365#*#*
starts a GPS Test Application.
The settings inside this application are only for this application.
You can test your GPS in different modes.
But the settings are not relevant for other applications.
It is a simple illusion that it helps to manipulate this settings.
GPS is very time-dependent.
And:
I don't know where we can change the default GPS Mode/s...
So when I walk outside my office there are like 7 satellites, and I still cannot get a lock. This is sad.
Out of the box it worked great, navigated from BB to my house with relative ease. Inside my house when I showed my parents it worked great. I rooted and deleted some ATT apps. I have yet to get a lock.
I have also changed the NTP servers and no dice. This is pretty saddening performance.
I still don't get why my Nexus One, sitting right next to my Samsung Captivate, is able to get a aGPS location (via My Location in maps) that is pretty damn accurate despite not having a GPS lock and my Captivate is unable to even get an aGPS location and just says my location data is temporarily unavailable.
Nexus One: Can get approximate location very easily
Samsung Captivate: Cannot even get approximate location using WIFI/Cell Towers.
Foursquare never knows where I am until I go outside in the middle of a parking lot. This is BS.
Won't anyone try GPS NMEA MONITOR App and see if the data sentences are correct? If the GPS chipset is putting out the correct Lat/Lon, then you can fiddle and fiddle what Captivate does with the information
Has anyone tried to contact Samsung about the issue yet? I tried yesterday and was on hold for an hour and half and then my call dropped. I'm joint to try again today.
SkyHook isn't a "feature" persay, it's a corporation: http://www.skyhookwireless.com/
Same one Apple uses. Not sure exactly how it works but they do wardrive and use WiFi and triangulation to pick up your position as well, so leaving that OFF will perhaps be better for calibrating your GPS settings, but you certainly want it back ON when in normal use.
TexUs said:
SkyHook isn't a "feature" persay, it's a corporation: http://www.skyhookwireless.com/
Same one Apple uses. Not sure exactly how it works but they do wardrive and use WiFi and triangulation to pick up your position as well, so leaving that OFF will perhaps be better for calibrating your GPS settings, but you certainly want it back ON when in normal use.
Click to expand...
Click to collapse
What kind of aGPS does the Nexus One use? I tried to dial the code and it didn't bring up the same menu on the Nexus (it may be different). My Nexus is great at figuring out where I am without a GPS signal.
I changed all my settings last night and it seemed to fix the issue. I was getting a lock within 10 seconds or less. Now I cannot get a lock with the exact same settings and reboot. Has anyone contacted Samsung over this? Anyone get an answer from them? I love this phone but the GPS issue sucks.
Every time I try one of these new fixes it seems to work but then when I go somewher else it is broken again they need to fix this asap. I use that feature a lot
superscientific said:
I changed all my settings last night and it seemed to fix the issue. I was getting a lock within 10 seconds or less. Now I cannot get a lock with the exact same settings and reboot. Has anyone contacted Samsung over this? Anyone get an answer from them? I love this phone but the GPS issue sucks.
Click to expand...
Click to collapse
I just got off the phone with Samsung galaxy s support. They knew nothing!!!!!! Said I was the first one to call with the issue.
I'm thinking about returning the phone... GPS is the most important part of a smartphone to me... I'm very disappointed
Jreitnauer7 said:
I just got off the phone with Samsung galaxy s support. They knew nothing!!!!!! Said I was the first one to call with the issue.
I'm thinking about returning the phone... GPS is the most important part of a smartphone to me... I'm very disappointed
Click to expand...
Click to collapse
I don't know about most important but I agree, it's very important. This HAS to be fixed
Jreitnauer7 said:
I just got off the phone with Samsung galaxy s support. They knew nothing!!!!!! Said I was the first one to call with the issue.
I'm thinking about returning the phone... GPS is the most important part of a smartphone to me... I'm very disappointed
Click to expand...
Click to collapse
Don't give up hope, i'm sure that guy doesnt know anything. Engadget and a few sites are aware of the issue and i'm sure Samsung took notice. i'm sure a firmware fix is in the works.
Location
I have tried all the settings. And I don't really notice any difference. I live in the heart of Manhattan, NY., so I am sure roaming around int he concrete jungle trying to get a lock surely has a lot to do with my GPS issue. I do however, get a lock in every setting that has been written up in this forum, and other forums. The difference to me is hardly any, since it always takes many minutes for me to get a lock. I never have used any other GPS device since living here in the city, so I would like to ask other who live in a large city if it is taking them several minutes as well? Because it seems as though people are saying it is taking them only seconds to lock on. Hmmm.....

Optimal GPS setting AFTER update

I would like to start a thread to discuss what is the optimal GPS setting for the Captivate after installing the update. From what I can see, the update didn't change my LbsTestMode setting at all. My GPS is now working pretty well, still can't compare to the HTC Aria I had before but acceptable. I wonder if we can further tweak the GPS setting to make it work better.
the only change i seen was if you check auto config it takes you back to server port 7275 and changes the server to a new one.
yesterday there was a thread started about those who got the update successful, and the guy did a test of his gps with screen shot. A) how do you track your route, B) how do you take a screen shot?
it looked like he was using the maps app but i looked all over it for a way to track my route!? thanks..
chasesavestheday said:
yesterday there was a thread started about those who got the update successful, and the guy did a test of his gps with screen shot. A) how do you track your route, B) how do you take a screen shot?
it looked like he was using the maps app but i looked all over it for a way to track my route!? thanks..
Click to expand...
Click to collapse
Thats my tracks from the market
smokestack76 said:
Thats my tracks from the market
Click to expand...
Click to collapse
can you screenshot with it?
saint168 said:
I would like to start a thread to discuss what is the optimal GPS setting for the Captivate after installing the update. From what I can see, the update didn't change my LbsTestMode setting at all. My GPS is now working pretty well, still can't compare to the HTC Aria I had before but acceptable. I wonder if we can further tweak the GPS setting to make it work better.
Click to expand...
Click to collapse
It seems that most people who had messed with the GPS settings before the update are not getting optimal GPS performance after the update (This is true even if they change the GPS settings to stock original that shipped with the update).
So moral of the story is to change GPS settings to stock before you update....?
JvKintheUSA said:
So moral of the story is to change GPS settings to stock before you update....?
Click to expand...
Click to collapse
I would guess so... unless there are few phones that Samsung shipped with a hardware defect.
Am taking my phone to AT&T today.
Can somebody with successful upgrade and with working GPS to publish their GPS current settings?
joedoe said:
Can somebody with successful upgrade and with working GPS to publish their GPS current settings?
Click to expand...
Click to collapse
So far, only one user: http://forum.xda-developers.com/showpost.php?p=8291779&postcount=419
My GPS doesn't work at all for some reason. I don't know if I have a totally defective phone or the update didn't have anything at all in it that fixed the GPS. I'm ready to just give up on this phone having a working GPS.
galaxyjeff said:
My GPS doesn't work at all for some reason.
Click to expand...
Click to collapse
Did you change your GPS settings prior to the update? If yes, welcome to the "group"
My GPS is definitely working better after the update. It used to take 30 second - 5 minutes to get a fix. So far I have been able to get a GPS fix within 15 seconds.
My settings are:
Tracking
S/W Test
MS Based
Cold Start
GPS Plus On
Dynamic Accuracy On
Accuracy 50
SkyHook On
PC Tool Off
supl.google.com
Port 7276
Secure Socket Off
AGPS Supl
As far as tracking my position with driving, it's not perfect but acceptable. At time the GPS would put me on the local street next to the freeway but not too often. It takes about 30 sec to 1 minute to locate me while indoor so I have no problem doing my FourSquares checkins.
jaimingandhi said:
It seems that most people who had messed with the GPS settings before the update are not getting optimal GPS performance after the update (This is true even if they change the GPS settings to stock original that shipped with the update).
Click to expand...
Click to collapse
Actually, I never touched my GPS settings prior to the update, and I get crappy tracks. I had a Captivate which I changed the settings on, but then I ended up exchanging it for a new one a couple days before the update, and left it exactly as I found it, and GPS is spotty as hell.
First of all, I'd like to thank you for posting this thread, it's exactly what I have been looking for. The other threads keep getting hi-jacked by people who couldn't get the update. Hey you knew when you rooted you wouldn't be able to get OTA updates, get over it and wait till someone figures it out.
Back on topic, my GPS is definitely better. I did change my settings before the update in LbsTestMode to the recommended settings. My gps locked quicker, but it was constantly losing the lock. So i used the shortcut method to go into LbsTestMode and changed back to stock settings. It was like the phone was set to lock at exactly 30 seconds, 30 tests with an average of a little under 30 seconds.
The accuracy was a little worse, 50m compared to 15m. But it was also losing the lock quickly, so I changed the spirent setting to supl.google.com. Now i lock between 10 and 15 seconds and it stays locked. My settings:
s/w test
standalone
hot start
gps plus- on
dynamic acc. - on
accuracy- 50
skyhook- on
use pc tool- off
custom config
7276
secure socket- off
agps- supl
So maybe the answer in the end, sad to say, is to buy an aftermarket gps device with bluetooth integration and bypass the built-in gps altogether.
I've been messing with the gps all day and cannot get a lock at all. Not even for a second. Messed with my gps settings before the update.
Sent from my SAMSUNG-SGH-I897 using XDA App
Two months in and I've seen hundreds of threads about the GPS on the captivate, The GPS its broken, no good, damage. Lets get over it and move on. We [email protected]$k BTW new update its a lil better but still sucks. My nexus one located me with no problem spot on. Change your phone why u can. I wish I was under the 30 day return policy.
Sent from my SAMSUNG-SGH-I897 using XDA App
The only settings I changed were the server before the update. I checked the settings after the update and I had Server as spl.google.com and Standalone in Operation Mode. I switched to autoconfig and those changed to some new server and I changed Operation Mode to MS Based as in jaimingandhi's link. Before I made those changes it took about 3-4 mins to lock on, now it takes about a minute, so not 15 seconds like others have said, but better. Will do more testing later. I count for two as I've got to Captivates at home. But it looks like different settings work for different people.
Edit: Tried again today, lock takes still 3-4 minutes and loses it constantly and there is no accuracy of location whatsoever.
I updated successfully and still had issues with GPS locks until I powered down my phone, removed the battery, sim card, and external sd card, replaced them, and then rebooted the phone. After that I was getting a GPS lock in 15 seconds or less and not constantly dropping signal as long as I had line of sight to the sky (a.k.a. through the windshield).

GPS Fix - new possible settings

This might be my first post ever, however, long time lurker on the boards.
I think I have a potential fix for the GPS issue with the Captivate. I don’t think this is the same as the “quick fix” found elsewhere on these and other the boards. I am not sure what (if any) 'side effects' there are to this.
My phone previously had the AT&T/Samsung fix from late September applied, although it didn’t seem to help.
Get to the Lbs test menu; previous available through *#*#1472365#*#*. However, if you previously installed the recent AT&T/Samsung (supposed fix) for the Captivate, you can’t get to the menu through the dialer. Use Anycut from market to get to the Lbs test screen.
My GPS now gets a great lock about 30 seconds.
BTW, I am not root….
YMMV. You should record your original settings prior to making these changes, just in case you need to revert.
Standard Disclaimer; I am not at fault for any issues this causes your device…..
Now, down to the settings that I use:
In Lbs test menu:
I “deleted GPS data”
Application Settings
– Session Type: Tracking
– Test Mode : S/W Test
– Operation Mode: MS Based
– Start Mode: Cold Start
– GPS Plus: Off
– Dynamic Accuracy: On
– Accuracy: 50
– Use Skyhook: Off
– Use PC Tool: Off
SUPL/CP Settings
- Server FQDN Type: Auto Config
- Server [leave what is autopulated]
- Server Port [leave was is autopopulated]
- Supl Secure Socket: On
- AGPS Mode: SUPL
Reboot.
Use GPS Test from Market, or the The “Get Position Test” menu from Lbs screen to validate.
WIFI Problem:
One thing I have noticed is that depending on the settings above, wifi (if on) sometimes inhibits the ability to see more than 1 satellite. I think the problems with GPS are overall related to Wifi in some way.
If you do not have luck with above settings, turn wifi off and see what happens.
I only had to change a couple of the settings but this is working nicely so far...Ill try again over the next day or so in various situations and report back.
Changed:
Op Mode to MS Based
Start Mode to Cold
Turned off GPS Plus
Secure Socket to off
Thanks!
I'll admit some of this seems counter-intuitive, but at this point anything is worth a shot.I'll let you know how it goes!
Sent from my SAMSUNG-SGH-I897 using XDA App
You don't need to download anything to access the Lbs test. Just type *#*#3214789650#*#* in the dialer and you will get access. Works with JH7 and Froyo.
Before anyone else reads this and declares their GPS fixed, they should read at least the first post of this thread completely. http://forum.xda-developers.com/showthread.php?t=789383 If you understand what is being said by that post, then you can offer GPS solutions. The only thing you have changed is AGPS settings. While those settings will get you a lock, they don't help out with accuracy. If you really want to test your GPS, you have to turn off the use wireless networks feature, take it outside and see how well it works then.
Everything that has been said in this thread has been said elsewhere and is not a solution.
Nope, it's definitely not fixed...but it did give me a better lock than before. Same old...
Sent from my SAMSUNG-SGH-I897 using XDA App
Well if its not a fix then it is most definitely better...I can get a lock in ~20 seconds where as before it might not even come close.
l7777 said:
Before anyone else reads this and declares their GPS fixed, they should read at least the first post of this thread completely. http://forum.xda-developers.com/showthread.php?t=789383 If you understand what is being said by that post, then you can offer GPS solutions. The only thing you have changed is AGPS settings. While those settings will get you a lock, they don't help out with accuracy. If you really want to test your GPS, you have to turn off the use wireless networks feature, take it outside and see how well it works then.
Everything that has been said in this thread has been said elsewhere and is not a solution.
Click to expand...
Click to collapse
Additionally, a lock is not enough to say it works. Take it for a drive along with another GPS device - use Google my tracks or some other tool to record your path. Even use GPS test and watch your MPH, direction and location.
You will find that it is not fixed. It works OK sometimes, but many times it is behind or inaccurate.
msinkovich said:
Well if its not a fix then it is most definitely better...I can get a lock in ~20 seconds where as before it might not even come close.
Click to expand...
Click to collapse
You will have to do that every week as your cached GPS data expires. And you can literally use any settings as long as you can use the lbstestmode to accquire a lock. That's all you need to do (accquire your first lock and it will cache the data for 5 to 7 days).
Any "fix" that involves "settings" isn't a "fix" at all since it demonstrates an utter lack of what the real problem is and how GPS fundamentally works.
The real "fix" won't come in the form of settings. Any purported settings "fix" is snake oil.
I've given up on GPS a while ago.
It's a fringe feature anyway.
I never have "use wireless networks on" and gps works good enough. It may not be perfect but everytime ive used it it has got me where i need to go no problems. It may jump off track or be slow to turn for a second but it still gets me to wherever just fine.
Sent from my SAMSUNG-SGH-I897 using XDA App
If I read this correctly your turning off skyhook ? I read this http://www.skyhookwireless.com/howitworks/, and to me you need it turned on for urban areas and in the city need wi-fi turned on because of the occlusions caused by buildings and such...?
Mac
roadrash7 said:
I never have "use wireless networks on" and gps works good enough.
Click to expand...
Click to collapse
That option has nothing to do with GPS. 'Use Wireless Networks' is actually quite useful for location aware apps like Google Maps, Places, Speed Test etc. where an accurate but slow GPS lock may not be needed (or even possible if you're underground or inside a concrete building). This option enables those apps to use cell tower or wi-fi signal trianglation to get a quick estimation of your current location so that apps can give you relavent information, i.e. nearby gas stations or resaurants. It has nothing to do with aGPS either.
MikeyMike01 said:
I've given up on GPS a while ago.
It's a fringe feature anyway.
Click to expand...
Click to collapse
You have to be kidding saying its a feature right? I can't believe how many say that its a feature and that it is ok that Samsung is screwing them ( along with placebo updates) . I myself love and would like a Galaxy S phone or even the new Focus 7, but its looking like it too has GPS issues from early reports with the Omnia 7.
I know most of you guys are already locked in with your carrier and don't have much choice with the GPS issue but its not a feature, its a valuable function just like placing calls, sending emails, texting, etc.. If you don't care about this, then you should of bought a Razor flip phone.
I have been keeping up with this because I really want to see Samsung resolve this and make right.
Sent from my PC36100 using XDA App
So the only reason you need a phone is for the GPS? Otherwise just stay with my 1996 model flip phone? Just...wow!
Sent from my SAMSUNG-SGH-I897 using XDA App
I think their point is that it is an advertised function of the phone and we would like to work properly.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
GimpyLeg said:
So the only reason you need a phone is for the GPS? Otherwise just stay with my 1996 model flip phone? Just...wow!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
My reasons for a working GPS are as follows:
Pinpoint your location, get turn-by-turn directions to restaurants, businesses and other destinations, location-based mobile games, social networking sites, real-time position tracking, lost or stolen phone tracking, etc., etc., etc..
What I am saying is just quit making excuses for Samsung and demand what you paid for! There are people on here who would really like for their GPS to be working and rightfully so.
Oh, I agree that it should work as advertised. Can't say Samsung is ' screwing' me because they can't get it right. Would have bought the phone if I knew about it beforehand anyway. There are many other features that led me to the Cappy. Samsung does need to fix the problem and I hope they do so soon. Buy I won't try discourage anyone from Samsung products in the meanwhile.
Sent from my SAMSUNG-SGH-I897 using XDA App
wsantiagow said:
My reasons for a working GPS are as follows:
Pinpoint your location, get turn-by-turn directions to restaurants, businesses and other destinations, location-based mobile games, social networking sites, real-time position tracking, lost or stolen phone tracking, etc., etc., etc..
What I am saying is just quit making excuses for Samsung and demand what you paid for! There are people on here who would really like for their GPS to be working and rightfully so.
Click to expand...
Click to collapse
The solution to the GPS problem is quite simple, but most people still don't see it.
If 100% accuracy and < 10 second fixes are more important to you than the rest of the Galaxy S features, then you do not want a Galaxy S phone. Either return the one you have or don't buy it. For most people, that good of a GPS is a bonus and not a requirement.
The GPS problems are not undocumented, anyone reading any reviews for the phone will realize that the GPS is not as good as other devices. Even if they don't realize it before they buy it, they have 30 days to return it. Samsung may or may not ever get the problem worked out since phones have such a short life cycle. *****ing about it in thread after thread, online petitions, and idle threats of legal action will have absolutely no impact on Samsung.

Extremly good GPS Settings

As most here I had GPS issues on my Captivate.
Note I have the first model that was shipped to the store on release date.
Currently running ATT OTA eclair (rooted)
No additional mods:
Changed LBS settings as following:
APP SETTINGS:
Session type: Tracking
Test mode: S/W Test
OP MODE: MS based
Start Mode: Cold Start
GPS +: OFF
Dynamic Accuracy: ON
Accuracy:250
USe Skyhook: OFF
Use PC Tool: OFF
SUPL SETTINGS:
Custom config
supl.google.com
7276
Secure Socket:OFF
SUPL mode: SUPL
Cleared GPS Data, Rebooted and
After that I got lock every time outside (under heavy Oregonian clouds) within 10 seconds accurate to 10m.
I do not think it will get more accurate as Captivate is not used to navigate thermonuclear warheads
Accuracy was steady without jumps in latitude and longitude values
Same behavior in Google maps and Navigation...
On reboot lock time was 30 seconds with same accuracy and inside the house lock ( depending on location in the house) takes 25-45s with 15m accuracy..And I certainly can find my way through the house with such accuracy
Thought to share and hope it will help...
Plz post your results...
How long have you been running this setting and have you done any tracks with it to see if it jumps around? These are some questions that typically will be asked. And this is also in the wrong forum as this does not deal with development. It should go in general.
Great.
Wow. Well done. I just gave this a shot out of sheer boredom at work, and it is seriously awesome. I put my phone by the window and had a GPS lock in literally less than 20 seconds at <10m accuracy. Needless to say, I'll be keeping these settings.
The GPS has been a huge issue for this phone, so thanks for the hard work! I appreciate your time and effort.
For the millionth time, this doesn't work.
h078 said:
As most here I had GPS issues on my Captivate.
Note I have the first model that was shipped to the store on release date.
Currently running ATT OTA eclair (rooted)
No additional mods:
Changed LBS settings as following:
APP SETTINGS:
Session type: Tracking
Test mode: S/W Test
OP MODE: MS based
Start Mode: Cold Start
GPS +: OFF
Dynamic Accuracy: ON
Accuracy:250
USe Skyhook: OFF
Use PC Tool: OFF
SUPL SETTINGS:
Custom config
supl.google.com
7276
Secure Socket:OFF
SUPL mode: SUPL
Cleared GPS Data, Rebooted and
After that I got lock every time outside (under heavy Oregonian clouds) within 10 seconds accurate to 10m.
I do not think it will get more accurate as Captivate is not used to navigate thermonuclear warheads
Accuracy was steady without jumps in latitude and longitude values
Same behavior in Google maps and Navigation...
On reboot lock time was 30 seconds with same accuracy and inside the house lock ( depending on location in the house) takes 25-45s with 15m accuracy..And I certainly can find my way through the house with such accuracy
Thought to share and hope it will help...
Plz post your results...
Click to expand...
Click to collapse
Thanks for posting. I've found, particularly that I am now on Froyo, that locks are not a problem; tracking is still unreliable even with phone mounted (vertically) on my dash. Did you drive with navigation?
Locks arent the problem anymore, at least not for me. the problem is the GPS actually keeping up with you while moving and when taking a turn.
Thats just a cell lock, gps still sucks, so when you move around it will not do so good.
Additional...
Sorry forgot to mention...
I did drove today using Google nav for about 8 miles around a town and did not see once nav arrow jump on me or showing blue circle around...
+100000000000000000000
yup gps lock is not the problem.
In my opinion, you can get faster lock cause you set the accuracy as 250.
Have you tried my setting? i posted this several times on jupiter mod thread. I'll give you my setting one more time.
Session type : Tracking
Test mode : S/W Test
Operation mode : MS Based
Start mode : Hot Start
GPS Plus : On
Dynamic accuracy : On
Accuracy : 50
GPS logging : Off
Server SQDN Type : Custom
Server : supl.google.com
Server port : 7276
SUPL secure socket : Off
AGPS mode : Control plane
I'm having "usable" gps ever with these since cog 2.1.7
Sent from my Catpivate operated by Cognition 2.2 Froyo beta 9
h078 said:
Sorry forgot to mention...
I did drove today using Google nav for about 8 miles around a town and did not see once nav arrow jump on me or showing blue circle around...
Click to expand...
Click to collapse
Not being sarcastic, I promise, but you are one of the lucky ones (and there are more than a few of yal out there). One guy mentioned that he guessed it was the fact that his minivan has a huge front windshield. My assumption is that he is able to mount his phone far enough up on the dash that it gets a really clear view of the sky. That notwithstanding, I think there are likely others with a similar or same vehicle that don't get the good tracking he notes.
Where do you drive mostly? Are you in a dense urban area or more of a small town? Just wondering....
drancid said:
+100000000000000000000
yup gps lock is not the problem.
In my opinion, you can get faster lock cause you set the accuracy as 250.
Have you tried my setting? i posted this several times on jupiter mod thread. I'll give you my setting one more time.
Session type : Tracking
Test mode : S/W Test
Operation mode : MS Based
Start mode : Hot Start
GPS Plus : On
Dynamic accuracy : On
Accuracy : 50
GPS logging : Off
Server SQDN Type : Custom
Server : supl.google.com
Server port : 7276
SUPL secure socket : Off
AGPS mode : Control plane
I'm having "usable" gps ever with these since cog 2.1.7
Sent from my Catpivate operated by Cognition 2.2 Froyo beta 9
Click to expand...
Click to collapse
I tried Control plan too...can't remember if I did while on Froyo. I'll try it again since I have nothing to loose. But what I recall, it is made no difference for me tracking wise. I also did some reading on Control plane and it did not seem to be a particularly more effective protocol than supl; they both have their pros and cons. Sorry, that's all I retained from the reading.
looks good till now; my phone never used to get any signs of location for like a min or so; but in open sky it locked posotion in like 15 sec; great; thanks OP
Stupid thing but...... i get 100x better results using 7262 port....
FutureSix said:
Stupid thing but...... i get 100x better results using 7262 port....
Click to expand...
Click to collapse
What other settings outside of the port? Or does it mirror the op
Captivate
Cog 2.2
umm lemme check...
supl.google.com
7262
OFF
SUPL
----
App settings:
tracking
s/w test
standalone
hot start
gps plus : ON
Dynamic : ON
50
OFF
Full lock under 10sec
and perfect tracking with MyTracks app (walking or in car)
It even managed to follow me in every alley of a grocery store...
FutureSix said:
umm lemme check...
supl.google.com
7262
OFF
SUPL
----
App settings:
tracking
s/w test
standalone
hot start
gps plus : ON
Dynamic : ON
50
OFF
Full lock under 10sec
and perfect tracking with MyTracks app (walking or in car)
It even managed to follow me in every alley of a grocery store...
Click to expand...
Click to collapse
Sounds nice. i'll give a shot!!
Sent from my Catpivate operated by Cognition 2.2 Froyo beta 9
I live in urban area of Hillsboro Oregon. Place where companies like Intel, Tektronix and Nike reside...no scyscrapers but densly populated industrial suburb of Portland. Driving Lincoln town car if size of windshield matters...
Teleported by Android on SGH-I897
can you please tell me how you guys are finding these settings in your phones??
n4d3r said:
can you please tell me how you guys are finding these settings in your phones??
Click to expand...
Click to collapse
I use LbsTestMode and I get to it using a Launcher Pro shorcut (press-hold>shortcuts>activities>LbsTestMode). It was accessible via dialing *#*#1472365#*#* in the stock firmware.
FutureSix said:
umm lemme check...
supl.google.com
7262
OFF
SUPL
----
App settings:
tracking
s/w test
standalone
hot start
gps plus : ON
Dynamic : ON
50
OFF
Full lock under 10sec
and perfect tracking with MyTracks app (walking or in car)
It even managed to follow me in every alley of a grocery store...
Click to expand...
Click to collapse
This works pretty darn well for me! Thanks... using original 2.2 leak OS from DG ->I897UCJI6-OCD-REV02-Low-designgearsvvv
and it gets a lock quickly... let's hope it continues over time...

Categories

Resources