yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Rrryan2:
.... this is indoors.

.... this is indoors.

.... this is indoors.

.... this is indoors.

.... this is indoors.

.... this is indoors.
[Captivate Android Development] shoman94:
WTF.... I just updated my post being next to a window...

Best setting so far... just changed some stuff around:

Changed Server FQDN Type

Supl.google.com

7276

SUPL secure off

AGPS Mode: SUPL

Not sure if its coincidence but its lock 6/6 indoors.... and same next to the window.
[Captivate Android Development] D12AKO:
Yatzee

Ok.. I've got to know... How come this one works now when the other one didn't at all? What made the difference?

Testing v.092

Driving home... will report how well it does soon...
[Captivate Android Development] Rrryan2:
Among other things there was a bug with folder name for /system/bin/gpsd.

Working on a version now that turns back on some of the tweaks I was using on earlier versions as well, hope to publish in an hour or so.
[Captivate Android Development] FeO2:
Nice. Can't wait to try it. As an aiside, does /system/etc/gps.conf affect the settings? I'm just wondering because I applied your latest 0.91 fix and changed the server to auto but the gps.conf lists supl_host=supl.google.com

Also, what are the XTRA servers in this file, eg. XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
[Captivate Android Development] Rrryan2:
I'm not sure anything actually looks at the SUPL settings in gps.conf. Before I just saw that another fix had dropped them there and I figured it really couldn't hurt much.

The gpsOneXTRA settings are pretty pointless actually. It was a service by Qualcomm that would provide the AGPS data. However, it's mostly redundant and doesn't seem like it ever actually gets used. I've never seen the file specified xtra.bin file included in anything nor does it ever seem to get written.
[Captivate Android Development] D12AKO:
Great Overall on the way back home with Testing v0.92

Well, the drive went well... tracked me on highway at speeds over 80mph and all the way to may house with no problem. Kept me within 5m most of the time.

I used the same settings you had recommended for v0.91 in "LbsTestMode".

So the newer version should technically work even better than v0.92 I just tested?
[Captivate Android Development] Rrryan2:
v0.93 UPDATE 2/26/2011

This version is a bugfix and configuration improvement. It gets a little more aggressive about making some of the changes at augmentations and post-processing smoothing that I'd found success with in pre-UCKb1 versions.

Users who have previously had the "2 seconds and quit" problem before might find success with this one as that problem was successfully remedied a few test cases.

This version also includes some additional shared object libraries that *might* help with cross-platform and and backward compatibility, but as it's only been out for a few days I can't say for certain.

Changelog 0.93:

0.93

- Fixed /system/bin/gpsd folder name bug

- changed permissions for shared libraries in install script

- tweaks to help reduce jitter and reduce road snapping errors in mobile tracking incl. dynamic accuracy, stop forcing pedestrian, MS Based operation mode

- added additional driver library copied from I897UCKB1 to (maybe) help backward- and cross-platform compatibility

IMPORTANT: LbsTestMode settings

must

be manually updated as well!

SUPL/CP Settings: Server FWDN to AUTO, SUPL Secure Socket = ON, AGPS Mode = SUPL

Application Settings: Tracking, S/W Test, MS Based, Hot Start, GPS PLus = On, Dyn accuracy = on, Accuracy =

40

, GPS logging = off

Installation Instructions:

Download .zip for your region

BEFORE FLASHING - Use LbsTestMode to apply new SUPL/CP and Application Settings (see above) and delete GPS data

Flash using CWM recovery

After rebooting, use an app like Google Maps or GPS Status & Test to force download of AGPS data BEFORE USING LbsTestMode.. The LbsTestMode app will apply AGPS data that has been already downloaded but doesn't seem to ever actually download it itself no matter what configuration is specified. Once another app has been used to force AGPS download the LbsTestMode tests can be used.
[Captivate Android Development] askpcguy:
Could you post a file and path list, I'd like to pull the files from the Adams GPS Fix (From Phoenix ROMS) and compare them. Also, look at the files from Stock JF6 and KB1.

If it's simply too much trouble, by all means, tell me to get lost! :)
[Captivate Android Development] emuneee:
Just download the zip files. The file paths in the zip reflect the paths on your device.
[Captivate Android Development] D12AKO:
Testing v0.93

Installing Now... will let you know how it works out tomorrow when I take it for a drive.
[Captivate Android Development] askpcguy:
Uhm. Seriously?

Name: bin/gpsd/glgps_samsungJupiter found in META-INF inside the MANIFEST.MF

I don't know how the paths on the actual device map to files found in CWM flashable zip files.

The file is actually found in /system/bin and I can't adb pull the file. Probably have to use a root explorer app to copy the file to another location from where I can adb pull.
[Captivate Android Development] compuguy1088:
Odd issue with 0.91 on vibrant. Agps only seems to work when work is disabled...Haven't tried 0.93 yet...
[Captivate Android Development] Rrryan2:
If you know what you're doing you can mount system to rw so you can access it.

If you don't, quick & easy workaround is to boot to CWM recovery. With USB plugged in you can pull to your heart's content.
[Captivate Android Development] ryude:
You can automatically configure the gps settings you know, data/gps/secgps.conf and system/etc/gps.conf. They are both settings files, but they contain different settings.
[Captivate Android Development] Rrryan2:
Confused. All of my fixes have contained those files. If you mean to say that specifying settings in those files would remove the need to specify manually in lbstestmode, that's not what I have found to be true.
[Captivate Android Development] CuriousTech:
Yeah, those conf files aren't going to give you SSL for example.

The primary settings are in /dbdata/databases/com.android.providers.settings/settings.db which has other settings you don't want to just overwrite.
[Captivate Android Development] sremick:
Hmm preliminary tests suggest 0.93 is having a massive improvement for me. This is someone who has never had a good GPS since buying the Captivate day after release. I've tried many patches, including Adam's.

Will have to experiment more, but I'm feeling a bit excited... thanks, man.
[Captivate Android Development] dave1977nj:
thanks for the update keep up the great work!
[Captivate Android Development] askpcguy:
Thank you for the wealth of information Rrryan2.

I am currently sitting on Torch 1.5 (KB1 rom) with the SuckerPunch+Voodoo Kernel and the I9088ZNKP1 modem. I re-applied Adam's GPS fix and confirm the SUPL server is still set to supl.google.com.

Again, subjective tests but locking indoors has dramatically increased for me.

Consider this meaningless test ;) Wifi disabled, Airplane mode, GPS Status locked in 7 seconds. Deleted gps data in LbsTestMode, locked in GPS Status in 7 seconds again.

Wifi off with airplane mode on, locked in GPS Status in 9 seconds.

The source for all my confusion over this GPS performance is, I never had much of a problem (getting a GPS lock, indoors or outdoors or even while driving) never really had huge problems with Google Maps tracking (or course it would reroute off and on) while driving.

My problems started when I flashed from the Phoenix Rom to Cognition 4.0. I just wish I could identify what exactly changed, and my last ray of hope was to compare GPS settings files.
[Captivate Android Development] askpcguy:
Please do post results while driving and using Google Maps to navigate. While these GPS fixes have without question helped in getting a GPS lock (in LbsTestMode or Google Maps) the one problem I keep seeing is Google Maps will sometimes reroute because it believe you are on another adjacent road.
[Captivate Android Development] Rrryan2:
I don't know. And it's an indoor test with a delta of 2 seconds.

0.93 gets a little more aggressive with some of the tweaks I had used in pre-KB1 versions that should help with tracking. The dynamic accuracy tolerance is tightened a little to help dismiss positions that are off-road, position smoothing is re-enabled etc.

Cog4 doesn't include a secgps.conf by default. Android is left to auto-generate one the first time gps is initialized and the one it spits out is usually problematic. Cog4 also had the non-existent Spirent server in Jupiter.xml.

Phoenix was using Adam's gps config files, which contained much better configuration files.
[Captivate Android Development] cgm8:
Cog 4.1 with 0.93 gps fix is the best I ever have for tracking. Thanks a bunch..
[Captivate Android Development] Ginther:
Seems to have helped my GPS with Cog 4.1. Will know better after some more road testing.
[Captivate Android Development] askpcguy:
So I am on Torch 1.5 using the i9000 suckerpunch + voodoo kernel along with the I9088ZNKP1 modem. Applied the 093 GPS fix while driving!!

So far it was a minute or two before I had a GPS fix. And Google maps locker my position in about 50 seconds. Navigating on the other hand was a bit mixed. I had the medium sized circle the whole time while in the city driving. Got rerouted once or twice.

Needs more testing in my particular setup.

-edit: On the drive home, while on the highway the google navigation tracked pretty well. I noticed the reouting a few times and taking turns on city roads usually causes the navigation to fall behind and start placing you on adjacent roads.

We all need to come to an agreement in terms of what compromises a GPS test. Something along the lines of 1) LbsTestMode or GPS Status initial lock. 2) Google Maps position Lock (and accuracy, including time to lock) and 3) Google Maps navigation observations. Note item 3 will include 3b) which details occurances of being re-routed and 3c) occurances of the "Circle of confusion" (meaning the blue circle placed around the gps position icon from the app being uncertain about your exact location).
[Captivate Android Development] Fallon:
Damit! Just bought a bluetooth GPS after 2.2 from AT&T & Cognition 4 delivered worse than the usual crap reception. I gave up after a ton of ROMs and other allegid fixes gave marginal results at best.

I installed .93 and am now reasonably sure i just wasted the $$$ on a GPS that hasen't even arrived yet. 10ish second lock times inside & seeing 7+ satelites most of the time (use to be 2-4). Just need to see how it holds a track on the road.

Thanks for the good work and fixing what Samsung cant.
[Captivate Android Development] aalh:
Dont do that
[Captivate Android Development] wesbound:
This patch works great on Cog4/Speedmod/JK4 combo. Thanks a lot!
[Captivate Android Development] askpcguy:
Please report back how things look while navigating in Google maps.
[Captivate Android Development] dimab:
Installed on cog4.1

will report tomorrow after driving to work
[Captivate Android Development] warp.asylum:
Installed on Cog4.1. Navigation and tracking were nearly perfect today as I drove around town. Awesome work on this fix!
[Captivate Android Development] askpcguy:
Just an update, I am running this on Torch 1.5 with the suckerpunch+voodoo Kernel and i9088znkp1 modem.

For whatever reason, I had the most horrific time trying to make the phone get a satallite fix. Tried re-flashing the 093, tried different Server FQDN settings. Eventually I was able to get a position lock in Google maps but yikes.

Then on the drive home, the navigation cursor would fall behind and not update. This would cause rerouting and in my opinion make the GPS totally unusable.

I continue to try GPS settings in LbsTestMode and GPS fixes in search of better Google Maps tracking.
[Captivate Android Development] Rrryan2:
[WITHDRAWN] UPDATE: v0.94

v0.94 has been withdrawn as it seems to have a a few problems.

Use 0..93 instead:

http://xdaforums.com/showpost.php?p=11658962&postcount=203
[Captivate Android Development] Fallon:
I tested it's tracking on the way home today & it was dead on. In my basement kind of near a window I get a flaky connection with 4-7 satellites that drops in & out... Which is better than I use to get before PlumbBob standing outside. Now I'm getting a minimum of 6 satellites & solid lock within 5-10 odd seconds all day long with with any half ass view of the sky.

And my now useless Bluetooth GPS just showed up. :-p
[Captivate Android Development] Rrryan2:
Eh. The goal of this fix is to address the utterly broken and stupid configuration, but design and hardware issues will still persist no matter what I or anyone else does. The external BT is the only thing that will give you dead-accurate-all-day performance, if for no other reason than the GPS antenna in it is relatively huge, not something designed to fit inside a slimline candybar cellphone form factor.

Glad to hear it helps though. :)
[Captivate Android Development] Rrryan2:
Seriously. Do not flash this fix or anything else while driving. Bad idea.
[Captivate Android Development] aalh:
I cant believe the guy would admit to doing something so not-smart

I hope no kids follow his bad example
[Captivate Android Development] koreancanuck:
Rrryan, would the LbsTestMode settings and SUPL settings be the same for 0.94 as it was with 0.93? Thanks :)
[Captivate Android Development] Rrryan2:
Wooops. No, they should really be updated:

SUPL/CP Settings: Server FQDN = Custom Config, Server: supl.google.com, Server Port: 7276, SUPL Secure Socket = ON, AGPS Mode = SUPL

Application Settings: Tracking, S/W Test, MS Based, Hot Start, GPS PLus = On, Dyn accuracy = on, Accuracy = 40, GPS logging = off
[Captivate Android Development] electroau:
mmm all my messing around trying different GPS seetings and now for some reason I can make canges in LBTEST.. yes I can acess the drop downs and chnage them, but exiting the menu back to the main, shows no changes...

I have tried the latest Plumb bob, and hence went to make the changes when I found the problem

Any ideas..anyone ??
[Captivate Android Development] rajendra82:
Is that supposed to be ON or OFF? I remember reading before in other threads, that it was OFF for supl.google.com, but ON for the 3gpp server.
[Captivate Android Development] Rrryan2:
Secure SUPL = 'On' is indeed correct. Supl.google.com seems to support SSL connections so long as the necessary certificate is in the right place. The earliest versions of the fix specified 'off' as many/most custom ROMs didn't contain the certificate. Versions 0.8.4 and later contain the AT&T certificate and specify its location correctly. Using 'On' is likely better for reasons of privacy and security, but really either will work from a performance standpoint.

This configuration had been used successfully pre-UCKB1 official Froyo. When I saw that UCKB1 was defaulting everything to 3GPPnetwork.org I thought I would go along to see what happened, but have since decided that Samsung's/AT&T's implementation of GPS still sucks and Google is a better idea.
[Captivate Android Development] syoungblood95:
I updated to 0.94 (configuring the new options before flash and deleting gps data) and now my phone no longer sees any satellites, and surely is not getting a lock. Any suggestions?
[Captivate Android Development] Rrryan2:
Settings -> Location and Security -> Use Wireless Networks = "on" ?
[Captivate Android Development] jamesyl:
Rrryan2, it appears the folks at the i9000 forums have positive results from the GPS configuration files in the new Gingerbread (2.3.1) leak. Just the GPS files were pulled and posted as a thread in the Vibrant dev forum: http://xdaforums.com/showthread.php?t=974702

Any chance you'd be able to take a look and see what changed?
[Captivate Android Development] syoungblood95:
Yes it's been on. My GPS was great with 0.93, but it is now virtually useless.
[Captivate Android Development] Rrryan2:
I'd been looking at it. From what I can tell: not much. It seems to include a (new?) agpsd file, everything else is very similar to what's already in this fix.

I'll experiment with it and see what happens, but have little hope for anything Samsung-derived. Especially if it's a very early dev for the i9000 which uses a different chipset that includes FM radio.
[Captivate Android Development] Rrryan2:
Disappointing to hear. 0.93 is still in the thread if you want to re-flash. :(
[Captivate Android Development] syoungblood95:
Thanks man. I love your work, makes it seem like the crappy Samsung GPS isn't even there anymore...
[Captivate Android Development] jamesyl:
Great, thanks. I forgot that the i9000 has a different chipset. Is it safe to flash your 0.94 PlumBob for the Vibrant? (Sorry your Vibrant thread got buried and forum search is down right now).
[Captivate Android Development] Rrryan2:
Check your PM.
[Captivate Android Development] askpcguy:
No, you thought it was something that I was bragging about.

-edit Just flashed this now and I am still using the Standalone mode in application settings. Need to step outside and see how it does obtaining a GPS position lock.
[Captivate Android Development] dimab:
So 1.5 days after I've flashed 0.93, I'm VERY happy! Locking in seconds!

The accuracy didn't got worse for sure :) But I don't know how to check if it became better... If someone would post a link to some explanation about what LBSTestMode shows and how do I use it it would be great!

Since flashing I haven't seen my navigation app (Waze) continuing to show me on the planned route even if I made a turn (this was happening from time to time before, on cog3 without gps fixes)

Now what I did on flashing was, first I flashed 0.84 (actually i thought this one is the latest) and then flashed 0.93 over it. Was this ok? Or I should've flashed it over clean rom?

The second question: I'm living in Israel, and flashed the global version of the fix, should I pick other?

Third and last :) :to update from 0.93 to 0.94 i need to flash it over? nothing special to do?

thanks in advance and HUGE thanks for this fix!!!
[Captivate Android Development] askpcguy:
Check my tracks by Google in the market. Record a drive down the highway and around downtown.
[Captivate Android Development] aalh:
I was getting very good gps with .93, I wanted great so

I flashed .94 over .93 last night(deleted gps data and checked settings)

I could only see 1-2 sats and got no locks so I flashed back to .93

I still saw only 1-2 sats and got no locks so I left it on gps last night to see if it would get better after talking to the sats

no different

I just flashed back to .94 to try the new settings you posted for it and get zero sats

outside where I would get 8+ before
[Captivate Android Development] iXNyNe:
Tried 0.94 could not get locks, switched back to 0.93 and I'm getting locks again.

I'm using paragon 6, suckerpunch voodoo #4, and jl2 modem if that matters.

Op says not to use jl2 but it works best for me in my area (northeast us, Pennsylvania)

Tried both Google and auto configuration on both btw. Same results.
[Captivate Android Development] compuguy1088:
I've been using 0.93 on my vibrant....with few issues.
[Captivate Android Development] DKirk:
Same here. 0.94 broke my GPS while going back to 0.93 brought it back again.
[Captivate Android Development] FeO2:
Same issue as above. Ran every fix you put out so far- 0.94 doesn't work at all. 1 or 2 satellites visible outside but no lock. Back to 0.93
[Captivate Android Development] Rrryan2:
Sorry about that. I've withdrawn 0.94 until I can figure out what's causing this.
[Captivate Android Development] FeO2:
No problem- I've really enjoyed your work on the gps settings so far. Let me know if I can help with testing at all.
[Captivate Android Development] CuriousTech:
Are you guys making sure the LbsTestMode settings are all correct before giving up?
[Captivate Android Development] rajendra82:
Reverting back to 0.93 is the right choice for my phone and location. Couldn't get the GPS to lock at all with the 0.94 fix to the satellites it did see. Reflashed 0.93, and the locks are near instantaneous again. I am stock KB1 with hand tweaks like rooting.
[Captivate Android Development] Rrryan2:
v0.942 TEST

Here's a test version for 0.942. Depending on how testing goes I'll make up the other regions and post shortly.

Think the problem might have been that I was attempting to use the wrong port on Google in some of the confguration problems. In any case I just applied it over a clean wipe install of Cog4.1.1 and it works great for me.

IMPORTANT: LbsTestMode settings must be manually updated as well!

SUPL/CP Settings: Server FQDN = Custom Config, Server: supl.google.com, Server Port: 7276, SUPL Secure Socket = ON, AGPS Mode = SUPL

Application Settings: Tracking, S/W Test, MS Based, Hot Start, GPS Plus = On, Dyn accuracy = on, Accuracy = 40, GPS logging = off
[Captivate Android Development] lospulpo:
Just to let everyone know. Had terrible GPS (worst so far) with Cognition 4.1, Suckerpunch Voodoo #4, and JK4 modem (multiple i9000 modems tried actually with terrible results). Applied this 0.93, followed instructions to the T and now have the very best GPS i've seen on the phone to date. Very impressed. Thank you!
[Captivate Android Development] rajendra82:
Version 0.942 is giving me quick locks, just like 0.93 did, and 0.94 couldn't. Haven't tried tracking accuracy yet, but if Rryan2 and Da_G both think that this is the best settings option, I will go along.
[Captivate Android Development] Rrryan2:
Well, I can't put words in Da_g's mouth, but he had indicated his thoughts about forcing Pedestrian Mode in his original post: http://xdaforums.com/showthread.php?t=881941

Da_g's words understandably came to be accepted as conventional wisdom. While I had some previous success at questioning the status quo (like re-enabling smoothing) I decided that forcing pedestrian mode might at least help with the lagging and "ghost inertia" problem some continue to report. Initial testing has been positive so far.
[Captivate Android Development] Rrryan2:
v0.942 UPDATE 3/2/2011

Changelog: Essentially a bug-repaired version on 0.94 from last night.

Continued tweaks trying to improve tracking performance. The biggest change is that I've gone back to using Google's own supl server instead of the 3GPPnetwork.org server that was specified by default in UCKB1.

0.942 Changelog

-Bug repairs from 0.94

- jupiter.xml

- decided Da_g was right and re-enabled forcing pedestrian mode for the most frequent location updates

- configured to use supl.google.com instead of 3GPPnetwork.org

- secgps.conf

- changed supl server and port settings to google

IMPORTANT: LbsTestMode settings must be manually updated as well!

SUPL/CP Settings: Server FQDN = Custom Config, Server: supl.google.com, Server Port: 7276, SUPL Secure Socket = ON, AGPS Mode = SUPL

Application Settings: Tracking, S/W Test, MS Based, Hot Start, GPS Plus = On, Dyn accuracy = on, Accuracy = 40, GPS logging = off

Installation Instructions:

Download .zip for your region

BEFORE FLASHING - Use LbsTestMode to apply new SUPL/CP and Application Settings (see above) and delete GPS data

Flash using CWM recovery

After rebooting, use an app like Google Maps or GPS Status & Test to force download of AGPS data BEFORE USING LbsTestMode.. The LbsTestMode app seems only to apply AGPS data that has been already downloaded but doesn't seem to ever actually download it itself no matter what configuration is specified. Once another app has been used to force AGPS download the LbsTestMode tests can be used.
[Captivate Android Development] mnjm9b:
Just wanted to say thank you for working on this...
[Captivate Android Development] Rrryan2:
Some just use us the 'thanks' button, but hey. :)

An interesting update: there may have been a minor disturbance in the force relating to the XWJV1 Gingerbread leak for the Galazy S I-9000. Some very interesting developments are going on in Vibrant land relating to it.
[Captivate Android Development] mnjm9b:
Maybe next time i am viewing this thread at a pc i could do that...

there is no 'thanks button' on the xda app. (which i use 93%)