JI2 (Vibrant's Sept. ROM) GPS Files - Captivate Android Development

Hey all,
So I flashed Vibrant's JI2 to my Captivate today, and it didn't go so good... HOWEVER -- I took off all of the GPS files I could and put them in a ZIP. I don't know how to make a valid update.zip file, so I was hoping someone smarter than me could do that Then the rest of us could try out the latest "GPS fix" the Vibrant people are enjoying, perhaps?

not bad. i just pushed the files over. it locked in 2secs and was accurate to 50 meters(use to be 200 or more) i need to take a test drive with it.

junkboy said:
not bad. i just pushed the files over. it locked in 2secs and was accurate to 50 meters(use to be 200 or more) i need to take a test drive with it.
Click to expand...
Click to collapse
50 meters is terrible! That is 164 feet... it should get down to 16 feet / 5 meters.
I just got done pushing them over via adb myself with JH7... looks good so far. Needs some serious track testing, though.

I found this link on how to make an update.zip:
http://www.londatiga.net/it/how-to-create-android-update-zip-package/

Took a short drive and no offroading here. 50 is better than 200 and i was in my apartment.

junkboy said:
Took a short drive and no offroading here. 50 is better than 200 and i was in my apartment.
Click to expand...
Click to collapse
How could you drive and be in an apartment at the same time?

tytdfn said:
How could you drive and be in an apartment at the same time?
Click to expand...
Click to collapse
Lots and lots of tequila

tytdfn said:
How could you drive and be in an apartment at the same time?
Click to expand...
Click to collapse
Zilch25 said:
Lots and lots of tequila
Click to expand...
Click to collapse
i was replying to phr00t's posting. i got 50meter while in my apartment.

We need DG to incorporate this on his SRE. That would be awesome.

Here's a flashable zip.
*****************************************
****WARNING: USE AT YOUR OWN RISK****
*****************************************
I have flashed this on my Vibrant with good results. YMMV. Please do an Nandroid backup before you try to flash this. I am not responsible for what you do with your own property or any damages that result from using this. YOU HAVE BEEN WARNED!
Moved to the Vibrant Forum...
http://forum.xda-developers.com/showthread.php?t=782242

frankencat said:
Here's a signed zip that should be flashable.
**************************************************************
****WARNING: I HAVE NOT TESTED THIS SO USE AT YOUR OWN RISK****
**************************************************************
Sorry guys, I am busy and didn't have time to backup and test. Please do Nandroid before you try to flash this. YOU HAVE BEEN WARNED!
Click to expand...
Click to collapse
Hrm... I noticed this update.zip does not have a meta_inf/com/google/android script, like all of the other GPS update.zip files I have. Is it needed?

Hmmmm....it should. Lemme take a look....
Edit: You're right. I repackaged it and updated my other post with the new zip. Let me know if it works or not. Thanks.

I'm not seeing any improvement over JH7 with these files, and the included agpsd does not appear to run at all. Are you sure your lock in 2s was from a cold start, and not just using data from a prior session?
Sent from my SAMSUNG-SGH-I897 using XDA App

It's quite obvious that there is something deeper going on than just these files.

Unhelpful said:
I'm not seeing any improvement over JH7 with these files, and the included agpsd does not appear to run at all. Are you sure your lock in 2s was from a cold start, and not just using data from a prior session?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
I noticed our Captivates have a /system/bin/gpsd directory, but I couldn't find one on the Vibrant.. only agpsd existed. The other "GPS fix" updates had gpsd/ directories... I guess the Vibrant does things quite differently? :-\

Can somebody test this on a Vibrant? I am curious to see if there is a difference.

So i flashed these gps files to my captivate and i got a lock in like 10sec, first time i have ever gotten my gps to work, even after exchanging my first captivate, but its behaving the same way my friends first vibrant did, the pointer flys all over the place jumping around from place to place, never staying on my location parse...lets just hope samsung finds a definitive fix for the gps issues on many SGS variants.

Getting ready to flash and test now. thank you for grabbing those files.

info
can i flash this file on my stock captivate thats without root?...thanks.

I just flashed this to my Vibrant. I will test it on the way home but I got 11 sats in view in just about 2 secs in my office which usually sucks. We'll see. Maybe cross post this over to the Vibrant forum and get some folks to test it.

Related

Enhanced GPS for Navigation

I've updated libgps to both report accuracy (constant 3.0m) and interpolated speed / bearing. As a result, Google Maps Navigation now gets beyond the point of "Waiting for GPS." It also rotates your perspective and scales the screen based on bearing and speed, respectively. You can find the new libgps here:
http://sweb.uky.edu/~srwalt2/libgps.so
A little Christmas present for the Vogue community, a day early!
Thanks a lot, @srwalter! For the people that use a formatted SD card (2 x ext2), will it work if we replace the current libgps.so under \lib\ with the new one? (using Polaris).
srwalter said:
I've updated libgps to both report accuracy (constant 3.0m) and interpolated speed / bearing. As a result, Google Maps Navigation now gets beyond the point of "Waiting for GPS." It also rotates your perspective and scales the screen based on bearing and speed, respectively. You can find the new libgps here:
http://sweb.uky.edu/~srwalt2/libgps.so
A little Christmas present for the Vogue community, a day early!
Click to expand...
Click to collapse
fcking awesome you forgot YOUR DONATION LINK!
Happy Holidays and thanks
@SuperJMN:
You need to remount your system directory from terminal or adb shell before you replace the file:
Code:
su
mount -o rw,remount /system
You rock srwalter, a very merry holiday to you good sir!
EDIT: Since Android browser doesn't let you download .so files directly, I found a tiny program called Download Crutch that lets Android browser download just about anything. Unfortunately, it's no longer in the market, so I uploaded it to my server: Download Crutch Lite 2008-01-31.apk
jamezelle said:
fcking awesome you forgot YOUR DONATION LINK!
Happy Holidays and thanks
Click to expand...
Click to collapse
Well, we can fix that: https://www.paypal.com/cgi-bin/webs...e=Vogue Android Development&currency_code=USD
srwalter said:
Well, we can fix that: https://www.paypal.com/cgi-bin/webs...e=Vogue Android Development&currency_code=USD
Click to expand...
Click to collapse
$5 Merry Christmas
6UF20587FG139313G
Merry Christmas man! Thanks so much!
http://www.mediafire.com/file/ygmnmzjnxnm/rootfs.img
Here is the rootfs from 12-15 with the new libgps.so in it.
Dammit, I just wrote this code last weekend
Nice work srwalter, thanks a million!
jamezelle said:
fcking awesome you forgot YOUR DONATION LINK!
Happy Holidays and thanks
Click to expand...
Click to collapse
Could anyone put this in a "new" rootfs for us newbies?
Thanks...
patreeves said:
Could anyone put this in a "new" rootfs for us newbies?
Thanks...
Click to expand...
Click to collapse
umm yea post 8 already been posted
I just tried the rootfs attached above. Interestingly enough I am currently roaming in another country with data roam guard enabled and it doesn't seem to know. It's using data while roaming.
Was there anything else tweaked in that rootfs?
jamezelle said:
umm yea post 8 already been posted
Click to expand...
Click to collapse
Sorry jamezelle.... I read this below the link and thought it was invalid.
"Last edited by hellovx7600; Today at 05:40 AM.. Reason: Wrong link...Sorry! "
Me bad....
Put the new rootfs on my SD card, create a blank file "rootfstonand" and reboot and it will work? or need to start from scratch?
berardi said:
Put the new rootfs on my SD card, create a blank file "rootfstonand" and reboot and it will work? or need to start from scratch?
Click to expand...
Click to collapse
that will do it
Awesome thanks ! I owe everyone some paypal dollars when I get back home from visiting folks for Christmas. This android stuff is stretching my $30 sero much farther so I owe you guys!
The only thing changed in the rootfs.img is the new gps file. I didn't change anything else.
I removed the edit so no one gets confused. The link is the correct one. It was fixed last night.
Freakin' awesome. Thanks. Took about 45 seconds for the first lock and now it locks in about 5 seconds. My GPS has always failed after the first use for some reason no matter what build I use. So far I've used it about 10 times. No Problems and super fast
hellovx7600 said:
http://www.mediafire.com/file/ygmnmzjnxnm/rootfs.img
Here is the rootfs from 12-15 with the new libgps.so in it.
Click to expand...
Click to collapse
Download link is broken! Can we get a re-mirror?
Ok so I am trying out the new root with navigation and it doesn't seem to work. For a second it seems fine and then it seems to lose track of which direction we are going.Is this happening to anyone else ?
EDIT
Got it: do not enable compass direction in labs
Still gets messed up but its better

[REF] Possible GPS Fix Epic 4G System File (experimental)

Anybody try this yet?
http://forum.xda-developers.com/showthread.php?t=759976
If you do report back with your results.
Phaze13 said:
Anybody try this yet?
http://forum.xda-developers.com/showthread.php?t=759976
If you do report back with your results.
Click to expand...
Click to collapse
I have done it on my JH2 rom. Seems to be locking on marginally faster, but I haven't tested it with tracking yet, and probably won't be able to until tonight. The track that I saw using it did look better, but who knows if it will be that way for everybody.
Have you noticed any issues related to the change, ie worse call performance/quality, etc. as reported on some of the other posts regarding this issue and possible fixes?
There is a thread on this allready posted in general.
Is there mod who can merge these two so propel wont have to watch both threads and all reports are in one?
Sent from my SAMSUNG-SGH-I897 using XDA App
jneilliii said:
Have you noticed any issues related to the change, ie worse call performance/quality, etc. as reported on some of the other posts regarding this issue and possible fixes?
Click to expand...
Click to collapse
I haven't seen anything regarding those side effects with GPS fixes. No, I'm not experiencing anything like that. Phone still performs must like it did before.
chvybeatsford said:
There is a thread on this allready posted in general.
Is there mod who can merge these two so propel wont have to watch both threads and all reports are in one?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
I would merge the threads but the fixes are not the same. This fix is can be flashed in recovery. I would use this fix if you are running I9000 rom. I read in the original thread that there my be some differences in locations of the files for the captivate and vibrant so the fix may not put every thing in the right location. They are working on versions for captivate and vibrant. I loaded stock I9000 jm5 rom and applied the fix. It helped with accuracy but there is still lag.
Edit: It may be that just the vibrant is different.
Case_ said:
Now this is interesting. Trying to make that revert package for Vibrant...and the ROM is entirely different GPS-wise from I9000 and Captivate ROMs! There's no /system/bin/gpsd folder, there's no /system/etc/jupiter.xml and there's no /system/lib/libgps.so...
I wonder why...
Click to expand...
Click to collapse
This has made GPS on my Captivate seems like it's not even trying to get a lock. :-\
I've got an Epic 4G waiting for me at home today. Any dev requests, just ask!
Sent from my SAMSUNG-SGH-I897 using XDA App
InsaneJester17 said:
This has made GPS on my Captivate seems like it's not even trying to get a lock. :-\
Click to expand...
Click to collapse
That is unfortunate. It seems to be helping me on JH2. I've changed my settings back to Standalone instead of MS based and I'm still locking onto as many satellites as I was before. Still not sure if it is holding a lock, but it is giving me 5 meter accuracy from inside my apartment. I'm hoping that the standalone mode does better at tracking than ms based.
dontshakepandas said:
That is unfortunate. It seems to be helping me on JH2. I've changed my settings back to Standalone instead of MS based and I'm still locking onto as many satellites as I was before. Still not sure if it is holding a lock, but it is giving me 5 meter accuracy from inside my apartment. I'm hoping that the standalone mode does better at tracking than ms based.
Click to expand...
Click to collapse
I guess I should note I'm on JF6 in case it matters.

GPSSamsungRestore: Official GPS fix?

Samsung USA has tweeted the Market availability of GPSSamsungRestore, a GPS optimization app. Tweets have indicated that it is for the Vibrant and Captivate:
http://twitter.com/samsungtweets
maybe , some one using AT&T can help and upload the apk maybe ?
Hmmmm... I assume that it is only on the market in the USA because I searched for it under the names GPSSamsungRestore, GPS Samsung Restore, GPS Restore, etc. and I cannot find it on the market here in Canada.
I am assuming that us poor Canadians will not see this app anytime soon but I have posted a question on the Samsung Mobile Canada facebook page and I will see if they answer it. I doubt it though cause they NEVER answer ANYTHING!!!
Sure would be nice if this is the "fix" weve been waiting for...
The apk is posted in the vibrant general forum, 1st post
Sent from my GT-I9000 using Tapatalk
Someone tried on Galaxy S ?
yubnub said:
The apk is posted in the vibrant general forum, 1st post
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
From that post, it says the app only restore the gps settings back to default...
sufox said:
Someone tried on Galaxy S ?
Click to expand...
Click to collapse
Yup, gives an error saying it wont work with the i9000 model
brendonsled said:
Yup, gives an error saying it wont work with the i9000 model
Click to expand...
Click to collapse
You can change the .apk to .rar and extract the content.
If you can provide the .apk we could take a look into it
Edit: it was posted here:
http://forum.xda-developers.com/attachment.php?attachmentid=453181&d=1291153281
I'm gonna take a look tomorow but if someone else want to take a look, might be interessting!
t1mman said:
You can change the .apk to .rar and extract the content.
If you can provide the .apk we could take a look into it
Edit: it was posted here:
http://forum.xda-developers.com/attachment.php?attachmentid=453181&d=1291153281
I'm gonna take a look tomorow but if someone else want to take a look, might be interessting!
Click to expand...
Click to collapse
How would you modify the contents without the developers key?
I understand you can open the APK, but I thought that was only to remove/replace images
EDIT:
with some digging, i found the settings it replaces
#Generated by GpsLocationProvider.
#Tue Nov 16 04:14:48 EST 2010
SSL_TYPE=0
SSL=0
OPERATION_TEST_MODE=0
POSITION_MODE=7
ACCURACY=50
SESSION_TYPE=2
ENABLE_NMEA=false
SERVER_MODE=0
START_MODE=WARM
GPS_LOGGING=0
DYNAMIC_ACCURACY=1
AGPS_MODE=0
ADDRESS_MODE=1
OPERATION_MODE=MS BASED
USE_DEFAULT=true
DYNAMIC_ACCURACY_VALUE=50
SUPL_PORT=7275
ENABLE_XTRA=true
TIMEOUT=1000
NUM_OF_FIX=999999999
SUPL_HOST=lbs.geo.t-mobile.com
TIME_BTW_FIX=1
As you see this is for t-mobile,
you may need to replace a couple values to get it working on your carrier
hosnestly no need to install this ;
# Does the application contain new values for GPS?
* No. The application only resets settings to factory defaults and then writes data in setting file.
youhou ...
I'm going to chime in as one of those "my GPS has been working fine". Only been using Froyo for the last week so I don't know if it will get worse. However, so far it's been good.
Does anybody have the apk. for the captivate? Cant download it from the market
nicoloco said:
hosnestly no need to install this ;
# Does the application contain new values for GPS?
* No. The application only resets settings to factory defaults and then writes data in setting file.
youhou ...
Click to expand...
Click to collapse
Right so I think what this app is for is to reset the gps so it works and then as time passes and it gets bad again you run the app again to start from scratch so it works again... Lather, rinse, repeat...
Im just guessing here and its not the greatest solution but if thats how it works it would be better than nothing...
Sent from my GT-I9000M using XDA App
yiannisthegreek said:
Right so I think what this app is for is to reset the gps so it works
Click to expand...
Click to collapse
I think the app is for reset the settings to factory setting after aplying all the "fixes" we can read on the forums and doesn't do anything.
I doubt GPS can be fixed as Samsung is showing every day
Oletros said:
I think the app is for reset the settings to factory setting after aplying all the "fixes" we can read on the forums and doesn't do anything.
I doubt GPS can be fixed as Samsung is showing every day
Click to expand...
Click to collapse
Exactly. Samsung have probably been receiving complaints by many people who are gps "experts", so they wanted to provide support with an easy approach for dealing with them.
I wouldn't expect new drivers are anything like that, I'd simply expect it to reset the GPS setting file.
Auzy said:
Exactly. Samsung have probably been receiving complaints by many people who are gps "experts", so they wanted to provide support with an easy approach for dealing with them.
I wouldn't expect new drivers are anything like that, I'd simply expect it to reset the GPS setting file.
Click to expand...
Click to collapse
Is Samsung was receiving complaints from GPS "experts" then dont you think that these "experts" would have already stated "definitively" that the GPS cannot be fixed?
And if Samsung had been dealing with GPS "experts" then why would they release a software that would IMMEDIATELY be squashed by these same GPS "experts"?
I would like to think that Samsung may be finally listening to us all complaining and that this could even be just step 1 in the right direction to a useable GPS on this device. Wishful thinking I know but I sure hope so...
yiannisthegreek said:
Is Samsung was receiving complaints from GPS "experts" then dont you think that these "experts" would have already stated "definitively" that the GPS cannot be fixed?
And if Samsung had been dealing with GPS "experts" then why would they release a software that would IMMEDIATELY be squashed by these same GPS "experts"?
I would like to think that Samsung may be finally listening to us all complaining and that this could even be just step 1 in the right direction to a useable GPS on this device. Wishful thinking I know but I sure hope so...
Click to expand...
Click to collapse
I think that "experts" is a sarcastic way of talking about all the thread playing with setting that doesn't nothing but changing configurations at random and only A-GPS settings.

Data Throttling Governor Removal

Ok, just for S's & G's ... I decided to try the data throttling removal zip Myn provided with RLS5. Now in my area I've had speeds as high as 8mb DL, but generally hover around 1.5mb. Not really what I expect from "blazing fast 4G" lol.
So I ran about 30 speed tests before I installed the removal zip. They all looked very similar to this. (No links = FAIL)
1.75mb DL & 0.45mb UL
I installed the zip file and ran another 30 or so tests. They all looked very similar to this. (FAIL again!)
3.45mb DL & 0.90mb UL
I did this between the hours of 8pm and 9pm, why service really starts to get laggy. It still can't eat a Twinkie faster than a fat girl... but I'll take what I can get.
Anyone else using this??
Where did you get this? Can you post it for download? Will it only work on his roms?
Sent from my PC36100 using XDA App
mikel719 said:
Where did you get this? Can you post it for download? Will it only work on his roms?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
http://goo-inside.me/myn/extras/
AFAIK, it'll only work on RLS5, but if the services.jar is unchanged between Sense ROMs, then it should work on others. Just take a Nandroid and try it yourself.
Sorry to say this has been proven to do nothing on Sprint.
[Well, except for make part of the settings section force close]
http://forum.xda-developers.com/showthread.php?t=863923
SO FAR, THIS HAS ONLY BEEN KNOWN TO WORK ON T-MOBILE USA AND CANADA BELL... ALL OTHER CARRIERS SEEM TO HAVE THESE FILES JUST BECAUSE IT'S A STANDARD IN ANDROID 2.2.1 AND SEEM TO BE CONTROLLED COMPLETELY OTA UNLIKE TMOBILE AND BELL...
Click to expand...
Click to collapse
Any "throttling" or "governing" that Sprint does is server side.
Glad your 4g is performing better as of late but removing those files didn't cause it.
I hate to be that guy... But couldnt you have used the search function and found the thread where this is being discussed already. Redundant threads clutter up the board and confuse people who want to know whats what.
Please Delete this thread or merge with this thread
http://forum.xda-developers.com/showthread.php?t=888372
To quote John Wayne (google it if your young) " It's getting to be re Gawd-Damn-diculous! "
tim

Supernova/Phoenix GPS flashable zip

Hey guys and gals. I have gotten a lot of positive reports on the GPS functioning on Supernova and Phoenix so I took the files and created a flashable zip for your pleasure. I know there have been numerous supposed fixes in the past and I am not claiming this is it, but it does work on 2 of my ROMS so why not yours. Please keep this thread clean as I know you all love to trash supposed GPS fix threads. Everyone knows I am just here to help.
Pair this fix with one of these modems depending on your geographical location for best results. Mine is JK4, North Eastern US.
This is just a combination of extensive trial and error testing which has proven to work.
-Adam
You are a good sport mate to share this.
I tried it with Paragon and it seems to be working...not sure if it is as good as with Supernova itself but I will test a bit more.
Regards!
I was wondering if you would ever going to release this, haha. I'm trying a few ROMs this weekend before I flash Supernova (or Firefly). I'll post results later on if i can get it to work
Trying on FireFly now.
Do i need to clear GPS data after installing this?
used supernova and phoenix. all I can say adam may have the best fix for the gps. I always get 20m lock in 5-7 seconds. and the 10 meter lock. it never jumps around. everybody should try this
Sent from my SGH-I897 using XDA App
I have to say that Adam's GPS fix is no joke. I have been using his roms exclusively since is initial release of Phoenix, and now on Supernova 2.1 the GPS is phenomenal!!
On testing through sgs I received an average lock time of 3-8 seconds, 9 sats, range from 5 to 15 meters.
This is testing inside my house where previously it would take up to 10 min to lock, averaging 2-3 sats at best, and ranges from 15 to 100 meters!!
On google maps I receive an average position lock time of 8 seconds, within 30 meters of my position with direction being dead on.
On navigation, on a 12 mile trip, I did not loop or get thrown off track at all. Street names on the map showed up just before they came into viewing distance.
I may not have gotten quite as technical as some of you would like, but for all around functionality, it can't be beat. A HUGE thanks to Adam and his team for all of their hard work fixing what the manufacturers and service providers wouldn't take the time to.
I've had really good results using the GPS on Phoenix and Supernova. Quick locks, good accuracy and decent tracking.
I've been using phoenix 4.5, Adam's ROM w/ his GPS files/tuning, to track my running via Cardiotrainer and I've never had results so accurate.
For Comparison's sake, prior I used cognition 2.3 b6 and 2.3 b8 and the GPS was not as accurate.
Thanks a lot. The only time my GPS works is when I'm on Supernova or Phoenix.
I've flashed every rom available and Adams fix is by far, the best one available.
Sent from my SGH-I897 using XDA App
I was on Phoenix and now I am on supernova. All I can say is I would have never consider using my cappy as my primary gps until I got adam's roms.
The gps performance is pretty amazing if you ask me.
Play with different modems to get best results.
Works excellent!
I'm a FireFly user. Just installed this fix and I'm impressed! Significantly improvement with GPS inside. Have to try it with the real driving.
Nick_Marah said:
I'm a FireFly user. Just installed this fix and I'm impressed! Significantly improvement with GPS inside. Have to try it with the real driving.
Click to expand...
Click to collapse
Thats awesome.
On a separate note: how did you post in the dev forums with one post? not hating just curious...lol
xtremekilla09 said:
Thats awesome.
On a separate note: how did you post in the dev forums with one post? not hating just curious...lol
Click to expand...
Click to collapse
he has been a member since 2009
Adam. Was this gps fix already in supernova 2.3?
Yeah this fix is awesome. Just wish I didn't get that stupid unable to locate address message when trying to lock on my location.
This fix works great on Precision as well. Nice!
DunDunDario said:
Yeah this fix is awesome. Just wish I didn't get that stupid unable to locate address message when trying to lock on my location.
Click to expand...
Click to collapse
Go into settings and clear the data for your maps app
Adam - u have done an amazing job with gps fixes in the past.. I don't doubt this will work on other roms as well
My gripe is that my phone is just one of those flawed phones that no matter what gps cocktail I throw at it, I am still shown driving through cow fields and getting re-routed
Replace with another ( #7 ) ?? I think I may try a different phone if the Lords will let me
Sent from my GT-I9000 using XDA App

Resources