Best JI6 GPS settings - Vibrant General

I hate to start another thread about GPS, but I was seeing many people over in the dev forum getting very accurate readings from the GPS after applying JI6.
I was wondering what the best settings are to optimize GPS accuracy after the JI6 update?
www.spirent-lcs.com and port 7275 or supl.google.com and port 7276?
Keep accuracy at 50? What about skyhook? keep it off?
thanks in advance

clivo360 said:
I hate to start another thread about GPS, but I was seeing many people over in the dev forum getting very accurate readings from the GPS after applying JI6.
I was wondering what the best settings are to optimize GPS accuracy after the JI6 update?
www.spirent-lcs.com and port 7275 or supl.google.com and port 7276?
Keep accuracy at 50? What about skyhook? keep it off?
thanks in advance
Click to expand...
Click to collapse
Most of them just leave the original settings, and so have I. Getting exact reading while using my tracks from google.

I just updated to JI6 and i don't know why but it still thinks I'm somewhere far off...not nearby...about the same as before...
How do you change ANY of these things you guys are talking about?
I'm new to android (from ios)

Jhnboy said:
I just updated to JI6 and i don't know why but it still thinks I'm somewhere far off...not nearby...about the same as before...
How do you change ANY of these things you guys are talking about?
I'm new to android (from ios)
Click to expand...
Click to collapse
These are settings you put in LBSTestMode menu, which you can access by dialing *#*#1472365#*#*
You should let your GPS catch before actually deciding if your GPS works or not, mine started crappy but ended up flawless, if you decide that your GPS is crap then you might go change the settings.

you guys are getting accurate locks with the "use wireless networks" option checked or unchecked?
i don't get any satellite locks at all when I only check "use GPS satellites"! I have to check "use wireless networks" for my gps to find me
I just got the JI6 update via Kies Mini

chocobo15 said:
you guys are getting accurate locks with the "use wireless networks" option checked or unchecked?
i don't get any satellite locks at all when I only check "use GPS satellites"! I have to check "use wireless networks" for my gps to find me
I just got the JI6 update via Kies Mini
Click to expand...
Click to collapse
I get accurate results with it checked, and for which it is 100% of the time when I use my phone too.
I did uncheck it just to test it out and stepping outside, it gave me an accurate location and fast too.
My phone of course has the JI6 update, if it needed to be said.

dmolition said:
These are settings you put in LBSTestMode menu, which you can access by dialing *#*#1472365#*#*
You should let your GPS catch before actually deciding if your GPS works or not, mine started crappy but ended up flawless, if you decide that your GPS is crap then you might go change the settings.
Click to expand...
Click to collapse
Actually, the dialer code you used no longer works after JI6. It is now
*#3214789650# to get into the LBSTestMode menu.

Maybe I have to step outside too. I'll test it out tomorrow on my way to work.
Sent from my SGH-T959 using XDA App

dmolition said:
These are settings you put in LBSTestMode menu, which you can access by dialing *#*#1472365#*#*
You should let your GPS catch before actually deciding if your GPS works or not, mine started crappy but ended up flawless, if you decide that your GPS is crap then you might go change the settings.
Click to expand...
Click to collapse
Minor correction. The correct lbltest mode code for the newer JIX builds (including JI6) is *#3214789650#
I've had mixed results with GPS since upgrading to the newer JI6 firmware. Some days it seems like I can aquire a GPS signal within thirty seconds or so of turning GPS on. Other days it takes upwards of five minutes. I have more or less chalked this problem up to signal quality in the areas I am turning the service on in. Since I work outside of the states the problem could also be due to wherever the phone is pulling SUPL data from as well. I'd be curious as to what other expatriot users have their phones set to utilize for SUPL data. At the moment I am running the phone in cold boot/MS Based, as this seems to speed up the time it takes me to nab a decent signal.

cathardicnotion said:
Minor correction. The correct lbltest mode code for the newer JIX builds (including JI6) is *#3214789650#
I've had mixed results with GPS since upgrading to the newer JI6 firmware. Some days it seems like I can aquire a GPS signal within thirty seconds or so of turning GPS on. Other days it takes upwards of five minutes. I have more or less chalked this problem up to signal quality in the areas I am turning the service on in. Since I work outside of the states the problem could also be due to wherever the phone is pulling SUPL data from as well. I'd be curious as to what other expatriot users have their phones set to utilize for SUPL data. At the moment I am running the phone in cold boot/MS Based, as this seems to speed up the time it takes me to nab a decent signal.
Click to expand...
Click to collapse
I have the same questions and more....
I thought a cold boot/start would start your GPS as if it had no memory of where you where last, I mean in what part of the world. My handhelds and a CF card GPS would cold start from the city they were manufactured in, then slowly find their way to N. America locating birds and then slowly zeroing in on my location.
Hot start would put me at least in my home state to start then locate the birds that are in a geosynchronous orbit (the sats/birds that are always (mostly) over head, they turn as the earth turns) Since the birds are always overhead of this general continent and I too tend to stay in this general continent. After first uses I keep it on "hot" start so the GPS chip doesn't ry to find me in Asia first.~
Now the above statement are base on some assumptions: Is this indeed what hot and cold start means on this device? (it does on others) Also when does it go to a colds start? During reboot of the device? Do the settings Cold and hot always force these types of starts? How long is hot start memory stored on the device?
I'm not even sure flashing new firmware or a new GPS version resets the settings to default. Some have reported instant locks some complain it takes a while for first locate (normal).
Two major questions now that we have the correct codes to adjust them: what are the defaults and did the Ji6 flashed upgrade reset them to default? Did it make a difference via ODIN, OTA or mini Kies?
I ask this because my GPS worked great with the leaked Fix flashed, now after the Ji6 update it works like stock out of the box (crappy).
So as the first question on the thread asked what are the best settings for the new update? And if stock is it what is stock? Did the update revert the settings back to stock?

Ji6 settings are standalone, hot start, GPS plus on, dynamic on, accuracy 50. Sky hook off, PC off
Supl is WWW.spirent-lcs.com
Server 7275 secure socket on, agps mode supl
Sent from my SGH-T959 using XDA App

Related

GPS Reception is terrible

Just curious if anyone else has issues with GPS reception on their sprint touch. I upgraded to the latest htc rom earlier in the week and everything is great except I cannot get GPS to hook up - I've had it work only once.
i upgraded too and i'm using GPS with GoPilot Live, iGO8 and Garmin Mobile XT and it works without issue.
what GPS program are you using with your touch?
Google maps is the only application i've tried. It will search (and search, and search) but doesn't find any or only 1 sat.
Make sure all your settings are correct and try using something like GPS Viewer to get the initilal lock.
Any hint on which settings, and what the the correct values for those settings would be?
Thanks for the tip on GPS Viewer - I will def check it out!
Thanks,
Tim
First, make sure you have the proper Radio/ROM, I assume you do.
Second, under System Settings>External GPS
Programs>COM4 Port
Hardware>(None) Baud Rate>4800
Access>Check Manage Automatically
Third, under Personal Settings>Phone
Services>Location Setting>Location On
Fourth, the Registry
I know of only one value that may help if you change, there are more, but haven't seen them, and I believe it's different on some carriers, like Sprint
HKCU>Software>HTC>SUPL AGPS>GPS Mode
For the inital sat lock, make sure you stand outside on a clear sky and wait at least 5 min, if it takes that long.
The first time I did this, I was trying from inside, finally tried it outside after 3 days of no luck, but now it works quite well. I usually get connected under 30 seconds. As long as your in the same area when you reconnect it should be quick, the first is usually the longest. And I personally use LiveSearch for the directions.
Change from 2 to either 4 or 1, this may help, never really guarenteed though
I was in Boston this weekend and noticed the GPS on my Touch would not lock in a signal in the financial district surrounded by tall buildings. But when I have a clearer view of the sky it works fine. Are you in an open area when you are using it?
hapa_dude said:
I was in Boston this weekend and noticed the GPS on my Touch would not lock in a signal in the financial district surrounded by tall buildings. But when I have a clearer view of the sky it works fine. Are you in an open area when you are using it?
Click to expand...
Click to collapse
It surely helps! Any obstructions will make it harder to pickup the signal.
TheChampJT said:
First, make sure you have the proper Radio/ROM, I assume you do.
Second, under System Settings>External GPS
Programs>COM4 Port
Hardware>(None) Baud Rate>4800
Access>Check Manage Automatically
Third, under Personal Settings>Phone
Services>Location Setting>Location On
Fourth, the Registry
I know of only one value that may help if you change, there are more, but haven't seen them, and I believe it's different on some carriers, like Sprint
HKCU>Software>HTC>SUPL AGPS>GPS Mode
For the inital sat lock, make sure you stand outside on a clear sky and wait at least 5 min, if it takes that long.
The first time I did this, I was trying from inside, finally tried it outside after 3 days of no luck, but now it works quite well. I usually get connected under 30 seconds. As long as your in the same area when you reconnect it should be quick, the first is usually the longest. And I personally use LiveSearch for the directions.
Change from 2 to either 4 or 1, this may help, never really guarenteed though
Click to expand...
Click to collapse
I was having problems with mine too until I did the 4th one and changed it to a 1 from 2 and it works much better. Try it and see you can always turn it back to 2
This helped me
http://www.sprintusers.com/forum/showthread.php?t=173024
My apologies if this has already been posted somewhere. I did a search and came up empty...
So like a lot of people, I've been having some major problems with the GPS's reliability on the Touch (yep, last week's flavor of the week). It connects only when it feels like it, and numerous resets seem to temporarily solve the problem. Well, changing the following registry value seemed to solve all of my problems:
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{7C4B7A3 8-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\Phone as Modem]
"Enabled"=dword:00000000"
Change the value to 0, and soft reset.
It appears that the GPS, by default, makes use of the "Phone as Modem" data connection to take advantage of aGPS, but if a "Sprint PCS" data connection is already active, the GPS doesn't swap connection methods and ultimately hangs. This problem is exacerbated if you have Push services or other data connections running.
I personally haven't noticed any problems with disabling PAM, but as usual, your mileage will vary. For me, I get GPS locks within 15 seconds when I'm in a reasonably accessible location, and I no longer have to reset-and-pray to get this thing working.
bill22 said:
http://www.sprintusers.com/forum/showthread.php?t=173024
Click to expand...
Click to collapse
My apologies if this has already been posted somewhere. I did a search and came up empty...
So like a lot of people, I've been having some major problems with the GPS's reliability on the Touch (yep, last week's flavor of the week). It connects only when it feels like it, and numerous resets seem to temporarily solve the problem. Well, changing the following registry value seemed to solve all of my problems:
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{7C4B7A3 8-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\Phone as Modem]
"Enabled"=dword:00000000"
Change the value to 0, and soft reset.
It appears that the GPS, by default, makes use of the "Phone as Modem" data connection to take advantage of aGPS, but if a "Sprint PCS" data connection is already active, the GPS doesn't swap connection methods and ultimately hangs. This problem is exacerbated if you have Push services or other data connections running.
I personally haven't noticed any problems with disabling PAM, but as usual, your mileage will vary. For me, I get GPS locks within 15 seconds when I'm in a reasonably accessible location, and I no longer have to reset-and-pray to get this thing working.
Link not working, repost.
hate to tell you this, but if you are using the builtin GPS, a clear view of the sky does nothing to improve your gps position locking. our phones have AGPS which means it is fake GPS. It uses the distance from cell towers to triangulate your position, not satellites. Thats why you can get a lock inside with no view of the sky.
some ROMs have different settings on them so following the above directions should work. Or you can do like me and find a better ROM

GPS Issues Because of Google's Resistance to Skyhook?

It looks like Google forced OEMs to ditch Skyhook, and, affording to this article, Samsung was involved. I wonder if Samsung scrambled to put together a quick fix before releasing the Galaxy S and this could explain the AGPS issues.
http://i.engadget.com/2010/09/17/skyhook-google-forced-motorola-to-drop-our-location-service-de/
Sent from my SGH-T959 using XDA App
Isnt skyhook disabled by default? So how would this affect the GPS?
KerryG said:
Isnt skyhook disabled by default? So how would this affect the GPS?
Click to expand...
Click to collapse
http://www.engadget.com/2010/09/17/skyhook-google-forced-motorola-to-drop-our-location-service-de/
Following that, Skyhook claims that Google then went after an unidentified "Company X" (likely Samsung) and forced it to drop XPS as well -- which would certainly explain why Samsung's Galaxy S phones have WiFi positioning turned off by default, unlike every other Android phone. Ouch.
Click to expand...
Click to collapse
Skyhook is absolutely 100% unnecessary for a properly functioning gps. It has nothing to do with the problems on the Galaxy S devices.
Sent from Samsung Vibrant
Just turn it back on. Go to *#*#1472365#*#*, application settings, scroll down to skyhook, select on. Then wifi positioning/AGPS should be on now. Its a shame its off by default.
Sent from my messenger rabbit
so what is this going to change if i enable skyhook?? should I enable skyhook??
Not sure if this is the same for everyone, but I can't seem to access the GPS settings using the *#*#1472365#*#* command - not sure when it started, but the one thing I did do between the last time I accessed the service (a few weeks back) to now is flashing the leaked firmware. Anyone else with this issue? I found the noted article yesterday and wanted to check to see if the Skyhook option was still there, and, of course, I can't tell.
courtmagician said:
Not sure if this is the same for everyone, but I can't seem to access the GPS settings using the *#*#1472365#*#* command - not sure when it started, but the one thing I did do between the last time I accessed the service (a few weeks back) to now is flashing the leaked firmware. Anyone else with this issue? I found the noted article yesterday and wanted to check to see if the Skyhook option was still there, and, of course, I can't tell.
Click to expand...
Click to collapse
That dialer code invoked a hidden app called LbsTestMode. The dialer code no longer works in the leaked ROM, but the hidden app is still there. It can be accessed by the workaround explained here, which does involve installing LauncherPro and setting up a shortcut.
Maybe Samsung rushed to market without thoroughly testing the GPS on the Galaxy phones after being told not to use Skyhook. It could have been integrated into their existing firmware. I don't know; I could be completely wrong on this, but I'm just throwing it out there to see what others think. I also can't access the GPS service menu on the new firmware. I haven't had major GPS issues to tell you the truth, but my brother has to launch GPS test to make his maps work on his Epic.
cthach11 said:
Just turn it back on. Go to *#*#1472365#*#*, application settings, scroll down to skyhook, select on. Then wifi positioning/AGPS should be on now. Its a shame its off by default.
Click to expand...
Click to collapse
Skyhook has nothing to do with aGPS. It is a non-GPS method of location service based on a map of all the WiFi routers and access points out there. The Skyhook company has a bunch of people who wardrive and collect the data to populate its database, then offers the service to carriers for a fee.
However, the same hidden utility (LbsTestMode) whose menu can be used to enable Skyhook also can be used to enable aGPS. Selecting MS Based mode instead of the default Standalone mode is what would do that. This controls the operation of the satellite based GPS, accelerating the download of certain satellite data over the network. It is entirely independent of Skyhook.
Enabling MS Based aGPS makes obvious sense. It is an established industry standard for GPS operation on cellphones. The merits of Skyhook are another question, and I don't really have an informed opinion.
Thanks for the link. You can actually do the same thing in ADW (which is what I use), just choose "Custom Shortcut" and then "Activities" and you can scroll don to LbsTestMode. I like it when solutions are right in front of my face
So do you need to leave your WiFi on all the time when enabling Skyhook? That would drain your battery even faster...
courtmagician said:
Thanks for the link. You can actually do the same thing in ADW (which is what I use), just choose "Custom Shortcut" and then "Activities" and you can scroll don to LbsTestMode. I like it when solutions are right in front of my face
Click to expand...
Click to collapse
Thanks for this, never knew I could do that with ADW
I've always had Skyhook turned off and yet when connected to my WiFi network I get a highly accurate position, even with GPS turned off. Thoughts?
jjohns63 said:
I've always had Skyhook turned off and yet when connected to my WiFi network I get a highly accurate position, even with GPS turned off. Thoughts?
Click to expand...
Click to collapse
Your position would be coming from your GPS or from cellphone tower triangulation, depending on your other settings, whether you use WiFi or not.
Skyhook would looking for all the other WiFi locations around you that are in its database. Those locations might include your local WiFI router along with everyone else's if Shyhook's wardivers found it. But Skyhook would not actually connect to those WiFi sources. It would only detect them.
boomerbubba said:
Your position would be coming from your GPS or from cellphone tower triangulation, depending on your other settings, whether you use WiFi or not.
Click to expand...
Click to collapse
I know this is not the case as the accuracy circle in maps covers maybe half a block, not a mile. As I said, I had disabled the GPS, and cell tower triangulation is not that accurate, especially where I am with low signal.
Skyhook would looking for all the other WiFi locations around you that are in its database. Those locations might include your local WiFI router along with everyone else's if Shyhook's wardivers found it. But Skyhook would not actually connect to those WiFi sources. It would only detect them.
Click to expand...
Click to collapse
This makes sense because I tested it today without actually connecting to a network and it still found my location to the same "wifi accuracy". I had turned on Skyhook for this test. However, I'm still wondering how it was able to find my location with Skyhook turned off.
Skyhook is one company providing a service of mapping access points to locations. Google uses their own - probably picked up from Google maps car.
If you have "use wireless networks" checked under GPS - it will use this other provider (probably google) and not skyhook.
Ive turned skyhook on and off in testmode as well as trying other settings, gps is still bag of suck.Frankly i get better results with it on. Marginal though.BTW.use the lbs test mode app. It'll save you alot of headaches.
Vibrant vibrating nicely now,Kthx!

[GPS/AGPS] REAL solution analysis thread (Jupiter Tweaks) - v006! - Froyo JI6

Here's that donate button you guys were looking for. >_>
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7ELH2CPLUZLQY
ANECDOTAL EVIDENCE IS NOT REAL EVIDENCE!!!
Get My Tracks from Google Market and post your GPS trip.
My first Froyo 2.2 test:
http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=108472444080796738089.000491a2c10ac25693114
Jupiter.XML
Jupiter.XML is not a Samsung specific file.
Jupiter mods
I've been modifying some information from the Jupiter XML to get different results. After installing a new jupiter.XML, got to LBSTestMode and select Delete GPS Data.
They can be installed by:
Code:
adb push jupiter.xml /system/etc/jupiter.xml
or (if permission denied)
adb push jupiter.xml /sdcard/jupiter.xml
adb shell
su
busybox cp /sdcard/jupiter.xml /system/etc/jupiter.xml
rm /sdcard/jupiter.xml
I made some changes to Jupiter (hopefully) enabled low noise amplification and remove a lag while trying to regain a hot fix.
View attachment Jupiter-v001.zip
Here's a v002 without ANY AGPS data. Because of a theory that AGPS is causing inaccuracy problems, I've disabled it completely. The fix will take longer, but maybe it'll be more accurate. With AGPS off, you won't get signal indoors. Remember that please and this is for the sake of testing.
AGPS doesn't have anything to do with accuracy. Stick with v001
Removed
You should also disable AGPS within Android
You can disable AGPS this way
Code:
adb shell
su
cd /dbdata/databases/com.android.providers.settings
sqlite3 settings.db
update secure set value="0" where name = "assisted_gps_enabled";
.quit
reboot
v003 has AGPS again. Make sure you enable AGPS in android provider settings (see above). I also switched the SUPL to supl.google.com:7576 instead of spirent. I changed the FrqPlan to match the Blackberry devices FrqPlan.
View attachment Jupiter-v003.zip
v004 is based on XWJP4 from a i9000 build.
I changed a lot. I made my changes to jupiter.xml (disabled the LNA for testing) and I'm using unstable 300ppb (even though I think ppb are meaningless since ppm are more important). It has LBS data enabled from this firmware. Also, I put the new drivers and forced SUPL to supl.google.com in both jupiter and gps.conf
pulled for more testing
v005 are tweaks from XWJP4. I couldn't get the new libgps.so to work on our Captivates (crashes on boot). gps.conf goes in (/system)/etc
View attachment Jupiter-v005.zip
v006 is JI6 compatible. JI6 (the Froyo build) uses the same GPS driver structure as i9000 XWJP4, so we might be able to swap files. This also means it's compatible with i9000 devices. This is mostly playing with SUPL to point to Google and remove a possible fix lag.
/system/etc/jupiter.xml
/system/etc/gps.conf
/data/gps/secgps.conf
View attachment Jupiter-v006.zip
Jupiter Research
It's a interface configuration file for GLGPS from Broadcom. If Samsung messed up, IT'S HERE
These are Samsung's settings (with OH7 OTA)
LogPriMask="LOG_DEBUG"
LogFacMask="LOG_GLLAPI | LOG_DEVIA | LOG_NMEA | LOG_RAWDATA | LOG_DEVMS | LOG_ASIC_IO | LOG_BBTEST | LOG_DEVET | LOG_MESM | LOG_DEVKF | LOG_DEVJG | LOG_DEVMR"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_26MHZ_300PPB_UNSTABLE"
RfType="GL_RF_4751_DANUBE"
BrcmRFwildBase="0x1E2D6409"
BrcmRFclkDiv="21"
BrcmRFclkRefHz="26000000"
pps-enable="false"
pps-offset-ms="0"
pps-width-ns="100"
THIS IS WHAT WE SHOULD PLAY WITH!
I'm done some research and these are values for FrqPlan:
The TCXO has to be accurate +/- 2.0 ppm.
The number after FRQ_PLAN_ describes the type of TCXO used, for example,
FRQ_PLAN_13MHZ_2PPM is a 13MHz reference clock.
FRQ_PLAN_13MHZ_2PPM
FRQ_PLAN_16_8MHZ_2PPM
FRQ_PLAN_26MHZ_2PPM
FRQ_PLAN_10MHZ_2PPM_10MHZ_50PPB
FRQ_PLAN_20000_2PPM_13MHZ_50PPB
FRQ_PLAN_27456_2PPM_26MHZ_50PPB
FRQ_PLAN_33600_2PPM_26MHZ_50PPB
FRQ_PLAN_19200_2PPM_26MHZ_100PPB
RfType values:
GL_RF_PALS7
GL_RF_BARRACUDA
GL_RF_2075_LN22
GL_RF_2075_BRCM
GL_RF_PALS7_BRCM
GL_RF_BARRACUDA_BRCM
GL_RF_BARRACUDA_EXT_LNA
I found this info here:
http://openembed.com/files/pdk15_imx35__Linux_RM.pdf
Captivate Settings from OTA OH7:
Code:
I stripped everything else because we don't need it. We're not debugging. In fact, that might be a reason for the lag (all that unnecessary debugging).
This is the HTC Legend's XML file
Code:
See a difference? NO debugging and different FRQPlan (different chip anyway)
I FOUND SOMETHING WORTHWHILE!!!
Blackberry device that uses the same chip. Here are the settings for gl1
Code:
Blah blah blah! Re-education part
I think a lot of you are playing with options, not knowing what you're doing. I've written some GPS applications for WinMo (check my post history) and have taken a look at this issue. I'm currently working on a project that uses the GPS and Android phones. I negotiated a deal with AT&T to get 50 Samsung Captivates (@ $150 each) with 2GB/mo ($25/mo) for a client and I think I'm going to cancel that.
I don't think many of you understand what's going on with the phone or what AGPS does. AGPS is basically GPS support with cell towers. There are different levels of cell tower support.
MS-Based usually just uses the cell tower's location (not yours) to figure out where you are. This will allow you to go online, and get the cell tower number and find out it's GPS location. From there, the GPS using satellite charting data to find and keep a fix. GPS almanac data (says where the satellites are in the sky) can be supplied by the cell tower (the point of MS-Based), downloaded over the internet or downloaded from GPS signals (the last of the 3 being the slowest). Getting a fix without having any satellite data or positioning is known as a cold fix.
MS-Assisted does what you guys would already figure is happening. It uses the cell tower positioning and cell tower signal central to triangulate your position. In WinMo this would disable your data connection but it seems that's not the case in Android. Regardless it might slow down your internet. Obviously the accuracy here is poor.
SUPL just tells you the lat/long position of the cell towers so changing servers does nearly nothing. Google may have faster SUPL servers than spirent but the data should be the same. Once you have that data, it should be cached locally (but who knows, this is Samsung we're talking about.)
The problem is, technically speaking, the GPS should work even without AGPS. I have a couple of GPS devices with SIRFIII and it works beautifully, no AGPS needed. It should be able to download the almanac, ephemeris and time from the GPS satellites without any cell towers. That's how you know the issue isn't your settings.
Disable AGPS and you'll realize you have no options to play with. You're all playing with AGPS settings which aren't really hardware based GPS (and thus inaccurate). AGPS is not accurate. It was never meant to replace hardware GPS (which is why they put hardware GPS in phones). Hardware GPS has much more accuracy but the fact is, hardware GPS is NOT working on the Samsung Captivate. That's the baseline problem. Forget your AGPS settings. AGPS should only help you with almanac data and getting faster fixes but after that it should be running on standalone hardware and only fall back to the inaccurate AGPS when you lose a clear view of the sky (like when you're in a tunnel).
I notice little issue when I'm standing still. It's when I'm moving that the accuracy dies. With further investigation, it seems the GPS literally stops updating the location after a couple of seconds. You don't notice if you're standing still since you're in the same spot, but when you're driving you'll see it. The GPS freezes for about 20 to 30 seconds.
The question is: Why is it not working?
Here are my hypotheses.
1) There's a function running that borks the GPS and makes the GPS driver crash or lag. The GPS driver quietly reboots and then it gets a fix. This could be the reason why, after disabling and enabling GPS, it grabs a hot-started fix of a location it was struggling to get before. You manually reset the GPS driver. I've tested it with Google Maps/Navigation. The GPS doesn't move for 30 seconds. It freezes, but when I close (disable GPS) and open the app (enable GPS) it gets a hot started fix in 5 seconds. Had I not disabled and enabled the GPS, it would have lagged there. This could be a software issue.
2) The GPS isn't using the almanac data. The almanac data says where the GPS satellites are now and where they will be. The GPS uses this to track. If this isn't used, it needs to get a fix again every so often.
3) Cell towers are actually messing you up because their times are desynchronized or almanac data is outdated. (and we all would love to blame AT&T)
As for my project, I'm ready to change my order from 50 Captivates to 50 Xperia X10 phone. The X10 actually has a WORKING GPS (meaning my app works fine and isn't the cause). I have both phones that AT&T gave me to develop my application. I wis
Thank you for the info. I am eagerly awaiting a true fix
makes sense, let us know of your future findings
I just want to say this is an excellent post and very informative. Thanks for writing it. Unfortunately, I'm seriously debating returning my Captivate over this whole fiasco. The OTA hotfix that's pushing out today does nothing to fix this issue and I some how doubt this will be resolved any time soon.
There are two test ROMS that were leaked, JH2 and JH3, that already have GPS logging enabled by default. We've been turning it off since the data isn't useful to us and it fills up the phone's storage quickly. Would those logs be useful to you?
I have a Captivate, so I don't need the logs really. What are your experiences with Dynamic Accuracy off? I feel like that could be the issue. I know the GPS disables after 120 seconds with Dynamic Accuracy off, but when it does work, how well does it work for you guys?
Also, is the GPS issue for ALL Galaxy S devices? (Vibrant/Captivate/i9000)
I just got my captivate so i havent been around long, but i know for sure it affects all the US versions of the Galaxy S series (Fascinate, epic 4g, captivate, vibrant), im not sure about the European i9000
It affects all Galaxy S phones regardless where you bought them. And the issue is with BroadCom (the GPS chip maker). There is a faulty driver and/or faulty chip firmware. From what I gather, BroadCOM gave Samsung the updated driver at the end of the August which our latest JH7 probably doesn't have.
faspalma said:
I just want to say this is an excellent post and very informative. Thanks for writing it. Unfortunately, I'm seriously debating returning my Captivate over this whole fiasco. The OTA hotfix that's pushing out today does nothing to fix this issue and I some how doubt this will be resolved any time soon.
Click to expand...
Click to collapse
According to Engadget, the latest update being pushed by AT&T "fixes" the gps issues: http://www.engadget.com/2010/09/22/samsung-captivate-gets-gps-fix-other-galaxy-s-versions-wait-pat/
compuguy1088 said:
According to Engadget, the latest update being pushed by AT&T "fixes" the gps issues: http://www.engadget.com/2010/09/22/samsung-captivate-gets-gps-fix-other-galaxy-s-versions-wait-pat/
Click to expand...
Click to collapse
Engadget is full of it.
foxbat121 said:
Engadget is full of it.
Click to expand...
Click to collapse
I think it is more that samsung "is full of it", because they are stating the gps is fixed. Engadget is just relaying what Samsung is saying....
Wasn't the source released for the captivate kernel? I would love to see the GPS source code
Sent from my SAMSUNG-SGH-I897 using XDA App
CLShortFuse said:
Wasn't the source released for the captivate kernel? I would love to see the GPS source code
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
GPS and most all of the drivers are not part of the source release.
Can we recompile the driver, does anybody know?
This is the source code for Nokia's driver for the same chip.
http://www.mail-archive.com/[email protected]/msg03733.html
But I don't think they use NMEA
Ok I hear what you are saying, I never messed with the settings and claimed that it was fixed. I am under the impression that my gps is working and always was but with the new jh7 firmware (ota version) it definitely works better, I had the samsung-firmwares.com release and it made no difference but designgears rooted decided version of thee ota release made a difference. What settings need to be changed to disable all network assisted location to test if I'm actually getting a gps fix without agps?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Dani897 said:
Ok I hear what you are saying, I never messed with the settings and claimed that it was fixed. I am under the impression that my gps is working and always was but with the new jh7 firmware (ota version) it definitely works better, I had the samsung-firmwares.com release and it made no difference but designgears rooted decided version of thee ota release made a difference. What settings need to be changed to disable all network assisted location to test if I'm actually getting a gps fix without agps?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
Network assist is not a problem. There is no need to disable it.
Just take a test drive using Google Navigation. Ignore the fact that it always seems to be dead on your position (because all navigation software snap you to the nearst road). Instead, pay close attention to:
1. Whether or not you see a blue circle surrounding your position. If you do see that, your GPS has failed at that time and the size of the circle is the estimated inaccuracy of the GPS. You need to be patient because blue circle comes and goes randomly.
2. Pay attetion to certain landmarks like bridges, overpasses and intersections. And compare that to your position on the map to see if you experience lags.
3. The navigation software snaps you to the wrong road nearby even though you didn't see the blue circle.
In my personally experience, all three showed up randomly. I have no problem getting a quick lock at all.
foxbat121 said:
Network assist is not a problem. There is no need to disable it.
Just take a test drive using Google Navigation. Ignore the fact that it always seems to be dead on your position (because all navigation software snap you to the nearst road). Instead, pay close attention to:
1. Whether or not you see a blue circle surrounding your position. If you do see that, your GPS has failed at that time and the size of the circle is the estimated inaccuracy of the GPS. You need to be patient because blue circle comes and goes randomly.
2. Pay attetion to certain landmarks like bridges, overpasses and intersections. And compare that to your position on the map to see if you experience lags.
3. The navigation software snaps you to the wrong road nearby even though you didn't see the blue circle.
In my personally experience, all three showed up randomly. I have no problem getting a quick lock at all.
Click to expand...
Click to collapse
This has been my experience too...and while Cog 2.1 has made it better, I still experience these same problems.
I changed the first post and hope to make this a community effort.
The problem seems to be position estimation. When you take a sharp turn, the GPS position will keep going "expecting" you to follow the same path. After a few seconds, the GPS position will slowly return back to your real position.
If we could just remove position estimation / interpolation, we might see improvement.
You can see what I am talking about in my post here:
http://forum.xda-developers.com/showpost.php?p=8295858&postcount=2
Thank you ShortFuse.
This is the most truly helpful GPS thread in a while. I hope we can get to the bottom of this soon.
Everyone needs to contribute to this thread!

Why is our Focus' GPS so slow???

Why is the Focus' gps so slow? I don't know what's wrong with my focus, I mean it just takes so long to get the coordinates of my location. I even have to go to a open sky area then wait for few minutes before it can successfully get my coordinates. Its just so annoying, this is a post ipad product, how come an ipad 1 can get my coordinates even inside the room without any difficulty?
Is this a hardware issue or just a firmware fix is due?
my focus gets a very quick lock about 90% of the time, every so often it will take a mintute or so to lock, but i've had this happen with pretty much every phone i've owned, so it seems about average to good for me...
the ipad1 (unless a 3g + wifi model) uses your network to locate you, which is why it's quite fast.
We have 2 Focuses, one AT&T and one Rogers. With both I get about the same time to get a fix, and that's slightly under a minute, in my location (several tall buildings near).
With what app do you check your GPS? I recommend GPS App
It's an AT&T. My ipad is a 3G+Wifi. It gets gps coordinates via gps chip and not A-gps. Most of the time the ipad gets coordinates very fast in span of 20-25 seconds, boom you know where you are in the map.
I am using the built in MAPS software to track my location. Does the software matters? I mean if the chip is really weak, what can the software do ?
jtphl said:
It's an AT&T. My ipad is a 3G+Wifi. It gets gps coordinates via gps chip and not A-gps. Most of the time the ipad gets coordinates very fast in span of 20-25 seconds, boom you know where you are in the map.
I am using the built in MAPS software to track my location. Does the software matters? I mean if the chip is really weak, what can the software do ?
Click to expand...
Click to collapse
Sometimes it does. To give you an example why: GPS without efemerides take several minutes to get a fix. GPS with efemerides take 20s to 1 min to get a fix. Efemerides are downloaded via software.
As for the app I found it to be good enough for testing the GPS part.
I can agree with you. Sometimes while driving if I take a different route than the one the phone provided for me, it will either fail to locate where I am for a few minutes or just fail completely.
I think it's time for a small update.
Is it just a minor driver issue? I hope so , otherwise, we have to live with it or change to another device.
jtphl said:
Is it just a minor driver issue? I hope so , otherwise, we have to live with it or change to another device.
Click to expand...
Click to collapse
Again, other people (including me) haven't experienced any issues.
In fact, it works great for me with Turn by Turn Navigation, even inside the car on the passenger seat (not near the windshield).
Try changing some GPS settings in the focus diagnosis app
Sent from my SGH-i917 using XDA Windows Phone 7 App
what are the settings in GPS I have to adjust to make it perform beyond expectations? Which specific diagnostic option I have to tweak?
Did the OP ever find a solution to this? I'm having some slow locks and the occasional non lock.
I know in the diagnostic app you can get to the GPS with*#1575# but I'm unsure of what data can possibly be changed.
I'm having the same issue on my Focus (Rogers). It never connects to sattelite and always uses aGPS. It's very annoying. I tried many different gps apps and get the same behavior - very innacurate. Garmin allways says "Can't connect to sattelite", gMaps always shows cell tower icon. My phone is unlocked using original Chevron method (not Chevron labs). I also tired to change settings in *#1575# and turn ON/OFF TLS and GLONASS but nothing helps. Should I try hard reset?
Ecstatic12 said:
I'm having the same issue on my Focus (Rogers). It never connects to sattelite and always uses aGPS. It's very annoying. I tried many different gps apps and get the same behavior - very innacurate. Garmin allways says "Can't connect to sattelite", gMaps always shows cell tower icon. My phone is unlocked using original Chevron method (not Chevron labs). I also tired to change settings in *#1575# and turn ON/OFF TLS and GLONASS but nothing helps. Should I try hard reset?
Click to expand...
Click to collapse
I did a hard reset last night and it seems to have cleared up. I also installed this app, have to click the link in the post, searching for it didnt work.http://www.wpcentral.com/new-samsung-high-fidelity-position-enhances-gps-modifies-settings
Not sure if it's a placebo or not, but it seems to be working better.
is Focus GPS native chip or just a-gps?
Coelho_rj said:
is Focus GPS native chip or just a-gps?
Click to expand...
Click to collapse
Assisted GPS, which includes standard GPS in Standalone mode, so it's better than any native GPS.
after my hard reset the GPS locked much quicker for about a week, then it started acting up again.
my new solution seems to be much easier than a hard reset. Just briefly switch to airplane mode then re-enable your data and open maps up again. Been working great for me.
Faster solution that's been working for me. Turn on and off location services. My phone never locks without this, which is sorely annoying.
I had this problem on 7392 rom. After updating to mango 7720 and 8107, I get fix in 3 to 7 seconds in my room Tested with gpsinfo, it's real satellite data, not agps. I have also installed high fidelity position settings app. Don't know if it's helping.
Sent from my SGH-i917. using Board Express

GPS lock time problem

Hi,When I use my phone for finding my location without using data connectivity - without relying on A-GPS so my phone finds my location after a lot of time or sometimes google maps can't find my location.
How can I solve this?
Thanks.
After day or so it won't get fix at all. Samsung just did something wrong I'm afraid. Looks like the GPS in SG2 NEEDS data to work. I found the hard way on my trip to Japan. I know no solution.
So I cant change my gps settings?
Sent from my GT-I9100 using XDA App
GPS in the S2 is weird. Some days it locks in seconds other times it takes forever. I never use A-GPS.
Today I couldn't get it to lock but last night it was instant. So I restored a CWM backup from last night, rebooted and it locked instantly.
I played around with MIUI for a couple of days and found lock time much better than stock or custom rom.
Also, changing server with fasterfix makes no difference when its having problems locking.
I just don't get it.
Sent from my GT-I9100 using XDA Premium App
GPS Aids in Market. It will take a bit of time on first lock but from then it will be fast.
sxi200 said:
GPS in the S2 is weird. Some days it locks in seconds other times it takes forever. I never use A-GPS.
Today I couldn't get it to lock but last night it was instant. So I restored a CWM backup from last night, rebooted and it locked instantly.
I played around with MIUI for a couple of days and found lock time much better than stock or custom rom.
Also, changing server with fasterfix makes no difference when its having problems locking.
I just don't get it.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
How do you 'never use AGPS' ? Btw. my problem is not time of the lock. But the fact, that without network, I don't get fix AT ALL. With network AGPS reset helps (many apps can do that). But without network GPS works only for some time (AGPS data still valid). After that you just won't get fix. It even looks like wifi connection won't help, it has to be mobile network.
It's because of crappy gps reciever or it can be improved by another rom?
Thanks
Sent from my GT-I9100 using XDA App
It seems the problem is that GPS is in mode, where it simply relies on AGPS. In older ROMs there was app called LBSTestMode where you could change the mode to stand alone, or just AGPS based. This application is not in newer ROMs, so it cannot be switched. It clearly is just a software thing. Except it looks that there is no solution which does not involve flashing roms and/or rooting.
Dr.Sid said:
How do you 'never use AGPS' ? Btw. my problem is not time of the lock. But the fact, that without network, I don't get fix AT ALL. With network AGPS reset helps (many apps can do that). But without network GPS works only for some time (AGPS data still valid). After that you just won't get fix. It even looks like wifi connection won't help, it has to be mobile network.
Click to expand...
Click to collapse
Yeah I never use it. I don't tick 'use wireless networks' at all. To me that's fake GPS.
Since my last post, GPS has been perfect. Am able to lock up to 11 satellites sitting on the couch. On average it takes about 10 seconds to lock. Tested it at least 20 times today.
But who knows what will happen tomorrow!!!
Man, if you can only get a lock using wireless networks then I think your GPS might be stuffed.
Sent from my GT-I9100 using XDA Premium App
sxi200 said:
Yeah I never use it. I don't tick 'use wireless networks' at all. To me that's fake GPS.
Since my last post, GPS has been perfect. Am able to lock up to 11 satellites sitting on the couch. On average it takes about 10 seconds to lock. Tested it at least 20 times today.
But who knows what will happen tomorrow!!!
Man, if you can only get a lock using wireless networks then I think your GPS might be stuffed.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
That does not mean you don't use AGPS. AGPS is method, where data about GPS satellites are not downloaded from those satellites via GPS receiver, but rather from server via. mobile network. So I'm afraid you do use AGPS, unless you disable mobile networking (and wait about day for current data to become obsolete).
One thing I've noticed is that when I run Z-DeviceTest and bring up the GPS status display, it shows that none of the satellites have almanac data, and very rarely have ephemeris data. If that's accurate, that would suggest that if you've turned off AGPS and mobile networking, you could have some trouble.
3waygeek said:
One thing I've noticed is that when I run Z-DeviceTest and bring up the GPS status display, it shows that none of the satellites have almanac data, and very rarely have ephemeris data. If that's accurate, that would suggest that if you've turned off AGPS and mobile networking, you could have some trouble.
Click to expand...
Click to collapse
Nice find. First app I know which shows this. Now I can test if that almanac is downloading via GPS satellites or not.
Dr.Sid said:
That does not mean you don't use AGPS. AGPS is method, where data about GPS satellites are not downloaded from those satellites via GPS receiver, but rather from server via. mobile network. So I'm afraid you do use AGPS, unless you disable mobile networking (and wait about day for current data to become obsolete).
Click to expand...
Click to collapse
Ok. So does that would mean it's impossible to get a GPS lock without data enabled? Or just harder to?
Maybe I shouldn't have mentioned AGPS, but instead wireless networks which show your position even though GPS is not locked.
Sent from my GT-I9100 using XDA Premium App
sxi200 said:
Ok. So does that would mean it's impossible to get a GPS lock without data enabled? Or just harder to?
Maybe I shouldn't have mentioned AGPS, but instead wireless networks which show your position even though GPS is not locked.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
It seems it may vary with ROM, and it is possible to switch it, at least older ROMs contain service menu module (LbsTestMode) to switch it. But my SG2 seems to be unable to get a fix without network. It simply does not even try do download Almanac or Ephemerides data from the satellites.
Also for AGPS, mobile network must be used, not WiFi. As I understand it, those AGPS server names are virtual, and network provider redirects them based on location .. which is not possible via WiFi.
I wonder WHY there is such option at all. Do mobile network providers want us to be unable to get a fix without them ?
Dr.Sid said:
It seems it may vary with ROM, and it is possible to switch it, at least older ROMs contain service menu module (LbsTestMode) to switch it. But my SG2 seems to be unable to get a fix without network. It simply does not even try do download Almanac or Ephemerides data from the satellites.
Also for AGPS, mobile network must be used, not WiFi. As I understand it, those AGPS server names are virtual, and network provider redirects them based on location .. which is not possible via WiFi.
I wonder WHY there is such option at all. Do mobile network providers want us to be unable to get a fix without them ?
Click to expand...
Click to collapse
Hey Dr, I think you have diagnosed my problem
Every so often I turn off data and use only wifi. One day my GPS locks in seconds then the next it takes forever.
So I have now tested it a couple of times over the last couple of days, when I can't get a lock I turn off wifi and turn on data. All of a sudden GPS locks again. Interesting!!
Hopefully that is it. Will test again the next time it won't lock.
Sent from my GT-I9100 using XDA Premium App
Ha ! Breakthrough. I could get a fix without network ! But ..
I used newer version of 'GPS Status' app. It shows state of unconnected satellites with gray/blue/yellow based on how much data it has - none/almanac/ephemerides. So you can see if there is some progress or not.
So I disabled network (both wifi and mobile), disabled location from mobile network, left just GPS on .. run GPS status and used 'Reset AGPS'.
The connection has few 'phases':
1) you get signals from satellites .. you see it in power meter .. all are gray .. and their dots on the 'sky' view are all in the N. Sure, GPS does not know where the satellites are, and does not know where you are .. so it can't know where on the 'sky' they should show.
2) Some signals/dots turn blue. That means you have almanac data. Rough position of all satellites, which is transmitted by all satellites. That already means your GPS receiver was used to download some data from the satellites. Based on this, GPS can tell very roughly where you are, and will paint dots on the skyview.
3) Some signals/dots turn yellow. That means you successfully downloaded ephemerides data from that satellite, and it can be used in fix. Have enough of them, and you are done.
4) Some signals/dots turn green - you have fix. The error will get better over time as more satellites are used.
I took me over 5 minutes .. but thanks to this tool I could see I'm indeed receiving some data and there is some progress. Also it only worked outside, under open skies. I tried that in a car, in a bus, in a train .. after 10 minutes I did not get over phase 1. With AGPS I get fix in all such situations in few seconds.
It just looks like the data decoding module for almanac/ephemerides is not the same as for the time (which is used in fix itself). While time channel is quite sensitive and fine, data channel seems to have troubles with even slightest disturbances.
Still I'm happy I made it work in the end !
Btw. the fact that AGPS does not work over WiFi still holds.
ayosopov said:
Hi,When I use my phone for finding my location without using data connectivity - without relying on A-GPS so my phone finds my location after a lot of time or sometimes google maps can't find my location.
How can I solve this?
Thanks.
Click to expand...
Click to collapse
try fasterfix from market
I rarely have the data connection on (just to save battery) and WiFi is only on where I know I have a known connection - thus it is off when outside.
I put on the GPS then immediately run Sygic satnav program. I will have a fix normally within 30 seconds and a worst case of about a minute (that I can remember).
I have just tried switching off and on my phone, putting on the GPS (from the Pull down menu) and run Sygic. From switching on the GPS, I had a lock in about a minute.
KI3 Stock ROM
fred_up said:
I rarely have the data connection on (just to save battery) and WiFi is only on where I know I have a known connection - thus it is off when outside.
I put on the GPS then immediately run Sygic satnav program. I will have a fix normally within 30 seconds and a worst case of about a minute (that I can remember).
I have just tried switching off and on my phone, putting on the GPS (from the Pull down menu) and run Sygic. From switching on the GPS, I had a lock in about a minute.
KI3 Stock ROM
Click to expand...
Click to collapse
Could you try that with AGPS manually reset ? I recommend 'GPS Status' tool to do it, it's in 'tools' menu.
GPS lock time seems much improved in KJ4 firmware for me (i'm on orange 2.3.5)
all three DOP values in GPS Status now show figures (instead of infinity for two of them), and i'm getting reported accuracies of around 5 metres, instead of 14 - 20 metres on the older firmware.

Categories

Resources