yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Aust S5:
Seems to work well for me in Australia. After leaving it on GPS Status outside for 10 minutes. Then full restart and open maps. Fix in seconds with 8m error. Open GPS Status and 11 satellites and fix time of 9 seconds. Cheers

sent from my DHD RCMix3d, whichever is the latest
[Desire HD Android Development] crypted:
Can you provide more details? When did it last work? With what ROM? What ROM do you use now? Do you have it in a case? Did you try it outside? Where are you located? Did you look at the second post about other phone issues?
[Desire HD Android Development] crypted:
Do you have a case on it? I'll be interested to hear your error range after the next release.
[Desire HD Android Development] malte41:
works great for me! First time i can get 8/9/10 sat`s .... INDOOR! it is the same place on my couch as allways :-) under 10m accuracy. Never had problem wih my gps, flashed this on a boring afternoon.

*looking.for.the.thx.button*

Germany/ARHD 6.1 Stock Kernel

p.s. whatever you did....go on!
[Desire HD Android Development] m3n3chm0:
Works great for my in Spain. :)
[Desire HD Android Development] crypted:
Thanks button is available on any of my posts within the thread at the bottom right of each post! :D

And to your P.S., I will definitely continue on. v1.2 is coming out Monday around 8pm CDT unless something insane happens.

Chevere. Espera dos dias mas para v1.2. Creo que v1.2 es mejor... ;)
[Desire HD Android Development] m3n3chm0:
OK... i will flash the v1.2 when it is ready to download :)
[Desire HD Android Development] Aust S5:
Yes I have a plastic tpu case. So no front cover just the back and sides. Will report on errors when I'm able to flash 1.2

sent from my DHD RCMix3d, whichever is the latest
[Desire HD Android Development] crypted:
The GPS unit is on the back, top, where the flash is. Remove the case and try that way if you're having problems.

Also, check the second post because it discusses known hardware issues with bad contacts.
[Desire HD Android Development] Aust S5:
Ummm pretty sure I said mine was working well? Maybe wrong post quoted?

sent from my DHD RCMix3d, whichever is the latest
[Desire HD Android Development] jasopan:
Okay so previously when I first had the phone (about 1.5 months ago) I was on Leedroid (can't remember which) and it was working perfectly. 9 or so satellites even inside.

Then went to ARHD till last week and had no problems either. Came back to 3.3.3 Leedroid and now I've gotten 3 WEAK signals with perfect weather outdoors. Misses my location by about 1km and yeah.

No case, located in Melbourne, Australia. Tried clearing data+restart, clearing aGPS and redownloading.

Read what's in post 2 but don't really fancy myself taking my phone apart. Maybe as a last resort. Just wanna see what else i can try.

thanks in advance though
[Desire HD Android Development] crypted:
Happens when you're half asleep playing on the phone in the middle of the night.... :D
[Desire HD Android Development] crypted:
Have you tried using the Full Wipe scripts available on XDA? I use Full Wipe 1.3 or whatever for Ext 3 wiping. It really doesn't make sense that it is software related to me. Try that script, though. Load ARHD back on it. Test again.
[Desire HD Android Development] jasopan:
I used ARHD's Full wipe inbetween flahses. Yeah I didn't think it'd be software either but ah it's so frustrating to back up and restore everything. I guess ill live with it for a couple of days before I flash again, I'll get back to you though
[Desire HD Android Development] crypted:
Make sure to download v1.2 before you flash again. It will be out later today. And, I'd suggest trying both the standard and the "alternate" patches. It'll be clear which is what when I update the thread.
[Desire HD Android Development] crypted:
v1.2 is here!

Finally! Version 1.2 has arrived for your GPS-seeking pleasure. There were a few changes to the GPS configuration. I added a few variables and tweaked one.

Also, the alternate "world" version has a variable removed. The removed variable caused false GPS readings on older DHD devices. Any Inspire 4G or DesireHD user can use any of the three versions available for download as a v1.2 release.

I have some ideas for the next version and will get started on it in the next few days after I read feedback from this release.

Don't forget to click the "Thanks" button, to rate the thread with 5 stars, and to send a Paypal donation if you're feeling all gitty from GPS satisfaction. :D
[Desire HD Android Development] starbase64:
Hi,

i have the new version 1.2 tested, but no effect or changes.

with friendly greet

Starbase64
[Desire HD Android Development] crypted:
Did you try the alternate download? And, are you saying no effect as in you have problems or it's good and was good previously?
[Desire HD Android Development] starbase64:
Hi,

both tested.

with friendly greet

Starbase64
[Desire HD Android Development] crypted:
You may want to redownload them.

All, if you downloaded before 7:07pm CDT, redo the worldwide patches if you're having an issue. The alternate patch was served for both versions. Sorry. I have it fixed on the server.
[Desire HD Android Development] Xenova:
Deleted. Sorry
[Desire HD Android Development] crypted:
I think this patch will work on a multitude of other devices. I'd like to start getting feedback in detail on that if anyone wants to experiment.
[Desire HD Android Development] muscad:
Thank you crypted. Prior to using your Worldwide 1.2 patch I was getting around 9 satellites in gpsstatus but when it actually came to using google maps and navigation it would never find my location properly and still take a long while. After using your patch I now get an almost instant lock which only take a couple of seconds. Thank you and keep up the great work.
[Desire HD Android Development] VrxZroX:
can i noe malaysian should use which 1 part? thx for reply ya =]
[Desire HD Android Development] darren91teo:
Previous v1.1, I almost have an instant lock when using car panel. But after flashing v1.2, then lock is slow in car panel but quite fast in gps status app. I tried both v1.2 and v1.2n, v1.2n seems to take longer time to lock.

P.S: currently in singapore.

Edit: working fine now.
[Desire HD Android Development] harpss1ngh:
I'll test this when I get my Evo3d...works fine on my DHD obviously:p. Would I just flash it in 4EXT on the Evo3D in the same way as on the DHD with no modifications to this zip?
[Desire HD Android Development] crypted:
Remember it needs time to "learn" aGPS data. Should keep working fine for you!

It can be used in any country. I recommend the worldwide patch to everyone, including those in North America. But, I've continued to supply a non-generic for the time being.

---------- Post added at 07:52 AM ---------- Previous post was at 07:51 AM ----------

I would assume so, yes. Make sure to backup first. All the ZIP does is delete your old gps.conf and install the new one.
[Desire HD Android Development] antond57:
Many thanks, the GPS reception and accuracy of my DHD has greatly improved!

questions:

on a regular basis the A-GPS data is downloaded automatically?

Or should be ​​using of eg GPS Status toolkit for doing this?

Which settings from the gps.conf file are being used for the downloads?

I'v edit the gps.conf file for use in Europe, is it possible to upload it?

Many thanks in advance.
[Desire HD Android Development] crypted:
Glad to assist you. Answers to your questions:

1. It is downloaded every time you initiate aGPS and will fail-safe to a local copy of aGPS data should the connection not work. However, it will cache the content so that on start-up it locks a lot quicker. The file it downloads is only 36Kb.

2. It's built-in. There is no need to download it using a toolkit. However, some applications may be designed to use their own GPS data which would require downloading. I cannot speak for individual applications; but, my configuration doesn't require anything to be done after installing the patch.

3. NTP, AGPS, and XTRA deal with downloads and internet connectivity. Also, SUPL servers are assistance servers that require internet connectivity to be used.

IMPORTANT: You do not need to modify this for "Europe". The only thing you would modify would be NTP servers. That is unnecessary and can lead to worse NTP time results. Sounds crazy, but it's true. The way this is setup uses an entire pool of worldwide NTP servers. The pools are designed to give you a server nearest you kind of like speedtest websites detecting your location for the closest test server.

If you made other modifications aside from NTP or INTERPOSITION=1/0, let me know so I can see about incorporating 'em into this patch.
[Desire HD Android Development] antond57:
thanks for the clear and quick answers.

I have bad experiences with the toolkit of GPS status to download the AGPS data therefore I'v set this setting to never.

I've only changed the NTP server settings in the gps.conf file:

NTP_SERVER = 0.europe.pool.ntp.org

NTP_SERVER = 1.europe.pool.ntp.org

NTP_SERVER = 2.europe.pool.ntp.org

NTP_SERVER = 3.europe.pool.ntp.org

You advise me to use the worldwide NTP pool settings in Europe too as supplied in the gps.conf of the Wordwide1.2.zip?
[Desire HD Android Development] crypted:
If you want to use these, you are more than welcome to do so. However, it should not gain you any noticeable performance increases when using Europe pools vs Worldwide pools. The European NTP servers are part of the worldwide NTP pool. When getting the time, it should give you time from a server in your region by default.

Some will argue this point, but it seems to hold true with my NTP tests to see how it handles load balancing and the like.
[Desire HD Android Development] youp20:
i find v 1.1 more faster( but not constantly). can't find any sat with V 1.2.

why iphone 4 fix gps very very fast even in the house with good precision.

I had nokia n900 with a good gps also. Both are agps.
[Desire HD Android Development] crypted:
Did you try the alternative version or both? There is no logical reason for they difference being negative.
[Desire HD Android Development] youp20:
yes i tryed both, and v 1,1 find sat in 30s -1min but it is not constantly. For both v1.2 i still waiting 5 min outdoor and no one sat :). In Tunisia is not the same in europ? (100 kilometre from italy)
[Desire HD Android Development] crypted:
I am private messaging you a different build. Test it out and let me know.
[Desire HD Android Development] youp20:
Thanks crypted
[Desire HD Android Development] babijoee:
Tried the World Wide patch on Deisre HD from Melbourne, VIC, AU

Works great.

Initial was searching for GPS for 5 minutes no lock

After applying patch and doing gps status was able to pick up from 0 to 5

Rebooted and ran Navigation instant lock

Very much appreciated.

Donation verification: 2Y0306491S149673V
[Desire HD Android Development] crypted:
Glad to hear it my friend! Give it some time to run with the GPS actively seeking satellites and it should learn a bit more for better performance and a few more sats.

Thanks for the donation!!! It'll help pay for a surprise feature that I'm aiming to complete by v1.5. If it proves viable, and it appears to be, I'll announce it in a few weeks.
[Desire HD Android Development] babijoee:
Update. Now from 5 - 8 sats

Going to leave it on for awhile to see how much more i can get. :p
[Desire HD Android Development] crypted:
No problem. For those who are curious, there is a variable affecting him in Tunisia that I added to v1.2. I didn't have issues with it and no-one has reported a problem for me to anticipate it as being widespread.

That variable will be further reviewed and marked for possible removal in v1.3.
[Desire HD Android Development] youp20:
worldwide1.2-t.zip works perfectly in tunisia, thanks, great works,
[Desire HD Android Development] crypted:
No worries. Glad to have you squared away!
[Desire HD Android Development] Aust S5:
You should be able to regularly get above ten sat fixes while driving around on GPS status app. Error down to 4m but hovering round 5 - 8m. Lock time best now at 9s. This is all from Sydney though. But when you look at the angle differences it should be pretty much same for Melbourne.

sent from my DHD RCMix3d, whichever is the latest
[Desire HD Android Development] crypted:
Cool. Do you consider that "good" or, what? If not, let me know what you'd expect and so forth. I haven't been down under and don't foresee a trip soon to test! ;)
[Desire HD Android Development] Aust S5:
Shame on you Australia is great! Oh and the GPS fix before flashing your script was hopeless. One time I was waiting with GPS status open and running for 10 minutes on a clear night and couldn't even find one satellite let alone lock onto it. This script work Very Well here.

sent from my DHD RCMix3d, whichever is the latest
[Desire HD Android Development] jeremy89632:
Worked fantastic in Singapore (Asia Pacfic) !

Will I see a difference if I flash the alternative worldwide script as compared to the currently flashed wordwide script?
[Desire HD Android Development] crypted:
Glad it is working. If it is working with the standard, there is no need to use the alternate. The alternate removes a variable that is useful for many getting a quicker GPS readings. Some say that without the variable, you get more precise readings. But, I find that I get worse readings as far as the error is concerned.
[Desire HD Android Development] rkanwar:
Wow. Within ten seconds I got 8 satellites indoors
[Desire HD Android Development] crypted:
Only 8???!?!!!?!?!!?!?!? ;)
[Desire HD Android Development] rkanwar:
Lol before I just about got 3-4
[Desire HD Android Development] Eneco:
404 Error when following download links...
[Desire HD Android Development] crypted:
Was only temporary for the standard Worldwide patch. Should work fine now. I was updating the files to a new generic updater-script.

Part of my attempts to bring support to a couple more devices... Sorry about that!
[Desire HD Android Development] antond57:
Better results with CM libraries

Hi

The worldwide 1.2 path work fine, quick fix, many satellites etc.

As long as I using this for car nagation its working fine.

But when I use this for logging during cycling and running I noticed that the distance runned or cycled 1.5 to 2 times more than the actual distance.

With your libraries the GPS position is noisly as seen at the link below, even during clear weather:

http://www.gps-sport.net/trainingReports/antond57/trainings201109/110915_170137_098897/training.html

Now I using the GPS libraries from the latest nightly CM build (cm_ace_full-179.zip) the fix is ​​slower but the GPS positions are much more stable so that the GPS logged walked and cycled distance nearly match the real distance, even with cloudy weather, see the same cycling trip from my work to home:

http://www.gps-sport.net/trainingReports/antond57/trainings201109/110916_165542_184942/training.html

Every advantage has a downside. During cycling or running I prefer the GPS positions above the quick fix.

Maybe you can adjust the libraries that averaged measurements with 2 or more point, or reduce the messuring frequency to 1 Hz

Kind regards,

Anton.
[Desire HD Android Development] crypted:
I'll take v1.3 out and see if it'll do that for me. I don't touch lib files. All I've done is create a better gps.conf. In doing so, I targeted a number of things. But it's always just been in the conf file itself.

Never actually took my phone on a run before... Runs have been my break from technology!
[Desire HD Android Development] antond57:
The used gps.conf file is very simple:

NTP_SERVER=europe.pool.ntp.org

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

SUPL_HOST=supl.google.com

SUPL_PORT=7276

C2K_HOST=default

C2K_PORT=0
[Desire HD Android Development] crypted:
So you aren't even using my patch? I'm perplexed as to why you would post this on this thread then.

Regarding your problem: I tried with v1.2, v1.3, and with a ROM not using either. The variance does occur on all of them. Therefore, it would be libs outside of my control. All I did was kinda jog while watching. I had about a 1mph variation.

EDIT: Also regarding your posted variables...I would say that none of those could have an effect like you describe except possibly C2K. A storm has rolled in so I'm going to hold off on testing for a while.

EDIT2: I should tell you that speeds on Nav apps are calculated using their own library files. Same with with technical GPS data apps. I can tell you that at speeds of >15mph, I get stable readings. When you start to accelerate or decelarate rapidly, it takes several seconds for figures to get accurate again. Also, coming to a complete stop takes forever. Again, the hardware/kernel/software by default don't work together for precision. Precision comes from those apps we pay to give us it.

My work is to help everyone get that general GPS lock and ability we'd like when lost in the Big Apple, bored driving down I-40, or whatever.

Further, I can confirm C2K is not going to affect anything either. I'm still waiting for a response from T.I. as to what it does or should do for certain. Too many people talking theories out there to get a grasp of its particular concept. But, the idea looks to be that data is sent to its server for parsing to assist in performance kinda like to SUPL but not really.
[Desire HD Android Development] michelD:
Hi,

In your gps.conf I see the following line:

SUPL_TLS_CERT=/etc/SuplRootCert

But I do not see the corresponding /etc/SuplRootCert file !!??

Could you please explain where I can find it?

Thanks.
[Desire HD Android Development] crypted:
Chances are it just doesn't exist. I haven't had it in any of my ROM's since I paid attention. That variable is on my removal list for v1.4 unless I find answers. I've sent some emails and messages inquiring about it.

There are a couple of variables that had a point a while back, have been kept around, but are not truly used any longer. I'm in the process of sorting through the junk to bring us back to a lean system that operates fast.

I promise, I have a method to my madness! ;)
[Desire HD Android Development] michelD:
Does this /etc/SuplRootCert file not existing in official sense rom?
[Desire HD Android Development] BumAround:
Hi Derek,

if I download your patch (worldwide v1.2), and just take out the gps.conf to replace the whatever gps.conf in the ROM with yours, will it work as intended? Thanks
[Desire HD Android Development] crypted:
Yeah, you can do it that way. By flashing the ZIP, that is all my updater-script does. It replaces GPS.CONF files.
[Desire HD Android Development] crypted:
v1.3 released

I have released v1.3. A lot of testers have discussed it on threads and people have been clambering to get a hold of it!!! So, I decided to forego the planned release schedule to give it to y'all sooner.

Changes include reorganized NTP and XTRA servers and some removed variables.

The next version, v1.4, will be a major release change. So, I'm thinking it should be a v2.0.

The planned release following v1.4 (or, v2.0) will also be a major release. It will contain a surprise. Many ROM dev's are excited about it. It may be considered a major release as well.

Don't forget to click "Thanks" and to donate. Why donate? Well, assuming I can release the second planned release (above), it will require some money for upkeep. Now you are all really curious!!! :D
[Desire HD Android Development] DroidXAce:
Hi,

Recommended for the ROM ARDH 6.1.0 please ?!

Thanks :)
[Desire HD Android Development] jasopan:
Hey this doesn't work for me :(

So lately my GPS hasn't been working. 0 signals and just stays like that the whole time.

So i tried the EFS wipe and then got about 4 satellites but an accuracy of 150, so no good. Then I tried some various market apps and nope back to 0 satellites and no lock-ons.

Then I tried this patch/fix and stillnothing :(

I've got no case on and I've tried outside. So I'm just wondering if there's anything else I can try?

Thanks!
[Desire HD Android Development] TeK9samurai:
Your GPS might have bad contacts.

Check out this video

http://www.youtube.com/watch?v=7qm_z65LA8k
[Desire HD Android Development] jasopan:
Ahh I don't trust myself with such intricacies, I wanna try all the software related fixes before I do anything else.

Thanks though (saw the video a while ago and it looked quite difficult :() :)
[Desire HD Android Development] crypted:
It definitely sounds hardware related. But to be safe, have you tried using the "full wipe" script found on XDA, then flashing a stock ROM, and lastly, trying this patch?

EDIT:

Check out this recent test. I had the same results on v1.3 and v1.4 (future release). I was using ARHD 6.1 and ARHD recommended radio. I was sitting on my couch with nothing but a wood and shingled roof over my head. It's a partly cloudy day. I received similar results on VU 2.37.

The patch works. Other things can have a profound effect on individual results. Example: Flash a different radio other than the radio recommended for a ROM by its DEV? Well, then you don't have the right drivers (RIL files). Flash those.
[Desire HD Android Development] jasopan:
Full wipe - The one from say ARHD's thread?

I'm gonna try what you said, full wipe, then try arhd 6.1 and the radio like you then report back. If that doesn't work then try a stock rom then if that still doesn't work then might have to send it in :(
[Desire HD Android Development] crypted:
Well, at least we are here to help. The patch and out collective knowledge has led to a plan for you to find out for sure if you're phone has something defective with it.
[Desire HD Android Development] jasopan:
Yeah I know, and I really appreciate it :) Just frustrating that it worked previously so well and not now. Not gonna give up yet though :)
[Desire HD Android Development] aavan:
Before the patch, indoors I had a fix in 105s. 4 sats.

Now, 15s, 8 sats.

Thanks and keep up the good work !
[Desire HD Android Development] crypted:
That's great! I'm working on the next iteration and will be having it tested starting Thursday. So, expect a new version in a week or so.

It will be a bit leaner and meaner. The pools and servers will be sorted a little more based on results from my Linux server monitoring response times.

I'll be building some EXTRAS for the next version, too. ;)
[Desire HD Android Development] cnnxda:
1. Download the patch

2. Boot into CWR (Clockwork Recovery)

3. Mount /system/ partition (on the main menu, select the "Mounts and storage" option, then "mount /system")

4. Flash the patch (on the main menu, select "Install zip from sdcard," then "choose zip from sdcard," and find the zip and select it)

5. Reboot the device

i dont get how to flash this mod. i reboot into cwr.. followed mounts and storage and then mount ssytem.. but i dont see partition

then i backed out to the main screen and choose zip from sdcard and flashed it. but when i reboot.. my phone is stuck on the bootanimation screen and goes nowhere.
[Desire HD Android Development] crypted:
Mounting shouldn't stop it from flashing anymore. It should auto mount.

This patch only replaces your gps.conf and nothing more. It cannot do more than assist gps usage once booted.

That sounds like a bad kernel with some issues make it loop.
[Desire HD Android Development] cnnxda:
im runing the bliss1.3..

im not entirely sure what to do next to get this to work.
[Desire HD Android Development] crypted:
If it's installed then that's it.
[Desire HD Android Development] cnnxda:
i dont think its working beause after i choose mount /system.. i dont see the mount from sd unless i fully back out to the beginning.

also why i dont think it works is because my gps takes long to lock and drops 1-3 misn after locking

i think i will try and flash another kernal
[Desire HD Android Development] crypted:
If you continue to have issues and aren't able to flash it via Recovery for whatever reason...consider using Root Explorer or ES File Explorer to manually copy it over. It will require root access and read/write ability to /system/etc.