yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Thats very odd, cause there are people in TX who have had success with my script, and even the rom your using, the other thread in the dev forum you can see that. but we're still working on it and making progress hang in there.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jjrumph:
Thanks. Yea I know they had success. Thats whats frustrating me to no end. I'll keep checking.
[HD2 Android Q&A, Help & Troubleshooting and Genera] logdrum1:
Angel of Death,

EDIT: This is the HD2 that I have - I have other Android phones as well.

I finally got my GPS to fix and rather fast (sub 30 seconds). I have been trying all day took my laptop and the phone in my big open backyard (2 acre field),

I did ping every ntp and host from your southwest script (I live in New Mexico) and some of them are invalid hosts. I pinged them from an adb shell in the phone itself using the 3G data. I took those offending hosts out as well.

It seems that the issue was that I had the phone in a gel case. I just got this phone from CL and updated the ROM from RafRoid to HyperDroidGBX v11. I did never bothered to check the GPS on the Rafroid. I burned GBX today and tested GPS. After three hours of letting it sit out in the field in the car using GPSStatus with no luck I figured it was the HW.

My wife suggested that i remove the gel case. and in 10-15 seconds I got satellite reception. The seller told me that the gel case is high end and "tear proof" and if you buy into that kind of snake-oil, like the old ThinkPads this could mean some sort of metal fibers embedded in the material. And that probably inhibited my GPS receiver.

So my suggestion aside from all the gps.conf and xtra.bin suggestions here, remove any thing around the phone and make sure you have no interference. satellites do move so what was quick 2 months ago may be a bad position now.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
New version will be released this weekend. Version 1.2, again will be in CWR format.
[HD2 Android Q&A, Help & Troubleshooting and Genera] linuxis:
:) Will wait.

I think here is a bug in Lithuania.zip. First lines points to ntp1.inrim.it, .... linux.it. But it is Italy :) :) not Lithuania.

Next lines like lt.pool.ntp.org should be correct I think. LT - Lithuania. IT - Italy :) It is not clear are these entries for Italy or letters are just swaped.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Good catch, thats what I get for doing it at 3am, You are right. I just double checked, and those are for italy, unfortunately looking thru, there is none for LT available for use. Remove the .it lines and then save the file.

My apologies.
[HD2 Android Q&A, Help & Troubleshooting and Genera] boomboomer:
I've been trying the new .apk and lines added to the config file with mixed results, the initial cold lock is still variable in time and if the lock is lost it may never achieve a relock. GPSstatus reset GPS chip tool seems to work best and this supports another observation I've made.

We all know that running quick gps in WinMo before entering Android leads to almost instant lock, but I've noticed that returning to WinMo from Android, after using GPS leads to problems in WinMo. The first time I thought it was a fluke but it's happened several times since. Booting into WinMo and launching GPSMod reveals 12 satellites but no lock, leaving it several minutes and still no lock. Only when I use QuickGps to update the AGPS will a lock happen.

It looks like the Android GPS driver corrupts the on chip data, requiring an AGPS refresh to cure. I'm sure our phones have different hardware GPS versions, the current drivers are based on later hardware and hence why GPS works well for some, not at all for others and only partially for most.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
I've noticed that too, sometimes it happens that there is GPS signal but it won't lock, unless you have recently downloaded QuickGPS data. But believe me, its nothing to do with Android...It used to happen back then too for me, when there was no android on HD2 only WinMo..

@AngelDeath what will be new in v1.2, will there be any change in Library implimentation?

Just asking becoz not following the dev thread anymore as its gotten too technical for me :o :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
The Update will be added code to the gps.conf file, the ones that have been found, and some test commands that I have found in the libs as well. There will be 2 lib files that will be replaced, but it will ONLY be for NON-Gingerbread, as of right now they will not work with gingerbread, and I doubt by Sunday I'll get it to work, so Gingerbread will have the update without the libs.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tilleke:
@AngelDeath

I tried your tutorial and installed/executed all necessary files. In a moonclear evening, I got a fix (from cold - I hadn't enabled GPS at least for 10 days) in about 2 minutes. Not as fast as others but still faster than the usual 5-6 minutes I needed before. Successive (warm) fixes were just a matter of a few seconds.

I also appreciate the DEV-thread you started. Seems like you got people (including developers) moving.

I also sent you a donation - not much but should be enough for a beer.

(2NA42611FR5567111).

My tests were made on a HD2 in NAND with TyTung's NexusHD2-Gingerbread V2.3 NAND - Kernel tytung_r6

Keep up the good work!
[HD2 Android Q&A, Help & Troubleshooting and Genera] vincentt84:
the download link of UPDATE 3.01.11 GPS Scripts v1.1(malaysia) has been corrupted, can u pls fixed it? tq vry much
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Thank you for the Beer, incentive always works :) Adding you to the list.

Link is not corrupt, works fine, but attached below is the file.
[HD2 Android Q&A, Help & Troubleshooting and Genera] wanahave:
Angel,

Mobile downloading your zip files depends on the browser.

I had no success with the stock browser and Miren.

But xScope browser (which is pretty good) let you mobile download with no problem.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vincentt84:
thanks, its worked!! but my GPS still take long time to lock, can u pls tell me where is the problem? i flashed the malaysia.zip and suplrootcert.zip, still not working, thanks for ur reply
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well it would be safe to say the Suplrootcert you can delete it, one its from att, two seems your not in the US.

Did you add the three lines to the conf file? Did you install the APK file? What rom are you using? Need more info before I can give you an answer.
[HD2 Android Q&A, Help & Troubleshooting and Genera] cemeli:
can I use this on the htc desire not the HD
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
It can be used on any android that has a gps.conf file
[HD2 Android Q&A, Help & Troubleshooting and Genera] RiNo808:
Angel, could i just unzip and replace the gps.conf with root explorer? or i have to flash via cwr? thanks in advanced
[HD2 Android Q&A, Help & Troubleshooting and Genera] jim_0068:
Location: Chicago

ROM: HyperDroidGBX-v11

Version used: 1.1

Implemented (all done below without using wi-fi):

1) Using Root Explorer (paid app) i made a backup of my stock gps.config file to my SDcard and named gps.config.original

2) Copied North-East zip file to my laptop

3) Un-zipped and grabbed the gps.config file

4) Moved file to my SD card

5) Using Root Explorer i copy the new gps.config from SD card and pasted (over writing) the original gps.config in system/etc

6) I then re-booted the phone

7) ran GPSfix (free market app) to time GPS Lock

Where i tested:

On my couch, in my apartment, on a cloudy day in Chicago. I received a GPS lock in roughly 100-120 seconds. GPSfix closed immeidately after fixing so i couldn't catch the time exactly but i know it wasn't more than 2 minutes.

My experience:

I have had my HD2 and put the hyperdroid-GBX-v11 rom on it a few days ago. My experience with GPS locks were generally in the 1.5 - 3.0 minute range in general but those were all OUTSIDE. Also this was with changing the server from the north-american server to the US server to help. I would say from early initial testing this appeared to work. I will continue to test over the next few days and i'll update this post.

Also, getting a GPS hot fix was almost instaneous even in my house, i would say 5 seconds or less. THAT is definitely an improvement because my hot fixes would still take approximately 10-30 seconds.

Awesome Work!
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Yes you can. Just remember to do the other things listed too.

Ping eu.pool.org and you will see you get a response:

Pinging eu.pool.org [64.99.80.30] with 32 bytes of data:

Reply from 64.99.80.30: bytes=32 time=37ms TTL=117

Reply from 64.99.80.30: bytes=32 time=38ms TTL=117

Reply from 64.99.80.30: bytes=32 time=38ms TTL=117

Reply from 64.99.80.30: bytes=32 time=38ms TTL=117

Ping statistics for 64.99.80.30:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 37ms, Maximum = 38ms, Average = 37ms

So yes I do want to :)

GPS Fix, takes roughly 30-45 seconds from the time you start it, this you dont have to keep any eye on, it will let you know "GPS Fixed" when done. The rest of your results is what counts.

Going to be releasing a new version god willing by sunday, just working on the best direction at the moment, will update when I'm satisfied with my testing, but do understand nothing will beat true agps, and I hope the consorted effort in the thread in the dev forum will produce that.
[HD2 Android Q&A, Help & Troubleshooting and Genera] namila007:
hi..i installed this on my hd 2 runs on Hyperdeoid cm7.. after installing phone doesnt starting.its aways dispalying animated droid. :/ dnt knw whats the reason for it

Sent from my HTC HD 2 powered by HYPERDROID ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] vincentt84:
yup, i from malaysia, i currently using TyphooN CyanogenMod 7 RC4 v2.9.1. i don understand what do u mean of "add the three lines to the conf file", i m sorry that i m noob, hopefully get help from u
[HD2 Android Q&A, Help & Troubleshooting and Genera] vincentt84:
i refer back to your 1st post & 2nd post, i been installed the apk file(intall n run it too) n add the three line, but it still not working, duno why
[HD2 Android Q&A, Help & Troubleshooting and Genera] namila007:
i downloaded SRILANKA.ZIP :confused::confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
No none of my files or changes would cause that.

I am not sure why it wouldnt, but I think hyperdroid cm7 was having issues from what I read not sure.
[HD2 Android Q&A, Help & Troubleshooting and Genera] RiNo808:
Okay im having some problems...i loaded the Hawaii config, added the the lines, ran the gps fix...now when I run gps status im getting up to 12gps satellites but it doesn't lock...anyone know wheres going on? Thanks in advanced...

Sent from my Inspire 4G
[HD2 Android Q&A, Help & Troubleshooting and Genera] FerretAD:
Cold start: 180seconds !

Hot Start (first attempt): 50seconds !

Hot Start (second attempt): 10seconds !

HUGE improvement, especially considering i've never had GPS working on the ROM i'm using :)

Thanks alot mate !

One happy user.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Ohio would be considered Mid-East

Where are you located? The one place that seems to be an issue for some reason, is Michigan. and I'm working on it.

Duly Noted and changed, thats what i get for 3am lol

I'll see about making a localized file for you to try.

I assume you are using the UK conf file. Try the Europe file and see how that works, and report back. Also did turn wifi on and let the GPS Status update the AGPS? Remember some places have more satellites then other regions, and we all know weather plays a part in this too.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
Yes I am and I edited my post just now to say things are finally working, I also never had GPS working on this build. It's not perfect as maps doesn't find me at all, but then I am inside and it's murky as hell outside.

I will stick with the UK info for now. Considering i've never had GPS before and I had a gps.conf I had already modified myself, it appears you've fixed a problem for a lot of people.

As for the certificate line, is this generic? A google search pulls back a lot of results where people have this line in the config yet have neither the directory or file.

YET ANOTHER EDIT:

I can no longer get a GPS fix. I had one, now I can't get one at all. I have seen this error across the boards. For me there is no such thing as a "warm boot".
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
Are you sure about that...I searched about the same thing when I updated to NAND back in Jan to see to see if no GPS fix is due to the snow all around...but its not, see here:

http://gpsinformation.net/gpsclouds.htm
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
From experience using a multitude of different GPS apparatus, I can confirm i've had different lock times based on the clear/cloud cover on a day.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Thanks I just bookmarked it for later reading, but I find that information hard to believe especially if Cell service can get affected, how a satellite 35,000+ miles away isnt is odd.

I will make a localized file for you, just to try out, I'll have it by tonight, if anything changes let me know before then.

Also I have updated Post #2 with Roms I have tried this with, it would help if you everyone can tell me the roms they are using, so ones that are working I can add to the list, and also if others are using the same that might be having trouble, I can try the rom and see what might be the cause.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
Well according to the link it says:
[HD2 Android Q&A, Help & Troubleshooting and Genera] huggs:
Thanks, lock is still 1 minute cold, 10 seconds hot, standing outside my house :D

You have made our GPS's usable!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] WarlockW:
lol Huggs .. I Like it .. Goood to hear!

He has worked hard to make it amazing!
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
Didn't work for me. No lock in 5 min. I'm on charnsingh_online's cm7. I live in Jacksonville, FL so I used the US mid-east one.
[HD2 Android Q&A, Help & Troubleshooting and Genera] huggs:
bogdatov is in Florida too, and having 5 min cold lock, maybe it's because you guys are so close to the Bermuda Triangle?
[HD2 Android Q&A, Help & Troubleshooting and Genera] brainmaster:
Using the same Build and it works fine for me using Europe.zip in Germany.
[HD2 Android Q&A, Help & Troubleshooting and Genera] WarlockW:
DL : com.eclipsim.gpsstatus2-2.apk (414.5 KB, 31 views)

And do a reboot .. and run program DL sat info .. and Hit reset!

You will get a lock ..
[HD2 Android Q&A, Help & Troubleshooting and Genera] WarlockW:
LOL .. thats what I was thinking :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
LOCAL UK ONLY GPS.CONF FILE LOCATED ON POST (#2), FLORIDA LOCAL GPS.CONF FILE LOCATED ON POST (#2)

The problem I have found with Florida and the UK is that there is very limited time servers that are active, actually florida has no time good responding time servers, but I did the best I could in short notice. Please test these out and let me know if they are any better.

Again Located in Post #2, CWR files.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dlsniper:
Hi there, first of all thanks for the efforts you put in this.

Second of all, mind my asking, I didn't had time to test it but, from what I've understood, AGPS is still not working on gingerbread/HD2 in general, so aren't all the lines in gps.conf useless? I mean no disrespect in this, like I've said, I appreciate your efforts and it's a good step in this matter but I'm kinda confused about this.

To help you understand what I'm staying.. I still get the lines:

E/GpsLocationProvider( 124): no AGPS interface in agps_data_conn_open

E/GpsLocationProvider( 124): no AGPS interface in agps_data_conn_open

in ADB when launching GPS and at least for me, the fastest way to get a lock was always to reboot the phone with GPS and GPS Status (the app from market) on, the I would get a lock in 1-5 mins.

Also, where can I get SuplRootCert cause I don't have such a file or folder in my /etc and I see you are using it here: SUPL_TLS_CERT=/etc/SuplRootCert

I shall test this tomorrow and report back, meanwhile I'll wait for a light in my confusion :D

Best regards,

dlsniper
[HD2 Android Q&A, Help & Troubleshooting and Genera] cabalist:
Thank you AD for the great job and nice explanation! What an intresting job!

I was very happy about all the good comments and gave it a try with good mood, but have to quote dkl_uk: unfortunately, same results here.

(you know... there is always a black sheep around... you got 2! :p )

I just had a 30 minutes test with 2 roms:

NAND - TyphooN CyanogenMod 7 v2.1 (ram edition)

Cold fix: never in around 15 minutes, altough it is almost the same with all NAND releases. Only in one or two froyo ones i saw some fixes but not usable at all;

SD - Copenhagen Gingerbread 2.8 (now americandroid)

Altough i had some pale reasults with this rom it is a no go with the europe gps.conf. :(

In 15 minutes i had one single fix only, it took around 10 minutes for the cold one, hot fix never happened in the next 5 minutes (phone on a chair on the balcony, in the same position my N1 fixes in 1,30 cold (worst ever) and 15 secs hot).

I didn't try further since it had almost the same behaviour as with the other nth fixes/roms i tried.

I guess for some of us it is not a gps.conf issue, it's something hardware related.

dkl_uk: is it your phone brand new or very recent? Mine is a new unit received the 4th of january. GPS works good in winmo6.5 but it's not usable in android.

Cheers.
[HD2 Android Q&A, Help & Troubleshooting and Genera] csy7550:
You sir, are correct. These are the same findings I found when playing around with gps.conf a while ago. We need agps support in libgps.so, then playing around/tweaking gps.conf would do a difference (Not huge, but getting from eg. 10 to 5sec is "huge" %-wise, as other devices with working agps has done). Don't know if any other phone got the same chip as ours, but libgps.so is closed source by HTC anyway, so reverse engineering gpsdriver.dll or maybe tracking down what quickgps does in winmo may be the only way to go, correct me if I'm wrong. Not to sound disrespectful, but I'm afraid we're going to end up with a 200 pages long thread where results varies from 10sek to 5min, as it already does, and has always done for me personally using gps in android on hd2.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
Its not working well for me either :( I'm situated in Boston, Mass. Tried to fix it for like 5 mins while walking on the road...it was no go...then gave up..

Somehow, I think all gingerbread users aren't able to take advantage of this settings...I'm changing my build to sense froyo one, later tonight and see how it goes...will report back tommorow :)

EDIT: I'm also doing doing GPS status AGPS data download, but it dosen't help
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
I already had gps status. I could get a lock within a min with that build out of the box. I was just testing to see if this would get even a quicker lock. No worries though. After all a min is short enough.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
What rom are you using? And do you have a case around the phone? And lastly on the HD2 only way to see sats is when it locks, unless you can take a screenshot to show whats happening.
[HD2 Android Q&A, Help & Troubleshooting and Genera] RiNo808:
Sorry angel, I'm using dilligafs rom on my inspire...I'll try and get a screen shot...the gps indicator keeps blinking, while it shows how many satellites it sees...

Sent from my Inspire 4G
[HD2 Android Q&A, Help & Troubleshooting and Genera] RiNo808:
In this pic I have 7/7 satellites, but the gps indicator is still blinking...

Sent from my Inspire 4G
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
I have found that this is a glitch with GPS Status that happens from time to time. I just close the app, wait for the GPS indicator to turn off, then turn the app on again. This seems to reset it. Also, another time I see this happen is if I close the app but reopen it while the GPS indicator is still on.
[HD2 Android Q&A, Help & Troubleshooting and Genera] augustopacheco:
see if your gps.conf file have all permissions (777), if not he gives you error on reading....
[HD2 Android Q&A, Help & Troubleshooting and Genera] Hartendief:
Yes, It finally worked on my HD2 Typhoon Cm7 2.9.2 Tytung R8.3 Belgium

This is what I did:

1) download the gps file for your country

2) add the 3 lines using notepad

3) put the gps file and qngps apk on your sd card

4) install gps file using CWR

5) instal qnagps apk, don't start it

6) start gps status app and use the tool to reset the gps file

7) open qnagps and let it run for 30 sec

8) start gps status

9) You should get a signal
[HD2 Android Q&A, Help & Troubleshooting and Genera] Olioaglio:
thx for headsup. My gps.conf had indeed no r/w permissions. Did not see this before. Corrected to 777 and here we go with way faster fix.
[HD2 Android Q&A, Help & Troubleshooting and Genera] RiNo808:
How did you change the gps.confg permissions to 777?

Sent from my Inspire 4G
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
Well, I do have r/w permission on my gps.conf file and do see from time to time the issue of the GPS blinking with the satellites still shown. But it doesn't happen too often take goodness. I only experience this infrequently if I close and reopen the app too quickly. Now, I wait until the GPS symbol stops blinking before reopening.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
Check all boxes of permission in root explorer
[HD2 Android Q&A, Help & Troubleshooting and Genera] Olioaglio:
Myself did it with free version of Super Manager (available in Market).

Hope this helps.

Olioaglio
[HD2 Android Q&A, Help & Troubleshooting and Genera] Tm5078:
I'm in Minnesota I've been trying the north mid and mid west config files with the added lines and both the apks with no luck .... I'm using ud 3.2 on my leo1024 . The rom comes with Europe config files and it would take for ever but atleast I got a lock no lock now even after fresh install and orignal config i can't get a signal :( what am I doing wrong?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Filipponet:
I installed the fix for ITALY but after the installation says ......... OPTIMIZED FOR U.S. Mid-West ...... is this normal?
[HD2 Android Q&A, Help & Troubleshooting and Genera] jizreal:
Its normal. Dev said he was too sleepy to change the banner.
[HD2 Android Q&A, Help & Troubleshooting and Genera] XsceneXhippieX:
you can add hyperdroid cm7 1.0.4 as a working rom on the op if desired, southern mid us v1.1 file works flawlessly, i thought gps was just crap on the hd2 until this lol (i never used winmo, not even a single text so i cant really compare android gps to winmo gps fairly)
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
Any news from AngelDeath about a release date for v1.2?

Sorry, i haven't been much active on the forum in these last days and i haven't found anything on first page announcing a new release date..

I'm really looking forward for this next update..