[CANCELLED]WANTED: Guinea Pigs for GPS fix - Vibrant General

Update: It seems that it doesn't want to play well with at least some Vibrant modems so I'm not recommending it for Vibrant and please don't download. In looking at a drop of I897UCKB1 the libsecgps.so seems to have been updated as well, which might explain it.
I've been working on a GPS fix that has had a fair degree of success so far on the Captivate side:
http://forum.xda-developers.com/showthread.php?t=957164
I *believe* it should also work on the Vibrant, just can't be certain yet. In fact, I believe it should work on any of the North American Galaxy S variants that use the Broadcom BCM4751 (no FM Radio) GPS module. The only thing in it that's AT&T specific is the certificate used for Secure SUPL connection, but I don't think it would matter and it won't overwrite any existing certificates. If it doesn't work just set Secure SUPL to off but I think it will still work fine using the AT&T certificate.
(In fact, if someone wants to look in /system/bin/gpsd/ and pull out a copy of the T-Mo .cer certificate file I'd be glad to cook up a Vibrant-specific version for testing.)
If there's anyone out there who's about to flash anyway, who has a backup of their settings they can use for recovery if needed, or whose GPS performance is just so awful they don't give a sh!# any more and will try anything I'd appreciate a few Vibrant testers.
Please report back with results and ROM/modem configuration.
Thanks, and good luck!

I've been following the GPS work being done in the Captivate forums with great interest (especially Da_G's and now your threads), and I have to say I'm very excited and appreciative of the progress you're making. Sorry I can't do any beta testing this week, but in the future I will definitely flash this.

jamesyl said:
I've been following the GPS work being done in the Captivate forums with great interest (especially Da_G's and now your threads), and I have to say I'm very excited and appreciative of the progress you're making. Sorry I can't do any beta testing this week, but in the future I will definitely flash this.
Click to expand...
Click to collapse
Understandable.
In truth though the only reason it's really still marked as being in beta is that it I haven't been able to nail down why it seems to work wonders for some but doesn little to nothing for others. My suspicion is that it has to do with the modem but results don't seem consistent yet.
I9088 based modems (KP1 etc) seems to works well so far, as does JK4 which I why I thought to ask for Vibrant testers.

Tried it (on bionxi V 1.2) and nothing. No sats in view, certainly no locks.
Rebooted, and the samsung gps restore ap and and it is back to working but jumping arround as it was before.

beren28 said:
Tried it (on bionxi V 1.2) and nothing. No sats in view, certainly no locks.
Rebooted, and the samsung gps restore ap and and it is back to working but jumping arround as it was before.
Click to expand...
Click to collapse
Disappointing to hear. Hopefully others might have better results, and this could still be the case as the configuration is only one of the problems with Samsung's GPS implementation.
The Samsung GPS restore app does nothing to improve GPS really. All it does is revert back to the horribly flawed stock settings like the broken lcs-spirent.com LBS server. There are basically zero scenarios in which this could ever be helpful and you're almost certainly better off using another GPS fix of some type and changing the LBSTestMode settings to non-stupid ones.

What was the lcs-spirent.com server directing information to anyways? Is it an actual satellite data server or a typo on Samsung's part?

XPLANE9 said:
What was the lcs-spirent.com server directing information to anyways? Is it an actual satellite data server or a typo on Samsung's part?
Click to expand...
Click to collapse
Short answer: at some point it apparently may have been serving as a Location Based Service (LBS) server which would provide satellite and approximate location data used for Assisted GPS (AGPS) augmentation to the pure-satellite GPS. By about launch time or so though the domain was no longer registered, and shortly thereafter it was snapped up by a spammy domain squatter who just sits on it and draws ad revenue from all the inadvertent traffic.
The fact that Samsung's successive "fixes" for GPS continue specify continue to specify this obsolete configuration could probably be taken as evidence that they're either completely ignorant or they just don't care.

p m when you want to test i ll give it a whirl

Ill test this out in the afternoon. Still at my night job. Just hope this doesnt give my gps aids...
Sent from my SGH-T959 using XDA App

I will test it out. I drive 40 miles to work and my phone has never had the ability to navigate correctly. It will sometimes get close for a few minutes but then jumps again. Maps work pretty well but the navigation does not. If that is what you are looking for let me know and I will try anything to get it working better.
Edit: I didn't see a gpsd file but there is an agpsd file which I have attached.

Rrryan2 said:
I've been working on a GPS fix that has had a fair degree of success so far on the Captivate side:
http://forum.xda-developers.com/showthread.php?t=957164
I *believe* it should also work on the Vibrant, just can't be certain yet. In fact, I believe it should work on any of the North American Galaxy S variants that use the Broadcom BCM4751 (no FM Radio) GPS module. The only thing in it that's AT&T specific is the certificate used for Secure SUPL connection, but I don't think it would matter and it won't overwrite any existing certificates. If it doesn't work just set Secure SUPL to off but I think it will still work fine using the AT&T certificate.
(In fact, if someone wants to look in /system/bin/gpsd/ and pull out a copy of the T-Mo .cer certificate file I'd be glad to cook up a Vibrant-specific version for testing.)
If there's anyone out there who's about to flash anyway, who has a backup of their settings they can use for recovery if needed, or whose GPS performance is just so awful they don't give a sh!# any more and will try anything I'd appreciate a few Vibrant testers.
Please report back with results and ROM/modem configuration.
Thanks, and good luck!
Click to expand...
Click to collapse
Honestly, I really would like a copy of the at&t cert, because I use my Vibrant on at&t.....

This worked great for me.
In long island city never had good gps. Now with your fix locks to sats under 20secs.
Sent from my SGH-T959 using XDA App

compuguy1088 said:
Honestly, I really would like a copy of the at&t cert, because I use my Vibrant on at&t.....
Click to expand...
Click to collapse
I really don't think it should make much a difference though especially as long as supl.google.com is being used for LBS. It's not like it's carrier-specific or anything.
You can download the fix and pull the supt.att.cer file out manually and install it with adb push if you like. I tried to upload it directly here but it's not an allowed file type.

cyberpyr8 said:
I will test it out. I drive 40 miles to work and my phone has never had the ability to navigate correctly. It will sometimes get close for a few minutes but then jumps again. Maps work pretty well but the navigation does not. If that is what you are looking for let me know and I will try anything to get it working better.
Edit: I didn't see a gpsd file but there is an agpsd file which I have attached.
Click to expand...
Click to collapse
.zip seems to be corrupted and I couldn't open. Thanks for the effort though.
Unless there's a something.something.cer file in there it's not what's needed though.

cyberpyr8 said:
I will test it out. I drive 40 miles to work and my phone has never had the ability to navigate correctly. It will sometimes get close for a few minutes but then jumps again. Maps work pretty well but the navigation does not. If that is what you are looking for let me know and I will try anything to get it working better.
Click to expand...
Click to collapse
Sorry, just realized I didn't really answer your question: yes, that's exactly what I was trying to fix and that would be a great test case.
With many of the previously published gps fixes it was possible to get a stationary fix but the tracking was just terrible. I re-enabled smoothing and some of the other augmentations to try to improve tracking. It seems to do a slightly better job at tracking, and in any case if it errs it recovers much more quickly now.

I would love to help test this out also. I sent you a PM Rrryan2.
Thanks!

daenigma said:
I would love to help test this out also. I sent you a PM Rrryan2.
Thanks!
Click to expand...
Click to collapse
PMs are unnecessary. Just follow the link in the OP. Installation procedure is unchanged.
Sent from my GT-I9000 using XDA App

Rrryan2 said:
PMs are unnecessary. Just follow the link in the OP. Installation procedure is unchanged.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I already made the changes manually to the LBS setting, I was just unsure if I needed to flash something else since the OP link was to the Captivate zip files.
Looks like the cert for ATT and T-mobile are different, but I am a bit of a noob also so...
I guess I will try to flash the USA file and Odin if necessary

Just tried it out: finding location and locking on. Unfortunatly it took 74 seconds to lock on as opposed to the "normal" 36-45 seconds. Here are the steps I took.
1.Download the .zip for your geographic region below
2.Flash with CWM
3.Apply the proper SUPL settings to LbsTestMode using dialer or SGS Tools - see pic above.
4.rebooted and waited till the os was fully loaded.
Running Trigger 2.1.0 (froyo) has KB1 modem. Used GPS Status to test. Will test navigation later today when I go to work.

daenigma said:
I already made the changes manually to the LBS setting, I was just unsure if I needed to flash something else since the OP link was to the Captivate zip files.
Click to expand...
Click to collapse
Although the testing on Vibrant is still experimental for now, the files (except for the certificate) aren't Captivate-specific and seem to be common to Galaxy S series. Some of the elements of the fix were previously used for Nexus S, Epic etc. Plus they don't have anything to do with anything besides GPS.
Looks like the cert for ATT and T-mobile are different, but I am a bit of a noob also so...
Click to expand...
Click to collapse
Not a big deal really, all it affects is secure SUPL. Setting Secure SUPL to off in LbsTestMode gets around it completely if it's even necessary.
I guess I will try to flash the USA file and Odin if necessary
Click to expand...
Click to collapse
That and/or have a good nandroid backup ready.

Related

[ATTN - ALL SGS ROM COOKERS] 2g/3g toggling. This concerns you!

Please read carefully!
A very good way of saving battery life is turning the 3G connection on only when needed.
Unfortunately there currently is no api that allows doing that, only two apps that use a workaround and require your special attention for signing.
The first app is Toggle 2G and is made by our fellow member TheMasterBaron and it requires custom signing.
The second one is JuiceDefender's addon "AOSP helper":
The AOSP helper might work on other "pure" AOSP custom ROMs - it just requires signing by the "cook". If you want the AOSP helper to work with your custom ROM, contact me - I'll send you the apk for you to sign.
Click to expand...
Click to collapse
If you are serious about rom cooking and want to prove so, please post the name and status(Working, which one of the 2 apps?/Not working) of your ROM.
Thanks for your interest
The final purpose of this addition to a custom rom is the ability to switch 3G on automatically(via Tasker or JuiceDefende) when starting preselected apps (like internet) and turning back to 2G mode when speed is no longer required, thus saving a lot of battery)
Please do not post or talk about useless apps like switchpro that is only a shortcut to mobile network settings or widgets that turn off the connection completely.
This is about api level implementation of this feature, if you don't know what that means please refrain from posting,
switchpro widget has workaround to swap 2G/3G
Juice defender is great control everything you need
Sent from my GT-I9000 using Tapatalk
Smoda widget does 2g/3g switching
This thread is for rom cookers only and is about switching from 3G to 2G (not turning internet off) automatically (not by entering the settings menu from a shortcut)
Would love the jd to work.
Funny thing - it actually works on froyo (at least jpc).
Try reading the setup log, AOSP plug-in install always fails (JPK).
Didnt use anything newer than JPC, but I installed and used AOSP helper on it (that was quite a long time ago). JD version was something like 2.1.8 (agcourse dont remember the exact version, just guessing).
This is certainly valuable info, there was a note somewhere about these two apps being able to work on leaked roms.
well, def doesn't work on JPK
I would love this though, I hate having to disable the APN or switch it to GSM just so my batt doesn't die in 12hrs. if it could go 3G only for internet/youtube etc and 2G for everything else that'd be awesome
Yup, that's what I want, but we have to get the cook's attention first
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Chainfire said:
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Click to expand...
Click to collapse
Awesome! can't wait
Chainfire said:
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Click to expand...
Click to collapse
Sweet.
Any chance for auto-2g/3g toggle when the screen goes off? That would be really nifty!
..and maybe a bit buggy too.
I'd rather have something I can use with Tasker to create my own rules.
Yup, a working app is all we need and Tasker can do the rest
I only want to use it for selected apps like the browser, market etc.
I also thin it would be best to have an app for on and one for off to ease the toggling process and not accidentally turn it on instead of off since I don't know if Tasker can check the GSM status this way (and if it does it would require a new rule making it more complicated)
Bec07 said:
Yup, a working app is all we need and Tasker can do the rest
Click to expand...
Click to collapse
What we really need is "Tasker" to be Android-native like it is on the iPhone. And control over communication without Google breathing down our necks too much. The whole existence of this topic is because Google set it up for 2-way data gathering with both parties (you and the application) having an equal say in the matter. Both parties can bend this mechanism to their liking somewhat in practice.
Ummm... google didn't provide the api, that's it... There's no issue with tasker.
There's plenty of alternatives(2 as far as I looked) for this particular "task" but the switch is what's missing.
Maybe we'll get the api in a later version and various coding tricks won't be required anymore.
Bec07 said:
Ummm... google didn't provide the api, that's it... There's no issue with tasker.
There's plenty of alternatives(2 as far as I looked) for this particular "task" but the switch is what's missing.
Maybe we'll get the api in a later version and various coding tricks won't be required anymore.
Click to expand...
Click to collapse
The point with Tasker (and alternatives) is that you get about 80% of what you want/ need (in
Eclair) which might be enough for what you want or totally inadequate. It cannot truly detect (let alone intercept) an application start or exit, but will in general always lag behind the facts. In Froyo this becomes especially clear as there are even less hookups for work-arounds causing pathetic behavior at times.
What good is it to have a 3G/2G switch if you cannot let it start before your browser, unless using a script + custom icon. How do you detect if you left the browser if Tasker (for instance) treats any change of application (even switching) as leaving the previous one? In Froyo this currently means that it actually waits till you start a new application before it "sees" the exit of the previous one, which you left a minute ago. You really want native control over these things as well.
But enough of this.
Ettepetje said:
It cannot truly detect (let alone intercept) an application start or exit]
Click to expand...
Click to collapse
Uh, how so? I used it for quite a while and I haven't seen any lags or issues in task execution.
You can't really ask it to predict your thoughts now can you

List of links and GPS Fixes

Here is a list of most of the known GPS fixes.
At this point no one should be suffering from lack of knowledge or or methods offered. One or a combination of these will work.
Please remember, the GPS on the Galaxy phone is GPS assist NOT pure GPS, so if it does not perform like your TOM-Tom or Garmin.......so what ...it was not designed to be as good as a dedicated device. That said here are the links, etc that will help you get the best performance out of your phone:
KWKSLVR Hardware fix
http://forum.xda-developers.com/showthread.php?t=878970 ....
this is a hardware fix for some phones the tab that is suppose to engage the antenna does not make good contact. This provides a fix for that
Software fixes from the market:
GPS Aids,--- this works pretty well
Gps restore --- works for some
Some Software fixes from postings:
aamir123 posting:
http://forum.xda-developers.com/showthread.php?t=1026681&highlight=gps+fixes
Tatawo posting:
http://forum.xda-developers.com/showthread.php?t=912777&highlight=gps+fixes
I have Masters GPS fix patch attached in this posting.
Jellette (it could be Whitehawkx or Birgertime can't remember) of the EDT Team has a GPS fix as well I could not locate. Maybe someone can post the link or patch in here as well
***Thanks to Nomadrider123 for finding this: *** Heathens fix (EDT) team
http://forum.xda-developers.com/showthread.php?t=974702
Hopefully, this will help those who are still struggling with GPS or just need a central post to be able to use a a reference. - - -
I believe this is what you were looking for. Anyway to get this stickied so it doesn't get lost?
Heathens GPS Fix
http://forum.xda-developers.com/showthread.php?t=974702
Yeah, Heathen's fix is what has worked wonders for me regardless of what rom I was running.
nomadrider123 said:
I believe this is what you were looking for. Anyway to get this stickied so it doesn't get lost?
Heathens GPS Fix
http://forum.xda-developers.com/showthread.php?t=974702
Click to expand...
Click to collapse
Thanks I put this in the op, so it is there and thanked you as well,
Hopefully they can sticky this so it will make it easier for people who need this can find. ...
Should add link to Da_G's post in the cappy forum also find rryan's post in cappy forum. Great resource information from both. Even though plumbbob doesnt work with the vib (ms assist/msmode)
http://forum.xda-developers.com/showthread.php?t=957164
http://forum.xda-developers.com/showthread.php?t=881941
Thanks a lot for this!!!
Sent from my SGH-T959 using XDA Premium App
sticky threads
I think this and the hardware gps fix should be put in the sticky threads
The digitaltoddy fix (Fixes me EVERY TIME):
You'll need to get into LBSTestMode by entering *#3214789650# from the dialer. Press Delete GPS Data, this will get rid of the bad GPS information that is probably still stored in your phone. Go to Application Settings and set the Start Mode to 'Cold Start'. Reboot your phone and go outside, run an app like GPS Test and let it lock onto as many birds as it can, once you get a good number (at least 5), go back into your LBSTestMode --> Application Settings and set the Start Mode back to 'Hot Start', reboot and all should be merry.
I had major issues w/ my GPS and was able to put this together with the help of various posts and a deeper understanding of how GPS on these phones actually works. Hope this helps!
Also, it's probably best to run the GPS Test application while you are driving around, let it lock onto as many birds as it can (I'd say let it run for a few minutes, I was able to get 9 the first time) before setting it back to 'Hot Start'. This way it will keep these birds in the list and allow you for a faster lock afterwards.
Click to expand...
Click to collapse

*[GPS FIX] GPS Fix for all* roms

XDA member*mikel.canovas*created a thread with a method that he found while browsing our fora that will consistently allow the GPS in the Captivate (we know all this crappy phone with huge gps problem) to get a lock on within 5 seconds, even being indoors! This fix also working with galaxy note.
First off - All credit goes to h3llstorm, as this is his genius fix and I'm just making a thread about it since most people don't even know about it.*
This is for*- anyone whose GPS has long lock times, and is inaccurate in navigation.*This*SHOULD*work with all 2.3+ roms. I stress should because I have used this a while back with GB roms and am using it now on CM9 (ICS).
What it does*- replaces /system/etc/gps.conf with h3llstorm's modified version that has much more servers and various tweaks.Results*- I'm able to consistently get locks within 5 sec and ~10m with multiple sats. Even indoors, results are similar.Many (including non captivate users) have reoved results as well.
On my CheckRom I got no locktime at all. ( indoor!!!). Its instantly navigate!
Original thread is here
How to use it:
Backup your old gps.conf (located in /system/etc) in case you prefer your old configuration. But you can always flash your rom again to get it back as well
Download h3llstorm's gps fix --* http://goo.gl/Ti0pp SD CardReboot into CWM and flashReboot and enjoy.
GPSNOTE*- first lock can take much longer that normal. Don't be surprised if it takes over 1 min. Results should improve from there. Should get ~ 3 sec locks, with multiple satellites.
thanks for posting it here
A thread about a thread. Mmmm just posting the link in general whas enough. One xda rule that is been broken.
I know you want to help. But lately the note dev section is full of non development threads.
http://forum.xda-developers.com/showthread.php?t=1541082
http://forum.xda-developers.com/showthread.php?t=1543785
http://forum.xda-developers.com/showthread.php?t=1538605
http://forum.xda-developers.com/showthread.php?t=1532830
http://forum.xda-developers.com/showthread.php?t=1527816
If you did not created than not make a thread about it.
http://forum.xda-developers.com/showthread.php?t=1321268
Why would you want to fiddle with the Notes GPS settings? it works extremely well as it is. I always have a lock on multiplse sats within a couple of secs and rarely see less then 16sats beeing locked on after 10sec.
I just tested indoor where I got a lock on 17sats in about 3sec.
With the Galaxy S all tricks were welcome but with S2 and specially the Note with GLONASS too I se no point as it already is incredible.
By the way, did you read the posts on original thread? It is not working for every one. And than you post it here?
robertberma said:
By the way, did you read the posts on original thread? It is not working for every one. And than you post it here?
Click to expand...
Click to collapse
its better to edit the config file and add the server address of your local region. ..if you don't want to edit then third party applications are available in market. ..no need to replace the file
For lazy people it is a good solution
Thanks for sharing.
I can see that the NTP_SERVER is ''us.pool.ntp.org''.
So, maybe is better for Europe users to change it to ''europe.pool.ntp.org'' (or any specific country, for example ''gr.pool.ntp.org'' for my country) before flash it?
I really really don't consider it's meaningful
Note can obtain and lock so many sats signal within few seconds. I don't think it's meaningful to do any mod.
eliashadow said:
Thanks for sharing.
I can see that the NTP_SERVER is ''us.pool.ntp.org''.
So, maybe is better for Europe users to change it to ''europe.pool.ntp.org'' (or any specific country, for example ''gr.pool.ntp.org'' for my country) before flash it?
Click to expand...
Click to collapse
No wrong because we all use american sattelites. We all depend on us sattelites.
So wrong info, europe do not have own sattelites for navigate.
robertberma said:
No wrong because we all use american sattelites. We all depend on us sattelites.
So wrong info, europe do not have own sattelites for navigate.
Click to expand...
Click to collapse
So what for there are different servers?
In any rom you can see different servers in gps config, for example rocket rom always using de.pool.ntp.org.
Faster Fix doing the same too.
Hmm another one getting credited for being "a genius " for using something thats been around for a long time (read years)...
They Must work for crappl
eliashadow said:
So what for there are different servers?
In any rom you can see different servers in gps config, for example rocket rom always using de.pool.ntp.org.
Faster Fix doing the same too.
Click to expand...
Click to collapse
We use navstar and that is been set free by ronald regean vs president to use for navigation all over. In europe we use galileo but not for ower diveses.
Did you ever heard about poland lanching a sattelite, we all use the same sattelites. Three for 3d persion. Does not matter where you are ore what it say in gps.conf.
I think there is a misunderstanding here.
"Physical" satellite are american, and the same for all, obviously.
The servers you mentionned are NTP servers which allows for time synchronization, and quicker satellite fix time. It is related to A-GPS (stands for Assisted GPS).
robertberma said:
We use navstar and that is been set free by ronald regean vs president to use for navigation all over. In europe we use galileo but not for ower diveses.
Did you ever heard about poland lanching a sattelite, we all use the same sattelites. Three for 3d persion. Does not matter where you are ore what it say in gps.conf.
Click to expand...
Click to collapse
[OT] Please spell check before posting. Three is not free [/OT]
NTP servers are time servers. Time has always been essential to navigation, even before the first satellite was ever launched. If all GPS users on the planet connected to the same time server to check time for satellite search, the servers would crash and you would never get a fix.
You CAN connect to any server you want, but the nearer (faster) the better.
DarkAdrien said:
I think there is a misunderstanding here.
"Physical" satellite are american, and the same for all, obviously.
The servers you mentionned are NTP servers which allows for time synchronization, and quicker satellite fix time. It is related to A-GPS (stands for Assisted GPS).
Click to expand...
Click to collapse
sudisk said:
[OT] Please spell check before posting. Three is not free [/OT]
NTP servers are time servers. Time has always been essential to navigation, even before the first satellite was ever launched. If all GPS users on the planet connected to the same time server to check time for satellite search, the servers would crash and you would never get a fix.
You CAN connect to any server you want, but the nearer (faster) the better.
Click to expand...
Click to collapse
So am i right for generally is better to change ntp severs with our place?
Sent from my Samsung Galaxy Note
Yes. It can't hurt, in any case you can revert back if you have any issue (but really, you shouldn't).
robertberma said:
I know you want to help. But lately the note dev section is full of non development threads.
http://forum.xda-developers.com/showthread.php?t=1527816
If you did not created than not make a thread about it.
Click to expand...
Click to collapse
Maybe you should learn to read, and start with reading your own words..
[ I ] made that mod, therefore I have the right to post a thread about..
Stop acting like your the one who created xda..
Sent from my GT-N7000 using Tapatalk
gps fix
Like henke2 said there is nothing to fix on gps . Why would you fiddle wit ith ? It work EXTREMELY well . Outside i am catching signal within SECONDS , and inside house within 30 seconds .
robertberma said:
But lately the note dev section is full of non development threads.
Click to expand...
Click to collapse
You forgot this one:
http://forum.xda-developers.com/showthread.php?t=1529604
It started its life in Development, but was later moved to Q&A. And do you remember who the OP was?
You.

[TIPS] Excellent GPS for UK users

Hi Guys 'n' Gals:
If like me you have been struggling with poor GPS on your SGS2, then I may have the answer!
I am running Foxhound SniperWolf - have tried just about all of the "good" radios & have swapped regularly between Abyss / Siyah kernels to no avail.
Where I work (in Hampshire, right on the coast), it would often take up to 5 minutes (sometimes longer!) for Sygic to lock onto satellites. GPS status used to just about give up - it was hopeless & yet my trusty TomTom would lock in about 10 seconds! It really p*ssed me off!
Now with the following combination - FoxHound SniperWolf ROM, Siyah kernel 3.2.8.2, Stock XXLPX modem & Crypted AGPS Patch - I get a lock in 10 to 12 seconds maximum - every time from work! At home, even indoors, I get a lock in about 10 seconds!
To be fair I think a very large portion of my success is down to "crypted" and his fantastic AGPS fix which you can find here
My Samsung Galaxy S2 is now superb for any GPS application!
If this helps anyone - please click the THANKS button below this post.
Cheers
I'm skeptical about "patches", "fixes" and "hacks" which are supposed to improve or fix things.. Imo if the changes are really worth having I'm sure the veteran developers around here would include similar functionality in their roms / kernels as stock or recommend you install them.
That said I have no idea what the Crypted AGPS Patch does. From what I can tell it modifies the gps.conf file
Thus editing config, not adding any new drivers / coding to significantly change how GPS works
It maybe that the major speed increase you are getting is due to the patch setting a new Local GPS server. FasterFix (free from the android market) will allow you to set your GPS server yourself to greatly improve GPS Locking speed.
I've set mine to the UK (uk.pool.ntp.org) and can achieve a GPS lock within 4 seconds
Just tested the speed while writing this. Believe me I have nothing to gain by exaggerating
Azurren said:
I'm skeptical about "patches", "fixes" and "hacks" which are supposed to improve or fix things.. Imo if the changes are really worth having I'm sure the veteran developers around here would include similar functionality in their roms / kernels as stock or recommend you install them.
That said I have no idea what the Crypted AGPS Patch does. From what I can tell it modifies the gps.conf file
Thus editing config, not adding any new drivers / coding to significantly change how GPS works
As the man says his own NTP SERVERS .
his patch has various objectives to ensure stability and efficacy with GPS. Locally, the patch will replace your /system/etc/gps.conf and your /system/etc/suplrootcert if you have this file. You can compare the difference in what you have to this one to get an idea of all the changes. V3.1, onward, contains section descriptions for variables in use. Most notably, starting with v3.1 the aGPS Patch uses my own central NTP DNS pool and my own central xtra.bin server by default. The xtra.bin does have fallback servers should mine fail. But, that is very, VERY much an unlikely scenario. These two imperatives allow for better stability and speed by providing top-rated NTP servers and prime-routed network access to transmit the xtra.bin to your phone.
jje
Click to expand...
Click to collapse
Thanx
NICE
Azurren said:
...That said I have no idea what the Crypted AGPS Patch does. .....
Click to expand...
Click to collapse
Maybe, if you had read the thread that I linked to in my post (as jje did) before you replied you would have had a greater understanding of what crypted was doing with his fix; and more so, what FasterFix does / does not do!
Be rash - try it! Believe you me - it works!
jellywobbles said:
Maybe, if you had read the thread that I linked to in my post (as jje did) before you replied you would have had a greater understanding of what crypted was doing with his fix; and more so, what FasterFix does / does not do!
Be rash - try it! Believe you me - it works!
Click to expand...
Click to collapse
Loving how you cut the quote at the point where I read through his thread and changelog and report back what it appears to do
Still, I have an open mind.. I will give it a try (although I remain dubious)
Azurren said:
Loving how you cut the quote at the point where I read through his thread and changelog and report back what it appears to do
Click to expand...
Click to collapse
Look mate - I don't want to cross swords with you, but ... you said in your post quite clearly
...I have no idea what the Crypted AGPS Patch does...
Click to expand...
Click to collapse
As the dev says in his thread that I linked to, he uses his own NTP SERVERS - he very clearly explains what his AGPS Patch does!
I understood what the AGPS Patch was doing. If you also understood what the AGPS Patch was doing, then why on earth would you say that you have no idea what it does??
Anyway - no matter - it works brilliant for me - end of!
Cheers
Well what I meant was that I don't know what his patch actually did.. Of course it uses different servers (As you say, that's explained in his thread) but what ELSE does it do?
For example, this is different from my current GPS.conf:
QOS_ACCURACY=50
QOS_TIME_OUT_AGPS=95
QOS_TIME_OUT_STANDALONE=80
QosHorizontalThreshold=1000
QosVerticalThreshold=500
Do you know what all these changes do?
Regardless I've done my own testing and checking.
5 tests using FasterFix: (uk.pool.ntp.org)
17 second lock
5 second lock
5 second lock
6 second lock
8 second lock
5 tests using the AGPS Patch:
15 second lock
12 second lock
3 second lock
39 second lock
14 second lock
33 second lock
An extra one as the results differed greatly
Hybrid: (Using the patch with uk.pool.ntp.org)
14 second lock
6 second lock
7 second lock
9 second lock
7 second lock
Some further testing:
Ping this: ntp.derekgordon.com
230-240ms
His server
And Ping this: uk.pool.ntp.org
44ms (Stable)
UK server
Both tests seem to confirm the same.
NOTE: These tests were done in the UK, I believe the sever for the "patch" is located in the USA. Therefore I have no doubt that the patch would provide better results for those in the USA
I keep calling it a patch when all it's really a config (text) file
Azurren said:
Well what I meant was that I don't know what his patch actually did.. Of course it uses different servers (As you say, that's explained in his thread) but what ELSE does it do?
For example, this is different from my current GPS.conf:
QOS_ACCURACY=50
QOS_TIME_OUT_AGPS=95
QOS_TIME_OUT_STANDALONE=80
QosHorizontalThreshold=1000
QosVerticalThreshold=500
Do you know what all these changes do?
Regardless I've done my own testing and checking.
5 tests using FasterFix: (uk.pool.ntp.org)
17 second lock
5 second lock
5 second lock
6 second lock
8 second lock
5 tests using the AGPS Patch:
15 second lock
12 second lock
3 second lock
39 second lock
14 second lock
33 second lock
An extra one as the results differed greatly
Hybrid: (Using the patch with uk.pool.ntp.org)
14 second lock
6 second lock
7 second lock
9 second lock
7 second lock
Some further testing:
Ping this: ntp.derekgordon.com
230-240ms
His server
And Ping this: uk.pool.ntp.org
44ms (Stable)
UK server
Both tests seem to confirm the same.
NOTE: These tests were done in the UK, I believe the sever for the "patch" is located in the USA. Therefore I have no doubt that the patch would provide better results for those in the USA
I keep calling it a patch when all it's really a config (text) file
Click to expand...
Click to collapse
OMG - far far too techy for me! If you are really that concerned, you really should direct your comments on the devs thread right here - I am sure he'll love to "engage with you"! For me - I am not interested, OK?
It works brilliantly; I don't care or understand what it does, or how it does it - end of!
Similarly, I drink Woodford Reserve bourbon - love it in fact, but I don't give a fig how they make it!
jellywobbles said:
OMG - far far too techy for me! If you are really that concerned, you really should direct your comments on the devs thread right here - I am sure he'll love to "engage with you"! For me - I am not interested, OK?
It works brilliantly; I don't care or understand what it does, or how it does it - end of!
Similarly, I drink Woodford Reserve bourbon - love it in fact, but I don't give a fig how they make it!
Click to expand...
Click to collapse
You're completely right, you should use whatever works well for yourself. All I posted was the tests (Really simple, just using GMaps and counting how many "blinks" the GPS icon did before locking )
The "Ping" tests just measured how long it took to "talk" to both servers
I would recommend you try-out FasterFix though, it may reduce your GPS lock speed
You could always just re-patch it if you want to revert
Oh and this has been bothering me for a while so I'll just say it.. I didn't give this thread a one star rating.
Honestly

Awesome GPS Config Fixer !!!

I attached a gps config file. It fixes my gps in just 2seconds!! it works very very well !!! Also a device using this awesome patch will lock onto 7 - 11 satellite !!!!
Just flash it. Also you can unzip it and copy gps.conf file located in the system folder of the ZIP file into /etc/ of the system folder of your phone using root explorer (rw-r--r-- permission) and then reboot.
Notice: Make a backup of your current gps.conf file before replacing.
Any user plz test it and write your feedback.
ehsan453 said:
I attached a gps config file. It fixes my gps in just 2seconds!! it works very very well !!! Also a device using this awesome patch will lock onto 7 - 11 satellite !!!!
Just flash it. Also you can unzip it and copy gps.conf file located in the system folder of the ZIP file into /etc/ of the system folder of your phone using root explorer (rw-r--r-- permission) and then reboot.
Notice: Make a backup of your current gps.conf file before replacing.
Any user plz test it and write your feedback.
Click to expand...
Click to collapse
excuse mu language, but BULL****
1)
ntp.derekgordon.com
Click to expand...
Click to collapse
how is that getting jazz better when i have much biggr ping to that servr than to one of REAL ntp servers near my location obrained here http://www.pool.ntp.org/ ?
do you understaant what ntp is ?
2) same question about those two
AGPS=http://derekgordon.com/gps-files/bin/xtra.bin
XTRA_SERVER_1=http://derekgordon.com/gps-files/bin/xtra.bin
Click to expand...
Click to collapse
rest is just ranom jazz with no real inpact on gps accuracy (like intermeiate position, dude pls ...)
real 'fix' can be found in my signature - nexus s files - no one will do gps better than google staff ...
second real fix can be foud here [FIX] i9000 i9001 gps final fix
thank You, good bye
This is not unbadly served fishy help.
Advice:
Do good by offering real help.
For those eager to mend lame GPS here's a hardware fix:
http://forum.xda-developers.com/showthread.php?p=27095362
somator said:
excuse mu language, but BULL****
1)
how is that getting jazz better when i have much biggr ping to that servr than to one of REAL ntp servers near my location obrained here http://www.pool.ntp.org/ ?
do you understaant what ntp is ?
2) same question about those two
rest is just ranom jazz with no real inpact on gps accuracy (like intermeiate position, dude pls ...)
real 'fix' can be found in my signature - nexus s files - no one will do gps better than google staff ...
second real fix can be foud here [FIX] i9000 i9001 gps final fix
thank You, good bye
Click to expand...
Click to collapse
why don't you try this? replace the ntp server and the other servers with what you want (get it from your gps.conf), that's not the important part of the config... try this and then you can say if it is working or not, in your thread you talk about a bit faster fix... i can say you that this "random jazz with no real impact on gps accuracy" will get you a greatly faster fix and better accuracy
edit: you surely know that you need data connection on to use correctly agps
ktulu84 said:
why don't you try this? replace the ntp server and the other servers with what you want (get it from your gps.conf), that's not the important part of the config... try this and then you can say if it is working or not, in your thread you talk about a bit faster fix... i can say you that this "random jazz with no real impact on gps accuracy" will get you a greatly faster fix and better accuracy
edit: you surely know that you need data connection on to use correctly agps
Click to expand...
Click to collapse
this forum is full of ...
best NTP server is the one CLOSEST to You, and for xtra data - better is official source, sorry
you got some random shenanigans mostly doubleing sytem settings or reffering to ones not working on i9000 - this shows lack of knowldge
INTERMEDIATE_POS and ACCURACY_THRES ends up in geetting 'partial' greatly INACURATE fix then slowly making it better - that is not faster fix - same goes to few other settings - dont tell me thats the idea, get 300m or more fix with partial data and then making it better - at the end normal settings will get the fix in the same moment as stock ommit those errorous and incurate data you want to get into consideration
long story short - when promoting something one call FIX do some research first - start from basics: learning how gps works on android and paricullar device
imho there is no better way than the google way - remember nexus s and i9000 main boards are the same (-nfc -led +sdcard)
edit: you surely know that when data connection of agps will be downloaded if wifi is enabled and in range
also agps is not needed for fix, it speeds it up a bit but if youre in location with satelites visible you will get a fast fix anyways
as long as your GT-I9000 got no problems with antena connection (after fixing that guys get fix indoors so...)
dont waste more of my time, thanks
btw the tittle: "Awesome GPS Config Fixer !!!"
there is nothing wrong with stock gps.conf or other settings files to begin with
only culprit is samsung to release device that got connection motherboard<->antena made so ****ty

Categories

Resources