yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Kenn Lynch:
--------------------------------

A follow up (running V1.1beta1 with the typo corrected)

Same as the last time, by the next morning, the two "missing LTO files"

lto.dat and ltostatus.txt have been created along with a refreshed gldata.sto.!

However the file "lbsdata.sto" which was definitely at one time in my

data/gps dir is still no longer created or there?

I'm not sure if it was there on my machine on a 1.0 or 2.0 version? but I did have all seven files at one time same as in the screen shot in post 73

as per Rrryan's description

"lbsdata.sto = locally stored networks/towers with known locations. Helps provide approximate location for first fix based on what towers/networks it sees."

Unless that refers only to version 2.0, I'm wondering why my V1.1b1 (typo fixed)

works as well as it does? It appears to be pretty stable and 98/32 foot accuracy with 5/6-6/7 Birds. LBStestmode showed TTFF as 10 secs, and accuracy as 10 meters (First cold fix in SGS-Status about 90 sec)

I still see some erratic mph <2.0mph) and I haven't retested tracking in a moving vehicle yet. Googlemaps has the icon about 5-10 feet from my actual location!

compass bearing appears mostly correct, there is some 40 foot drift over time

but mostly my actual location stays within the blue circle. (or it expands)

I'm back on the East coast in NY and haven't seen that behavior I did in AZ

(First lock on a tower a mile away then leisurely bounce back and forth between there, and a point about 150 feet from my actual location.

(a small circle but it was off actual target)

It seems that reception and behavior also appears to be location specific

But I'm only guessing and trying to provide some 1.1 feedback until

version 2.0 beta 14 or later is released to XDA (hint hint again)

Be glad to test a PMed version of the new betas just haven't figured out IRC

Later

KJL
[Captivate Android Development] Rrryan2:
gldata.sto stores things like last known fix. It doesn't really get 'refreshed' per se, just gets written to when the gps is used successfully.

Make sure Settings -> Location and Security -> Use Wireless Networks is turned on.

Even if it doesn't get written, it's really only of minor help for the most part anyway as long as you have a good data signal. The unit is still inquiring over the internet for Lbs data and having a little bit of that data cached locally is not necessary and will only speed things minorly and only if you're in a location that has been recorded previously.

Done about all I can for it in 1.0, though I might still play with getting the new JS8 daemon working again. One of those things where there's only so much that can be done when trying to improve a closed source and underengineered system.

Yeah, it can be at least at little. Different and different number of satellites in view, sources of interference etc.

There are good reasons many developers restrict test versions of software to irc, if for no other reason than to limit the # of people who might be adversely affected by a problematic release. It's mostly so I don't go around wrecking to many GPS's at once until there's something stable. And frankly the bar to entry is already pretty low as it's easily googled anyway.
[Captivate Android Development] Kenn Lynch:
Brrr its getting cold in here <BG>

nevermind I see the kind of "creative people" you put up with here

Well like they say no good deed goes unpunished

But more directly guess the upper/lower case "J" in the script

was either already found and reported in the IRS group

or determined to be inconsequential?

It sounds like you've moved focus on to

version 2.0 (unfortunately I'm one of those that 2.0 version b11 is

"not quite as good" as version 1.1 (evenwith the typos anyway)

So my choices are attempt to correct/edit beta 11

But have my doubts since no one else appears to be even posting on 1.1b1

Or find a client and short course for IRC

Or just live with what I've got (its cerainly an improvement after all)

and wait for an XDA release of 13+ and let someone else debug it

Thanks and continued success and good luck

Later

KJL
[Captivate Android Development] Fallon:
I had Cognition 4.2 & 4.3 running good with both PB 1 & 2...

Fresh install of Cognition 4.3.1 & I got crap. Maybe 1 satellite with minimal signal at best no matter what I do or try. It's that way stock & with v1 or v2 installed (tried reinstalling each a couple of times). It might be GPS aids messing things up, as it snuck in when I did a TiBu restore after the fresh install.

Thinking about doing a fresh install again & making sure GPS aids never gets installed. In the mean time GPS aids reports successfully grabbing a new lto.dat, but the /data/ directory is empty, no GPS directory or anything (Using Astro, think it's got root permissions). Am I looking in the right location? Am I missing something?

Kind of planning on waiting until the next PB v2 beta & trying it out on a fresh install of Cognition 4.3.1 at this point.

Keep up the good work, if I didn't enjoy tinkering & fiddling, things would be working pretty good. PB got my GPS actually usable if not almost acceptable.
[Captivate Android Development] CuriousTech:
Dump GPS Aids. Like everyone told me, it can cause problems. If it fails, some data files will be missing, and when the files are missing it doesn't work.

When I would see 1 bird it would be at 0° N, and 0° azimuth. Right at the north arrow in GPS Status, meaning data is all blank and it's reading a signal. Probably reading more, but it's too messed up to work right. Unless you're not getting a good view, that's caused by missing or bad data files.

I'm using 1.1b1 still and all the data is still up to date and working great. As long as I don't put in under the dash or something the tracking is good.
[Captivate Android Development] Rrryan2:
Cog 4.3.1 actually has pb1.0 baked into it. Sort of. There's a problem with permissions of /data/gps/secgps.conf not being set properly at installation to 0644, which causes it to be rejected. A new one is auto-generated but has retarded settings. Also, the settings in LbsTestMode need to be manually applied by the users.

Flashing pb1.0 over Cog 4.3.1 and applying the settings in LbsTestMode fixes it.

GPS Aids could definitely be the problem. Unfortunately, simply uninstalling it doesn't always repair all the damage it may have done and you may need to re-flash.

GPS Aids has some of the same sort of issues I'm having with 2.0: when it works, it works well. It's just not consistent, and when it does fail it can mess things up badly. Remember also that it's developed with the I9000 in mind, which uses a different chip.

At this point I don't recommend GPS Aids unless nothing else has worked and you're completely out of ideas and options and on the verge of re-flashing anyway. Even when it is working, it's only a temporary workaround that should be unnecessary if LTO is updating properly on its own, and even a good LTO isn't necessarily helpful if something else is screwed up.
[Captivate Android Development] Fallon:
Did a fresh install of 4.3.1 (no GPS aids this time), and got 0 signal from anything. Not sure what version of PB is supposedly baked in, but it's not working for me, even after a ton of reboots. Finally installed PB v2b11 & got ok signal & locks in a reasonable amount of time. I don't think the signal is quite as good a previous versions/installs of PB, but haven't done extensive testing yet.

To add insult to injury A friend was over with her new (replaced due to sleep of death) Captivate. Bone stock I installed GPS Test on it & it saw 8-12 satellites within seconds including some with signal strength in the green.... sitting in my living room. I've never seen that many or a green signal strength on my Captivate ever, much less in my living room.

Ah well, at least mine is working again. Might be a sleep of death RMA in my future though. :eek: Definitely moving to Perception 11 when it comes out.
[Captivate Android Development] Kenn Lynch:
Progress? What happened with PB 2.0 Beta 13 14 etc?

Has the release of any new additional Beta's stopped on this XDA thread?

Just curious, Is 1.1 now an official release (no longer a Beta?)

Same for 2.0 b11 despite talk of a beta 13 released/tested in IRC

is b11 the last official release of Plumbbob 2.0?

WAHHHHHH <BG>

I want something new to play with (preferably a "magical" improvement)

WOW Its been so quiet in here,

I can almost hear phone calls in stereo on Cog/VooDoo <BG>

Sounds hoaky, but I miss the excitement of when there were

more frequent releases or at least some knowledgeable feedback

Oh well, I certainly appreciate the work that has been done

KJL
[Captivate Android Development] Fallon:
After a platform gets released there's usually a pile of bugs or annoyances people feel the need to address. After a certain point people get em fixed & you don't keep scratching an itch after it stops itching. Kind of a testament to the quality of our developers if there's nothing left to complain about really.

Well, I'll still complain about the crap GPS, but there's only so much you can do in software to fix broken hardware.
[Captivate Android Development] nephets0:
getting damned near 10s locks in maps @20 meters sitting in my living room on the newest gingerbread release using JP9.

fyi- it doesn't appear that LBSTestmode exists in this version...
[Captivate Android Development] carey:
Ok, I am missing something here. You are still trying to execute a directory with the command aren't you? What should it actually be calling?

I came, I saw, I left confused
[Captivate Android Development] ckelvin87:
I just saw my friend get locks on his i9000 on a 2.3.3 JVB without any fixes within 2 seconds, and that's from a hot start. I think someone should take a look at the gps files in that gingerbread build. Will that help with our gps rryan?
[Captivate Android Development] jsbac:
PB2beta14.5

Beta 14.5 is working pretty good for me. Doesn't seem to see/lock on as many satellites as previous fixes, but I'm still locking on 7/8 at any given time and accuracy is getting down to 5m pretty quick. I'm thinking about flashing Cont v5 tonight or tomorrow -- I'm anxious to see what kind of GPS performance with it.

jsbac
[Captivate Android Development] Kenn Lynch:
Hey any chance of getting a copy of beta 14.5 via PM or attachment or whatever?

I presently do not have IRC access. It's a bit of a tease to post here about

versions beyond beta 11 (the last one that has been officially posted here in XDA)

It seems strange to beta the beta's to me, but I guess there are control

issues for it. In which case as a beta tester you might want to check and

see if you should be discussing betas > 11 in XDA?

In any case it really sucks for those without IRC access,

those that would very much like to help move Plumbbob foreward

Thanks appreciate it

KJL
[Captivate Android Development] mnjm9b:
Android has IRC clients.

Check the market.
[Captivate Android Development] Kenn Lynch:
Yeah I knew that, but that wasn't, what I asked for.

But never mind, problem "solved"

KJL
[Captivate Android Development] Rrryan2:
Sorry, real life has been keeping me pretty busy and I've had no time. But yes I've suspended development on 2.0, at least for the time being. There was still the inconsistent but persistent issue of LTO not downloading in some cases, even after incorporating many of the suggested changes. PlumbBob 2.0 was essentially an effort to port Gingerbread GPS to Froyo. As it seems it didn't want to work reliably and Gingerbread ROMs are already dropping, 2.0 has been overtaken by events and will (hopefully) be quickly obsolete as we all start using Gingerbread anyway.

1.1b1 is still reliable and stable; that there are no posts about it is probably a testament to such as there would be tons of complaints otherwise. I still might put the JS8 files in but in truth I didn't even see much improvement in test versions.

If there are still a lot of people on Froyo ROMs in a few weeks maybe I'll resume working on 2.0.

In a week or so I hope to have more time and might look at putting some of the lessons I've learned in GPS tweaking to make a Gingerbread-native tweak package.
[Captivate Android Development] Yuna:
Rrryan2, did you know that 2.0 versions CAN't download XTRA according to GPS Aids?

Serendipity rom.
[Captivate Android Development] Rrryan2:
Neither could 1.0, or for that matter any other Captivate GPS. Maybe it's a fault in the driver, or maybe the different BCM 4751 chip (I9000 uses a different chip with FM radio integrated).

It's not really a big deal, as LTO has 4-day validity while XTRA does the same thing but only for 4 hours.
[Captivate Android Development] Yuna:
Hmm, but i was using 1.0 and i CAN download XTRA. Maybe cos i was using jupiter.xml from Andromeda3?

Mine 1.0fix can download.
[Captivate Android Development] Jep56:
May be a dumb question. How do I uninstall Plumbob, and go back to original ROM's gps? I'm running Paragon RC6
[Captivate Android Development] kevria:
The way I did it on Serendipity was to look at the plumbob package and create a package with the same files (and deleting new files) from the Serendipity rom. I then installed the zip I created and was back to the original files.
[Captivate Android Development] Jep56:
Thanks, I'll try that.
[Captivate Android Development] halfsoul:
I tried Continuum5 RC3 and the GPS was awful for me. Maybe GB for I9000 still isn't quite right?

SGS II looks to have really good GPS. Anything we can use from SGS II?
[Captivate Android Development] Rrryan2:
I'm just now going through flashing to GR-9 Gingerbread to try playing with native Gingerbread and its GPS.

I'm downloading the KDD package now. Been so busy I hadn't even realized it was out. I'll see if there's anything useful, but not even sure what chip the SGSII uses so it might not be helpful.
[Captivate Android Development] halfsoul:
GR-10 is out, if you hadn't noticed.

:-)
[Captivate Android Development] AndroidPR:
SOrry for this newb question, but I just rooted my stock 2.2 captivate and wanted to try and have a better gps. will this work for me eventhough i dont have any roms installed? and how will i go about it?

I actually dont need the tracing, just the location.

Thank You for your help!
[Captivate Android Development] NascarFastcar:
You can flash it with a stock rom. I would recommend v1.0 or earlier. You just need the gps for a standstill location? What build is your phone? (four digit number under the battery. ie 1008,1009.)

My first phone was a 1009 build from Thanksgiving. The phones gps would lock fine being still but would never lock while moving. These fixes changed that. But I ended up bricking that phone by removing random files lol. Was able to recover it and I took it to atnt device service center and complained about random shutdowns (didnt have them) and got a refurbished 1008. Gps works perfectly on that. But the irony was the refurbed phone I got actually had shutdown problems. Got another 1008 and the gps was trash. Then I complained about the gps and got another 1008 from them and its been 2 weeks on stock everything and the gps is flawless at tracking and indoor locks.
[Captivate Android Development] AndroidPR:
Hey thanks for the reply. My cappy is a 1008 Build. Yes, for standstill location. I cant get a location when im inside my house and when I'm outside it takes a long time to actually lock in.

I will try and flash it.

Thank You for your help
[Captivate Android Development] Shoey Peachew:
keep up the great work!
[Captivate Android Development] reinbeau:
Tin Foil Fix

I posted this in another GPS thread, and wanted to share it here:

I folded a strip of tin foil up to match the size of the little square on the inside of the cover of my Captivate, right over that little bent spring that seems to make contact with it. Carefully put the cover back on and voila! My GPS, which was usable but not quick or very accurate, now locks in about two seconds and has an accuracy of 5 meters - pretty damned good compared to 23 meters and fifteen to eighteen seconds to lock before!

Give it a try, it can't hurt. Just make sure it's small enough to not contact anything besides the springy-thing and the square on the cover.
[Captivate Android Development] movrshakr:
!! More detail. Please describe the size and shape of the foil before folding and after. How do you get it to stay in place? DOes it just stay there by the pressure after putting the cover on? Doesn't the cover sliding move it?

If this works, we need to know everything!
[Captivate Android Development] reinbeau:
My reference is this post. I made a tiny, 1 cm square little piece of foil by folding a strip repeatedly. I placed it on the little springy-clip thing and made sure it wasn't touching anything else (the phone was lying on a table, to steady the process). Then I carefully placed the cover back on - yes, the pressure holds it in place. If you're careful you can put it right on without sliding it. Of course that means I've got to be careful if I take the cover off lest I lose the piece, but I can easily make another one. Give it a try, it worked well for me.
[Captivate Android Development] movrshakr:
What was the length and width of the strip before starting to fold?

Looking at the pic. that phone is different from mine. My contact point for the electrical contact with the cover plate is just adjacent to the right side of the SIM chip when held with battery down.
[Captivate Android Development] ri3tn:
Could you take a picture with the foil in your phone? I'm confused as to where to place it with that picture of another phone.
[Captivate Android Development] reinbeau:
Yes, it is different, that's the international SGS. If you read through the thread you'll find the post where the poster mentioned the tin foil and the placement in the Captivate - no picture.

I think the little strip was about 1.5" long, and about a quarter inch wide. I'm not metric, so I guessed at the 1 cm square number, then measured it and was pretty spot on.

Take the back of your phone off. Look at the cover. See that little white square? Look at where that would contact the phone - see that little brass colored spring-bent thing? That is where you put the foil. I'd take a picture and post it but my camera is out of juice and the battery is on the charger, sorry.
[Captivate Android Development] drancid:
Perfect gps performance with MiUi rom!! Don't know how but miui fixed my freakin gps!!
[Captivate Android Development] oops_iv:
what kernel and modem did u use? my miui gps is crap .. i never even get a lock
[Captivate Android Development] drancid:
juat as is. jk4 modem and kangs kernel.
[Captivate Android Development] Wander73:
Hey I just found this thread and gave it a whirl with some good results,

however after flashing my phone occasionally vibrates 3 times quickly like when a program is force closed, but without any on screen indication

I flashed 1.0 first, then 2.0b and cleared the dalvik cache

anyone else experience a similar problem? would it be safe to delete all of the gps files included in the updates and then reflash?
[Captivate Android Development] shadvich:
Wow...this actually works. When sitting inside on my desk I'd never get more than 2 sats, but with this, I get a 8/8 10M lock in the same spot. Thanks.
[Captivate Android Development] bobo9900:
Hi Rrryan2,

May I ask some question regarding your fix.

Is default samsung captivate gps capable of downloading lto.dat dan utilizing it? And how your fix enabling it?

It seems like captivate uses broadcomm chipset, and my motorola defy uses it too.

I would love to enable lto.dat compare to my current defy capable only of 4 hour agps assistance before it expired.
[Captivate Android Development] Rrryan2:
Yes. It's enabled in the XML configuration file (Jupiter.xml or gps.xml depending on the version). In fact, as best as I have been able to determine the Captivate actually cannot use XTRA.bin, though the international I9000 (different Broadcom chip) can.

You can try finding and adjusting the configuration in the xml on your Defy. However, Moto has to write their own gps driver, and if they haven't contracted with Broadcom for the LTO service then it may not be included in the driver and might not work no matter what configuration you specify.

Good luck.
[Captivate Android Development] bobo9900:
Thanks. I indeed had played around with gpssetting.xml, my file in moto. Tried your setting, and none had worked.

Then I tried a quick look at libgps.so, its a completely different one.

I haven't try to copy libgps.so to my moto. Actually sometimes, only adding some of your setting to my moto, cpu spike to 100% and don't come down until I revert to original gpssetting.xml and reboot.

Your idea of no contract with broadcomm might be the answer. I haven't identify exactly what broadcomm chip, and whether it it support lto.dat. Now, finding a 'generic' driver might possible, or might be impossible too as the driver integrated to other part of software.

xtra.bin afaik belongs to quallcomm, gpsOne chip. it is interesting how broadcomm can use it :D

Thanks for your guide. I'll look for other moto android to see if its lto enabled, and if it is possible to use the driver.
[Captivate Android Development] Drew489:
This work or needed on Mosiac III diet?
[Captivate Android Development] crazililazn:
Is this GPS fix compatible for JV9/JVO GB roms?
[Captivate Android Development] Rrryan2:
No, at least not completely.

Frankly I had found the stock GB gps to be pretty acceptable even without modification. If there's demand I can see if I can cook something up for GB, but to be honest I think the potential is for more of a 5-10% improvement versus the dramatic difference under Froyo for most.
[Captivate Android Development] crazililazn:
Hmm, well for me, when I use Google Map Navigation, the tracking is still horrid on GB :/ Haven't tried with a dedicated GPS app tho, so I'll do that before I conclude that the GPS on GB is absolutely useless without a fix.
[Captivate Android Development] aalh:
GPS Status is as bad as it ever was for me

definitely worse than it was on the mature Froyo roms

But I am waiting for other stuff to get tweaked before I start hounding the GPS wizards ;)
[Captivate Android Development] simbill:
i flashed plumbbob fix after i installed continuum 5.5 and it totally f'd up my gps. i couldn't get it working until i flashed the Nexus S stock GB gps files. i found them somewhere on the forums here. worked like a charm. my gps is completely working
[Captivate Android Development] daverup:
Any chance you still have this flashable file?

A search for "Nexus S stock GB gps files" isn't really narrowing it down much.

Thanks
[Captivate Android Development] yourname146:
I am seconding this, I can't even open LBSTestMode in Continuum without FC.
[Captivate Android Development] aalh:
first, I believe you use angryGPS, not LBStestmode for GB roms

second,

http://xdaforums.com/showpost.php?p=13954472&postcount=39

I have not used this, and neither endorse, nor condem it. others say it helped

You're welcome
[Captivate Android Development] simbill:
thats what i used. flashed those files and its never been better lol

and the angrygps APk is at: http://xdaforums.com/showthread.php?p=13657007

incase your running a rom that doesnt include it