yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] The Specimen:
Just wanted to update that Google Specific worked great!

Something I noticed with my GPS activity is that it initially tracks my location at my old house address (recently moved) a couple suburbs away then bounces to my current location... is there some kind of information about phone GPS stored on my SD card or anything?
[Desire HD Android Development] crypted:
I apologize if there end up being TWO responses from me. Had a technical glitch which appears to not have sent the original response. So here we go one more time:

That isn't aGPS or GPS providing your location. Most likely your router has some data cached on it as for your location provided to it by your ISP. While I have not had this issue, there was a guy a few months ago with the same problem. He moved from France to Asia and would always appear back in France for a couple of seconds until his aGPS locked.

So, try locations away from home OR turn off your WiFi, reboot the phone, and see what happens. If it ends up being your router, you can do a factory reset on it to clear that data out.
[Desire HD Android Development] crypted:
First, I want to with everyone a very happy holiday season. I will be sporadic with my responses to any questions or comments here on the aGPS Patch threads for the next three to four weeks.

Things to think about if you're having an issue:

Read all of the Notes Section commentary. I wrote that because so many people continually have the same or similar issue that can be easily resolved.

Remember that any GPS tools from Android Market CAN and usually DO overwrite this patch. Therefore, don't use any. The only thing I recommend if you're wanting to get stats is GPS Status, as referenced hundreds of times by yours truly.

If your getting a weak signal: remove the phone from a case and try again. Try a different ROM as CM users and ROMs derived from CM tend to show problems because of faulty ROM compilation, not this patch. Ensure your build.prop has the right variables. Go outside, try again. Lastly, delete the SUPL server section from the bottom of the gps.conf and try without that. Some models with some ROMs have issues with SUPL...outside of my control.

Post and wait for someone to respond. I'll do my best to get on the forum off and on over the holidays.

So, let me give you a general update directed to those 3.x trunk users:

My server has automatically generated an xtra.bin file for your GPS excitement 3,980 times since September 26th when the first beta went online to test it out. :eek:

My server attempts to build a new version every 30 minutes. Depending on what it can decypher from other xtra.bin sources, it provides a totally fresh xtra.bin approximately every 1.2 hours.

My server has served up over 500,000 xtra.bin files to users like you on XDA since v3.1 was released.

My server continues to provide a reliable NTP pool to v3.x users by directing your phones to a handful of RELIABLE and FAST-RESPONDING NTP servers around the world. This ensures you can travel and not have to switch NTP pools.

If you're a DEV and this is used in your ROM, please notify me via private message with a link to your ROM thread. This helps me track issues and keep you up-to-date with any new versions. We both win there!

Finally, if you use v3.x you should remember this isn't free to me. As all of the information above notes "My server...", I foot the bill to keep supplying this data. It's useful as hell to you and to me. :D

Consider donating a little to help offset server costs

AND

to help expand provisioning should enough donations come in. You can donate via Paypal by clicking the donate button next to my username on this or any of my posts. Every little bit helps. If you can't, I understand that as well. :o

Again, thanks everyone. Don't forget to click the Thanks button on my posts should you enjoy what I've got to say...like those amazing numbers cited above for 3.x users.
[Desire HD Android Development] RASTAVIPER:
Happy holidays to you also!! :)

And thanks for the support so far.

I didnt test the new version so much, but i plan to do it soon and get back with feedback.

After first reboot, I used Gps status to reset and download gps data.Was that ok or did I overwrite the patch?
[Desire HD Android Development] crypted:
GPS Status is the only app I have found to be okay to use. That's the only one I recommend for checking and testing GPS with. It won't overwrite the patch. In fact, it uses the gps.conf to obtain the addresses for the time server and the xtra.bin download location.
[Desire HD Android Development] RASTAVIPER:
When I click Donate under your name, it gets me on Paypal page and mentions XDA donation.

Are you sure that these money go to you??
[Desire HD Android Development] crypted:
Yeah it does. No worries. Appreciate your consideration!
[Desire HD Android Development] RASTAVIPER:
I confirm that google 3.1 works great for me. :-)

Tried this in different areas and I was always getting a GPS fix at around 10 secs.without a_gps activated.

Good job!!
[Desire HD Android Development] zla.mas:
I can use this with ARHD 6.3.1 without any problems ? Thanks :)
[Desire HD Android Development] Nichie:
Works fine on mine
[Desire HD Android Development] tytnsa:
Hi all,

I have used this patch on my DHD, but have the transformer now, and find the gps on this unit crap! in comparison to DHD... I know this patch is for mostly the HTC's, but was wondering if it could be used on the Transformer as well, in the hopes of improving the gps signal, lock time and stability..

Thanks,

Cheers for now
[Desire HD Android Development] crypted:
It's been used on that device and reported to function just fine. I support non-HTC products as well. But, I haven't added the Transformer to my list at this point. Would be willing to if I had more confirmations.
[Desire HD Android Development] tytnsa:
Hi Crypted,

thanks for the prompt response, before the patch, i cleared everything and got the standard asus lock in 41secs on gps status.. Always been 41 secs. dont know why. Then loaded your patch using same method 3, as thats what i used on my DHD. Still first lock is 41secs. Dont know if Asus has built in a first time lock of that time.

Then after it locks at 41secs, lets say for example with 6 sats, then it will change to 0/6 sats immediately and the fix time is frozen then after a few more secs, this time varies, it will then lock on and off and then becomes more stable. This was the case before the patch as well.

Anyway thanks..

Will keep you posted when flying in the plane how good it maintains a lock. I usually loose a lock flying along and then battle to get a lock again up there, but will report that, if this maintains a lock throughout the flight now.

Cheers
[Desire HD Android Development] ciairo:
Apologies if this question has been already answered or is silly...

can this patch work on a plain old HTC Desire (non HD, non S?)

I've searched through the thread but apparently found no mention of it. For sure it isn't an officially supported device.
[Desire HD Android Development] crypted:
Won't hurt anything by trying.
[Desire HD Android Development] tytnsa:
Hi crypted,

Said i would give you some feedback. Installed this to the TF101 and sadly made no difference, in fact on my last flight now, testing in the air, i could not get a lock in 3 hours of flying.... Think possibly the transformer just has a crappy receiver. The HTC DHD got lock in seconds with solid 7/7 in gos status.

Thanks for you work!

Cheers
[Desire HD Android Development] crypted:
Allrighty. Well at least it works great on the officially supported devices.
[Desire HD Android Development] dd4285:
Noob question comin through....

1. i'm using smartdroid T3.1 so which patch suitable for me?

2. what do you mean by trunk 3.x / trunk 2.x ?

3. do i need to download your gps.conf and replace it with rom's default gps.conf?

Thanks in advance..
[Desire HD Android Development] crypted:
1. Don't know. Read the Notes Section? It works with all ROMs assuming the ROM isn't baked with aGPS disabled.

2. 3.x uses my own servers for xtra.bin and NTP data. 2.x uses Qualcomm and NTP.ORG for data.

3. Right. You must replace your original files with the patch for the patch to actually work.
[Desire HD Android Development] ciairo:
HTC Desire feedback

Ciao crypted,

here some feedback about the HTC Desire Bravo:

to put it in a nutshell, it works. I cleared the AGPS cache with GPS Status, rebooted in recovery, installed the patch (3.1), tried the GPS. The first time it took a lot of time for the first fix (~12 mins), then it became quicker. Now in my bedroom, next to a window, I can get a fix in seconds on 8 satellites and it is even better in open air.

Yet, I am a bit puzzled about some aspect. I checked the gps.conf file of your versions, basically your work followed 2 directions: fine tuned the gps.conf file (btw, thanks a lot for your comments in v3.x), and provided your own servers for NTP and XTRA data.

It is not a revolution compared to the original gps.conf file of a stock ROM I think: better tuned but not radical, is it? Therefore I wonder if the improvements you get depend more on the detailed settings, the servers or something different I don’t catch. According to several posts in the internet, a stock phone should be perfectly able to get the AGPS data by a SUPL server or, if not available, through the XTRA bins.

Finally, if you could point me to some doc about the gps.conf syntax I would be very grateful.

For the time being, a big thanks for you good work, keep it up!
[Desire HD Android Development] crypted:
My offering is not a revolution, it is an evolution to try and rectify crap GPS signals that many of us suffer from.

There is no MANPAGE for the gps.conf. My information and my configuration gleans from countless hours scouring the web over the past year as well as from tests with a variety of users, locations, and devices.

There are major differences in code between the stock ROM and custom ROM environment. Therefore, this patch is probably not as useful for those operating a stock configuration with only root enabled. However, custom ROM's alter a lot of GPS crap under the hood and normally provide for more functionality. This takes advantage of those opportunities and enable the GPS unit to function normally in the custom environment.

Your device isn't a DHD, either. So, this wouldn't be the best area to obtain information and resources to fit your need probably. ROM's aren't going to be the same for various phones. But this is known to work on a number of unofficially supported devices...sooooooo. :D
[Desire HD Android Development] geinome:
hay guys, thought it worth posting on here about this seeing as it is actually to do with config.

Im on orange UK and ive had no end of issues with my Desire HD and GPS. it worked flawlessly to begin with and then it just dies. (about 1 year ago now). So i eventually got a new Casing for my GPS and it fixed it roughly.... a bit.

However since ive alreadys had issues trying to get a rapid lock.

Just used your 3.1 google alternate build and it didnt work! But after setting the NTP to the UK one it seems to have picked me up.

Dont know if anyone else in the UK has had issues on Orange with this path. But something in the patch seems to have fixed my GPS. last time i had an accurate location to under 50m was over a year ago. Every other time its been roughly 1500 metres. which is awful.

*OH and im using the 9.3.3 ICS build from Lord_clockan for the DHD. Took about 1 minute 30 seconds for a lock.
[Desire HD Android Development] Matz88:
Please help me! I have tried the 3 and 3.1 patch, downgrade and different rom. No solution and no satellite found, i view only a rotating circle in gps status. I have a desire hd branded tmobile, rooted s-off ecc
[Desire HD Android Development] crypted:
Try v1.3 and report back.
[Desire HD Android Development] crypted:
I'm not using ICS, but many say this patch works 100% with it.

Your issues might very well be hardware. Did you review my Notes Section? One speaks about a hardware issue in the DHD and Inspire 4G. While this patch can make data retrieved from satellites a lot better, it cannot fix hardware such as loose antenna connections.
[Desire HD Android Development] Matz88:
1.3 worldwide?

What radio version do you use?
[Desire HD Android Development] crypted:
Sure, that one will work. Radio shouldn't matter in this instance, but you should use the radio recommended for your specific ROM.
[Desire HD Android Development] Black1982:
1: Don't test gps with an beta build. ICS is too experimental for now imho. Use a stable well tested ROM like ARHD or RCMix 4.0. I had big issues with ICS and GPS.

2. Make sure you have matching radio and RIL. In doubt use recommended radio. See my sig for my setup wich offers great results for me(lock outdoors to less than 10 mtrs in a few seconds)

3. Download Fasterfix and set your region.

4. Download GPS Status. Select tools/clear gps data. Then Download agps data.

5. First lock can take some time. Also after reboot or not using gps for a long time.

6. If maps or navigation doesn't lock, try getting a lock with GPS status first.

7. If problems return repeat step 4.

8. If no succes try the guide from the ARHD op/ try the fix from this thread.

9. Redownload rom, super ultra wipe everything and flash again. Repeat from step 1.

10. Still doesn't work? I give up. Probably a hardware problem. Contact HTC or be very brave/stupid and try soldering.

This is just the way I see it. Others may disagree :-)
[Desire HD Android Development] crypted:
Fasterfix has a tendency to override the patch this thread is for. That's why one of my Notes bashes the use of Market apps for GPS fixing solutions. GPS Status is useful in that it gives you a mode to compare before and after patching help.

I agree that ICS is too fresh and it might have underlying issues causing GPS problems. Hell, there are a number of CM night releases for Honeycomb that had aGPS disabled and GPS messed up for a number of months up through October.

Typically, I start responding with the assumption that people have read my thread, especially the Notes, thoroughly.
[Desire HD Android Development] Black1982:
Again this is just the way I troubleshoot my GPS. Im not an expert. I don't know coding, just based on my own experience. Actually your patch is the only thing that helped me get a lock on ICS, so I am grateful for your work and the effort of sharing it with us. The thing is with your patch it locks when it is far too inaccurate, like 250 mtrs. Making navigation unreliable. So that is why I recommend In my list first Fasterfix and GPS fix.
[Desire HD Android Development] crypted:
That means your ROM or navigation APP is not properly utilizing aGPS. That error range would come from tower-based data. In essence, GPS Status could show a lock on satellites, but that data is being left unprocessed. A number of people had that issue with various ROM builds.
[Desire HD Android Development] Black1982:
Thank you for the explanation! I'll do more testing of your patch and maybe I'll have to change my personal gps troubleshooting guide then :-)
[Desire HD Android Development] geinome:
Well I tested it out on the way home and got some interesting results. At work it locked to 20 metres. Which was awesome. On the bus it went crazy and didn't keep a decent lock. However on walking home I got 10 to 12 satellites and instant lock. Crazy. However on starting an app it took a minute and a half to lock. But once locked it kept it pretty well.

And yeh The beta build is a bit iffy. But over all stable. However with this patch and the UK ntp server instead of your custom one it worked. Where as before it didn't even work. So a success really in my eyes. Far Better than I have had even on stable roms.
[Desire HD Android Development] crypted:
Well, take it out of a case and test. Then, put slight pressure on the same panel the LED is on with your finger while testing. That'll be worthwhile for testing hardware a little bit.

NTP issue means that your phone has an internal clock issue. It should not matter AT ALL what server you use. My NTP POOL uses seven extremely fast performing and great-networked servers. I discussed NTP in great detail in a previous thread post and will try and find it to make permanent later in the future.

But, I would say your beta build is having issues processing NTP packets. The packets. Even if it took two seconds for that small packet to arrive, even a minute, there are procedures to keep it accurate on receipt AND a variation of even 10 minutes wouldn't matter. I doubt the packet would arrive that late as it would timeout.
[Desire HD Android Development] crypted:
All threads have had an overhaul that was way overdue.

High points:

Note discussion of what the patch does and what it replaces.

Note confirming ICS support from various users.

Note section has gotten long, but covers most questions I am repeatedly asked.

A total of 9 officially supported new devices.

Download section reminds people to backup their settings. You only need to backup /system/etc/gps.conf and /system/etc/suplrootcert if you have one. But, I never had to revert!

As always, please don't forget to click Thanks if you use or like this patch -AND- don't forget to Rate the thread.

Donations

are always welcome.
[Desire HD Android Development] crypted:
FYI: Method 1, the easiest of the methods for those unfamiliar with file managers or recovery, has been updated. Some people required that the script also mount the partition. I have added that line to all options available and updated the ZIP file. Thanks

enigmaamit

for confirming that the new PUSH script works.
[Desire HD Android Development] mrjonnyrock:
This work for SGS2?
[Desire HD Android Development] pavedwaves:
Telus?

I noticed you have some carrier specific builds, would it be necessary to wait for one for telus DHD? or would the normal version work as well?
[Desire HD Android Development] crypted:
I have no data from TELUS to make one. Like I said in the first post, I always recommend and use the Google build.

If you can get me data from a stock TELUS ROM, I can work with you via private message to see if TELUS offers custom supl servers.

But Google has been more reliable than the carriers. So who knows.
[Desire HD Android Development] pavedwaves:
Hmm well after reading through this I'm still don't have a great understanding of it all.... I could find you the PD98 file for a stock telus, or send you data from my phone, just let me know what you would need.

I'm assuming that you can either passthrough your carrier or google to get GPS access?

Just thought it might be on interest to some as well as myself

Cheers
[Desire HD Android Development] crypted:
No, the supl is the only difference between carrier, manufacturer, and Google builds. Basically its which server the phone uses for server-assisted location data.

Google is always reliable. Server uptime and output have been questionable from the other providers.

I'll message you about the TELUS stuff.
[Desire HD Android Development] krzych:
Can you link me to this? I can hardly believe you have the fastest/most reliable NTP service available worldwide.
[Desire HD Android Development] crypted:
I think your translator mistranslated the discussion that you cite and now attempt to criticize.

I stated that my NTP pool (POOL relates to DNS which implies a round-ribbon set of entries) is much faster than that provided by default from NTP.ORG because we tested and determined several servers to use, not thousands.

Those several included in the NTP pool that I provide have extremely fast response times and proper routing to supply NTP data quickly to devices through their short hops and bandwidth to cellular networks.

Let us consider NTP.ORG on the other side. NTP.ORG has thousands of NTP servers in its DNS pool without consideration to those with low bandwidth or bad routing. Yes, we could go to the country level, but that doesn't do anything to remove bad routing of servers in that country or consider the actual routing/hops that the data takes to your phone. In Europe, some NTP routes would send your requested NTP data through another country to access the cellular provider's data network even though the NTP server is in the same city you are in.

Because we designed our pool to use global NTP servers, and a low number at that, that provide quick and efficient data to numerous cellular networks, we can claim that ours is faster because it has proven to be so through months of testing. Testing didn't mean "GPS came on so fast," rather it meant we tested through terminal with various command based tools (ping, traceroute, mtr, etc.).

So, I do not maintain that I provide the fastest global NTP server/service. Rather, it has been proven that our core structure provides the fastest and most reliable NTP pool for smartphones because this is the ONLY NTP POOL DESIGNED for phones and their data networks.
[Desire HD Android Development] krzych:
First of all, I didn't attempt to criticise anything, I just asked for a link to teh discussion about your NTP to read about it, because it is really unbelievable that anyone privately can have fastest NTP available.

Second, this below explains everything:

I never supposed that "NTP pool" term refers to a set of DNS's as a service pointing to NTP. This is way more understandable and possible. But still, I'm asking for the link to the thread describing how this all works to check if it can be really faster and what is much more important - reliable.

And yes, I'm not like others, I do not simply believe because one says so, I'm always doublechecking. Why? Simply because I lost a week (about three weeks ago) just because one rom creator said his rom is perfect and has nothing to work on. So I flashed it. Week later after having _major_ issues with many many things I was forced to flash _anything_ else (happily, I choosed not bad). And that's one of the reasons I always ask for doc/proofs/descriptions/anything - a reasons of someone saying something.

Never wanted to piss anyone. Peace man.

[edit]

PS. To explain more - I really know what NTP is, but I really never, ever looked how it works. And I'm not using translators. It's just my bad english.
[Desire HD Android Development] crypted:
No worries. I misunderstood your point, then. I'd like to note that I tried to support another device and two usernames attacked me personally with blind claims without evidence that I was offering a hoax for six pages of the thread. This was in the past week. Then, those usernames sought to derail my thread ratings as well.

So, I'm also suspicious of commentary that starts out stating an implication that I'm making frivolous claims about my patch and its abilities.

I'll talk to you backchannel about your issues. However, I'm not a ROM creator. My patch only does two things on your local machine as the notes discuss. You can always backup those two files before flashing to easily revert.
[Desire HD Android Development] krzych:
Cool. And let's not suspect each other more ;P :D

I know the pain in such situations. I had many on polish forums about my car model ;P :D.

I know what your patch does. I know nothing can be harmed, I can do a bcakup of anything your patch touches. But still, I depend on my GPS every day, so I want to be sure, my backups will be useless ;). Just to be sure. And by the way, I'm rather skeptical to any invention correcting long known solutions, that's why first time I used your gpsd.conf, I pasted it into mine using vimdiff line by line - that's when I replied you with few very little "bugs" (moths ago). So now, I was going to do the same, but since I didn't knew anything about your NTP solution, I was going to omit it - now, when you are startting to talk about it, I'm rather eager to test your solution :).
[Desire HD Android Development] crypted:
Let me know how it goes. I really think you'll see an improvement. Those who assisted in my test did not reside in Poland, but there were some from central and eastern Europe. All did well, in fact, much better than with the standard settings.