yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] foxbat121:
Mine locked perfectly 5 - 10 meters all the time but using it for navigation is another story.

Google Navi or any other navi software will snap you to the nearst road (so it always appears spot on until it snaps you to the wrong road). Fortunately, Google Navi actually shows your accuracy with a blue cycle surround your position. So, do you notice any blue circle in Google Navi at all?

With JH7 and mount my phone on the dash board for best reception, the GPS works about 90% of the time for me. The 10% of the time it will show a blue circle and my position on the map will lag behind my actual position on the road.

Remember, even if your GPS reports 5 or 10 meters of accuracy, it may actually show you 100s feet away on the map from time to time. So, I wouldn't trust the reported accuracy numbers much. EPIC 4G actually has a hardcoded accuracy of 98 feet. But its GPS actually behaves slightly better than Captivate.
[Captivate Android Development] ianwood:
It would appear we are still groping in the dark for a GPS fix. Mostly because we have a lot of inconsistent symptoms and no real information about the cause.

Personally I have noticed improved GPS accuracy in a number of the proposed fixes but none have lasted more than a day or two and none give lasting or consistent results.

Also clouding the issue are the varying impressions people have after applying fixes. One person may think it works because they got a fix indoors (just about useless) while someone else sees anything less than 5m tracking accuracy as a failure (me).

My point in all this is we really could use a more controlled method of evaluating fixes. This would require a set of tests under controlled circumstances (same route, same app, same phone, same phone setup, same time of day, similar weather, etc). In addition to controlling environment, we need to have logging information to evaluate raw data including NMEA sentences, almanac data, etc. I can help but would hope we have someone here who knows the inner workings of GPS better than I do.
[Captivate Android Development] RuizGT:
Just did the fix, no movement seems better so far, I'll have to test it out while driving later. So far so good, better than stock.
[Captivate Android Development] wyvphone:
I took my phone out driving earlier. With it sitting in a cup holder, it will pick up 5-7 satellites but won't lock on any of them if it's moving. Sitting still, it will lock within 3 seconds, but starting to move kills any hope of getting a lock.

Thanks for all the effort :D
[Captivate Android Development] asrrin29:
First off, my specs:

running JF6 (yes, still running stock ROM after all this time!) with the mobile AP fix, lag fix, rooted, etc.

GPS Test shows me at having more sats locking than I normally get, however Google Nav still behaves the same, occasionally losing me on even major highways. I'll do more tests during my work week to compare, but so far I don't see any big improvements.

Just to clarify, I have a range of GPS problems. One is that I will occasionally see sats, but am unable to lock on to them. A restart usually fixes this problem. My biggest issue is with maintaining locks, accuracy, and direction via the compass.
[Captivate Android Development] lpsi2000:
That is fine you do not trust it, but keep in mind you will never trust until you try it yourself. In this case seat on the side line while we enjoy the few days of glory:D

Anyhow, I went out again for 1 1/2 hr about 30 miles each way and GPS navigation was pretty good. Still premature but good.
[Captivate Android Development] foxbat121:
Sorry, I see nothing posted here that actually benefits me at all :) So, thankfully I didn't waste my time doing this. No one even bother to post a Google Track to prove anything.

I have no problem getting a lock either inside my house or outside. That's not my gripe with the GPS issue. I don't need to get a lock inside my house or standing in the street corner. I need a useful GPS that can be dependent on when you're out in a strange place while driving.

So you never see any blue circles using Google Navi?
[Captivate Android Development] lpsi2000:
I did see the blue circle a few times briefly (2-7 seconds) and those time it jumped off the road I was on but got right back on it. This time I compared with Evo 4G in the same car providing navigation. In comparison to the Evo, this was about 98% accurate, the 2% were due to the circles and jumping off the road. But don't let that discourage you because it seems to be 99% better than the other fixes or stock. Nonetheless I will reserve my 1% due to the fact I have been using this fix just one day. By the middle of the week, I will be more convinced.

The GPS locked in the house never impressed me either because the issue was getting lock while driving on the highway and maintain the lock during your travels in order to get good navigation. This is what I am testing for...
[Captivate Android Development] lpsi2000:
I am on JH7 and I am getting the same error and FCs during SD scanning. This is my only issue right now with this fix. I am thinking it most have something to do with one or a few of the files we replaced in "/system/lib". I am also wondering do really need to replace all of theses. It would be nice to narrow down a bit.
[Captivate Android Development] j101399j:
I am working on getting just the few lib files needed, which should help the FC on JH7. I have it down to 23 left over, but I am sure most of those are not needed as they do not work with GPS that I am aware of. Still testing, but it will take a bit.
[Captivate Android Development] lpsi2000:
I understand and thanks for the update.
[Captivate Android Development] avgjoegeek:
I did the gps recalibration fix and this seems to be working. I will have to seend how it goes or if I will have to rerun the calibration.

Then again this thing had the sleeping death issue too. Flashin got the voodoo rom seems to have fixed that
[Captivate Android Development] ewingr:
j101399....

Thanks for the great effort, and nice post of how-to.

I don't have a phone yet to try it on, as mine went back waiting for the fix from Samsung. Waiting until end of month.

I appreciate your efforts and others like you.

As for the controversy over wheter it works or not, I see enough here having issues that I certainly don't have enough faith in this fix to re-purchase yet.

99% isn't good enough for me. With Murphyy's Law, that 1% will be the most needed guidance time :p

My old Tilt which I'm suffering with now at least works perfect for GPS which is one of my main reasons for a Smart Phone.

Again OP, thanks for the efforts.
[Captivate Android Development] born_fisherman:
My results

I am using modded lbs.apk with designgears cognition rom - I flashed last night but didn't really play around with gps as I am kind of getting tired of doing it..

So this morning on my way to work (a 30 mile drive) - I realized that I had put the new rom and LBS on the phone..

I fired up LBS menu for the first time since flashing, and within 8 seconds, had a lock on 9 satellites.

I closed LBS, opened Google maps and also got a very quick lock (only a couple of seconds longer than LBS menu).. So I fired up Navigation and punched in my work address.. I put the phone in the cup holder next to me, and throughout my 30 mile trip, Navigation only lost my location (1) TIME! And was quickly fixed (2 to 3 seconds).

Since the phone has launched this has been THE BEST fix for GPS (for me). Like others, I am waiting for Samsung's release as we shouldn't have to be doing things like this to begin with!
[Captivate Android Development] contentryder:
"droid explorer has stopped working" everytime i open droid explorer running windows 7 x86! help please! if it don't open, whats next?
[Captivate Android Development] ccsoccer23:
So when I go to copy the files from your lib folder to my phones lib folder, nothing actually gets changed/copied.. File state still stays the same. Actually, I can't copy any files onto my phone. My phone is rooted. Any idea why it's not working for me?
[Captivate Android Development] dewt:
Here is a mirror for the lib files:

http://rommirror.com/android/j101399j GPS fix/lib.zip
[Captivate Android Development] contentryder:
figured it was the phone that keeps making droid explorer pop up with "droid explorer has stopped working."

what can I do to fix this?

my phone is rooted with busybox 1.17
[Captivate Android Development] ccsoccer23:
Reinstall Droid Explorer Make sure the adb.exe process is not running.
[Captivate Android Development] contentryder:
I still get the same problem. adb.exe keeps reloading when I keep closing it....
[Captivate Android Development] halfhp:
What I gathered from the author's notes is that this is a Captivate port of the "eugene fix" that was floating around about a month ago. Since that fix never actually worked, I'm curious if this is based on a more recent version of the fix or if it makes any additional modifications...and if so, what are they?

Thx
[Captivate Android Development] j101399j:
These lib files are from Eugene's R3 build and the stock JF6 dump. Eugene's R3 rom had a broken GPS (I mean really broken), to fix it you would take all the lib files (minus the 1st 3 folders) from JF6 dump and push them into his R3 rom. GPS worked but not fixed or accurate. That is when I messed with the gps settings and found it works.

So I pulled the entire lib folder and tried with a stock build, changed the gps settings and it also worked. Basically these are the JF6 stock lib files, with 23 additional lib files that are in eugene's build and his 1st 3 folders. I have not tired just the 23 extra files and 3 folders from eugene's build, but that is really the difference. There is also a clientgps... file in there that may be the key, I just have not had a chance to test it yet. Hope this help explain where the files came from.

I did an addition 300 miles of driving around St Louis today and so far only a total of about 10 seconds that google nav lost me (abou 1-2 seconds each time).

By the way the files in his new build include this fix (which are his files in the 1st place).
[Captivate Android Development] deisama:
Ok, so I got out windiff and compared the provided files with the stock JF6 files.

From that I made a trimmed version of the library that only includes the modifed files.

This should allow for safer updates since nothing is overwriten unneccesarily.

I than compared it with the files that JH7 changes, and the files that SRE changes.

Here's my compatibility report (keep in mind that this is based solely on file differences, and otherwise I have no idea what I'm talking about)

SRE and the gps fix both add a modified "libext2" library, but are otherwise fully compatible with each other (meaning they won't override each other's files).

Since ext2 has something to do with the filesystem and not the gps, its probably doesn't matter who's installed first.

JH7 and the gps fix both change libfmradio_jni and libXt9core.

So if you installed the gps fix first and than installed the JH7, than the fix will be overwritten.

So, if you want to test the fix, here are the best ways to install it.

Most Reliable

Stock JF6

SRE

Trimmed files

Second Most reliable (Probably the same)

Stock JF6

Trimmed files or original files

SRE

Feeling Daring!

Stock JF6

JH7 update

SRE

Trimmed lib files

Note: "Reliable" in this case just means odds that your using the fix as intended, and has nothing to do with actual gps performance.

But I think its important that we make sure we're using the fix correctly, or the results will be useless.

Anyway, I hope that helps
[Captivate Android Development] tazman171:
Every time I see something whit a I-9000 file in it I shudder (bad experience). Do you know what the i-9000 hardware file is for?
[Captivate Android Development] WickedStyx:
I used deisama's trimmedlib.zip with this setup:

Stock JF6

JH7 update

Cognition

Trimmed lib files

I got a lock with accuracy 50ft within 3 seconds indoors. I know this is pointless but before the fix on JH7 I had to stand outside for 5 minutes to get accuracy 80ft so it's a definite improvement for me. Haven't had a chance to test tracking yet.

Don't know what other functionality it's broken yet :)

EDIT: Went for a 45 minute drive. Got my position within 5 seconds but took about 30 seconds after firing up navigation to stop jumping around and after than tracked beautifully the whole trip!
[Captivate Android Development] tazman171:
You know, I used the file from here http://xdaforums.com/showthread.php?t=781882&highlight=gps+files a long time ago but never got it to work until I turned off the SUPL Secure socket setting. I'm getting 10 satelites in about 10 secs with 5 to 9 locks (I know that aint the point) and on the whole it works better although it does mis-place me more often that my Tilt. The point being, that file is only 634k and the files in it are specific to gps, There are only 2 Lib files and out of what you guys have your missing one. I'd seriously take a look at it, you have way to many files in this that have nothing to do with the gps settings.
[Captivate Android Development] InsaneJester17:
Has anyone found a way to fix the FC on media scan on JH7? I don't feel like starting from scratch to fix this. :-\

I know, I'm dumb for not making a backup before trying this. :eek:
[Captivate Android Development] lpsi2000:
This is pretty interesting and very easy to do, so I will give that a shot too.
[Captivate Android Development] ewingr:
Deisama

Thanks for the great report. Sounds like even if it ends up not being perfect all the time (which so far for you sounds like it is), then this fix may make the GPS usable.

Interesting to hear about the Co-Pilot. I'm planning on getting the Captivate again soon (had returned mine and been waiting on a GPS fix). I have also planned on getting a GPS app that installs for those times I travel and don't have access to the net. I currently have a Tilt, using TomTom. I found it also interesting that you indicate your Fuze was poor on GPS. My Tilt has been perfect (hence my expectations of excellent GPS). I suppose I could keep the Tilt and take it for the occasion where I don't have net access until something good comes out for Android. But I don't really like messing with that.

Good luck for continued GPS success.
[Captivate Android Development] RuizGT:
Tried it while driving, but saw no improvement over stock.
[Captivate Android Development] ccsoccer23:
Does anyone know why I can't copy over the files in the lib folder? They're like still protected by system, even though I've rooted my phone through One Click root..
[Captivate Android Development] bobbylx:
How are you trying to do it? I used adb push and it went fine.
[Captivate Android Development] tazman171:
What way are you accessing it?

Make sure you rw mount the internal sd if using root explorer or su it in terminal emulator.
[Captivate Android Development] ccsoccer23:
Well the steps say to use Droid Explorer, so I was just copying and pasting it into the lib folder using that.. But that doesn't work.

I have both root explorer and terminal emulator.. What do i do now? I feel like this is something really easy, and going to feel dumb.

Edit: Blah I figured it out, I used Root explorer and rw mount, and then went to the lib folder and set the permissions to everyone. Thanks for the help though.
[Captivate Android Development] creepyncrawly:
+1 to the original question.

I'm a relative noob to linux and to android, but I'm learning a little. I'm not ready to start using the command line yet. I need a graphical interface like droid explorer, but I'm not sure I've actually copied the files. I've tried several times, but the file dates on the files never change. The new files do not appear. Incidentally, the dates on the four file folders did change. So I assume I didn't actually copy the files. I'm guessing the file permissions need to be changed. Can that be done in droid explorer? I don't find that option so far.
[Captivate Android Development] MikeyMike01:
Either JH7 or Cognition causes Droid Explorer to not work.

Or maybe I had a borked install.

I restored using Odin, and now Droid Explorer works. I'll continue along to Cognition and see what breaks when.
[Captivate Android Development] creepyncrawly:
I purchased root explorer through the market. It took almost forever for it to be approved, but I finally got it installed. I did as above, mount rw and then add write permissions for group and other to the system/lib directory and each of the four sub directories. Write permissions for user was already checked. Then the file transfer in droid explorer was successful. Went back and cleared the permissions to original state after making the file transfers.

I'd still like to know if permissions can be changed from droid explorer.
[Captivate Android Development] baexmeyer:
I am finally happy.

Thank you very much. This is the first fix that actually got my GPS working correctly. I will be trying it out tomorrow.
[Captivate Android Development] tazman171:
EXT4 breaks it for me, works fine when ext4 is disabled, no go otherwise. Windows says the program encountered and error and needs to be closed. Oh well, I can still acsess the sdcards.
[Captivate Android Development] deisama:
I had the same crash on startup problem in DroidExplorer, but was able to track down the problem in the code and develop a fix.

I notified the author about it so he can eventually do an official update, but in the mean time, I'll attach my hacked version here.

Let me know if that helps
[Captivate Android Development] tazman171:
Thanks! Downloading and extracting, will get back to you on this.

Edit: Well, I might have done some thing wrong cause I got huge errors and my usb drivers quit again. Hell, the were solid for a whole week, lol. Get back to it tomorrow.
[Captivate Android Development] tazman171:
OK, got your version going but my drivers are still crapped out. IDK what happened to them.
[Captivate Android Development] nickbarbs:
Just wanted to say i FINALLY saw my first lock for 30 meter accuracy in london this morning.

Cognition -> reduced lib file via root explorer -> reboot and this morning my gps roughly followed me. Still alternated between 100m and hung here and there but it locked and thats All I need - a lock to show me where I am.

FINALLY!!! thanks!
[Captivate Android Development] daillcyruz:
Confirmed working with Vibrant Rom
[Captivate Android Development] CLShortFuse:
delete me please
[Captivate Android Development] whitesedan:
Installed this through my phone and its workong great. Indoors and im able to to gt a lock. Im going to try and aee if it stays lock on my way hone from work.

Anoher note, im starting to get FC on media scan during boot up or when it runs. I didn't have thia issue before and was wondering if anyone else get FC. (Android.process.media).

Captivate running Cognition rom without hsupa.

Sent from my SAMSUNG-SGH-I897
[Captivate Android Development] Kraze:
You wouldn't happen to have a 64 bit version of that, would you?
[Captivate Android Development] Zukoso:
guys..Right now I'm in Chile, South America. Do you know if there are some big differences in the configuration options in LbsTestMode? or it should be working just as a Captivate in the U.S.? (depending if your gps actually works :/ )
[Captivate Android Development] tazman171:
LOL the GPS in these is something else. I get locks, lots of satellites, blah blah blah, but nav always tries to turn at every crossroad, then realizes I'm going straight still. On my way to Sears to pick up a snow blower, or thrower as some of you call them, it says "right turn in 300 feet" which was correct, then immediatedly says "Take the next left in 800 yds". LOL it keeps saying I need to take the next turn as I'm pulling into a parking spot then suddenly shows a checkered flag as I'm getting out of the truck. LOL, I'm there!

The jumpy compass thing I'm sure is directly related to Nav thinking I'm doing 180's at 40 mph. There are more issues to deal with on this and I'm not sure they're all software related, I have 10 sats with over 5 locked while this is happening. My good old Tilt sitting right there correctly showing wich lane I'm in at 70 mph! while my Cappy thinks I'm going against traffic! Kind of comical in a way.

I hope this can be fixed, not *****ing just musing out loud here. :cool:
[Captivate Android Development] TheTodFather:
poop 10char
[Captivate Android Development] rjbad1100:
Does copying over those files root your phone? If not, then this is possible without rooting. I am new to the captivate, so I know little. Can someone tell me if this process roots the phone or not?
[Captivate Android Development] mcord11758:
No this does not root your phone. Unless you are looking to root your phone there is not much in the development threads that does not require root access.

If you are looking to root there are several options that are easy to do

Captivate

Cog 2.4
[Captivate Android Development] j101399j:
You must root your phone to use these. it replaces a few system files and you have to make the system folder read/write and you can only do that rooted. But you can just root, then apply the files and unroot.

Make sure you read and know how to restore your phone if it crashes way, way before you try this
[Captivate Android Development] crazililazn:
Hmm, just installed, will try tomorrow and see how it tracks.

Funny, how i9000 roms have perfectly functional GPS, while captivate roms have terrible ones :/

If this doesnt work, Ima flash back from Cog to an i9000 rom :[

Did me no good. Tracking was still as ****ty as ever :/
[Captivate Android Development] TheSopranos16:
I'm on a JPA i9000 rom and the GPS is equally useless as the Captivate's JI6 Froyo.
[Captivate Android Development] crazililazn:
Must be your phone then. On Shep's Deviant i9000 based rom in the Captivate section, my GPS worked flawlessly.

And no i'm not trolling, I have better things to do. I am DEAD serious.

I haven't tried with the latest Deviant rom, but the release before the latest, it worked perfectly for me. Tracking was on point, this including Google Navigation software and Copilot.

So it might be a good idea for some devs to look at the GPS files in that ROM because it works flawlessly for me.
[Captivate Android Development] cappysw10:
I just flash every 4 days or so, fixes GPS all over again.
[Captivate Android Development] gregoor:
I turned off the SUPL Secure socket setting and bam gps started working great
[Captivate Android Development] PatientSomeone:
Seems to have worked

I just did this, and it definitely seems to have worked. I'm currently in a location where my GPS would get a "Lock" on me, but it would be a ways down the road, and would instantly lose it if I went for a drive. This fix has locked me in the proper location within 30 seconds. Due to snow I don't feel like goin for a random drive right now, but I'll test it in a bit. Thank you very much, this has been irritating the crap out of me when I need my GPS to work. Thanks again!
[Captivate Android Development] marcopolo1:
Great!. thanks worked for me! .. now my captivate finds and locks the satellites in 7-10 seconds
[Captivate Android Development] AreikUSA:
Thnx for this. Really Works mines 89% faster then it was.
[Captivate Android Development] fsrkewd:
can someone upload the vibrant file to other site?

rapidshare said i am flooding their download servers...
[Captivate Android Development] j101399j:
I am so braindead sometimes, the new zip file is small enough I can attach it to my post. I uploaded to the OP and here (just download the zip attached to this post)
[Captivate Android Development] crazililazn:
do we need to change the permissions of any of the files?
[Captivate Android Development] j101399j:
No, at least I have never needed to and they work perfectly.
[Captivate Android Development] tytdfn:
:D

Just thought that I would drop by an update.zip to make everyone's life easier. Here You go guys :D Flash through Clockwork Recovery
[Captivate Android Development] crazililazn:
:[ darn, can't get it working ><

sucks for me -_-
[Captivate Android Development] ari197:
Has anyone try to use this fix on the latest Cognition 2.3b6 ROM ?