yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] aamadorj:
It worked on my HTC Inspire 4G!!!

I had to use version 1.0 of your GPS fix because there wasn't any specific for my country but even this version worked great on my HTC Inspire 4G.

I can confirm GPS location is achieved within 10 seconds, but before your fix it could take minutes.

Thanks a lot, AngelDeath!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] bigcnlb:
Damn you hooking the aGPS up too!!! Can't wait to try this out on your Sense 3.0 rom. Thanks for all the hard work
[HD2 Android Q&A, Help & Troubleshooting and Genera] RiNo808:
Does anyone know if tytungs lib v1.1 will work with the inspire?

Sent from my Inspire 4G
[HD2 Android Q&A, Help & Troubleshooting and Genera] morg01:
FTP server seems to be down?

Sent via Courier Pidgeon . . .
[HD2 Android Q&A, Help & Troubleshooting and Genera] spear1403:
I tried it too with no success
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
No it will not, its specifically for HD2 since HD2 doesnt have agps support, where as the inspire does.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Server is very much up.
[HD2 Android Q&A, Help & Troubleshooting and Genera] morg01:
From the link on the OP you get:

HTTP://ftp://xda:xda1@cgserver.sytes.net/

Obviously I deleted the HTTP:// bit but still no connection. . . .

Any ideas.

PS did this from the phone, unless my phone doesn't support FTP I'm foxed?

Sent via Courier Pidgeon . . .
[HD2 Android Q&A, Help & Troubleshooting and Genera] spear1403:
It didn't work from my phone either, but with my computer there was no problem
[HD2 Android Q&A, Help & Troubleshooting and Genera] morg01:
Ahh ok I'll try that .. cheers

Sent via Courier Pidgeon . . .
[HD2 Android Q&A, Help & Troubleshooting and Genera] daandman:
Any idea where I can find the Canada version? The link only has US & UK versions. There's a North America one on the 1.0 list, but it says 1.2 is available for Canada.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Canada is under the EUGPS folder.
[HD2 Android Q&A, Help & Troubleshooting and Genera] triteata:
Anyone?

Is there a way to return the original files? :confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] _kansei_:
hooray for this thread :)

before: I honestly didn't even know what I was looking for in the GPS status app, because indoors or outdoors it never got a fix :confused:. It never had more than one satellite sorta in view. Now it's hovering between 4 and 7. Maybe I'll finally be able to use the google navigation app without it losing gps signal the moment I begin moving.
[HD2 Android Q&A, Help & Troubleshooting and Genera] daandman:
Well don't I feel dumb, I assumed that was Europe. Lol. Thanks! :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] T_Tokyo:
Very thankful for this thread!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Fgarcor:
I have a quick question. I found myself testing it and really seeing a quick sync with the GPS. However, when I traveled abroad and my data was not working (I don't remember if I had even my phone in airplane mode) my GPS never got synced (I was waiting easily for 5- 10 minutes). Do I always need a data connection to sync my GPS?
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
Next time you travel abroad, you need the zip file for the country you will be travelling to as well as the zip file where you are currently live. Probably what happened is since you have the gps.conf file for your home area, it will not work when you go abroad. That's why you never were able to receive a lock. Just load both zip files and flash when needed when travelling again and your gps should work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
AGPS Support in new tytung libraries!
[HD2 Android Q&A, Help & Troubleshooting and Genera] boomboomer:
But accuracy is not finished yet, the library is for testing only at the moment.
[HD2 Android Q&A, Help & Troubleshooting and Genera] clyder:
Not really for testing only...It is not perfectly functioning yet but tytungs new libs work a lot better then the old ones.
[HD2 Android Q&A, Help & Troubleshooting and Genera] triteata:
Can anyone send me by email the original gps files? This thing is not working for me and now I can't sync my gps at all :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] clyder:
You can extract original gps.conf file from the recovery flash file of the rom you are using. Just open the zip and the file gps.conf is located in the /system/etc/ folder.
[HD2 Android Q&A, Help & Troubleshooting and Genera] EViS:
What benefit does the Instantaneous GPS Fixation v1.2 have when used with tytung's GPS Libraries v1.3? Would tytung's Libraries (and AGPS implementation) not do the work itself (in terms of getting the current location) that the gps.conf provides in hard-code? tytung seems to recommend the use of the default gps.conf (see here).

Also, when using the GPS Fixation v1.2, can you still get fixes when on the other side of the world? Or do you need a new gps.conf file for your location?
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
They work in tandem together. With Tytung's new v1.3, it does dramatically reduce the lock times. But in order to obtain the fastest and most reliable lock times, you will also need AngelDeath's zip files. Having played around the better part of a day with the gps.conf files with Tytung's files on board, I see advantages having optimized the gps.conf file for your region. AngelDeath knows that I have included into my gps.conf the five local servers in my city. Without, I do not see as fast a first/relock as I do now. I am using Pongster's Hyperdroid CM7 v2.1.0 and see a first lock from overnight in under 20 seconds. Warm locks throughout the day in under 10 seconds with relocks in under 4 seconds. What I have also shared with Tytung on his thread is that by adding the line to my gps.conf file with OPERATION_MODE=MSBASED, it helped to decrease the lock time even more and created a more stable compass with the GPS Status app. I hope I was able to answer your question.
[HD2 Android Q&A, Help & Troubleshooting and Genera] EViS:
Yes you have, thanks. One question which is slightly irrelevant to my original one is whether using a gps.conf file for say the UK will work when I'm abroad in the USA or elsewhere in Europe? Are the locks likely to just take longer when using a gps.conf file from elsewhere in the world or am I not going to get a lock at all?
[HD2 Android Q&A, Help & Troubleshooting and Genera] daandman:
This seems to have stopped working for me. It was working flawlessly & getting a lock within seconds, but now I can't anymore. I'm on the CM7 nightlies, and I've flashed the Canada 1.2 file multiple times, wiped my device, flash it every time I try a new nightly, etc. & it just won't get a fix at all. Any suggestions? The closest I can get now no matter where I am is within like 700 meters.
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
If my travels to Hawaii from my home location in California is an indication, I would say you will need to have your home and your travel zip files on board. I noticed that if I used my home gps.conf file while on travel in Hawaii, it was taking forever to get a lock. When I uploaded the Hawaii.zip file, then I was able to obtain locks like before. Especially for your situation, the NTP servers are very different in the US vs. Europe. That is why many people who change ROMs wonder why they don't get a lock. The ROM builder may or may not put in a general gps.conf file into the build or may be optimizing it for their region. Many of the ROMs I have used are configured for the US but not for the UK, you will definitely need the zip file found on the OP of this thread to ensure a quick lock for you. My Pongster build that I am using is configured for the US but if I went to the UK, I would have to load the UK zip file and run it when I am in the UK for my gps to work. Hope I was clear in my explanation.
[HD2 Android Q&A, Help & Troubleshooting and Genera] -leo-:
Link Problem

works quite fine. thanks a lot for ur hard work!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Youngunn2008:
I travel between Missouri and Illinois every day, which zip should I grab? North America? Midwest?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Midwest should be fine.
[HD2 Android Q&A, Help & Troubleshooting and Genera] GreatWall2:
I installed the fix for Argentina and it seems to be working great. I'll keep testing the next few days.

Thanks for the great work
[HD2 Android Q&A, Help & Troubleshooting and Genera] Belp:
Thanks for your work !
[HD2 Android Q&A, Help & Troubleshooting and Genera] feh_pexto:
What is the login and password for the ftp?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
If you click on the XDA Members Click Here you will be directed to the site, on one ip per connection, if you attempt to do more then that you will not connect. If you attempt to connect from your phone you will not be able to since the phone browser doesnt accept ftp links.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
[10.July.2011][Dev] GPS Libraries v1.7 with AGPS support for HD2 Gingerbread

Tytung is to thank for this!
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
Big thanks goes also to you, who was crying loud enough to get the attention of tytung to work on apgs =D
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Really, I honestly never thought My making noise about it would grab attention, but I am glad for every hd2 users that Tytung made it happen. Kudos to him!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Bomster:
Having absolutely no luck. I downloaded the UK (1.2) zip off your server, installed it in recovery. While installing it doest say the script is for the UK, it says it's for midwest. Anyway, I thought maybe you just forgot to change the text that comes up while installing. Regardless, I just cannot get a fix.. even outside.

Running latest CM7 nightly (126), with LorDMoD 5.1 kernel, so one of those two could be causing the problem.

Would love to sort it out, as for me GPS is the only thing that lets down the Desire HD.

MY old HTC Magic used to get satellite lock so fast, I don't know why the DHD is worse.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Already answered in the Inspire forum: Response to your dilema
[HD2 Android Q&A, Help & Troubleshooting and Genera] mootmetal:
can u please add Morocco to the country list if possible
[HD2 Android Q&A, Help & Troubleshooting and Genera] py.rambo66:
can u please add Paraguay to the country list if possible

Gracias
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Not possible, use either Spain, or Africa as alternates.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Not Possible, Use Brazil as your option, since you border it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] @leizter:
Works remarkably

Hi,

ROM 3.4.2-177-5-Nordic

I've just copied the Europe gps.conf file into

system/etc with a root able explorer.

I'm situated in Western Europe.

Prior to doing so I had to wait 2-3 or more minutes

before the defy cool catch enough satellites to be usable.

Now, I enable GPS, run GPS status and see the defy catch

GPS signals nearly immediately (5-10 secs).

Unbelievably impressive !!!!!

Many thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] nickclarke:
Have sense 3.0 ROM with v1.7 GPS, fix from cold within 10 secs, am well impressed
[HD2 Android Q&A, Help & Troubleshooting and Genera] tobiascrystal:
I have the Deaken sense rom and after comparing your north american settings I noticed that the one that came with the rom has much more stuff having to do with the AGPS that yours is lacking. Am I missing something or is his file just loaded down with some things that don't need to be there or am I just supposed to merge the two files? I have gotten super fast locks now (thank you Tytung and everyone else that had even the least bit to do with it!!!) even though my NTP servers were set by Daeken for europe.pool or whatever it was.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dertage:
you guys are huge developers.......
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I honestly dont know what your looking at, If you can attach the conf file you are looking at that came with the rom or even a link to the rom post, then I can compare them with mine and see what your looking at. Most gps.conf files if not all, do not have my extensive lines, unless either I was asked if they can use my gps files, or if chefs adopted my files to their rom, normally most adopt either the europe or north america, since it encompasses everything. So Unless attach the file, I couldnt tell you much other then no one has extensive lines in the conf file except my files.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mootmetal:
too bad ...thanks and good luck
[HD2 Android Q&A, Help & Troubleshooting and Genera] kolyan:
works on my n1 and hd2. thanks !
[HD2 Android Q&A, Help & Troubleshooting and Genera] bdpyo:
I've read post #1 the best I could, I have sever ADHD so I may have skipped around a bit. lol

I'm in the North East of the US and I'm currently running a CM7 Nightly and I cannot get GPS to lock for turn by turn Navi.

From what I understand aGPS gives the phone a "roundabout" idea of where I am, which works, I took the phone into a support store and the guy basically told me to call HTC about the problem

My question is do I flash USGPS 1.1 or 1.2?
[HD2 Android Q&A, Help & Troubleshooting and Genera] bdpyo:
ok, after some more reading I found out what I needed the flash, follwed everything correctly and nothing changed.

I someone suggest that I mount my system partition manually from recovery to avoid corrupted files, can anyone confirm this?
[HD2 Android Q&A, Help & Troubleshooting and Genera] bdpyo:
This is all I get, my location, my destination, when I go to navigate, it just sits there.

The longest I've let it sit there is 30 minutes.

Any help is really appreciated.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
There is known issue with my script and certain cm 7 roms. I would suggest to find out what gps lib they are using. Your problem very could be the drivers for the gps. Or you could try the 1.7 hours drivers to see if they help.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bdpyo:
thanks for the reply, I will try another ROM and test is again.

I am on the Inspire, what ROM do you reccomend I try with this fix?

Also, I returned the phone to stock today and took it to the support store and he told me to call HTC with the issue and gave me the tech number.

I was still unable to get a lock after I went back to stock.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Again, The rom I use is the RCMix 2.0 Sense 3.0 by CapyChimp, thats one, the other you can try, is the one By ClearD which I know is successfull. Being that you now told me your on an Inspire, the 1.7 GPS Drivers I was speaking of has nothing to do with you, they are for HD2 phones. I would try a stable rom thats non cm7 as for testing. The two I mentioned are a couple, also some people have stated that there gps wire on their phone was not seatly properly and they opened their phones and seated it firmly (Not that I suggest you do that unless you absolutely know what your doing) and got it to work due to that. But thats something you would probably know by trying one of the two roms I mentioned.
[HD2 Android Q&A, Help & Troubleshooting and Genera] firemanj79:
For northeast in state it sits the ntp for Florida kinda off I think
[HD2 Android Q&A, Help & Troubleshooting and Genera] firemanj79:
As I live in illinois
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Fireman,

I'll double check the zip but I'm sure the 1.2 zip for north east doesn't include florida, florida is considered south east. If your not using 1.2 that would be why. But I'll double check later today.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bdpyo:
Ok, so I just got done a hour long trip, I set my destination before I left and just let it run.

throughout the trip and the farther I got into the country side, I started to get intermittent locks.

once it locked it was great but only would stay on track for maybe 30 seconds then drop again.

during the hour it locked about 4 or 5 times at about 30 seconds a piece.

so obviously the script is working/helping my GPS.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
After looking at the files, I think you downloaded the file NESE.V1.2.zip, if you did, this is why, this was made specifically for a user that travels between the NE and SE. The one you will want to have is the NorthEast.V1.2.zip. One of the reason I abbreviated the other one was to avoid confusion.

*EDIT* Fireman, you are correct, I seem to have mixed up the zip files, Please re-download as I have corrected the mis-naming of the files.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Is this still using the CM7 Rom? I am assuming the answer is going to be yes.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
To Everyone,

Please RE-DOWNLOAD NorthEast.V1.2.zip if you are having issues.

Thanks to Firemanj79 for catching the mis-naming of files. If you were having longer then normal lock times, this could be the reason why. I apologize that I did not catch this.

The problem stemmed from a user which requested a combination of two locations into one file, with the full knowledge that the lock times would be longer. Unfortunately when I made this file, I named it incorrectly, and made the North East file his file, while the file for everyone else was named what his file should have been.

I am sorry for the screwup.

AngelDeath.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bdpyo:
Yes still on CM7, just wanted to report what happened. :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well if you ever try another rom, that is not cm7, I will guess that you wont have that erratic behavior of the gps. But glad its working somewhat for you.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tobiascrystal:
My Bad

Earlier when I was comparing the files I was looking at a download of the older ones. My Bad. I do have another question though is there a "All North America" file I regularly travel all across North America on a fairly regular basis although I am based out of the Southwest?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Zupp34:
Now that you mentioned it I looked at my gps.conf and noticed Florida in there when it was supposed to be for North East.

But I still notice quite a bit of Purdue in the gps.conf which is in Indiana which is pretty much Mid West. Is there a way I can make the satellites be like closer to New England myself?
[HD2 Android Q&A, Help & Troubleshooting and Genera] bdpyo:
that small error that was found, would that have any effect?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
This this one: North America.

Its beta, at the moment, but this encompasses all of the the US, lock times could be slower, because it covers all 50 states, and is meant for people that do travel frequently.

Please post results.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Actually there are 3 in the Correct North East file, which are correct. All the locations are in there, even for new england. If you look at the map on Post#1 you will see how the files are broken up Making it more localized in my opinion would be un-neccessary.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
For you no, it would mean slower lock times, not signals dropping constantly, thats a driver/rom issue.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tobiascrystal:
Man, thanks a lot you are quick. I'll be traveling the next few weeks to philly then Dallas so I'll let you know how it works. I gotta say though I was getting amazing lock times even with Europe ntp servers that my ROM came with! This agps rocks
[HD2 Android Q&A, Help & Troubleshooting and Genera] bdpyo:
thanks for the reply, gonna go grab another ROM and test it out.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tobiascrystal:
I was trying to find an Arizona based NTP server and I found a sight I am sure you are well aware of. but, can I just pick any of the servers from my state from http://support.ntp.org/bin/view/Servers/StratumOneTimeServers or http://support.ntp.org/bin/view/Servers/StratumTwoTimeServers and just use it? does the restricted mean I am not allowed to use it at all?

Also, Does the order of the servers listed in the gps config mean what order they are going to be polled for the time? then if it does not get a response fast enough the phone just goes to the next one and so on?
[HD2 Android Q&A, Help & Troubleshooting and Genera] firemanj79:
Angel thanks man you always back your work and for that I recommend your work everywhere.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I know of that site, some of the time servers were pulled from there. All the time servers in my file are all the fastest response time servers, any that were considered not up to speed was not put in, And yes restricted means you have no access to those servers unless you have prior permission, and normally some have a type of passcode, which the conf file cant handle. And no the order doesnt matter, but I try to keep all the time servers from the same general location together.

I seriosuly doubt you will find any time servers faster then the ones already in the script, understand that responses obviously are in miliseconds, and in my opinion anything approx 90ms or higher is unacceptable to me, but to some it might be, the faster the response time the quicker the lock.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I appreciate that. And I always try to do the best i cant with this, it has had great success and especially with native android phones. I'm just happy everyone is having such great success with it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] chelsea_fc:
where is the download file for world v1.2? in your server i only see for EU and US.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
There isnt one, making a world gps is useless, what are you looking for exactly?
[HD2 Android Q&A, Help & Troubleshooting and Genera] chelsea_fc:
iam looking for asia ver 1.2, thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Asia in general, is located attched to post #1, but its 1.0 not 1.2
[HD2 Android Q&A, Help & Troubleshooting and Genera] Media_Blitz:
Hey, noob here. I'm want to download the us south west zip, but I can't find it. It is not in the first post.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Yes it is, the Big Letss that Say XDA Members Click Here, cant be any bigger.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Media_Blitz:
Forgot to mention that actually. I go on, logged on xda already, then it asks me to log on again, I do, but it doesn't let me...
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
This appears to be a Windows based batch file - i'm only guessing though, but i'm basing that guess on the daemon output log text which is prominent in DOS > ADB.

So to answer your question at a guess this would be run in Windows, if not directly in the tools folder of your Android developers directory? I haven't downloaded this file - if you have an ADB executable in the archive you downloaded then you could pretty much run it from anywhere.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Digital Outcast:
I am getting insanely fast GPS locks now... I'm assuming thanks to this!

< 30 seconds for cold starts

~ 5s re-lock
[HD2 Android Q&A, Help & Troubleshooting and Genera] Kameirus:
yep there is a adb.exe in the zipfile

so i can run it from wiondows and it should work installing it on my phone