yashsingh1/xdaforums huggingface dataset:
[HTC Incredible S] itandy:
I just ran some more tests at home (next to the window with partial open sky) with all your 1.2 versions. Again, none of them gave me a reasonable result. The one for North America gave me 2 sats but all in the far north (see 1st attached picture). The other two international versions gave no sats. Once I revert back to stock file, I can at least get 5 sats in their proper positions (see 2nd attached picture). As you can see the sat #5 and #26 were found in both pictures but in completely different positions.

I understand there's no magic for GPS. But just hope someone can give me a sensible explanation to my weird case. :confused:
[HTC Incredible S] itandy:
I'm perfectly fine for beta testing. :) And my stock gps.conf is just like this:
[HTC Incredible S] crypted:
Can you disable all running apps? Kill them off? Just see if there's some interference. A tablet user reported that some background apps and widgets were causing loopy GPS readings because multiple apps were trying to use it.

We have had a lot of success in HK on other devices, so this is so strange. I'd like to see the stock GPS.

If you want to do some beta testing, you can join us for it. We'll be doing the next iteration testing starting tomorrow.

---------- Post added at 10:16 AM ---------- Previous post was at 10:13 AM ----------

Wow. That's standard stock gps.conf for sure.

Private message me your GMAIL address so I can add you to the Group.

I think the next iteration will work fine for you assuming something funky in my app is causing it.

You did try the alternate version, too, right?
[HTC Incredible S] itandy:
Just PM you my email.
[HTC Incredible S] crypted:
Great. I'll have the beta build ready to go tomorrow at some point. Hopefully, this will clear up your crazy issues.

Did you try the "alternate worldwide patch" available on the first post, though? I'd like to know that before beta testing begins.
[HTC Incredible S] naturelle:
Very good work, collecting and quoting all my postings. Really helpful.

---------- Post added at 10:02 PM ---------- Previous post was at 09:58 PM ----------

LOL. You do nothing for the community, as you are not sharing your informations about gps.conf. Modifying gps.conf is simple as your modifyings were posted by others before.

You only want a blarney-thread. So: get it, bye. No answer needed.
[HTC Incredible S] crypted:
If any other IncS users want to be a beta tester, I'll accept the first one to nominate themselves. Private message me with your Gmail or Google Apps address.

The opportunity will cease tomorrow as soon as I release the beta to the testing community.
[HTC Incredible S] itandy:
I actually tried all 1.2 and 1.3 versions.
[HTC Incredible S] crypted:
Sounds good. I'll be eager for your response tomorrow on the beta group. :D

If it's possible to get to work for you, this will be it.
[HTC Incredible S] pakman00:
Sorry for the confusion. I'm currently not using your patch yet but was referring to the "fasterfix" free app that's available on the android market which allows to select country specific optimized server which for me seems to have helped. https://market.android.com/details?id=com.Double.FasterFix&hl=en

If I have time today, I might give your patch a shot. But just to confirm, how do I know that your patch installed properly? What should I be looking for in the gps.config, just in case I have the same issue as itandy (we are using the same custom ROM)?
[HTC Incredible S] crypted:
I believe that will only adjust your NTP servers, which really isn't a big deal honestly.

You would copy the gps.conf in the ZIP into the /etc/ directory. Back yours up first. Or, you could just flash your ROM back over it and it would replace it.
[HTC Incredible S] Cookie Ninja:
Great patch to GPS.conf files. I'm in a job that takes me away from home (1000 Km +) every week. With this fix, I'm able to get a hot fix and GPS lock in 30 sec at any new place. Good work. BTW, could you add India.pool.ntp.org to your list of ntp servers in your next version?

HTC inc s rooted with ARHD 1.17.
[HTC Incredible S] crypted:
I'm very happy it's working for you!!! The pool shouldn't matter honestly. I'm considering building my own pools of known stable, fast NTP servers in the next few releases. :)
[HTC Incredible S] pakman00:
Ok, gave 1.3 a try today using Virtual Unity 2.37 and Unity V9 kernel and it seems to pick up more satellites faster. Maybe 6-7 instead of the usual 3-4.
[HTC Incredible S] jkolner:
Tried the 1.3 version with CM 7 Rom, and its blistering fast!!!! It got lock in 5 seconds indor!!!
[HTC Incredible S] baste07:
will this patch have any impact on battery consumption?
[HTC Incredible S] crypted:
No. It only helps your system process data from gps and agps. Nothing else is touched.
[HTC Incredible S] nikant:
hello.. before trying it just a quick question.. does this patch has a meaning if one is not connected to the internet somehow (APN off, 3G etc)?? Stupid question but just to clarify that..
[HTC Incredible S] crypted:
Need internet for the best speed for fixes but not required constantly. Any type of data connection works... The downloaded bin file is good for a day or so.
[HTC Incredible S] jpkbeddu:
Gps gets fixed in less than 10 sec and also getting 8 satellites after flashing.. Thanks for this Patch.
[HTC Incredible S] letmedanz:
Looks really cool.

Encouraged greatly by the response of some folks here :)

will patch now & let you know how it goes.

appreciate your work
[HTC Incredible S] baste07:
just installed. will test it out tomorrow when i'm out of the house
[HTC Incredible S] nikant:
tested today.. seems just fine! thanks!
[HTC Incredible S] erictioh:
How do i uninstall this ? it make my GPS signal worse, i don't have a single problem before and was lock also within 10 sec. after installed the gps locked but it's not moving well and shifted few hundred meters from my current location. Useless
[HTC Incredible S] jkolner:
Uho... always do a nandroid befor you flash anything, because you can't "unflash" a flash -sorry bro...
[HTC Incredible S] crypted:
Reflash your ROM. All it did was replace your gps.conf.
[HTC Incredible S] crypted:
v2.0 is out

First round of v2.0 is released. The beta-testers loved it and all gave the go-ahead today. I hope you all enjoy it as well.

Do note the multiple versions. I'm trying to help as many as we can specifically based on what people wanted.

I use the Generic/Google version even though I'm an AT&T customer.
[HTC Incredible S] baste07:
should i use the google version? i am on ARHD 1.1.7 Rom
[HTC Incredible S] crypted:
Unless you absolutely hate Google and want to see if you can get better results from one of those providers, I'd use the Google version.

I'm an AT&T customer and I use the Google one. :D
[HTC Incredible S] baste07:
thanks mate, i'll try the goolge version.

beffore that, i have the 1.3v installed, i can just flash V2.0 on top of it right?
[HTC Incredible S] crypted:
Yep that will work fine.
[HTC Incredible S] baste07:
great, thanks mate, i'll flash it now
[HTC Incredible S] 2uk3y:
is there anyway to use this patch without s-off ?? TQ :)
[HTC Incredible S] crypted:
v2.1 is out

Everyone, the latest version is out. It's a minor update.

I put a changelog on the thread now. It's just above the Notes section.

Also, there is a new installation method. You can install via a batch script. It uses adb push behind the scenes to install whatever patch you select from the menu options.
[HTC Incredible S] nikant:
2.1 version works just fine so far.. :)
[HTC Incredible S] erictioh:
Tried the previous version my GPS cannot use at all, it just locked to 500 M away from the map and doesn't really want to move.

Now tried this latest version, no such problem already, but my google map cannot zoom to full detail, just replace back the stock gps.conf then everybody ok, i still think this is just to create some talking here but nothing works.
[HTC Incredible S] nikant:
for some of us it works.. and I know what I'm saying.. I've used GPS from when the first available units where in the market. Never said that this patch will make you have a super-GPS but yes it optimized my TTF times enough to make me happy.

btw my GMaps zoom just fine either by button or by pinch to zoom..
[HTC Incredible S] crypted:
I'm sorry it is not going as you wished it would. However, I cannot control all variables in the GPS functionality equation. All I have power over with this patch is to create proper gps.conf configurations to work with a majority of the ROM's and phones using this particular chipset or those similar to it.

Over 100,000 downloads and less than 50 people saying it is a worthless patch makes me think it's doing quite well.

I'm more than happy to try and actually help you if you would ask rather than accuse this as "talking" rather than a solution. You would need to review all of the Notes section and give specifics of your situation.

However, if it is was broken or useless before using this patch...well, it really isn't meant for you. This is stated at the VERY top of the thread.

A super-GPS would require a better hardware setup. The GPS antenna schema on these phones sucks. A case can cause huge accuracy losses. So, you're right. This is a software patch for software issues. :D

Zooming in and out works fine for me. This does nothing to Google Maps or any other software. So, wouldn't think anyone could claim a problem. I'm glad it appears to be working effectively for you!!!
[HTC Incredible S] crypted:
I have released v2.2. Changelog is updated. A new version is out for LG phones. It might work with others just fine as it is only a change in SUPL to LG servers.

Still working on v3.x I promise!
[HTC Incredible S] jpkbeddu:
Is there any1 who tried this in CM/MIUI and had GPS impovement?
[HTC Incredible S] Cookie Ninja:
Used it on latest CM7 stable release. Guaranteed GPS lock in 50 sec on cold init and <10 sec lock in hot init.
[HTC Incredible S] jpkbeddu:
Thanks.. BTW which version to flash for CM/MIUI? Google Specific or GPS.conf only version?
[HTC Incredible S] scoobysnacks:
For anyone this isn't working for, and try this:

xdaforums.com/showthread.php?t=1239713
[HTC Incredible S] crypted:
The differences between the above link and my patch are not too great.

In fact, that above link looks strikingly similar to my v1.2n with an additional variable from v1.3. If you were using the older series, you would have had essentially the exact same thing. What's more, mine was released well before the above link's "tweak" came into being.

The above link harps and centers around NTP servers. Time is important when getting a GPS lock particularly when using almanac or xtra.bin data for aGPS location. But, the above link is overly simplistic in it's usage. NTP are extremely tiny packets and consist of only a few bytes. This is nothing. Further, there are safeguards built-in to alleviate any time loss in the transmission of the NTP data. Lastly, if the internal time for a phone is within 24 hours accurate, the xtra.bin information for aGPS should be sufficient to process. Closer to the correct time, the better you are though.

There is no way that using specifically local NTP servers will be so paramount as to cause extreme differences compared to my worldwide solution. Granted, there might be 1 in a 1,000 instances where it matters. But, that signals something else as an underlying problem.

Another factor that I've considered into my determination of worldwide NTP pools hinges on how the internal networks of the cell carrier operates and how it connects to the internet. Just because your gps.conf uses an NTP server next door doesn't mean you're going to get superior performance. If you're on WiFi, okay. But as we're on-the-go, stable and constant WiFi aren't likely to be had.

Cases in point:

1. When traveling through Europe, I checked to see how my data connection was faring. While I was in one country, the cellphone carrier was dumping my data onto the internet a couple of countries away. Hence, it wouldn't matter if I had an NTP server setup for Spain if my data was processed in Switzerland.

2. In Oklahoma, my data via AT&T connects to the internet somewhere near San Antonio, Texas. That is a good few hundred miles away. An Oklahoma NTP server wouldn't to that great of good.

I could discuss the other variables and their effects, or lack thereof, from the above link, but it isn't necessary.

As said at the top, that link is very similar if not a reproduction of v1.2n. For my part, this patch is in the v2.x series and will be getting a special treat in the v3.x series soon.

If you have problems with the current build of my patch, it most-likely is a conflict unrelated to the patch but missing components in the ROM. I would suggest trying v1.3n if you have problems with v2.2. This has been noted in the Notes Section, #7 since v2.0 came out a several weeks ago.
[HTC Incredible S] scoobysnacks:
Guys try it it works much better than his patches :)

---------- Post added at 11:17 PM ---------- Previous post was at 10:58 PM ----------

I don't care about the science of why something should theoretically work better when it doesn't...

All I said was for anyone your patch isn't working for their is an alternative.

One which works ;)
[HTC Incredible S] ibrahimh:
It worked for me

Thanks
[HTC Incredible S] nikant:
and why not all of us behave and start sharing? knowledge should be free and shared (at least here in xda)

my 2cents http://xdaforums.com/showthread.php?p=18438598#post18438598
[HTC Incredible S] crypted:
I'll keep it free then. Just for you! ;)
[HTC Incredible S] the_scotsman:
Thread has been cleaned. I suggest all this crap talk stop now. If you have nothing useful to contribute, then don't bother posting. No more warnings.
[HTC Incredible S] crypted:
I plan to compile descriptions of ny work at some point. I've described almost every variable at some point on the 9 threads. I've been more interested in developing better setting configurations than explanations. I feel it's better for everyone that way.

But, I anticipate a release of v3.0 within 14 days. It's on beta 3, which will be the last build before release unless problems are found. There are two releases planned for this trunk at this point.
[HTC Incredible S] Sisqo:
i've tried 2.2 and Worldwide 1.3, but same problem, it fixes within 1-2 seconds, but with bad gps location, also in gps status and igo, bad latitude and longitude. any fixes? i'm from europe;), using cm 7 last nightly
[HTC Incredible S] crypted:
Your GPS unit is not being used at all. Try a different ROM.
[HTC Incredible S] Sisqo:
What do you mean? If I don't install your patch gps connects in 1-2 minutes or so.

On what rom does this work?
[HTC Incredible S] crypted:
If youre not having a reading within 15 meters, it comes from your cell tower or Wi-Fi location. If it's in a case, remove it and try outside. Make sure data connections of some sort are enabled.
[HTC Incredible S] Sisqo:
i said it connects in 1-2 minutes or so correctly, without applying the patch, after i apply the patch it connects in 1 second but the latitude and longitude are from another city...anybody tried it in europe with a different rom?
[HTC Incredible S] crypted:
Again, that doesn't mean that the aGPS unit is functional. CM has had notorious issues with disabling that feature in the code. aGPS cannot be re-enabled with this patch. Certain components of the patch may work even if the main portion isn't functioning.

But, it has nothing to do with the patch itself if it's marking you so far away. That means it is not reading your GPS data and is acquiring it from another source.

If the aGPS system was functional, you would be within at least 10 meters of yourself even with a case on the phone.

How does it work without the patch? One minute, but with what results? It may be that your using something not allowing aGPS to function and by trying to enable its various options via my configuration patch, it ignores GPS and relies on tower-based information which puts you far away.

If I disable my GPS, I sometimes show up as 2,000 miles away when relying on certain tower information.
[HTC Incredible S] ralphodog:
I'm in Eastern Europe as well and have the same problem. I just updated to 2.2 and now it gives me completely bogus random GPS locations.
[HTC Incredible S] crypted:
Are you using CM as well? Again, this has been a recurring issue with CM nightlies every so often.

Random locations aren't coming from GPS at all, rather it's supplied location from your carrier network and their tower data. Again, that isn't reliable and sometimes will put you hundreds of kilometers away.
[HTC Incredible S] crypted:
NEW VERSION(S) OUT!

v2.2 is updated. There were bad ZIP links for which I apologize for. Further, I added some new BUILDS. These builds can work on all phones no matter what your manufacturer is. However, some manufacturers provide SUPL data for their hardware. I'm helping you take advantage of multiple SUPL SERVER providers.

v3.0 is here! What does this mean for you?

I provide you with my very own xtra.bin file. This has led to some beta-testers having INSTANT locks. I can't promise that, but it works wonderfully for all testers except one person in China.

Guess what!

It costs me money to provide this.

Donations would be welcome to cover hosting fees should this work for you.

What's next for the 3.x trunk?

You should see v3.1 in a matters of weeks depending on reported success of v3.0. I intend to create my own NTP servers and NTP pools. This may cost a few dollars a month, but should be worth it for all of us.

Other flashing recoveries may be supported. Right now, I'm only providing for Clockwork Recovery. But, there are two other easy installation methods available aside from CWR in Method #3.

I've added more notes. Read them if you have issues before posting.

I've added more information to Method 2 installations.

Finally, click thanks on this POST if you truly enjoy and appreciate the work! ;)
[HTC Incredible S] Raithmir:
Hmm, not meaning to insult the great work you're doing with this... but what makes you think setting up your own few ntp servers for a few dollars a month is going to be better than the large pools of dedicated ntp servers spread globally?

Genuinely interested.
[HTC Incredible S] crypted:
My ambition for 3.x is full control, really. Currently, I'm pushing the xtra.bin file from my server to users. Typically, this is almost instantaneous compared to delays felt when relying on Qualcomm servers and their xtra.bin hosting.

Also, NTP servers can be ran from anywhere. NTP.org will accept them so long as there's a static IP. That's well and good, but doesn't consider slow peering. By setting a couple NTP's up and getting permission from some NTP admins to use their IP in my own pools, I could be more selective about which servers are accessible for the GPS script.

Nutshell.
[HTC Incredible S] crypted:
I just added a new flashable ZIP to both current versions. Some users are reporting issues flashing with CWM on the X8.

Thanks eagleeyetom for your help as always!

I placed this update on all threads so others who may not have had flash success can try it out. Feel free to send me a private message with what recovery app and version you're using, the phone model involved, and whether flashing anything worked.

Method 1 seems to be the best bet for anyone without flashable abilities with these ZIPs. It's a quick adb push script...

v3.1 is still in the works I promise. As stated previously, it'll be a bit longer before I get it out to the public. I hope to have my beta testing community trying it out in a week or so.

Again, v3.0 has all gps.conf variables grouped into sections with small discussion on what they are for. I'll try and replicate this into the v2.2 ZIP files in the near future.
[HTC Incredible S] Abdullah Dot:
hi Crypted

i have Incredible S my gps locks fast but wrong location about 600 meters away from my original current location . i tried 3.0 google . gps. and 1.3 . still not fixed .
[HTC Incredible S] crypted:
Try without a case.

Try changing "ro.ril.def.agps.mode = 2" or "ro.ril.def.agps.mode = 0" to "ro.ril.def.agps.mode = 1" in the build.prop.

Try a different ROM.
[HTC Incredible S] Abdullah Dot:
without a case it helped 50% ... still not correct position

it was already set to 1 ....

i cant try a different rom ...
[HTC Incredible S] crypted:
Why can't you? If you're using a ROM other than CM, you may want to see about setting that variable to 2. I'm saying this off of my own speculation.
[HTC Incredible S] crypted:
Just thought I'd post an update. The Notes section has been revamped, added, and the Notes / Still Having Problems sections have been consolidated.

I considered adding checksums to the thread. But, I really don't see the need. If people prefer not to trust this, heck with 'em. They can pay $300 for a good standalone GPS unit.

3.1 is still on track.
[HTC Incredible S] crypted:
Version 3.1 is released. If you didn't think it could get any faster, well you may be surprised. Beta-testers are swearing to instant locks. My magic tricks sure do pay off!

Pay off? Speaking of that... There have been 30,000 downloads of v3.0. My server has served over 100,000 xtra.bin downloads. And even though I stated that this costs me money to provide,

there's been zero donations

since v3.0 was released. A few bucks really can help defray the hosting and provisioning costs I incur to keep y'all running top notch. If each user gave $0.10, that would be worth a whole dediated server for a year. Just sayin'.

Devs: I request that you notate your threads with which version of my patch you're using. If you include v3.x, please note the cost to your user base. Send me a message if you're using the patch so I can keep track and keep you in the loop of any impending changes.

With that, let me know how well this performs for you. I'm interested whether users see an increase in performance over the amazing speed that v3.0 provided.
[HTC Incredible S] nednednerb:
I had issues sometimes pre-3.1, now: seems as gold!

Hey there crypted,

I've used this patch for a couple months now, and it has verily helped my GPS lock. Before the patch, I'd be LUCKY to get a couple locks out of the "turn fast boot off and reset" method I discovered before finding your patch. And at that, I never had fast boot on and had needed to TURN ON fast boot, and reset a couple times, then turn it back off and reset.

I used a few of the patches, I seemed to to have better luck consistently with 1.8 worldwide patch than the 2.x trunk, especially when I DID switch the Asia NTP server for a Canada server. However, 3.0 was fastest as of a few days ago (I did switch one NTP server.)

Now with 3.1 flashed, and NO edits of the server by me, I do indeed have the fastest lock I've got yet on a cold init, and hot init is doing just fine. And it's very cloudy and kind of raining at this time. I'm just going to guess it will work fairly well when the sky is clear!

I thank you profusely for helping me to know just where the heck I am...

You do a good job, crypted. Keep it up!

People..... you should donate now if you use this and it works... Do it.

-nerB