yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] db0511:
Does anyone know if this patch fixes the issue in DHD where GPS will not work while video recording is active. I'm running Mikes 6.3.1 Rom and have tried many different kernels but no luck. I can usually lock on to at least 6 satelites within 15 seconds or less but as soon as I use a program like AutoGuard that records video and logs your position, my GPS is not able to get any signal. I know that is a known DHD issue that even HTC has confirmed but they explain it by saying that this is the way that the phone works.
[Desire HD Android Development] DeathmonkeyGTX:
3.1 most recent beta works wonders in Blackice and cm7. I don't touch sense so I can't comment in its efficacy in that environment.

Thats in an otterbox defender in a slipgrip vent mount in a 20 year old Honda.
[Desire HD Android Development] crypted:
Looks like you're getting great reception now!
[Desire HD Android Development] db0511:
Would you be able to test this app?

https://market.android.com/details?id=com.hovans.autoguard&hl=en

and see if you are able to use the GPS function. It has to be activated under sensor settings.
[Desire HD Android Development] PDub11:
Just flashed the patch through CMW, running a CM7 nightly dated 16-FEB, latest at the moment as far as i can see.

One word. Amazing.

Saw 9 sats within seconds, took about 30 seconds to get down to about 3m error.

Do i need to flash this ever time i flash i new nightly?

Thanks for the great work. :)
[Desire HD Android Development] crypted:
Just a friendly notice that the thread has been updated.

There is a new build which I recommend. Before questioning or inquiring why I removed the use of SSL, review the NOTE on the matter. This has proven to be a faster operation by tests in various regions and numerous devices. ;)

Lastly, I added a section for asking questions. Review that before communicating here. It gets really old seeing that people refuse to read what I've worked hard to write especially when it usually answers the questions asked.

Don't forget to consider donating if you appreciate the work and find it useful. :D
[Desire HD Android Development] RASTAVIPER:
For users with previous 3.1 do you recommend the upgrade if everything is already good?

Unleashed from my Nook Color at 1.2G
[Desire HD Android Development] crypted:
It's really all about personal preference. You may find that you get some added performance benefits by dropping to the NO-SSL version.

If you have time to try it out, go for it. If you're busy and are satisfied as is, keep on as you are. ;)
[Desire HD Android Development] gbeardmore:
I flashed the No-SSL on my Inspire 4G. I literally had 2 satellites in the first second using Chartcross' GPS Test, and had 8-10 within 8 seconds. My accuracy is now 6-12', where it used to average 60+ feet most of the time.

It's an amazing improvement! Thank You!
[Desire HD Android Development] RASTAVIPER:
Just wanted to give my feedback after testing the new build at my DHD.

Unfortunately I can't say that I found out any better behaviour at my gps test.I changed the gps.conf, restarted the device, then cleared and downloaded new gps data.

The result was the same accuracy (12 feet) as before and no better time in getting this reading.

In other words, I think with the first 3.1 Crypted really gave his best shelf on this!! :-)

Unleashed from my Nook Color at 1.2G
[Desire HD Android Development] crypted:
Thread kind of updated to include a new device:

Asus Transformer Prime

This patch can be useful on devices that need the GPS XML file which is prevalent in non-Qualcomm chipsets. So, it can be used in other devices as well.

The new release has no effect on other supported devices unless it is a non-Qualcomm phone.
[Desire HD Android Development] stutunaru:
hey guys, i have tried both google builds on my DHD unfortunately didnt work for me. have flowed the 3d method, even rebooted it twice no luck. could be the case that all the time i was trying in-building. the GPS status and GPS test was not able to find any sats. so the last test was to do a hardware mod as per http://xdaforums.com/showthread.php?t=1101066 mentioned in this thread. was afraid to not break anything but the temptation to see an improvement was higher :) i did finally removed the LED cover, cleaned properly and even have scratched the casing contacts where the black dots were in order to make the connection better and pulled them up a bit. the scratch probably was a bad idea as i realized that gold doesn't oxidizes :( Put all things together, turned on and.....yeah baby. got locked in 25s with 6 sets. the truth is im at the window inside my condo on 10th floor, obviously lots of concrete around me. i hope the casing contacts i have scratched will not oxide in time. this is first time my GPS got locked indoor. appreciate all your work folks.

it's time to move on and fix the same problem on my asus tp....
[Desire HD Android Development] crypted:
I hope this patch was also beneficial to your cause. As said above, this patch is available for the TP as well.
[Desire HD Android Development] stutunaru:
the problem is that my TP is not even rooted yet :) haven't decided on that as yet

and im pretty sure the patch helped as well.

appreciate your help.
[Desire HD Android Development] RASTAVIPER:
You started all wrong.

Especially first training of GPS after Crypted's patch, should be outside with total open view to sky.

At my DHD I got like 11-12 sats in no time.

So, its not fair to judge when you doing it in wrong way.

Unleashed from my Nook Color at 1.2G
[Desire HD Android Development] stutunaru:
i can do it all over again with open view to sky. do i have to flash the patch again for that?

Edit: just re flashed the no SSL patch again and checked the Status in open view to sky. got momentarily 4-5 sats, locked in about 5 sec. lower error rate - 2m, higher nr. sats - 9, once had 10 sats for a second.
[Desire HD Android Development] jigners:
is there a method to push the files for people who are not rooted?
[Desire HD Android Development] crypted:
Root is a must since this isn't packaged in an OTA update of any sort.
[Desire HD Android Development] ahzoe:
just want to confirm that your MOD works great on my Device.

thanks :D
[Desire HD Android Development] DoRiLoN:
Sorry for the dumb question, but which housing are we talking about?
[Desire HD Android Development] crypted:
Your question provides on insight to what you are even referencing. Describe in more detail this "housing" discussion.
[Desire HD Android Development] DoRiLoN:
The word was case, not housing...sorry.
[Desire HD Android Development] crypted:
If your phone is in a case...take it out of the case so that it is just the phone...no protector covering...
[Desire HD Android Development] Marioaguado:
Hello I'm using latest ARHD 6.3.3 and I live in Sweden traveling to all around the world using my sensation as gps with sygic but the gps is very slow to fix says. The which is you recommend patch my case because you have many.

Thanks
[Desire HD Android Development] crypted:
This is not the HTC Sensation support page. That page is at: http://xdaforums.com/showthread.php?p=17557295

However, I recommend v3.1 Google No-SSL to ALL PEOPLE for ALL BUILDS as the thread states.
[Desire HD Android Development] ymeri:
Thanks a hope this work for me:what::D:eek:
[Desire HD Android Development] The Specimen:
Great results here and very happy with Google Specific v3.1 No-SSL

Prior to flashing this it would take me 2-5 minutes for a 2 satellite fix. After flashing, I am getting a fixation usually in <15 seconds with up to 10 sat/fixes (~7m error), indoors with a protective case on that provides further obstruction of the signal. Here is a screenshot:
[Desire HD Android Development] DoRiLoN:
And thats what you get indoors? Geez I get only 4 satellites and 79 error. If I try to lock out of the window 6 sats and 30 error?! I guess its not working for me, then...

P.S. I used the second method of install. I unrared only the gps.conf and pasted it in /system/etc in the phone memory, right?
[Desire HD Android Development] crypted:
ROMs can cause issues as well. review the notes and consider posting more precisely add the section on how to post discusses...
[Desire HD Android Development] DoRiLoN:
Ok, so my configuration is in the signature. I downloaded the Google Specific No-SSL v3.1 build. I reinstalled the file today and thats what I got on first lock (about 2 mins) in the open (the 1st one) and the 2nd one is the best what I got indoors after 2 mins lock.
[Desire HD Android Development] RASTAVIPER:
Are you doing the correct procedure with downloading Agps data for the first time through GPS test app?

Unleashed from my Revolutionized Desire HD
[Desire HD Android Development] DoRiLoN:
Yep, did that.
[Desire HD Android Development] uvejsi2009:
this no work in my hd no fine my citi:rolleyes:
[Desire HD Android Development] RASTAVIPER:
Just noticed that you mention lock indoors.

The test should always be outside under clear sky.

Could you check it like this?

Unleashed from my Revolutionized Desire HD
[Desire HD Android Development] DoRiLoN:
The very first lock with the 8 sats was outside. The one with the 6 sats is inside and these 2 test are the absolutely best what I got out of the gps for me till now, but still not good enough as some users in this thread.
[Desire HD Android Development] The Specimen:
After flashing Google Specific No-SSL v3.1 I run that GPS test for about 15 minutes uninterrupted with no case on... subsequent tests lock faster and stronger after I do this. First few times testing after the first flash are always a bit slow for me but improve the more I use it.
[Desire HD Android Development] crypted:
Tell us each various rom you have tried, each radio, and what notes you reviewed and tested out.
[Desire HD Android Development] DoRiLoN:
Ok, one more time. I tried it on SmartDroid 3.1T (radio and ril version in my signature). Applied the patch with method 2: Extracted the .conf file from the archive an replaced the original one in the system/etc folder. The results - first lock was outside. It took me about 2 mins for 8 sats and I still try every day since then - it aint got a bit better, not locking in under 2 mins (u can see the screens also). I can make also a videoscreen for u, to see in real time how much time it gets me to get found by the sats.
[Desire HD Android Development] ymeri:
is no work for me no fine my siti thenks for you are work :rolleyes:
[Desire HD Android Development] Max-E-Moose:
ROM: IceColdSandwich - 7.4 - AOKP | STRIPPER EDITION

Radio: 12.54.60.25U_26.09.04.11_M2 (2.36.405.5 RUU)

GPS Lock within 10 seconds after I flashed this patch. It took almost 5 minutes to lock yesterday while I was walking.

Great work, thanks.
[Desire HD Android Development] DeathmonkeyGTX:
I'm starting to think any problems folks have with gps on dhd are just doing it wrong or have a hardware defect. 3.1 google version has served me well since it was a private beta. I don't think it needs further development, crypted. Good work
[Desire HD Android Development] crypted:
Thanks for the kind words...
[Desire HD Android Development] RASTAVIPER:
Hello Crypted my friend,

After helping me so much with the gps signal of my Desire, I would appreciate any help with the second device that I got, Samsung Y Duos S6102.

The gps.conf has only 2 lines inside :

Supl host : supl.google.com

Supl.port : 7276

Can I help with providing other info?

Unleashed from my Nook Color at 1.2G
[Desire HD Android Development] crypted:
You could try this patch. Do a Nandroid backup first.
[Desire HD Android Development] Sauveur:
Will backup save script?

I just ran this script yesterday--GPS is working much, much better now. I want to try out a new ROM. If I backup my current one and reflash it in a few days' time, will the new GPS info still be there? Or do I need to run this script again?
[Desire HD Android Development] crypted:
ROM flashing removes this because it's simply better configuration files in the /etc/ directory.
[Desire HD Android Development] RASTAVIPER:
Got back with some ICS ROM related question.

I flashed sometime ago Icecoldsandwich version 8.3 and I installed again the patch and downloaded gps data etc.

Unfortunately now I don't get Gps fix so fast as I was getting it with Android Revolution Rom.

So I was wondering if there is any tip especially for ICS roms.

Produced by NookColor at ICS AOKP 4.0.4
[Desire HD Android Development] crypted:
That's going to be a ROM issue clearly. If you did good with one ICS and not with another, then you have a source code issue to be concerned about. This is what I'm understanding your position to be (ICS -> ICS, diff ROM).
[Desire HD Android Development] RASTAVIPER:
What I was meaning is that with AR Rom (GB) the patch was working and with Icecoldsandwich (ICS) not so great.

So they are totally different Roms.
[Desire HD Android Development] crypted:
It works fine with ICS in general. In fact, it works on JB as well. The issue is one of the ROM having issues in its source code for GPS or other things. These are being ported into a phone without proper drivers or modules. So, it's guesswork. You may be the victim of unfortunate uncertainty. Have you tried others?
[Desire HD Android Development] RASTAVIPER:
Other ICS Roms no, since I am totally satisfied from the user experience that the current rom is providing.

I am willing to try any tweaks if you would like to help me testing for faster gps fix.

Icecoldsandwich Rom is very popular and for sure other users could be helped too.

So far I am having trouble to lock to more then 8 satellites, when with AR I was getting more than 10. Also time to get signal fix is quite longer.

Produced by NookColor at ICS AOKP 4.0.4
[Desire HD Android Development] crypted:
Okay, so have you tried the No-SSL 3.1 and the Alternate version of the patches? Also, you can go to Settings -> Locations, disable all checked boxes, reboot, go back and enable only GPS, reboot, and try again.

I mean 8 is more than plenty. Lock time could go down because your libs are a little out of whack from the porting process. Not being native, it could cause a delay in processing your data.
[Desire HD Android Development] RASTAVIPER:
So, I removed all ticks from Location, made Reboot, ticked Gps and started Gps Status.

Got first fix at 54sec, locked 10 Sats and error reached minimum 6m (mostly stayed at 10m).

What do you think of that?
[Desire HD Android Development] crypted:
Have you tried it without a case and outside with a clear view of the sky to see if it loads any quicker than that?

If so and the answer is in the negative, can you do a Nandroid backup and try another ROM with this patch to see if it's the same results to rule out the LIB issue? This would require you to use a ROM that is not using the same base as the one you have now.
[Desire HD Android Development] RASTAVIPER:
I never use case and yes I was under clear sky.

About trying with different rom, sorry, but can't do that.

Only apps testing is suitable for me.

Produced by NookColor at ICS AOKP 4.0.4
[Desire HD Android Development] crypted:
Let's make sure we're on the same page entirely. You are using NO-SSL which is the fastest. What GPS related Apps do you have installed??? Like, FasterFix GPS Fix, GPS Status, GPS Test, what?

Unless we find an App conflict at this point, I'm 99.99956% positive that we're dealing with an issue in the ROM and most likely issues with the LIB's since the GPS driver appears to work as you DO get results.
[Desire HD Android Development] RASTAVIPER:
No SSL version .

Only Gps status and Gps test.

Do u think that the first fix lock at 54s is not good enough? Cause getting 10 satellites as you said was fine.

Produced by NookColor at ICS AOKP 4.0.4
[Desire HD Android Development] crypted:
What're your consecutive lock times after the initial? My initial lock time is 15s with following locks at around 6s.
[Desire HD Android Development] RASTAVIPER:
Will get back to you tomorrow as it's almost midnight here.

Thanks for quick replies though. :)

EDIT:This morning first lock again at 10 sat at around 20sec

Produced by NookColor at ICS AOKP 4.0.4
[Desire HD Android Development] nika39:
i have got cm7 rom,patch was working very well since i just used apn app, then its not working anymore i couldnt take it back
[Desire HD Android Development] crypted:
I don't understand what you are trying to say.
[Desire HD Android Development] pashkustva:
i have got problems with cm7 on DHD, use to have this patch on revolution hd ages ago and it was fine, but on this one i can not use internal gps for good as it hardly get fixes on sattelites

tried 3,1 and 3,1 no SLL and not good

and 2,2 gives me max 4satelites fix (after couple minutes) and 100+ error

which one else maybe i should try?
[Desire HD Android Development] crypted:
Read the Notes Section. I discuss how horrible CMx results can be for users. That's a risky endeavor.
[Desire HD Android Development] crypted:
Today, AGPS Patch has reached a total number of 28 officially supported devices. Support was added for the Asus Transformer TF101, Samsung's Galaxy Nexus, Samsung's Galaxy S I9000, and HTC's One X.

I predicted that companies would get wiser and start providing properly built stock ROM's for GPS usage. That was incorrect. I'm willing to research and work with people to bring more devices into the fold.

There have been millions of downloads of my personal xtra.bin data and tens of millions of queries submitted through the DNS pool I maintain for Stratum II time servers. I lost track of the number of ROM's that have incorporated this patch. In fact, v3.x began 11 months ago and has brought worldwide help to the masses.

And remember, I don't have to release new versions of this patch locally because it has been so fine-tuned. But, I'm always working on the xtra.bin data almanac and the Stratum II time servers to keep this thing going strong.

To the few that have donated to support the many, thank you very much.

If anyone would like to continue to support this project

for growth in more devices and continual data provisioning, please consider donating as well.
[Desire HD Android Development] nika39:
is this patch have relate apn setting?
[Desire HD Android Development] crypted:
No.
[Desire HD Android Development] nika39:
it was working well yesterday,but i changed my apn settings for mms and mobile internet.Now patch isnt working anymore.I dont use fasterfix or other tools.I tried almost every patch but result is same
[Desire HD Android Development] crypted:
Go to Settings -> Locations. Disable everything except GPS. Restart. Try again. Other than that, no clue as APN is not part of GPS nor this patch.
[Desire HD Android Development] nika39:
nope same result,is it working on cm7 rom ? Because i am using it.Maybe it isnt working well on cm7 rom.
[Desire HD Android Development] crypted:
As the Notes Section clearly states, CMx (CM7 included in "x") are risky business for GPS.
[Desire HD Android Development] nika39:
i just saw cm7 nigthlies sorry about that.I tried different rom thanks for help.
[Desire HD Android Development] HTCinspiration:
This patch has worked amazingly on every ROM I've tried but it is outstandaing on MIUI ICS. On my first boot on a freshly installed MIUI, it immediately locked onto 3 sats in less than 2 seconds! Never had a lock that quick. And it was locked onto 11 sats in under 10 seconds.I tested the GPS w/o the patch & i could only get one satellite after 4 minutes. I'm sure it wasn't easy or quick to put this patch together so thank u for the effort & hard work Crypted! Definitely superior to the cple of other GPS script i've tried
[Desire HD Android Development] nika39:
can you give me any advice? i tried many roms but i failed
[Desire HD Android Development] crypted:
Just above this question is a testimonial. So there's an answer.

I assumed you went through each note. Have you? Tell me about the hardware issue note mentioning the DHD. Is it an issue on yours?

Sent from my Desire HD
[Desire HD Android Development] nika39:
Hardware i didnt think so,Because this patch was working in revoulution,miui,ice cold sandwich.I tried that roms.Everytime i failed on changing apn settings.You still sure about apn?
[Desire HD Android Development] a user:
p.p.s here a post from a user in belgium who tried out your gps.conf confirming what i said above.
[Desire HD Android Development] crypted:
I will review this. However, I have had success reports from three of the countries you mentioned. So, this would be odd enough to me to see it being contrary.

I know that DHD's have been known to have GPS antenna/spring problems.

This is a learning game and not being in any of those countries, I cannot test it firsthand. I will build up the required test scripts and send 'em out to find the result.
[Desire HD Android Development] a user:
well here the success report sadly means nothing. let me explain (as i did the same mistake).

if the deivece can find the satelites fast than there won't be any issue. but the problem arises when actually the satelites are not found fast due to clouds, asynchronous clock etc. in this case intermediate will cause the phone to think it has a lock although it doesn't have a(a good) one with enough satelites and it will not try too improve that anymore.

and here the issues start.

but ofcourse you get good reports. i also was amazed the first time when i saw getting a lock so fast. i needed some time to realize that i get that fast lock even indoor, without a single satelite available. Oo

and then actually using the gps on a longer journey with a nav app revealed the real issue. but as i said, this is my experience and of a couple of other users i know of. for others it may work without issues. but i cosnider this seting as high risky. i may be wrong though.
[Desire HD Android Development] dnbcat:
Thanks for your patch! This will surely save my time and nerves! Going to test it tomorrow and will post report here
[Desire HD Android Development] crypted:
I assure you have had a detailed method for testing these things. I have not seen an issue to point me in your direction. However, I will work out some tests to get it ran abroad to see if it can be reproduced. As you say, it should then be reproduced and I can work with it for v1.2. :)
[Desire HD Android Development] a user:
well it was reproducable every time on my phone and one some others i know of. though as i previously explained, this need not to be an issue for everyone.

i do not have enough insight of how this actually work (regarding the apps/radio related to agps/gps). i only wanted to point out that there are many reports of issues with this setting.
[Desire HD Android Development] crypted:
No worries. Trust me, I made a note of all of what you said and will be incorporating it into some upcoming tests.

There is no reason to rush things, but I'd hope to get some European testers who can try these modifications out because I can only do so much from the USA.

If anyone would like to assist in testing, send me a private message and I'll put you on the list.
[Desire HD Android Development] swiftscythe:
Have you tried GPS Fix from the android market. It has always worked for me. Is that app much different than this patch (I guess the patch is permanent, and the app settings may be lost with a reboot, as it doesn't ask for root permissions).

BTW thanks for another way of getting this GPS problem solved :)
[Desire HD Android Development] KurdX:
+1

I'd like to know that aswell.
[Desire HD Android Development] harpss1ngh:
I flashed this on the ARHD 6.1.0 ROM which is Android 2.3.5 Sense 3.0 and I got bootloops! I'm guessing the gps.conf is not compatible with 2.3.5...

EDIT: Actually scratch that I think it's caused by something else, apologies