yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] madmack:
+1

JM9, with "Use wireless networks" unchecked gives good results in Google Nav.

Make sure you're using "Standalone" in lbstestmode. at least the arrow stops moving when I stop now. It used to continue and cross the intersection even though I stopped :eek:
[Captivate Android Development] techniq35:
I applied JM9-only (nothing from OP) to my Axura RC1 rom and ran MyTracks on my way home from work yesterday (in a good rain) and into work this morning and was very pleased with how well it tracked. Never overshot a turn or jumped around, and only occasionally did it round off a turn (probably more to do with how often MyTracks was grabbing coordinates). It tracked windy roads very well.

All and all, I was very pleased, but its only been a day :)
[Captivate Android Development] Zukoso:
i have an at&t cappy. I've only gotten results- I've flashed a lot of Cognition version and I never got any sat lock, but using the rogers firmware and Perception was another history. GPS is actually working now, but sometimes when I stop or turn, arrow keeps moving in the same direction I was moving before, and it takes a lot of time for it to catch my correct location again. Tomorrow I will try the JM)fix with My tracks to se how it goes
[Captivate Android Development] tazman171:
It puts the GPS settings back to Samsung stock settings... you know, the ones that don't work. It looks like it sets the settings back to stock which is nuts. Haven't applied them myself given their excellent track record (Samsung I mean) with the GPS issue. Mine works just fine with the jupiter v006 files from here. :cool:
[Captivate Android Development] Falconary:
Well, i can say that the samsung gps-restore really made my GPS 10 times better. I took only 3 seconds to get a lock and i drove around in the car for 40 min with no signal loss at all.
[Captivate Android Development] tazman171:
You're one of the lucky ones, it is well known that the gps issues seem to be different from phone to phone. :cool:
[Captivate Android Development] pacman420:
Official word from Samsung

There's an official FAQ posted about the Captivate, which I can't link directly because apparently I haven't posted enough ....

There's a wonderful quote from Samsung support, showing us just how dedicated they are to providing this fix......

'GPS'

"Samsung Mobile is aware that under certain conditions, the GPS on our launched U.S. Galaxy S devices may not be meeting performance expectations. We are diligently evaluating the situation and will provide an update as soon as possible. We recommend obtaining the initial lock while outdoors in clear view of the sky. Additionally, enabling AGPS can help. This is done by tapping Menu > Settings > Location > Use wireless networks. Also, disabling this option along with Use GPS satellites, powering off the device, restarting and re-enabling under clear view of the sky can help."

Another of my favorites....

'When will the fix for the GPS be released for the Smasung Captivate?'

"Thank you for your inquiry. Unfortunately, we are unable to speculate when/if this software revision might be available due to the fact that this might lead to inaccurate information and confusion. Should this become available, it will be posted on our website in the Samsung Download Center."

And then there's...

'problem wth GPS in captivate'

"Hi there! You can try to enable the "Use of Wireless Networks" and "Use GPS Satellites" that can increase the accuracy of your phone. Follow the link below on how to enable the Use Wireless Networks and Use GPS Satellites. [Link] Thank you for choosing Samsung. Have a good day! Technical Support"

Looks like we're on our own ....
[Captivate Android Development] pacman420:
Working well with AT&T Navigator (NOT GOOGLE)

So, like many here I've tried a zillion different ways to get the GPS working well on my Captivate.

All of the fixes posted seem to improve lock time, but that's it. Signal tracking and dynamic positioning seems to stay the same or get worse.

I've finally got decent and usable turn-by-turn on my Captivate, but, you're not going to like the methodology. That's why I'm dubbing it the UberSheep fix.

Try this on and see how you do ....

1) Remove Jupiter fixes and return to stock gps.conf/jupiter.xml

2) Clear GPS Data w/ LBSTestMode

3) Download SamsungGpsRestore from the Android Marketplace

4) Run SamsungGpsRestore. It will probably apply updates but fail to get a position fix on the first run.

5) Again in LBS, change from 'Standalone' to 'MS Based'

6) Clear GPS Data again, and then Reboot the phone

7) Run SamsungGpsRestore a second time. This time it should apply the update AND get a position fix. If it fails again at this point, do it in a place where you've gotten a solid fix before. Clear the GPS data, and try running SamsungGpsRestore outside. It's critical that you get a decent lock at this point.

8) Once you've gotten the lock inside the SamsungGpsRestore application, *turn on* Wireless Network assistance and GPS Satellites (leave sensor positioning off).

9) Turn the Application Setting back to "Standalone" in LBSTestMode, and clear GPS data once again.

Now... After all this, I wasn't doing very well in Google Navigator, still getting blue circles and false turns...

HOWEVER

Using AT&T Navigator (Telenav, the $9.99 service), things are running PERFECTLY. AT&T Navigator was *just as bad as Google* before I tried this. Google still fails pretty badly, but, AT&T Navigator is totally usable and gave me no false turns in about 20 minutes of driving at varied speeds.

---

So, why do I think this is working?

AT&T and Samsung are tighter bedfellows than Samsung and Google, for one. The AT&T Navigator program seems to be better at dealing with Samsung's stock GPS settings than Google Navigator.

Is this a better fix than anything else here?

Probably not. Why? Because you have to drink the AT&T/Samsung koolaid, use their stock fix, and pay the $10 for AT&T Navigator. I was already paying for it from my previous phone (Fuze - with an AWESOME gps) so this wan't too big a deal for me. It sucks for people who don't feel (rightly so) that they should have to pay another $10 a month just to get a decent GPS on their Cappy, but, it is what it is.

Can anyone else try to reproduce these results?
[Captivate Android Development] askpcguy:
In bold, that word structure leaves me with a feeling of being screwed. I bought a captivate and Samsung is not going to attempt to resolve the problem. The Captivate I have isn't experiencing major GPS problems but still, I have an external bluetooth GPS antenna I can use with the captivate. But that means another damn device to keep charged and what not.
[Captivate Android Development] k2snowboards88:
I am running cognition 8. It is a ji6 based rom. To install 006, do I just copy the files to the locations listed under the download link with root explorer? Is there anything else I have to do after?
[Captivate Android Development] GRACO:
Hello.

Im trying to PULL /data/gps/secgps.conf to make a backup of the file, but Permission denied...

The same happens when I try to push them.

Can someone please describe step by step how to update those files??

regards

PD: never mind, I used Super Manager to copy-paste files, actually my GPS is working quite well!
[Captivate Android Development] vaiol123:
So this fix is working brilliantly on my Captivate. It doesn't put me in the next town upon launch like Da_G's fix does, and tracking is also brilliant. The GPS did jump to an alleyway in the beginning of testing, but that hasn't happened again since. The phone fits nicely on the eyebrow indicator of a 2010 Subaru Outback too :P

Update: Took the GPS on my cappy with me to JFK, and tracking was perfect the whole way their and back. The phone actually reacted faster than the Garmin I had mounted next to it.
[Captivate Android Development] bdpyo:
What is.the difference from 1-6?

Sent from my SAMSUNG-SGH-I897 using ZOMGWTFBBQ!1
[Captivate Android Development] vaiol123:
Read the changelog :P. Just use 6
[Captivate Android Development] DunDunDario:
Do we have to install all 3 files after extracting from the zip? And if so how do we install them?
[Captivate Android Development] lstat:
/system/etc/jupiter.xml

/system/etc/gps.conf

/data/gps/secgps.conf

Each file goes to its respective place as shown on the first post, just install them with ADB.

Using 6 I am getting worse results, im not picking up a single sat. in LBStestmode or in gps test. Would changing the modem help?
[Captivate Android Development] betoNL:
Is OP still in the area?
[Captivate Android Development] DunDunDario:
Same. But then I downloaded GPSRestore from the market and everything is working good now.
[Captivate Android Development] vaiol123:
Have you tried tracking? GPS Restore doesn't do much of anything for many phones
[Captivate Android Development] simbill:
so i pushed two of the posted jupiter.xml files to my cappy running cognition and gps crashes every time it tries to get a fix.. that dreaded long vibrate and then two short vibrates..... cant seem to get it back. anyone know why? or anyone have a stock jupiter.xml file i can push back to get it to at least attempt a fix?

edit: i tried 006 and its working now. DOH! anyone still have a copy of that original? im an ass and didnt make backups of any of these files
[Captivate Android Development] wgarrido:
Try plumbob gps fix. It replaces all the gps files.
[Captivate Android Development] askpcguy:
Backup your apps then reflash cognition 4.11.
[Captivate Android Development] simbill:
Wow! All I can say is that my gps has never worked so well. Took a 20 mile trip with many winds and turns, half the trip using telenav (tmob apk) and the way back using Google nav. Kept me on the RIGHT road the entire time. Distances were measured accurately and turns depicted to what seemed to be accurate by the foot!

and as for the original files... after the test im confident i wont/dont ever need then again. but good point to backup and reflash.
[Captivate Android Development] CLShortFuse:
I NEED A TESTER!!! I found what they use for blackberry GPS with the 4751 chipset.

<gll

LogPriMask="LOG_DEBUG"

LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA | LOG_DEVMS | LOG_DEVET | LOG_DEVKF | LOG_DEVMR | LOG_DEVCV"

FrqPlan="FRQ_PLAN_26MHZ_2PPM_10MHZ_100PPB"

RfType="GL_RF_4751_DANUBE_EXT_LNA"

BrcmRFwildBase="0x1E2D6409"

BrcmRFclkDiv="21"

BrcmRFclkRefHz="26000000"

/>

Who wants to test???
[Captivate Android Development] cesierra:
Why does everytime I exit Google map and then I go back to the map I have to wait for the gps to get a lock again? Thats not the way it worked on my HTC Tilt. The lock remained in place.

Is this normal?
[Captivate Android Development] Joe1981AL:
Noticed you updated the OP, and how the hell did you find info on glgps I could not find it anywhere...

The extra jobs that made up the rest of the file are for debugging, but only run if manually ran, the glgps daemon only parses the file as "/system/bin/gpsd/glgps_samsungJupiter -c /system/etc/jupiter.xml" so it just opens the ctrl pipe to the chip for access.

I did change the log location to the sdcard and enabled logging just to get some info, and looks like SBAS is turned on with high priority unless you modify and use feature sbas_priority=disabled

PM me, i'm willing to try anything to try and improve tracking.

Right now I have GPS Plus OFF in the lbstestmode to check but doubt will see improvement. I've made post a month ago saying that it must be something driver related or in jupiter.xml that samsung screwed up in implementation, if it is samsungs fault.

I do think samsung may be moving away from jupiter.xml and glgps interface, the vibrant doesn't use the glgps or jupiter.xml, it is commented out in their init.rc file. I don't have a full vibrant dump to go by just the GPS fix from their JI2 update.
[Captivate Android Development] CLShortFuse:
Can sombody test this new jupiter.xml file i made. replace the existing one in /etc/jupiter.xml
[Captivate Android Development] Joe1981AL:
I'll give it a try, I was looking for something like that, cause did you notice the big kicker on our RfType... It ends with "UNSTABLE"...

edit: the Log* lines don't matter unless you turn on logging in the "hal" section, only functional differences is the FrqPlan and RfType
[Captivate Android Development] CLShortFuse:
Totally. LNA stands for Low Noise Amplifier which supposedly the 4751 has
[Captivate Android Development] Dani897:
I'm willing to try it, how do I install it, is it an update.zip? Signed/unsigned? Or is it just a compressed version of jupiter.xml? And meant to overwrite/replace the original manually after its extracted?
[Captivate Android Development] CLShortFuse:
it's not an update. unzip the file to /etc/jupiter.xml

or with debug

extract the file

browse to where you downloaded it with command prompt

(or if you use win7 - start, run, cmd /k CD %userprofile%\Downloads\jupiter )

adb push jupiter.xml /sdcard/jupiter.xml

adb shell

su

cp /sdcard/jupiter.xml /etc/jupiter.xml

exit

exit

adb reboot

I don't expect you to get AGPS but I do expect the HARDWARE GPS to be more accurate.
[Captivate Android Development] Joe1981AL:
I had made changes before you posted your jupiter file. I kept the stock file and modified the FrqPlan and RfType, didn't see any major errors in my log though I didn't dig deep. Did take a while but I did get a lock in my apartment by a window which shows I still get a lock. Had 3 high sats around 33-34 and a few lower ones that kept popping in and out. One few occasions where my palm treo pro wouldn't lock but the captivate did. I will drive around when I get a chance to log tracking.
[Captivate Android Development] CLShortFuse:
I tested it. I got good strength (I had 38.0dbHz which I don't think I've ever had. Maybe now we have a low noise amplifier?). But I couldn't get a lock. It seems like i broke it. The good thing is, I'm doing something so modifying jupiter does have an effect.
[Captivate Android Development] Dani897:
Well then my gps is working, even before "the fix" in worked as good or better than my iphone 3g which isn't saying much, but it would fail only during overcast conditions. Now I get no blue circle even in overcast conditions. Its been cloudy for a couple days and I can stand anywhere and put maps on satellite view and measure my position to a land mark and be within a couple feet. Driving it holds a fix with no blue circle no run on arrow when I stop or turn 90 deg as long as the skies are clear. I guess being that my gps works and always has I may not be of use testing stuff.

I wonder if its a hardware flaw present on some phones but not mine?
[Captivate Android Development] CLShortFuse:
what the crap! I think I found something ridiculously important missing!!!

TESTING!
[Captivate Android Development] Joe1981AL:
spill the beans, what are you trying?
[Captivate Android Development] CLShortFuse:
This is samsung's "normal" fix operation:

<job id="normal">
<task >
<startup ignore_osc="true" ignore_rom_alm="true" ignore_nav="true" ignore_pos="true" ignore_ram_alm="true" ignore_time="true"/>
</task>
</job>

That's what you should for a COLD fix, not normal. It's resetting it's values when it tries to find a fix (which it should only do for cold fixes). Also, it's missing the <req_pos /> meaning it's never told to get a position. GRRRR

http://openembed.com/files/pdk15_imx35__Linux_RM.pdf

Page 231
[Captivate Android Development] Joe1981AL:
for some reason I don't think samsung uses normal.. I've manually executed normal and it creates a /data/gpspipe to stream nmea data thats why there isn't a req_pos because req_pos is for single shots, or the task that get position on specific intervals without hold lock.

when running a program like gps test and I have a lock, there is no pipe @ /data/gpspipe
[Captivate Android Development] CLShortFuse:
I tried it and I had 7 [*] Fixes and 10 meter accuracy. I'm going to try enabling the low noise amplication setting.

Regardless if <req_pos /> is required or not, it's clearing values when it shouldn't.
[Captivate Android Development] staplebox:
Go go go go, you can do it, c'mon man, you got this, you got this, you own this *****.
[Captivate Android Development] CLShortFuse:
I'm really greedy though. I know I improved it but I want it perfect. I'm going to compare with my G1 on Wifi (only 1 sim card)
[Captivate Android Development] phr00t:
I want it perfect too... keep us updated! I'm going on a ton of road trips this weekend and I'd love to test out some new GPS "fixes" ;)
[Captivate Android Development] andars05:
Keep it up guys! I'd also be willing to test some GPS fixes. I drive 45mins-1hr everyday and could run some mytracks/navigation tests.
[Captivate Android Development] chrisryn:
I am driving all weekend I would be willing to test and post my tracks results.
[Captivate Android Development] Joe1981AL:
ok nice 40 minute motorcycle drive with the lbstestmode "gps plus" turned off, and the frqplan and rftype changed.

I get lock in under a minute after a reboot, and get a lock after that in less than 10 seconds.

Well I'm still driving through trees and houses. Seems even a lane change at speed throws me out into the woods. Or maybe my GPS thinks I've got judge dredd's ride :)

will be putting back to stock jupiter.xml for now until I find something else I want to play with.
[Captivate Android Development] CLShortFuse:
Here's a slight tweak. You can get a quicker hot fix when you lose signal (doesn't clear values) and it should have there should be a stronger signal now with LNA enabled.

(first first post)

I'm going to play on finding the right oscillation. As far as I can tell, everyone should be use this new Jupiter now. the crazy stuff comes later.
[Captivate Android Development] Dani897:
I tried the first jupiter that you posted, no significant difference in overall performance. Looks to get better dbhz but lost my position on a short drive in overcast weather.

I'll try the other version tomorrow.
[Captivate Android Development] CLShortFuse:
Well, I was going to upload a new version with LNA and no memory wipe on fix but now i'm not getting gps to turn on...

more testing!!!
[Captivate Android Development] chrisryn:
Thats why I couldn't fine it. You haven't uploaded yet.
[Captivate Android Development] CLShortFuse:
I think i fixed this relock issue. I'm getting 7[*] in my bedroom.

When it loses signal for a split second, it no longer lags. I'm not sure about accuracy while driving though.

Check first post!
[Captivate Android Development] m1n1on:
Been following this thread quite closely and with the news:

http://xdaforums.com/showthread.php?t=792013

sounds like we have lost pages 8-11.

I managed to recover pages 9 and 10 from my cache, so if anyone else can try going into "offline" mode and trying to recover pages 8 and 11 we won't lose any of the hard work some of the guys have done.

I've attached 9-10 in the zip file.
[Captivate Android Development] neptronix:
Count me in. Pm me or whatever
[Captivate Android Development] gunnyman:
Grrrr. Of all the threads to lose.... :D

Oh well. My GPS is mych better thanks to the Jupiter.xml posted in post 1. Looking forward to seeing it improve even more. I'm ready to help out in any way necessary.
[Captivate Android Development] kangi26:
Jupiter v001 Test

I installed Jupiter v001 yesterday before I left for work. I went into LbstestMode and deleted GPS data, and restarted the device. I started the GPS when I was outside, I was shocked at how quickly it found, and locked birds. It was much faster than I'd seen with stock jf6, and now with Cognition's 2.1. I was expecting a good run and steady lock on my way into work, I did expect a couple of drops, I figured it was to be expected, but that wasn't the case as you can see by my jpeg. The blue was the My Tracks and GPS tracking, the red was my actual. The trip was aprox 10 min long and the trip moves from the left to the right. The first drop (farthest left) is in an area that has a known AT&T dark area. I always drop any calls in that few blocks.
[Captivate Android Development] NetCopAD:
Sux as all the tracks I've seen :(

I just can't believe how arrogant Samsung can be to sell millions of devices with this problem and not even have an official statement about it.
[Captivate Android Development] smokestack76:
Yeah its unreal. How can a company with so much money let this go? Poltics i guess. HTC im coming back lol
[Captivate Android Development] K-mart Shopper:
I can only get one satellite in view with v001.. in standalone mode. It's not always the same satellite though, and it always resides due north.

EDIT: Deleted GPS data, and waited under the clear blue sky for satellites to populate Test Mode. All seems well now, but I can't give input on accuracy because "My Tracks" is force closing.
[Captivate Android Development] Lencias:
... am I the only one not getting results from the Jupiter fix? All it did was bork my GPS even more, and now it literally can't see ANYTHING, not a single satellite.
[Captivate Android Development] CLShortFuse:
I've seen that happen to me when testing. It wouldn't find anything

I'd repush the jupiter.xml file, delete GPS Data (with LBSTestMode) and reboot until it started working
[Captivate Android Development] Hellerox:
I installed cognition 2.1.2 and now my gps is worse :(
[Captivate Android Development] chrisryn:
When I first pushed the jupiter.xml i could not see a single sat. I went into lbstestmode deleted gps data and set the supl server to googles. Best the gps has ever worked.
[Captivate Android Development] gunnyman:
Im having opposite problem. Can't see or lock on to any thing. Worked fine this morning. Grrrrr
[Captivate Android Development] DKirk:
I had the same experience, except I did not yet install the new Jupiter file. I've messed with the GPS settings so much that all I could get is one satellite, faintly. I went outside and got absolutely perfect clear sky and still just the one blasted satellite. I'm on the edge of the Edge network, if that means anything. Out of frustration I got in the truck and drove a few miles north and suddenly 11 satellites popped up! Perfect tracking. Now even here at the house where I had only one satellite I've got 9-10. VERY WEIRD - all I did was go for a drive and it suddenly started working, and it's still working great. Again, I have not yet installed the new Jupiter and it suddenly started working after a quick road trip, this after I spent two hours messing with it in the house and out in the yard, rebooting, go outside, go back inside, I simply do not know! The only thing for certain is this blasted GPS subsystem is certainly whacked! For so many people to have so many different results from so many different fixture vectors, I'm stunned and bewildered. Now that I have a working GPS again I'm afraid to touch it. I'm wondering if the supl files weren't downloading via a solid WiFi connection at the house and needed a more solid cell signal that I got in the drive?
[Captivate Android Development] Darryl Henley:
I've been comparing the GPS on the Capt to the Aria. Using the GPS Test app you can look at the longitude/latitude values. With the two phones beside each other outside laying on my deck, the Aria values are rock solid, the Capt values jump around erratically. I have made a video of this and will post as soon as possible.

I don't see how the unstable/erratic/bouncing behaviour of the longitude/latitude values for the Capt can be fixed with configuration files. It's either a bad driver problem or bad hardware. IMHO.

h t t p : / / w w w . y o u t u b e . c o m / watch?v=dD-aoWTXX9U
[Captivate Android Development] Qbwiz:
I'm curious about GL_RF_4751_DANUBE_EXT_LNA. Maybe the 4751's built-in LNA sucks, so other manufacturers went with an external LNA instead, while Samsung cheaped out and kept the built-in one. If so, all our GPS problems would be unfixable due to bad hardware.