yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Rrryan2:
0.91 for K1B

Now that's a little more like it!

0.9:

- new libsecgps.so from KB1 leak

- New jupiter.xml from KB1 leak

-new secgps.conf from KB1 leak

- glgps daemon in Nexus S is the same as KB1, retained

0.91

- changed operation mode in secgps.conf to MSBASED

- modified jupiter.xml:

deleted extraneous, commented-out anyway debugging documentation markup

corrected path to supl certificate to /system/bin/gps/ vs. /system/bin/gpsd/

This is presently running just super on Cog4 I897UCKB1, and a closely related version was running just fine on KP1 earlier. The settings I've made appear to finally allow the AGPS data to be downloaded and applied properly, meaning that it's possible to get locks on weaker SNR birds because the AGPS data is already telling the device about their location, trajectory etc.

I may have finally managed to crack this nut. :)

IMPORTANT: LbsTestMode setting must be manually updated as well!

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

Application Settings: Tracking, S/W Test, MS Based, Hot Start, GPS PLus = On, Dyn accuracy = on, accuracy = 50, 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] koreancanuck:
aww.. no Canada :(
[Captivate Android Development] Lancez:
OP, i'm still running JPY_V.8 from Doc's kitchen, is your GPS fix compatible with that too? if so, which version should i install? thanks in advance
[Captivate Android Development] Rrryan2:
Sorry. Was in a rush and am still adding regions.

Here you go. :)
[Captivate Android Development] Rrryan2:
I haven't been able to view the raw UCKB1 source directly yet, but the initial release of Cog 4 had a coupla configuration problems. I pointed them out early on in the Cog4 thread but DG's probably been busier doing more important things or playing with his new Atrix. ;)

In any case plumbBob 0.91 has had some pretty excellent results and might be worth a swing.

I've actually been toying with the idea of gluing a piece of copper foil to a larger piece of cardstock and then pasting it inside the caseback. If nothing else it would help make a tighter fit against the spring contact without having to bend anything fragile. Just have to find some copper foil...
[Captivate Android Development] Johnston212:
2 Things:

1. What app is that you have?

2. Is this compatible with Perception 10.4? I'm also running Speedmod with the ZKP1 modem
[Captivate Android Development] koreancanuck:
Oh sweet thank you so much! :)

By the way, I was going to write how it did on my phone. Didn't do that well on di11i's rom but worked wonders on cog4 (0.84b). Going to try out 0.91
[Captivate Android Development] Rrryan2:
GPS Status & Toolbox:

https://market.android.com/details?id=com.eclipsim.gpsstatus2&feature=search_result

Haven't tested that particular combination, but I was running (and developing) it on Precision 3.5 KP1 with SuckerPunch (based on Speedmod) so I can't imagine why it wouldn't.
[Captivate Android Development] bay_wolf:
Would .91 or .84 work better with serendipity?
[Captivate Android Development] Lancez:
ok, i went ahead and installed 0.91 USA along with settings that you stated 1 page back. but it seems the GPS H/W shutting itself down 1-2 sec. after launch. i have deleted GPS data as well as rebooting after installation. i attached couple of screen shots.
[Captivate Android Development] CuriousTech:
That could be a bad flash. I tried 0.91 on Perception 10.4 and had that. Tried 0.9b and it worked, then tried 0.91 again and it's working now. I've only gotten a 7/7 fix inside so far but looking good.
[Captivate Android Development] Lancez:
thought about that and reinstalled twice, but still the same result :confused:
[Captivate Android Development] Rrryan2:
Hmm... LbsTestMode -> delete gps data?
[Captivate Android Development] D12AKO:
Should Update Main Page of Thread

Great work... you should add this update to First Page of Thread.

I'm currently running Adams_GPS_Fix and GPS is doing really well... will try this one later on and see which one works best for me.
[Captivate Android Development] Lancez:
done that, also soft reset after flashing. trying to reflash the ROM now
[Captivate Android Development] Rrryan2:
Dang. Woulda said to try flashing over 0.8.4b (still inked int the OP) first. It was still using the older binaries.
[Captivate Android Development] D12AKO:
What Apps do you guys use or recommend to take Phone Screen-shots? I see most of the Devs doing it but I'm just wondering what's the preferred App?
[Captivate Android Development] DrCruelty:
I had the same issue. I flashed 0.8.4 and then back to 0.9 and it worked again.

Otherwise, it does seem somewhat improved in stationary testing, but still jumps around quite a bit at times. First time I've seen a 5m lock in quite a while, but it couldn't maintain that accuracy for long.
[Captivate Android Development] Lancez:
thats alright, this is where fun begins :D
[Captivate Android Development] Rrryan2:
Indoors? If so that's still pretty decent.

Re: jumping around, I'm still toying with a few settings. You might try turning down the dynamic accuracy to 30 or in LbsTestMode. This should discard some of the locations outside of a statistical tolerance and reduce the jitter a little.

Having success only with the upgrade path you describe is puzzling, but in looking over things for a few minutes I can't put my finger on anything in particular.

Anyhow, I've got to go to bed and will resume work on this tomorrow.
[Captivate Android Development] Rrryan2:
Market -> Shootme
[Captivate Android Development] askpcguy:
How confusing. I at one point had pretty good GPS in terms of initial locks (even indoors but near a window) and never any major problem using Google Maps to navigate.

My ROM progression went something like JF6, rooted, some of the JH roms with the infamous GPS logging enabled (would cause the phone to report low free memory) then I tried the i9000 ROM and whoa! The GPS locks were amazingly fast. I went back to one of the JH roms, switched to the supl.google.com server on port 7276 and still had good GPS.

I must add that between ROMs, I'd restore all data using titanium backup. I had problems and would have to pick and choose certain system apps to stop the force closes.

Now where things get interesting is when I jumped to Cognition 2.3, the GPS wasn't bad but still not as snappy as before Cognition. I also never applied any of these GPS fixes.

Currently, Cognition 4 and I last applied the 0.91-USA-CWM and with the phone right in the window, I see 0 satellites in LbsTestMode, Get Position Test.

PDA: i897uckb1 and Phone: i897uckb1.
[Captivate Android Development] Rrryan2:
From what I can tell lbs testmode doesn't download AGPS data no matter what you specify. Try uaing google maps or something like GPS Status & Toolbox first.
[Captivate Android Development] askpcguy:
Thanks! I'll give this a bit more time in the morning, that is if the snow melts and I can drive. Otherwise it'll be testing by walking around.
[Captivate Android Development] CLShortFuse:
Thanks for not giving up!
[Captivate Android Development] dave1977nj:
going to test this out !
[Captivate Android Development] ewingr:
Uh...no. Not the original back, on a Captivate.
[Captivate Android Development] movielover76:
Testing in Google Navigation

My tracks testing went fairly well.

Google navigation wasn't as good as the my tracks application seemed to make it seem, jumped around a lot.

Turning off wireless network, led to less jumping around, but google navigation having no clue where I was more often.
[Captivate Android Development] Rrryan2:
From an earlier post: If you want to see something really weird, try running Mytracks while navigating along a route with Google Maps Navigator, and then make a turn not suggested by the route. The Mytracks track will "ghost" you along the route for a bit more than if you weren't running navi. Same road, same turn with no routing = no ghost inertia through the intersection in Mytracks.

In other words, it seems Google Maps Navigator is influencing the reported/recorded position in some odd ways. It could also be that the driver or GPS chip's handling of route information is flawed, don't know.

Turning off wireless network shouldn't make much of a difference (once AGPS data is downloaded at least) but might help with some of the alleged problems with EMI, power starvation, etc.
[Captivate Android Development] mbc663:
I give you major credit. You solved the gps for this phone!!! I'm on a trip now and my locks are dead on. As good as my garmin. Dev of the year!!
[Captivate Android Development] Rrryan2:
Good to hear. For troubleshooting purposes, which ROM/Modem and which version of the fix?
[Captivate Android Development] sremick:
Tried this on Perception 10.2 with SpeedMod K13C kernel and JK4 modem. No real improvement. Applied 0.84 first then 0.91. Also did manual lbsmode settings changes as mentioned.

No real improvement. Sticking it right in the window and waiting several minutes... it sees only 4 sats and none are "in-use" yet so no lock.
[Captivate Android Development] shoman94:
Not working at all.... google maps also turns gps off after 2 seconds
[Captivate Android Development] Rrryan2:
:(

Someone else reported this and I haven't been able to hunt down any problem yet. He was able to fix by flashing 0.8.4b and then 0.91 but I don't quite know why just yet. I'll continue working on it tonight.

Be sure the "Use Wireless Networks" is allowed in Settings, make sure the proper settings are applied in LbsTestMode, delete GPS data in LbsTestMode, reboot, and then try to get a fix using Google Maps or GPS Status & Test (Not LbsTestMode, at least not 1st).
[Captivate Android Development] shoman94:
Reloaded..... per above quote.... not very good in testmode... 4 sats... no lock
[Captivate Android Development] ryude:
Tried the KB1 test-fix, my results were pretty poor. Even with the recommended lbstestmode settings I only managed 3 sats in 115 seconds/200 meter lock.
[Captivate Android Development] Rrryan2:
Using what app to test?

As stated in a few of the posts here, LbsTestMode seems to apply AGPS data if pre-existing but won't actually download the AGPS data itself. So it is very helpful to use something like to GPS Status and Test (market app) or Google Maps to force the AGPS download before trying to test in LbsTestMode.
[Captivate Android Development] IStern:
0.8.3b still gave me the best gps performance i've ever had on this phone, stationary lock or driving navigation. I've tried with JK4 and JL2.
[Captivate Android Development] ryude:
I will reboot and try again.
[Captivate Android Development] shoman94:
Can I get the stock gps files back?
[Captivate Android Development] nkrick:
Is version 0.91 for the KB1 modem specifically? That is what the title of your post seems to indicate, and I see that 0.91 includes the new GPS driver library.

Some of the reports of 0.91 not working well for some people could be due to not having the KB1 modem installed...
[Captivate Android Development] Rrryan2:
It's very possible. I did successfully get it to work on KP1, but others haven't been able to.

Non-KB1 users should probably use 0.8.4b for now.
[Captivate Android Development] shoman94:
Can you make a flashable zip containing stock KB1 files please.
[Captivate Android Development] askpcguy:
I think this was the last xda fix I applied, the 0.91 fix because I am on Cognition 4.

Soon as I was outside, lbstest picked up enough satellites to obtain a gps position lock.

I even tried the Samsung gps restore bit indoors I could not get a lock.

I made a backup of Jupiter.xml gps.conf and secgps.conf. I am going to re-apply the 0.91 fix and see what changes while outside.
[Captivate Android Development] nkrick:
FYI, Cognition 3.04 + KB1 modem + 0.91 gps fix = completely non-functional GPS. Hopefully no one else tries this combo.
[Captivate Android Development] DrCruelty:
Was actually outdoors. I tried it both to and from work today for a better feel. On the way to work, it was typical Captivate. Jumping around lots of everywhere and giving me wrong directions as a result.

On the return just now, it was spot on even in heavily treed areas. Stationary GPS Test reading at the end was a steady 5 meter lock.

So yeah, terrible and great all in the same day without changes.....I don't envy the challenge you have undertaken.
[Captivate Android Development] FeO2:
0.91 working good for me with KP1 modem on Serendipity. Lock time is not improved but tracking is much improved. Previously navigation would be ghosting all over the place but today on my hour long commute home it didnt ghost once. Thanks!

Let me know if I can be of assistance logging anything.
[Captivate Android Development] askpcguy:
A bit of testing

I flashed the plumbBob-gps-fix-0-1.91-CWM-USA.zip then I changed the LbsTestMode configs as suggested. Ran a performance test in LbsTestMode (after delete GPS data) Which is shown in screen shots :

1 of 5 Auto_FQDN_0.9_Fix1.jpg (39.4 KB)

2 of 5 Auto_FQDN_0.9_Fix2.jpg (39.4 KB)

3 of 5 Auto_FQDN_0.9_Fix3.jpg (22.5 KB)

Then I deleted the GPS data again, changed the Server FQDN to supl.google.com port 7276, SUPL Secure ON and AGPS SUPL. I waited in Google Maps until my position was displayed (100 meters accuracy) then ran the Performance test again. Shown in screen shots: The reason for test 5 and 6 is much higher was because I moved the captivate from the car's window to by the steering wheel, think by the air bag/horn button.

4 of 5 CustomConfig-1.jpg (22.6 KB)

5 of 5 CustomConfig-2.jpg (28.7 KB)
[Captivate Android Development] iXNyNe:
im running 0.91 with the recommended settings above on Paragon 6 [js3 based rom] with paragon's default #27 kernel [i9000 based kernel i believe] and jk4 modem [isnt this a modem from the vibrant?]

anyway initial lock (even after deleting gps data) is very fast (as it has always been with plumbob fixes for me)

seems just as fast as the .8x releases

i have only been testing while stationary - i will report on my testing while in motion tomorrow

i dont think the .9x fix is kb1 specific...
[Captivate Android Development] Rrryan2:
To be expected. As I've stated several times previously, LbsTestMode doesn't ever seem to actually download the AGPS data over the internet on its own (LbsTestMode pretty much sucks balls), so if you're deleting the gps data it's actually getting it over the satellite signal instead.

The ephemerides (info broadcast by each bird every 30 sec about its orbit and trajectory) take about a minute or so to download so that's why it's taking about that long for the first fix. Changing the server config was moot here since LbsTestMode doesn't use it anyway like it ought to; the variation observed is really just due to chance, depending on when you started the sequence in each bird's transmission "cycle." If you repeated the test using your same protocol you would probably get completely different results.

See here for more info:

http://gpsd.berlios.de/gps-hacking.html

Use another app (Google Maps etc.) that actually utilizes the data connection to download if you want to compare between servers.

In my testing I'd found that supl.google.com and the 3gppnetwork.or offer comparable performance. I had been using google before KB1 dropped and when I saw that everything in it was using 3gppnetwork.org I decided to stick with it for now, though I may change later.
[Captivate Android Development] askpcguy:
I think Samsung is the one that uses the Spirent custom server FQDN.

I was only posting the results from using LbsTestMode to show the performance in terms of getting a position fix.
[Captivate Android Development] Rrryan2:
That's what I'm saying though - the LbsTestmode app doesn't even look at the settings because it doesn't even utilize the data connection. In effect your tests are basically of its performance as an unaided 'dumb' GPS.

The variance in your tests (super small sample size) are mostly just due to dumb luck based on when you started your test within that 30-second cycle. Sometimes you might have just missed it, other times you're just in time, and the receiver needs to download ephemerides from at least 3 birds before it can get a fix.

Half the point of this fix is really to get the AGPS functionality working right; LbsTestMode doesn't do a good job of making comparisons in that regard since it only seems to use AGPS data that's already been downloaded by another app.
[Captivate Android Development] askpcguy:
Here is what I find as very strange before trying Froyo ROMS, I could get a Google Maps lock indoors without too much trouble or waiting.

Now on Cog4 with the 0.91 fix, I let GPS Status sit or Google Maps sit trying to obtain a lock and get nothing. I have to be outside. Oh well, at least I can navigate using Google Maps.
[Captivate Android Development] the_boris:
I have tried 0.91 with FireFly 2.2 which JK4 modem. I didn't have any issues with it. Initial lock is fairly fast even inside and tracking is the best that I have ever experienced with my Captivate but still worse than GPS on any other phone.
[Captivate Android Development] Rrryan2:
Interesting Discovery For the Evening

On a lark I decided to delete the secgps.conf and let Android auto-generate a new one for me to see what happens. Below are the parts that were different from what I had been using previously:

#Generated by GpsLocationProvider.
#Thu Feb 24 22:10:26 EST 2011
SESSION_TYPE=2

Hmm. Was 1 before. I expect this means tracking vs. standalone if their order in the LbsTestMode settings can be taken as a guide.

OPERATION_MODE=MS BASED

I didn't have a space in there before. Might not have mattered, but might help to use the space I guess.

NUM_OF_FIX=999999999

Was set to 0 before in every fix I'd found. Had seen this before on something copied from a Russian forum, but users reported very mixed results. Hmm...

SUPL_HOST=www.spirent-lcs.com

GOD I HATE YOU SAMSUNG!

Of course, lcs-spirent.com had expired by about the time the Galaxy S series launched. The fact that it's

still

defaulting to this for some bizarre reason in contradiction to the config specified everywhere else is very, very troubling.

I'll be experimenting with this and should have a new version up tonight or tomorrow depending on what I find.
[Captivate Android Development] Aus_Azn:
While I did notice an improvement with 0.9.1, I found that flashing the "Adams" fix from the Cog4 thread after 0.9.1 made the GPS work brilliantly. You may want to check this out.

My phone setup is still as my signature says.
[Captivate Android Development] Rrryan2:
I'll look at it some more, but from what I could see before Adam's fix overwrote with driver library with an older (pre-I897UCKB1) version. I'm not sure that's the wisest approach for this ROM, and Adam's didn't seem to be working for all users in the Cog4 thread either.

In other news, testing a new version with the hints I got from the auto-generated secgps.conf file were unsuccessul. I'll continue testing tomorrow, but 0.91 is still as good as I can get it for now.
[Captivate Android Development] CuriousTech:
Mine's been holding a fix great so far with 0.91 in the car. Not so hot in the house, but that's not where it needs to work.
[Captivate Android Development] ryude:
I need to know how to get to your house though...
[Captivate Android Development] iXNyNe:
True but he doesn't need navigation IN the house.
[Captivate Android Development] CuriousTech:
You scare me :eek:
[Captivate Android Development] ryude:
Why so serious? Hehehehehe
[Captivate Android Development] compuguy1088:
Has anyone tried this on a Samsung Vibrant??

Edit: no dice..installation aborts:

E:Can't chown/mod /system/bin/gpsd/glps_samsungJupiter
(No such file or directory)
E:Failure at line 4:
set_perm 0 0 0755 SYSTEM:/bing/gpsd/glgps_samsungJupiter
Installation aborted.

Edit2: seemed to be an issue in the script pointing to a file that didn't exist, corrected it and it flashed with no issues. Note I did make a nandroid backup in case of this not working on the vibrant.
[Captivate Android Development] mnjm9b:
0.9.1 w/cog4.....

Amazing!!!!!!!

I have tried EVERY gps fix on xda and rarely get a lock.

Often I am lucky to even get one bird in view.

With this combo and suggested settings I am not only seeing many more satellites but I am getting results and even locks IN MY BASEMENT!!!!!!!!!
[Captivate Android Development] shoman94:
I don't get it. I tried it and it's crap

Sent from my Torch-Captivate on the XDA-App
[Captivate Android Development] D12AKO:
This is why the Captivate is one of the worst GPS to troubleshoot. Each phone reacts different. For some, this GPS fix works better than ever while for others... Adams_GPS_Fix works wonders. Try both and see which one works best for you.
[Captivate Themes and Apps] MrSub:
I would like to see what everyone is using for there home launcher. If you could put a screen shot of it up and tell me the launcher name so I can kind of see what is what without having to download all of them. I know of ADW, LauncherPro, and NetFront. Thanks
[Captivate Themes and Apps] AReynante:
There's already one of these threads, but.

ADW Launcher EX (Paid one)
[Captivate Themes and Apps] NunHugger:
Launcher Pro. Icons are dreamlyfe.

Sent from a phone.
[EVO Shift 4G Themes and Apps] depsidynamic:
Anyone using it on this phone? I have it installed and man is it showing this phones flaws. Its not very smooth. FPS hangs around 20. Anyone get better results?
[EVO Shift 4G Themes and Apps] riggsandroid:
Seriously this phone is flawed because it cant play games it was never intended to play...THE HORROR!

I kid, I kid, I have not played it.

Are you rooted using an OC kernel?
[EVO Shift 4G Themes and Apps] oboroninja:
Try Fpse ce instead. Much better playstation emulator...

powered by the tears of a million orphaned alpacas...
[EVO Shift 4G Themes and Apps] depsidynamic:
Yeah, yeah. I have it set to 1.51 on evervolv. Ill try fpse now.
[EVO Shift 4G Themes and Apps] herbthehammer:
For me, I'd rather play with Sega or Nintendo emulation than have to have isos of disc images that take up so much space on the card. That's just me. I'm 8 bit old school kinda guy.
[EVO Shift 4G Themes and Apps] JKILO:
Sorry I walked into the party late..just saw someone wrote to me on a different thread telling me to come here but y'all solved it :) .. Did you try fpse? It works a lot better than psx4droid
[EVO 4G Q&A, Help & Troubleshooting] Kekoh:
Hey guys, I need a bit of help. I have been using CM7 since build 0, and have been having hte GPS lock issue as everyone else has. I finally got around to going back to a sense ROM to clear the gps using ##GPSCLRX#. When I put that in it asked for the password (MSL code) and I accidentally hit ok, finger slipped. It said password incorrect and I'm not sure if it cleared the GPS or not. I tried to do it again, but when I type in ##GPSCLRX# it just disappears and the password window doesn't come up anymore.

I tried going back to CM7 and then back to a sense ROM, and I can't get that window to pop up again. My GPS still isn't locked consistently, just a quick lock every now and again, so I don't think the clear worked. I don't know how to clear it now.

I tried doing it on Myn's 2.2 and the stock ROM.

Today I did a full wipe and installed a fresh Myn's, and when I type in ##GPSCLRX# it still just disappears from the box, and it never prompts me for a password.

I would really love to get the GPS up and running, because other than that I love cm7. Appreciate the help. If someone can get my GPS up and running well I wouldn't mind donating a few dollars to a beer fund or whatnot.