yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
Still no luck :(

Any ideas?

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] htcvidi:
I downloaded portugal file few minutes ago with url http://173.72.6.48:2549/eugps/portugal.zip and it worked fine.

Here is the content of portugal gps.conf file from AngelDeath.

NTP_SERVER=ntp.ist.utl.pt

NTP_SERVER=1.pt.pool.ntp.org

NTP_SERVER=europe.pool.ntp.org

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

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

INTERMEDIATE_POS=1

C2K_HOST=c2k.pde.com

C2K_PORT=1234

SUPL_HOST=FQDN

SUPL_HOST=lbs.geo.t-mobile.com

SUPL_HOST=supl.google.com

SUPL_PORT=7276

SUPL_SECURE_PORT=7275

SUPL_NO_SECURE_PORT=3425

SUPL_TLS_HOST=FQDN

SUPL_TLS_CERT=/etc/SuplRootCert

ACCURACY_THRES=5000

CURRENT_CARRIER=common

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_USER_PLANE=TRUE

REPORT_POSITION_USE_SUPL_REFLOC=1
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
Can you please upload the .zip file?

I'm not at home right now.. I would be very appreciated!

Thank you so much ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] htcvidi:
Here is the file.

Be careful, in the second post of this thread, Angeldeath writes that the script doesn't seem to work fine on HyperdroidGBXV7, your current Rom. !!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
Thank you so much for the upload! :)

Yes, i'm aware of that.. But i'm still hopeful that it will work, essentially because every ROM behaves different in each phone.
[HD2 Android Q&A, Help & Troubleshooting and Genera] leoaudio13:
Thank you very much. Testing now! I'm in Viet Nam
[HD2 Android Q&A, Help & Troubleshooting and Genera] dredman:
Thanks. Gonna give it a shot.
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
Not working on hyperdroid v7 (as stated on first page) :(

@pongster

Any idea why it doesn't work on hyperdroid v7? Any chance of fix?

Thank you
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Being that this a Gingerbread rom, almost all gingerbread roms have this issue, sometimes its works sometimes it doesnt, unfortunately my best advice would be to speak to the chef about this, but I wouldnt get your hopes up. Most of the time its due to a driver issue, like libgps.so but being that its hit and miss sometimes replacing that driver makes the rom not boot. So best suggestion would be to speak to the chef and see what you can do if anything.
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
this can be used with this rom? http://xdaforums.com/showthread.php?t=909096&

anyone know why status gps won't download the xtra file with wifi?
[HD2 Android Q&A, Help & Troubleshooting and Genera] augustopacheco:
the script doesn't work with "imilka's RAM Desire HD v1.0 [A2SD][K:rafpigna 1.7][crazy fast :P]" - after 4 or 5 minutes i don't have any fix, i have restored the rom and simply past the file gps.conf and he work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Give it a try, I dont think I had any good results at all, I think the version i tried was 1.7 and had good lock time, but the version after 1.7 I couldnt get a lock at all even without my scripts, but I am also not a big fan of Gingerbread either. But backup your current conf and try it out and post back the results, good, bad, or ugly.
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
anyone know why status gps 3.7 won't download the xtra file with wifi?

wat about this?
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
This link to the thread discussing your question may be of some help: http://xdaforums.com/showthread.php?t=937407
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
there isn't solution there

here say me that is needed a data connection for download agps, but i tried with 3g and wifi but don't download nothing
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
3.7 does download agps and xtra.bin thru wifi, What makes you think otherwise?
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
After a couple of reboots, everything is working great so far :D

It takes ~ 100 -120 seconds (not that good but better than previous) to get the first lock.. next locks appear within 5-10 seconds.

I just noticed one "problem": i can only get a fix on 3/4 satellites max.. with previous script version, and using the same rom, i was able do get ~ 6-7 satellites every time i got a lock.. Any way of fixing this?

Anyway, thank you so much for your great job! ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] WarlockW:
Um .. Use the previous script version ??? LOL

If That One Worked .. Use it!
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
Hm? First of all the reply was directioned to AngelDeath, not you.. so if you have no intention of helping don't even bother replying.. And second, if a newer version came out it should behave better than the previous one.. This one gives me faster lock times but less number of gps satellites.. so i only asked if there were something i could do to improve the number of satellites fixes, because i dont want to go back to the previous script that gives me worse locktimes. Next time just reply if you have something helpful to say please.

Thank you
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
h20pt, easy buddy, he's only trying to help. Tell me what script you were using before using the Portugal one. I will look at both and see. Also give it another try tomorrow, just to see if ther sats increase, the reason I say this is cause the sats revolve around the earth (Or the earth revolves around the sats) and depending on the time of day, this number can easily change.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pk2_76:
Hijo, fiestas thanks dude this work os awesome. Could you peleasen add Argentina? Thanks again

Sent from my HTC HD2
[HD2 Android Q&A, Help & Troubleshooting and Genera] leoaudio13:
I still have very slow GPS fix in GPS status ( takes about 10 mins for a lock), though when i open Location, it locks instantly. I'm using CMYLXGOroms.Stock.Desire.HD.v1.1.5n.NAND.RMNET.NO-SQUASH-RAFPIGNA.1.7OC_CWM on HTC HD2 Leo T-Mobile, my location is Viet Nam. Any idea ?
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
Thanks ill keep track on thread for those updates :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
here say "is needed a data connection for download agps"

and age gps is 0 :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] htcvidi:
It's fun.

Two days ago, i removed gps.conf file from system/etc and now I have a quicker fix.
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
I was using the major script for europe before this one.. But i'll give what you said a try as soon as possible :)

Thank you so much for your help
[HD2 Android Q&A, Help & Troubleshooting and Genera] TontonToulou:
Thanks you.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jafru:
ROMS FAILED:

imilka's RAM Desire HD (Erratic lock times for two days)

HyperdroidGBX 7.0 (Have not gotten any locks for 10 minutes)

but I got my first lock in <3mins on HyperdroidGBX 7.0.........:rolleyes:

mine is india.zip

hope it helps..
[HD2 Android Q&A, Help & Troubleshooting and Genera] wanahave:
Thanks a lot. Unfortunately I have the same download problems as reported by other guys. Both my Phone and desktop PC won't let me connect to your server. I've tried the ip address also with no luck.

I'm interested in Netherlands.zip :) Is it possible to PM me with the file attached? Would be great.

I've flashed your Europe.zip before and it gave already remarkable improvement.
[HD2 Android Q&A, Help & Troubleshooting and Genera] boomboomer:
Using darkstone SuperRAM FroYo v1.5 [kernel: Hastarin custom] and your new gps.conf file for the UK I'm getting fixes of 33 secs cold and 11 secs warm.

That's an improvement on several minutes (if at all) with the stock file or your first conf file.

However, I have also amended the threshold line to read:

ACCURACY_THRES=10000

Accuracy is still 1m and I'm loving jumping the final hurdle to make Android usable all day.

Thanks for your contribution to the HD2 AngelDeath.
[HD2 Android Q&A, Help & Troubleshooting and Genera] WarlockW:
Yea two days ago .. I changed it to ACCURACY_THRES=10000

Thought I would Try ..

I'm getting fixes of 30-45 secs cold and 3-7 secs warm.

Not Bad ..
[HD2 Android Q&A, Help & Troubleshooting and Genera] zolom:
Is there a file addressing the Middle East area?

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I'll add one for Argentina, I didnt make one only cause their isnt many local time servers in that area, and I figured South America would be better. But I'll make one later today and post it up.

Part of the reason you are having trouble from my guess is that Viet Nam has only 1 local time server, the rest is based from the local usual pool. When you have no real time servers locally it can increase your wait time. If anything Try Cambodia and Thailand and see if that helps. If not I'll make a script of another idea that you can test, but try those two first and get back to me.

I normally have my wifi on all the time, and I know when I first run gps status it the first thing it does is download the agps. If you click the home key and then go to tools then manage A-gps list, click reset, and then do it again but click download, it should download it.

Glad it works for you, unfortunately it didnt work for me and quite a few others, but again no disrespect to the chefs, as parts of the rom get updated obviously anything can change and good roms can stop and the ones that didnt work can work. The list is merely for Noobs to avoid asking or thinking it has something to do with the script. Alot of the gps has to do with the drivers, so its not a permanent list.

I would really love to know why some people are having issues downloading from my site, only thing I can say is if any of you have popup blockers on, because I dont have popups, but IE when trying to download the file usually will have the goldbar at the top asking you what to do, but the page would be blank. But here is the netherlands for now let me know how it works.
[HD2 Android Q&A, Help & Troubleshooting and Genera] gianmich:
can you release also for cyprus??
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
After a few readings and google searches, i was able to successfully change/add a few things to my gps.conf..

I'm now getting first (cold) locks within 35-40 seconds (most occur within 15-20 seconds) and subconsequent locks within 3-10 seconds.. That's a HUGE improvement over my previous lock times :D

I would like to ask you (AngelDeath) if you could create a CWM flashable file with my gps.conf and upload it to your main page, in order to share it with other PT users, so we could compare if they're having the same results as me. After all, the point of this fix is to become the best possible right? :)

Thanks

EDIT: I forgot to mention.. All my tests were made from inside my house near the window with a 95% cloudy sky (if that matters).

EDIT2: Also, my number of satellites went from 3-4/6 to 5-7/9.

EDIT3: I'm now away from the window sitting in my couch (~3m from the window) and i'm still getting the same results lol.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Yes the Accuracy Threshold being higher over 5000 can get you quicker locks, the problem that lies in this is the signal strength and quality. I dont know exactly the scale but I do know you can go down to 100, but it seems the lower the number the less locks. The cause of this is cause it is a filter weeding out weak and inconsistent signals. I'll attempt testing out @10000 and 5000 and 15000, and see, but my guess is the weaker the signal it could increase lock times. I would suggest testing that out for two days, 1 first Morning and night, 2) afternoon and evening. As to why, its because since the earth is on a rotation the sats are never in the same place at any given hour of the day, for example by theory 1pm today the sat would be in the northern part of the sky (Yes there are multiple sats, just making an example) at 6 pm, that same sat is now eastern part of the sky, it wouldnt be back at the northern sky until 1pm the next day.

Pick a country.

Cyrpus I dont believe has any time servers, and looking at the map, you would have the same dilema as Hawaii in the states not being on the mainland. My suggestion would be to use either the asia 1.0 file, or pick a country closest to you and try that. Unless you can find me timer servers (preferribly tier 1 and 2) there is very little I can do.

Attach it here and I'll take a look and make one, but you should try the one I attached a couple of posts up at your request and compare.
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
Hm.. I've read the thread again since page 20 and i didn't see any PT file attached by you.. Perhaps you're mistaken with the HAWAI file you did upload :p

EDIT: I've changed ACCURACY_THRES to 100 (ACCURACY_THRES=100) and i'm getting even faster first locks (within 15-20 seconds).. Error goes between 1/2m (mostly 2m). Warm lock times did raise a little though (<15 sec).
[HD2 Android Q&A, Help & Troubleshooting and Genera] augustopacheco:
is "ACCURACY_THRES to 100 (ACCURACY_THRES=100)" or 10000?
[HD2 Android Q&A, Help & Troubleshooting and Genera] h20pt:
I've tried with both 100 and 10000, but i'm getting better results (faster first locks - <15 sec) with 100.
[HD2 Android Q&A, Help & Troubleshooting and Genera] gianmich:
sir cyprus is in europe:D
[HD2 Android Q&A, Help & Troubleshooting and Genera] hayyaan:
Any chance for a .zip for Pakistan?

I just installed Asia.zip, will report back after testing.

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] feloccio:
I installed the new fix for germany and i got over 3 min for first fix. Then i installed the europe fix again and got 45s to first fix. After that i installed germany fix again to see how long it would take now. Result: 20s

That means that a reboot actually wont reset the agps data. (What i thought until now)

Is there a way to wipe all gps data in order to compare the locktimes correctly?
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
I believe quick gps has the option to do this. It's under the "manage a-gps settings" under options.
[HD2 Android Q&A, Help & Troubleshooting and Genera] zolom:
Is there a chance for an Israel.zip?

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Sorry wrong person it was meant for wanahave :D

Not according to my map, look again, its an island in my world map.

Have to look, not sure, but I think the answer is no, no time servers local to your area

Correct dkl_uk.

No. have to use local pool, no timer servers available for public use.
[HD2 Android Q&A, Help & Troubleshooting and Genera] gianmich:
I know sir i am from cyprus:D an it belongs to europe! Maybe you can give us a middle east solution?? All the servers of the area?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
For cyprus, you can either use Europe, or your closest neighbor, turkey, unfortunately there is nothing closer to your area at the moment.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
ARGENTINA Attached, please post results to know if it works or not.
[HD2 Android Q&A, Help & Troubleshooting and Genera] wanahave:
Thanks for the Netherlands.zip. First cold start gave fix in 2 minutes. Hot start within a few seconds. That sounds good, but I've only tested it on the balcony yet :D.

I will do some field tests the next few days and report the outcome later.

By the way the download issue was a network security thing at my work. Downloading here at my home PC gave no problem. Although I couldn't download it with my phone (HTC HD2 with CoreDroid DHD v1.4).

Thanks again,

Cheers
[HD2 Android Q&A, Help & Troubleshooting and Genera] htcvidi:
I have some questions about ntp_server.

Does the time is synchronized when andoid has booted or when a Gps Application is launched?

Does the synchronisation synchronizes internal clock (date and hour of the phone) ?

I ask it because i made some tests and when i set my internal clock to a bad hour/date, after restart the date/hour don't change. Same pb when i launch a gps application.

So, i ask myself if sync really occurs or if gps chip has its own internal clock ?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
Changed the accuracy threshold to 10000 and so far the results have been great...I'm finally getting a lock under 2mins :D

Though this is only for morning..will try it out again in evening and report back..

Also will try it out with 100 later on..
[HD2 Android Q&A, Help & Troubleshooting and Genera] feloccio:
Do you mean quick gps info from the market? It has no settings at all:(

EDIT: Now i see it, maybe you meant gps status. it has this option, thanks!
[HD2 Android Q&A, Help & Troubleshooting and Genera] htcvidi:
Gps Status
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
As far as I know, the gps chip on our phones have no clock. the ntp time servers are used to locate the gps sats and need 3-4 signal locks to triangulate your location. You time is suppose to be controlled by your network of your service provider. The GPS Sats themselves are atomic clocks. That being said, If you change the time on your phone, I dont believe it would correct it, because its not being used to check time, but to find a gps signal. But I can be completely wrong.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lowrider262:
is there a way to install US-Midwest on a DFT Rom? a .bat file possibly, or can I just install CWR and install .zip over it?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
If your using DFT's rom, then thats not a CWR possible. You can use Warlocks file (Link in post #2). Download the file and download the gps file you want to use and when you unzip warlocks file put the file into the folder (Replace the one thats in Warlocks) and then double click the bat file, this will push the file to your phone. Reboot and test.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lowrider262:
awesome! thanks for the fast reply. just one more question, do i run the file from the tri-color screen (bootloader i think its called) or from magldr usb flasher?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Warlocks file is windows based. You run it thru Windows. And your phone doesnt need to be in any mode. Just plug the phone in and choose charge when it asks you what type of connection you want in the menu.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lowrider262:
thanks for the help man, got my gps workin finally:D
[HD2 Android Q&A, Help & Troubleshooting and Genera] lolz mclollerson:
I'm still not able to get a GPS lock. I'm located in St. Lucia and using the South America zip. I flashed the zip and it hasn't helped one bit. I'm using Typhoon's CM7 2.5 ROM with the stock kernel. Any help would be greatly appreciated.

edit: I tried FasterFix and that hasn't helped either. I'm at a loss.

edit: Tried the North America zip since that includes Venezuela(geographically closest country out of those available) and still no luck. :-/ Any suggestions?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Olioaglio:
With 1.1 it really seems to have improved gps fix times here in germany. Cold start under 2 minutes every time I tested and hot start within 7-10 seconds.

Cheers, Olioaglio
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I will try and make one for you, but be aware, there is really no time servers in your area, but in the meantime Do me a favor and try the Africa File, I know it sounds crazy but just try, because you are in the same boat and Hawaii, and the user from Cyprus, your not a mainland. But the only time server I found for your location is based in Africa, thats why I suggested that, also, do be aware, gingerbread roms have issues with gps. I am working on the next version, which I am hoping will be better then the current one.

Try it and get back to me, but wait 5 mins for the first lock, and do not let the phone go to sleep during this time.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lolz mclollerson:
I tried Africa waited 12 minutes and never let the screen sleep and still didn't get a GPS lock. I hope you're able to find something. Thanks for your help so far.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Give me till tonight and I'll see what I can do, but no guarantees. And you have used gps status as well right? instead of faster fix? And you do know not to use faster fix with my script cause it will erase all the settings in the script (Just making sure).
[HD2 Android Q&A, Help & Troubleshooting and Genera] lolz mclollerson:
Yeah, I didn't touch FasterFix and had GPS Status running.

I appreciate your help, hopefully you can come up with something. Thanks!

edit: Well I got it working. It seems I had to walk a good 200 ft away from my house to get a signal and that did it. BTW, this was using the Africa.zip. Thanks for the help AD.
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
Another app you should try for free off the Market is GPS Fix. Like GPS Status, it is an aid to get the first lock and then every lock after is much quicker. Also try GPS Toolbox that is free off the Market. It will quickly let you know the signal strength and number of satellites in your location. I would do this first to be sure that you have a satellite signal in your area. Because if you don't, then all the changes to your gps.conf file won't make any difference.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Good advice, I was going to mention gps fix, I was talking warlock about this today, If I am right doesnt GPS fix also show you each sat as it locks unlike gps status that shows them after the lock? Because I'm beginning to think that might be a better way to view whats really happening instead of behind the scenes cause this way you see the sats.

Thanks for beating me to it Slbenz :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
AngelDeath,

Actually, GPS Fix doesn't show the number of satellites, it just tries to get a fix without shutting down, up to 60 minutes that you can program. GPS Toolbox lets you know how many satellites in your area and how strong the reception is. This app seems to quickly give you an answer if the GPS signal in your location is adequate or not. It is sensitive enough to know if you have a poor signal because you are indoors vs. a stronger signal because your outdoors. If you are looking for an app that can show you satellite locations and what is in your area plus signal strength, then GPS Test can do that. Hope this clarifies the various apps available on the Market for free to try.
[HD2 Android Q&A, Help & Troubleshooting and Genera] boomboomer:
Why does no Android app show the satellite detail that most WinMo apps do? Until a lock is obtained Android shows no detail at all, which can make you give up. A least in WinMo you can see when each satellite appears and you can then understand why it is taking so long to fix e.g. there are only 3 satellites visable.

I still think there is something very wrong with the GPS drivers in the available Android builds, with Angeldeaths hard work fixing the problem from a timing angle but the underlying driver problems causing the unpredictable errors we see.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tdizzle404:
Thanks man works perfect I wish all fixs were this easy first lock was 45 sec with wifi on second lock was 10 sec with wifi off thanks bro!