yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] corrsea:
Just dropped in to say thanks for your fix. An old version of one of your files has proved to be the fix for issues experienced on the latest leaked ROM on the SGS3 (at least on the custom ROM that I've been using)

:)

ROM Sotmax V7

Kernel Yank555.lu-V2.5
[HD2 Android Q&A, Help & Troubleshooting and Genera] PIRATA!:
Ok....should I add these lines to my gps.conf file after having installed and executed the GPSFix.0.1.apk file???

AGPS=/data/xtra.bin

XTRA_SERVER_1=/data/xtra.bin

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

Please let me know.
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
can i install these files in a native sd rom?
[HD2 Android Q&A, Help & Troubleshooting and Genera] TigerTrader:
Sorry, I just HAD to comment on this!

That is not even close to "the coast of South Africa"!

If you measure it on Google Earth you will find 0°N/S and 0°E is only 2,200miles (about 3,620Km) from the coast of South Africa!

Man you really do need a GPS! Hope you get it working soon.

Seriously though, it means that your GPS has no position data at all and reverts to zeros for lat and long.

In the mid 1970's aircraft used the Litton 72 INS system that only held 9 waypoints that had to be manually entered by the pilots. If they forgot to re-program in flight, the aircraft would turn toward 0°N/S and 0°E as that is the default number. The position was referred to by pilots as the "graveyard".

Seems not a lot has changed in GPS software.
[HD2 Android Q&A, Help & Troubleshooting and Genera] TigerTrader:
A few observations from a relative "Noobie"

Hi folks,

I have read the thread from beginning to end a few times and have run some tests of my own. I thought I would share my observations and comments.

It is a huge pity that the the clash of Titans between AngelDeath and Jaiy ended badly because I feel that Jaiy had some extremely valid points even if the were presented rather harshly. For instance, his comments about the NTP servers led me to do some tests of my own.

What I found is that if you run a "ping" test from the command window some of the servers fail to return the ping. Others ping pack promptly. I would heartily suggest to my fellow forum pals that before using a time server in their script that they run a ping test to see if the server they wish to use is valid.

For example: "ping hk.pool.ntp.org" times out every time so it is useless to use that in a script.

but.... "ping asia.pool.ntp.org" returns a successful ping.

See attached image.

I tested AngelDeath's Asia script from post#1 of this thread and, while it worked, I found the results to be excellent at times and then at other times I could not lock on to any satellites at all, even using a hot start with GPS Status. At times, the only way I could get any signal was to clear the A-GPS data and reload it.

So I decided to test Jaiy's method and ran a modified version of his script. The result is that while lock times are a few seconds slower, the acquisition of satellites appears to be more consistent. This may be due to only using an NTP server that actually responds to a ping test. Perhaps a non-responding server "hangs" the acquisition process? Hmmmm....

I would therefore strongly suggest you test this yourselves and modify your own scripts to make sure you are using a server that is up and running. You can find the servers for your area at http://www.pool.ntp.org/en/

The gps.conf I am currently running looks like this:

NTP_SERVER=asia.pool.ntp.org

INTERMEDIATE_POS=1

ACCURACY_THRES=5000

CURRENT_CARRIER=common

DEFAULT_USER_PLANE=TRUE

REPORT_POSITION_USE_SUPL_REFLOC=1

I use ADB to push the file, clear the cache and Dalvik cache and then reboot. While the lock times are not staggeringly fast they are very acceptable and the results seem to be fairly stable and consistent.

It took me a while to get ADB to work before I figured out that USB Debugging has to be turned on.

As I said, I'm still a Noob! :confused:

I will be pleased to hear if anyone else has used this method and any comments/crticisms so we can all learn and hopefully move forward with faster GPS lock times. Perhaps this data can be merged with AngelDeaths work to produce a killer conf file. I hope so!

Cheers!

Phone Samsung Galaxy SII I9100

Android 4.0.4 / Rooted

Kernel Siyah v5.0.1

P.S. For the prurists: yes I know it's a config file, not a script!
[HD2 Android Q&A, Help & Troubleshooting and Genera] mrdoc151:
Not sure if I am missing something but I couldn't find any working link to ftp to download the new versions as mentioned in the post#1. I am using jellytime on HTC inspire and can not lock in to any gps despite using few gps patches that are out there. Please help me.

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] carl1961:
download the fastergps and see if that helps (google market)
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
FTP Service fell asleep, dont know why.

All links are up and running now.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mrdoc151:
I am afraid, it is still asleep.

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Nope its not asleep, the hard drive is giving me problems, working on the system now, will post when its back up.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
System fixed and operational again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mrdoc151:
I was able to grab northeast v1.2 before it went down again. Didnt fix my GPS issue though. It keeps searching..
[HD2 Android Q&A, Help & Troubleshooting and Genera] a7medfx:
Which region should i choose?

Can some one tell me which region I should choose for Saudi Arabia or Middle East. Should it be Asia or Africa?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
THE SYSTEM IS CURRENTLY OFFLINE UNTIL MONDAY.

The computer finally bit the dust after nearly 12 years, I will be replacing it over the weekend and everything should be operational again, please be patient. Nothing was lost, the motherboard finally had enough.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Juaniiito:
I have a Htc desire s, I've chage my rom recently to 4.2.2 ([ROM][19 FEB 13][JB 4.2.2] Android Open Kang Project - R5.0 - SAGA Edition | Aroma) The only fix I've founded is the gps... that seems to be always off. :_( Thank you for the post, I have to try this patch to see what happens! ;)

Thank you for the post.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
System back ONLINE, Happy Downloading!
[HD2 Android Q&A, Help & Troubleshooting and Genera] JohnyTranzistor:
Thank you for your amazing update for my GPS.

Now i have fix in 5 sec outside and 1 min inside. :)

Good work
[HD2 Android Q&A, Help & Troubleshooting and Genera] sachin.gokhale:
ZP100 - India

Hello, Thank you for all your work.

I installed Asia.zip to my ZP100. I am living in India. But still GPS doesn't lock.

I am unable to access your ftp server. So I am unable to flash special file for India. Could you please help?
[HD2 Android Q&A, Help & Troubleshooting and Genera] fulishone:
Download of Version 1,2 per FTP is down
[HD2 Android Q&A, Help & Troubleshooting and Genera] yousufbk:
I think the "Faster Fix " application in google play does the same thing and is better n easy to use.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
System it's up and running has not been down, try again.

Faster fix doesn't do the same thing, my file it's a bit more in-depth.
[HD2 Android Q&A, Help & Troubleshooting and Genera] sachin.gokhale:
Ok. Let me try and give a feedback.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jedro:
gps

Only for information Croatia.zip thought CWM 5.0.2.8 can not be installed .

Extracted gps.conf and replaced original ... set permission.

After that 1 start - 30 seconds to lock satellite. Second start 5 seconds.

Excelent job thank you.

Mobile Samsung Galaxy Ace s5830
[HD2 Android Q&A, Help & Troubleshooting and Genera] RazorX663:
I installed the Europe pack, added Europe and pl.pool supl to the gps.conf, and i still can't get a connection with ANY sattelite on 2.3.7 Artemus MIUI on my HD2

What could i be doing wrong?
[HD2 Android Q&A, Help & Troubleshooting and Genera] rusli77:
can not install from cwm

dear sir,

i can not install the file asia.zip i download from cwm. i am using cwr ver 4. and my phones is samsung galaxy 5500, i am from indonesia.

it says :

Finding update package ...

Opening Update package ...

Installing update ...

E:Error in /sdcard/Asia.zip

(status 0}

Installation aborted.

what must i do so i can install this asia.zip ?

is there any alternative for gps fixed ?

thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] mhmtemnacr:
same problem for Europe on galaxy S3 mini
[HD2 Android Q&A, Help & Troubleshooting and Genera] xmagicboyx:
It works for all countries (worldwide) or for specific countries?

thanks.
[HD2 Android Q&A, Help & Troubleshooting and Genera] sucksbie:
FTP links not working

I can't seem to access the FTP server, getting a "problem loading page" message. Any idea where I can get the Europe region v1.2 files?

Thanks in advance!
[HD2 Android Q&A, Help & Troubleshooting and Genera] lunito:
Hello, I would like to download the script from your FTP server but it's not loading. The FTP is not responding :crying:

Any idea how to download the script for my country?

Thanx:cowboy:
[HD2 Android Q&A, Help & Troubleshooting and Genera] rifrish:
Sir, i tried install the .zip Asia.zip with twrp, and it seems failed.

It says...

Installing sdcard/Asia.zip

Checking for MD5 file...

Skipping MD5 check: no MD5 file found.

E: Error executing updater binary in zip '/sdcard/Asizp.zip'

Error flashing zip '/sdcard/Asia.zip'

Did i miss something sir?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
The FTP is up and running, you should have no issues.

The Zip files were made originally for CWM, not TWRP, it would be best to extract the file from the zip file and physically move the file to the correct location.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Canadaka:
I tried installing "North_America.zip" via "ClockwordMod Recovery v6.0.4.8" and I get the message:

E: Error in /data/media/0/North_America.zip

(Status 0)

Installation aborted
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Extract the file from zip and push into the location, the clockwork mod version is out of date to work properly on some.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cortiis:
The ftp link is not working, ineed zip for India. Can you please guide me?
[HD2 Android Q&A, Help & Troubleshooting and Genera] epr:
Can't connect to FTP.

Please fix
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Thanks for letting me know, construction crew knocked out the verizon line in my area, its fixed now, and FTP back up.
[HD2 Android Q&A, Help & Troubleshooting and Genera] astroidea:
I tried doing this with root explorer. I can't seem to modify the original gps.conf file. When I try to copy the new gps.conf file, it says transfer failed. Root explorer asked for permission for superuser access and I said yes.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Thats a permission issue on your phone, double check to make sure you are rooted and you gave superuser permissions to root explorer, you can check this by going to the app and double checking.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
AS OF 2/18/2015 THE FTP HAS BEEN TAKEN OFFLINE.

For anyone wishing to continue downloading the GPS files, ALL the files have been saved to a self-extracting folder and is now being hosted offsite. Clicking on the "Members Here" will take you to the new location.

Thank you to everyone for making the GPS files a success.!
[HD2 Android Q&A, Help & Troubleshooting and Genera] rolin1984:
it sends error updating binaries
[HD2 Android Q&A, Help & Troubleshooting and Genera] Aquaster:
Hello friends,

I have a similar problem. I tried so many GPS.conf files but problem not solved.

APS "GPS fix" found 22 satelites but do not used anything. Why?

If were found some satelites my GPS device is ok, that?

This problem can be solved with flash of RADIO.

Can you recommend any file to flashing?

I am founding so long and notthing suitable.

My cellphone HTC M7, Rooted, S-OFF, CID-11111111, HBOOT 1.61.0000, radio-4T.35.3218.16, Lollipop, SW 7.17.1540.51

Thank you so much for help
[HD2 Android Q&A, Help & Troubleshooting and Genera] oloff:
Any fix for this, I have the same error
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
At this point you would need to extract the gps.conf file manually and place it in the correct location "system\etc"
[HD2 Android Q&A, Help & Troubleshooting and Genera] icedzed:
umi super with latest twrp, error flashing ITALY.zip, how to fix it?
[HD2 Android Q&A, Help & Troubleshooting and Genera] mcomco01:
hi.I Looking for Italy.zip. where I found it?

MCO
[HD2 Android Q&A, Help & Troubleshooting and Genera] Brijeshkol:
Can any one provide me save game file of angry bird 2 game please......I am a non spender so I am not able to upgrade my birds ...please can any on help me
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Normally you suppose to have a direct line of sight of the sky when doing gps. I did try getting a gps fix while I was driving, took 46s to get a lock @45mph so dont know how much truth their is about being on the move.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bogdatov:
Hello. All my tests are in Tampa, FL. Outdoors but in a car with roof :)

When I was at work for 4-5 hours it was indoors and phone has been periodically connected to charger (in charge only mode). Later on I tried it outdoors. All tests I do are outdoors.

Also today I tried it again with in different location (20 miles from previous - still Tampa, FL) and got cold start of 180 sec with hot-fix of 7 sec.

Using imilka vision sense 4.1 ROM

Hope it helps.

http://xdaforums.com/showthread.php?t=898708
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well 180sec is 3mins, which i did state, but that really seems to go the extreme. I'll try the rom out on my test phone and see, but I have a strange feeling not having any close time servers near you that are accurate has something to do with it. working on an alpha script, will pm you when its ready to see if that might reduce your lock time of 180sec. 7sec hot fix, cant do anything about :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] bogdatov:
Thanks for your effort !

I'm happy with 7s part too :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] law16:
i live in Massachusetts which one of these files should i flash?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
USA-Mid East
[HD2 Android Q&A, Help & Troubleshooting and Genera] apallohadas:
The Bat file worked for me.
[HD2 Android Q&A, Help & Troubleshooting and Genera] andrewz182:
ok I'm pretty new with all this GPS stuff, but I like to think I'm a reasonably intelligent person.

this is just my own curiosity that pushed me to make this post:

why is it that the GPS in the android NAND roms don't work the same/as well as the GPS in other phones?

If they all just use generic code, why don't all GPS users suffer from these same issues? do ALL GPS's (garmins, tomtoms) have to have specific code for the region it's sold in?

why doesn't the GPS work like in normal android phones? (I'm guessing this has something to do with the coding, that it's not transferable or something?)

I'm not trying to sound like a smartass or anything, just genuinely curious.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
By no means when I tell you this am I a guru, but I have done enough reading that I can give you a basic run down. GPS's on our android phones you have to remember arent meant for us, in short Our phones are WinMo phones using a WinMo driver. Now at the same time, our phones do still use agps in WinMo as well. In android at least in the HD2 the driver is most likely from a DesireHD being used as the closest match to our phones based on hardware, so there is a margin of error there. (BTW EVO GPS driver works too, same margin of error).

Part of the reason the generic code is being used in Android is cause android is suppose to be always on just like the iphone, so the generic code doesnt matter cause you in essence are using data and the gps itself, hence why google wont work without either wifi or data. Also the generic code all points to google, why not its a google phone so to speak. I have an HTC Aria which I am going to try and see what kind of success the gps will give me straight out of the box without any modifications.

As for tomtom, garmin and the like which are standalone they use completely different code, but they are solely dependant on MIN 3 sat signals, even 3 sometimes has issues, thats why they say 4 is best (its actually from the code I saw) They have no agps, and one of the main reasons standalone takes far longer then phones to pick up signals. If your really interested, I can provide you some links for further reading.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Kameirus:
sorry Guys its been hell day lol

ok tried on the train leaving the chelsea station and it took over a mniute

tried again outside NS and was like 28 seconds

but it only locked on 1 sat

kinda wierd lol maybe boston is like the bermuda triangle
[HD2 Android Q&A, Help & Troubleshooting and Genera] andrewz182:
very informative response, thanks.

so to summarize: (and to clarify) the GPS in our phones are manufactured specifically for a certain OS (windows) and have drivers written specifically for windows.

so the GPS in an hd2 is different (from a hardware perspective, not software) from the GPS in say the htc evo, desire, nexus 1, etc?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
hmmm still you're getting better timing than me though..probably because chelsea is outside the city....but kinda strange you're getting lock on 1 sat :eek:

I tried again on road in quincy took around minute and half there, guess there's somethin about this area :p but still great work...previously I was getting hardly any lock..
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
I thought GPS on phones too required min 3 satellites to lock, atleast that's the way it used to appear in WinMo. GPStest won't lock until 3 satellites won't cross the threshold :confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Kameirus:
hmms i will have try it again on friday if i go back into boston
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Yes, based on chip model, & manufacturer. Do take into consideration sometimes the same chip can be used on another phone, like the example of the Desire HD by hardware comparison is suppose to be the closest match.

That is correct, you need a MIN of 3 to triangulate your position, no different then a standalone GPS unit, the difference is the phone have agps and wifi to aide the gps chip, where as standalone does not.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
Heard there is Android version HTC Haushan in China, i guess it would be the closest, considering its Chinese HD2 and earlier it used to run WinMo :confused: . You should definately look into that phone's ROM gps libraries. Maybe it will contain solution to all the issues :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Sorry to all, I know I said I was going to pm an alpha script for people who had trouble to try, but one its been a little crazy of a day, and second the alpha script is causing me to have some problems getting a lock myself. So either the command codes are not working, or if possible, they are in the wrong sequence. but still working on it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Already got the rom and looking thru it, it was posted earlier today, there are files there that I havent seen in our roms, but checking it against a HTC liberty (ATT Aria) that I have, they arent in there either. I know the china one comes with agps files pointing to china mobile communications but I dont know how reliable it would be for the states, but trial and error.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vista1984:
super nice!! in new york, using jaw miui 2-4, gps locking in 3 min ...

before this, edit gps.conf never work. i was only able to lock the gps twice , by luck..in 3 months

now i have one more reason for not going back to wp7 which gps works perfectly.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Limited_One:
Hey thanks replaced the file in the system but it still isnt connecting to GPS... Im in New Zealand... Is there anything else I can do? Thx heaps!
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Which GPSconf did you download? Oceania? Give 3 mins before giving up. I am in the process to making 2 things, narrowing down to country and a better script. But give it 3 mins and report back.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dung8604:
Man you're awesome, AngelDeath.

Still not getting any improved results, but I'm okay with a moving lock within a minute or two.
[HD2 Android Q&A, Help & Troubleshooting and Genera] vista1984:
ok, no luck this morning. i wait 5 min and gps fail to lock.

gps test show no satellite be found.
[HD2 Android Q&A, Help & Troubleshooting and Genera] wbonney4:
GPS Fix

The fix worked great on HyperdroidGBX5.0 about 35-45secs
[HD2 Android Q&A, Help & Troubleshooting and Genera] xjjk:
Very nice, thanks! Just copied it over using root explorer. Wicked fast lock.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
I can confirm I have tested the UK and Local UK mod on the MDJ CM 6.2, and the UK (not local) mod on todays unofficial CM release.

I am receiving no lock in GPS Status after several minutes.

As this includes the original system files - i.e. I haven't copied across the "fixed" library files yet and nobody else with this ROM seems to have done either, I can only assume my phone has other issues that nobody has yet addressed.

It is not the GPS chip as I have had GPS working sporadically in Android and quite well in WM 6.5.

As I am no newbie to the GPS issues on the HD2 under Android I am going to confirm this has nothing to do with the gps.conf although the work being done here is excellent and I would suggest anyone use this modified file.

EDIT:

AngelDeath, what do you feel the chances of a Radio change fixing this are? I'm on 2.15*

ANOTHER EDIT:

I downgraded to the nightlies from the 14th, lots of talk of GPS not working for the 15th - turns out the nightlies from the 14th works perfectly. GPS fix without your gps.conf from cold start in under 1 minute.

Same figures with the new gps.conf - this version of the ROM must have some good libraries.

Keep me up to date if you need any further testing.
[HD2 Android Q&A, Help & Troubleshooting and Genera] htcvidi:
I had slow fix (5 to 10 minutes) with my old rom (prj Clean Desire v0.3.2) even with the gps.conf from AngelDeath.

I installed yesterday the nand Hyperdroid and since the fix is much faster, often less than a minute after cold restart.

This suggests that rom is also important to have quick fix.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Limited_One:
I am using the Oceania file... on my hd2 gingerbread... have tried many times, I got it to work once! otherwise it just wont work at all? hmm

Its now worked twice... and when it does work, it works quite quickly and well...

Am trying new gps software... some seems to be working, some not.. esp the built in google doesnt work.... will keep experimenting...
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
Works Super fast even when i keep gps off and turn on when need

ROM:MIUI stock 1.12.11 with gps status.