yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well, I would first see if there is a stock android rom that is already rooted (I am going to assume at the moment the phone is a native android phone), if one exists then I would try it that was before using a custom rom, to be sure your gps does work. Like for example I have the inspire 4g native android and before I changed roms, I made sure with it stock and unrooted I had gos locks, then I rooted and s-off-ed the phone and had the original rom back inplace except it was rooted, tried again, knew for sure it was working before I moved on to a custom rom.

By doing it this way I elminiated not knowing what would be the cause. And yes if you backup using cwr it should restore everything back, partitions and all.
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
i see, but also tytung posted a similar file for xtra fixation, what is better?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Endless7:
Great. Thanks for this patch.
[HD2 Android Q&A, Help & Troubleshooting and Genera] crypted:
I have an INSPIRE 4G and am wanting to use this as a solution for GPS.

Could you tell me if 1.2 will work in other regions when traveling outside of my region in the USA? Or, do I have to flash a new region ZIP each time I travel? I live in Oklahoma, but I frequently travel to the east coast (Florida, D.C., and New York).

The information on 1.2 implies there's a general ZIP for North America, but there isn't. The only North America ZIP is under 1.0.

This is stressful trying to find the 1.2 North America!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] flappjaxxx:
Flash This .zip file from recovery and reboot. I created an apk frontend that will activate any of the USA Region configs on the fly. Once flashed it will install ADF-GPS Fix app in your app drawer. I use an Inspire 4G myself and this has helped me. This will install all of AngelDeath's configs and you can change them on the fly without having to flash anything else. Hope this helps!

Edit: this does require you grant it root access

Edit: This zip file is set up to work on Inspire 4G/Desire HD so it will need to be tweaked to work on other devices I'm sure.
[HD2 Android Q&A, Help & Troubleshooting and Genera] crypted:
Cool. Now, some devices (like older GPS units) need to "learn" satellites and their information. This is necessary even if you install GPS Location Updates.

Do these Android phones learn GPS locations and satellite data over time?

My thoughts would be that the GPS needs to be left on for some time to learn what's out there if this is indeed reality.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Sorry for the late reply, but there is no 1.2 North America. I am currently trying to work on a project to make this process for the GPS simplier, but having no programming knowledge in Android, it is taking some time. Please be patient, Flappjaxxx has given me his current work to see if I can complete mine, hopefully I can have some success.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Oleschuldad:
flappjaxx...I get error message unable to open zip file.. or that it is a bad zip file, etc..when trying to install
[HD2 Android Q&A, Help & Troubleshooting and Genera] flappjaxxx:
http://db.tt/qwmgbji

Try this one and see if it works for you

Actually if you are using an HD2 or EVO 4G etc.

You should try This One

I edited the install script so it should work with those devices.

Sent from A Van Down By The River!
[HD2 Android Q&A, Help & Troubleshooting and Genera] coszy:
I'm using your zip file on my phone tmobile g2.

I'm running mexdroidmod and virtuous unity.

I got to tell you that your zip file is awesome.

thank you so much
[HD2 Android Q&A, Help & Troubleshooting and Genera] flappjaxxx:
Glad to hear it! Thanks!

Sent from A Van Down By The River!
[HD2 Android Q&A, Help & Troubleshooting and Genera] kamalmawa:
Omg Thanks for all your hardwork mate... This just fixed my GPS problem with CM7 on my Galaxy S :D.. being playing with apps like GPS Aids & so many different modems for weeks trying to fix my GPS problem since I installed CM7. :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] dominuce00:
Where is the file I need for Louisiana?
[HD2 Android Q&A, Help & Troubleshooting and Genera] flappjaxxx:
Look four posts above your post and you will see a file you can flash for your device. It has all the regions in an on the fly simple app

Sent from A Van Down By The River!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Jorixine:
Thanks a lot, will give it a try and get back to you guys.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Serious_Beans:
Would this work on any Android phone? I currently have a Samsung Vibrant.
[HD2 Android Q&A, Help & Troubleshooting and Genera] TJEclipse:
It should work, I have a vibrant and it worked on mine
[HD2 Android Q&A, Help & Troubleshooting and Genera] Agent3:
I'm going to try this. Can someone repost the US North East zip? Or is it the same as US Mid-East.zip? Thanks.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Complot12:
What I can use to Puerto Rico?
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
404

I'm getting a 404 error when I click these links. Does anyone have a copy of this I can download?
[HD2 Android Q&A, Help & Troubleshooting and Genera] kusuriurikun:
Wanted to pass along that this does work with the following combo:

HTC Vision/G2 with the following customisations:

ILWT CM7 204 (based on CyanogenMod 2.04 nightlies)

Radio 10.04.03 (latest Euro radio for Gingerbread, works just fine for T-Mo US though :D)

My "CyanogenMod GPS Fix" (involves RIL-matching and replacement with stock gps.vision.so from HTC Desire Z ROM using 10.04.03 radio; unfortunately the fix appears not to work with the 08.04.30 radio, but is dead solid with the latest Euro one and may work with the new Bell radio as well)

First fix took a while (then again, I was indoors), subsequent hot-fixes are occuring VERY quickly and with high accuracy.

(As an aside: the gps.vision.so replacement is needed with CM7 because there is a documentable bug in AOSP GPS drivers for most HTC and Samsung (at least) phones where the driver doesn't pass full NMEA data (which eventually WILL cause havoc with fixes--some apps actively depend on this). This may be why this edited gps.conf occasionally gives CyanogenMod fits.)
[HD2 Android Q&A, Help & Troubleshooting and Genera] dave1977nj:
north east can be found on the first page... click on XDA Members Click Here

go threw the directory and look for 1.2 northeast

If needed how would you go back to the stock gps settings:confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Invasor_Anulado:
What is for mexico??? south america or north america... i think is south right???
[HD2 Android Q&A, Help & Troubleshooting and Genera] aamadorj:
You can find a GPS Configuration for Mexico, script v1.2, here. The general link appears at the first post, under the map and it saids "XDA Members Click Here", with big letters.
[HD2 Android Q&A, Help & Troubleshooting and Genera] sebastian91:
I'm using the Android rom 2.3.3 ROM GBLeoR3 SENSE2.1 HD2

These libraries work for me?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
You can try the libs if your using an HD2, just make sure you make a backup before you try incase it doesnt work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lordstein:
thanks

thanks

i have one htc espresso (t-mobile mytouch 3g slide) is unlocked and have installed cyanogenmod 7.1, when this phone had the original gps.conf file

takes two minutes to find satellites because this one was configured for better working in united states or north america.

the problem is that i am living in Colombia (south america). after flashing the south america.zip(which i add the lines "NTP_SERVER=co.pool.ntp.org" to the gps.conf file, now the gps takes between three an five seconds to determinate my position, and this find between ten and twelve satellites.

thank you very much for your thread
[HD2 Android Q&A, Help & Troubleshooting and Genera] ovar:
Working great on Espresso with CM7 N211. Lock times went from 1-5min to 1-5 seconds.

Side note:

I was not able to flash the ZIP from CWM. I had to extract the gps.conf files and use root explorer to move it into etc.

Great work, thanks for the GPS locks!
[HD2 Android Q&A, Help & Troubleshooting and Genera] ttaidapos:
Anybody still getting GPS lock issues? I've searched here and tried different changes to the gps.conf but no luck. Tried the "NorthEast.V1.2" several times by copying the gps.conf over and changing the permissions.

Device: LG G2X

Firmware: Whitehawkx MIUI 1.10.07

Kernel: Stock

Location: Chicago, IL on T-Mobile
[HD2 Android Q&A, Help & Troubleshooting and Genera] WhoWhere:
I'm using the gps.conf from this on my myTouch 3G Slide (HTC Espresso). I just wanted to say "Thank you". This has solved all the GPS issues that have plagued me from the time I got the phone.
[HD2 Android Q&A, Help & Troubleshooting and Genera] acme64:
North America - Works great for me on the first try, im on gingerbread 2.3.4 with honeycomb explosion mod...lock on satellites on the first lock, about 1 minute.... 2nd lock thereafter usually in about 1 sec or 2. Pretty good mod, i have to thank you very much since i had many issues with my GPS before. I will give it a road test and find out if it really works like it seems to with the satellite testing program i have. Again, thanks!:D
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Thank you to all,

And I want to aplogize for not having updated the 1.0 versions, I have been side tracked. I will be hopefully doing them in the next couple of days and have it posted. I have been testing the V1.2 of my location and have had very good results.

So I'll be posting them soon.

Thanks to all that have tried it and have past on their great success to others.

If anyone is a good apk creator, could you please pm me. I am in the process of a project and I am stuck on the last 10% of my progress.
[HD2 Android Q&A, Help & Troubleshooting and Genera] saotua:
thank you very much for such an awesome fix. This works great on my G2X (miui 1015)
[HD2 Android Q&A, Help & Troubleshooting and Genera] starlays:
Hello.

First of all i would like to thank you for your work.

I have had some problems with my GPS and tried the file found here for my country ROMANIA. The file found on ftp for my country contains spaces and was shorten of options, so for those of you who are from Romania and have an motorola defy with CM7 and your GPS is not working you could download file from

xxx://hotfile.com/dl/133346794/e7f5142/ROMANIA.zip.html -Replace xxx sith http

that i`v edited on linux and added some option in it.

Cheers.
[HD2 Android Q&A, Help & Troubleshooting and Genera] carbon21:
works great on my desire s hyperion 2.1 rom thanks for your work everyone
[HD2 Android Q&A, Help & Troubleshooting and Genera] scherbie:
this has fixed my GPS on CM7 nightly, Desire HD. Thanks!
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
12.05.2011

ALL REGIONAL LOCATIONS HAVE BEEN UPDATED TO 1.2!

All the 1.0 files attached to Post#1 & Post#2 are now Updated to 1.2 and located on the FTP!

Soon to Come:

More locations to be added.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Curiousn00b:
@Angeldeath, I don't quite understand. I have the HD2 and am wondering how to fix the data drops. Also, I live in the North East in the US, so would North America be what I use?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
As for your data drops, thats has to do with the rom, kernel, and rom maker. As for which to use, I tell people that if you live in the north east then you should use that, and that the north america file should be used by people who travel in the 48 states.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Curiousn00b:
I flashed it, it seems to work faster than it did. And what do you mean by ' lock ups '?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I never said lockups...
[HD2 Android Q&A, Help & Troubleshooting and Genera] pcarth:
Excellent solution for GPS fix issue.

Hi AngelDeath,

Thanks for this GPS solution. I was struggling for 2 weeks in getting GPS fix using CM7.1 & CM7.2 in spore region. Even i posted several request for fix in the respective forums and no replies. Using ur solution, i got the fix in the first try itself. Great work!. Thanks a lot.:o
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Glad it worked for you, Happy GPS-ing ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] popcorn1122:
excellent... works well with my motorola defy on stock rom.... of India 3.4.3-36-1.7 .... Original FULL SBF for India deblur

---------- Post added at 10:04 PM ---------- Previous post was at 09:50 PM ----------

where to find the the GPS Status App ... "Show time to GPS fix" in Motorola defy?
[HD2 Android Q&A, Help & Troubleshooting and Genera] luba6ky:
I have one question.

If I install the tytung's - "GPS Libraries v2.1 with AGPS support for HD2"

... and install gps script for my country.

Is it good and helpfull ... or I'm doing nothing???
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
GPS Status: Menu/settings/display & tools, last option.

That depends on who you ask, according to Tytung the script wont make a difference, but I have used my script with his gps lib, and to me I think it has, but either way it wouldnt hurt the lock times IMO, worse case make a backup of the file before replacing it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] nicola1989:
hi!

i wanna to know what permission i giv at file gps.conf!

if can anyone post a screen is better ;)

thx
[HD2 Android Q&A, Help & Troubleshooting and Genera] bipinsen:
Sorry if this is answered in this long thread somewhere. If it is, then would you please mention it in the first post. My "region" of travel spans Illinois, Wisconsin and Missouri. These are three separate files. Do I install all three? Is there such a thing as installing multiple files? I travel frequently for work. So do I install all the files? Some clarification, please?
[HD2 Android Q&A, Help & Troubleshooting and Genera] luba6ky:
Thanks!!!

It just because I'm trying this and it work great ... He needs a 5-10 sec to locate me, but I just needed to be sure am I doing the right thing.
[HD2 Android Q&A, Help & Troubleshooting and Genera] nicola1989:
help me??????
[HD2 Android Q&A, Help & Troubleshooting and Genera] cwibel:
works on htc sensation?

Hello,

Is this GPS Fixation works on htc sensation?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Janzomaster:
From what I understand, this update replace the gps.conf - that would consquently mean flashing multiple files will not work, only the last one flashed will be used. I think you would need to flash a more "general" file, perhaps US?

I read on page 2-5 somewhere that 777 should work.

Now for my question :)

When using this update, will GPS still work if I travel outside of my region? I don't mind if it will take longer, but if it won't work at all, that would be a thing worth knowing beforehand.

I already tried to use germany.zip, but it says it's not correctly signed (AmonRA). I the push gps.conf and then "adb shell chmod 777 /system/etc/gps.conf", I presume that's enough?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Owner read/write

Group Read

Others Read

rw-r--r--

There are no single states, only regions, and NA, if your a traveler, the North America 1.2 would suit you best, you might not have the fastest lock times, but it would be more consisent for what your looking for.

5-10 seconds cant complain about when before the norm would be 1-2 mins.

In Theory, yes. My opinion All Android phones this should work on, so far its worked on many makes and models.

If you are a non-us user, then it would be best to use the country file you are traveling to, ex: you live in England but you are traveling to Japan, it would be best to Flash Japan because the England file will work but the lock times would be much longer then it should be. As for it saying its not signed, I would check the CWR and disable for it checking for signatures. Pushing the file either by abd, or by using root explorer is fine, you would just have to make sure to reboot before use.
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
I use Tytung's Nexus v3.2a ROM and have a customized gps file specific for my region. It doesn't hurt Tytung's v2.1 but actually helps since I have five satellites that are local in my area that I included in my gps file. My lock time are faster with than without those additional satellites in my gps file.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Gathul:
Not Working

I have a Motorola Defy with custom rom "CyanogenMod-7.1.0-RC1.5". I live in Greece. The previous localized version "Greece1.2" was working like a charm but the latest generic "EuropeV1.2" is not working for me. It finds 1 to 4 satellites but despite that, it doesn't lock at all (duration of the test twice for 20 minutes), while the previous version found 8-9 satellites with full lock (in 2-3 minutes). I opened the gps.conf and while comparing with the old version, I found some input missing, like "AgpsUse=1, AgpsMtConf=0, etc).

I will try to fill in the missing input in the latest one and I will report my results.
[HD2 Android Q&A, Help & Troubleshooting and Genera] seamonkey420:
getting errors flashing: NorthMidState.V1.2.zip

Hello all

Has anyone else ran into problems flashing the NorthMidState.V1.2.zip? I have an LG G2x running WeaponX and keep getting an error when trying to flash the zip file from CWM.

Prior to today, i had been able to install the 1.0 zips just fine.

E: Error in /sdcard/NorthMidState_V1_2.zip

(Status 0)

Installation aborted.

I may try using the older 1.0 to see if that still works.

--same error. perhaps a problem w/my permissions on the gps.conf file? i have in turn manually put the file in place to get me going (gotta love rootexplorer) :)

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] joaoluiz68:
works fine for me.

south america
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
i must install gps libs 2.1 and then yout europe 1.2?
[HD2 Android Q&A, Help & Troubleshooting and Genera] dr_tracker:
BUMP up...
[HD2 Android Q&A, Help & Troubleshooting and Genera] Zoandroid:
I am running a rooted stock 3.2 ROM Acer Iconia A500 tablet. I had read several pages into this thread, which seems to have a lot of non-US members, until I found some from the US saying they had success, so I downloaded the Northeast zip file (I'm in Ohio). But I was unable to flash the zip from CWMR. It kept saying there was an error. Based on what I had read, I decided to try extracting the gps config file from the zip (which refused to work within the tablet, I had to do it on a PC) and backed up my OEM gps config file. Then I used Root Explorer, mounted /System as RW, and overwrote the OEM file.

I was prepared to say "yes, it helped, but not that much" until I came across a newer thread with someone building on AngelDeath's work.

In that, he mentions that with the A500 tablet (and perhaps others) the GPS performance is way better if you stand it up instead of allowing it to lie flat (as I had been doing). So I stood mine up, and he is very much right! I got a lock in less than 20 seconds on 3 sats the first time I tried it.

I did not read this entire thread, due to its length, but wanted to say thanks, and mention the part about standing the tablet up to make its GPS work better. Any angle above flat seems to help. Once locked, if I lay it back down, it loses the lock. Pick it back up, and it locks in again rather quickly. Odd, but I can live with that.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Lock-N-Load:
this link does nothing
[HD2 Android Q&A, Help & Troubleshooting and Genera] huggs:
I bought a Samsung Dart at WalMart. It's a cheap, low-end phone, but it's actually not bad.

Bought it, rooted it, deleted bloatware, replaced tw launcher with adw, ninja morphed the hell out of it, partitioned the sd card and installed a2sd, and now it's just about decent to use daily. Except that hte gps is slow to lock alot of the time.

I didn't bother to flash the .zip in cwm, I just extracted the gps.conf and was going to replace it in root explorer.

But this phone does not have gps.config in /system/etc/

It does have secgps.conf in /data/gps/

#Generated by GpsLocationProvider.
#Fri Dec 23 17:31:50 EST 2011
SSL=1
SSL_TYPE=0
SUPL_APN=false
POSITION_MODE=127
OPERATION_TEST_MODE=0
ACCURACY=100
SESSION_TYPE=2
SERVER_MODE=0
ENABLE_NMEA=false
START_MODE=HOT
AGPS_MODE=0
DYNAMIC_ACCURACY=1
ADDRESS_MODE=1
OPERATION_MODE=MSBASED
USE_DEFAULT=true
DYNAMIC_ACCURACY_VALUE=50
SUPL_PORT=7275
ENABLE_XTRA=false
SUPL_HOST=lbs.geo.t-mobile.com
USE_PCTOOL=0
NUM_OF_FIX=999999999
TIMEOUT=255

This file looks similar to but also quite different from gps.conf.

Since the secgps.conf is different I must ask, what could I change in it to improve my lock time?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Why are you using the Europe 1.2 when you were using the greece 1.2? if your in greece I would use the local version. Also it has been a know issue that cm7 roms dont play nice with my gps file, some do, most dont.

If you use root explorer to copy the file over thats fine, just make sure you reboot the phone after copying the file for it to take effect.

Yes

Holding the device in hand or at certain angles can prevent the gps from working or weakening the signal, that for the most part is where they have put the antenna. Sometimes holding it in landscape works better then in portrait mode, no file will fix this.

I would say based on looking at this, obviously its a tmobile phone, and the first line at least tells me that the file was created by t-mobile.

I would suggest for testing purposes to add the gps.conf file into the system etc folder anyhow, and then reboot. The reason why I say this is if you look at the boot process you will see that it will still be looking for the file in the default location of the system/etc folder., havint said that I think the name of the file is self-explainitory by using the secgps.conf its the secondary file siunce the first is not there.

If you want, I would check this with a adb logcat and you will see that the gps.conf file will be read before the sec file, and my guess is that once it reads the first file (mine) it wont read the second.

Sorry for the late responses everyone, but been away for the holidays, so Happy New year :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] m_reyna_16:
i dont think im having gps problems, but will like to make it as better as possible... so let me get this straight...

if i flash the mid south states zip, i live in south texas, that would make my gps better? also, what about when i travel up north; if i flash the mid south states, does that mean when i travel ill be having problems when getting out of texas?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
All that would happen is not that your gps wont work once your out of texas, it will still work, its just your lock times may take longer then usualy being that the file is geared for specific areas, based on sats in that area. For example:

Sat A & B are located over Texas and L.A, now you decide you are traveling to the Minn, Iowa region, This region houses lets say Sats L & M, what will happen is you will still get a lock, but being that you file is made to work with All sats but primarily with Sats A & B, its going to look for them instead of Sats L & M.

Another Example is think of the windows Host file located in the drivers/etc folder.

Hope that clears up your question.
[HD2 Android Q&A, Help & Troubleshooting and Genera] m_reyna_16:
so then i should flash the one thats for all of u.s.?
[HD2 Android Q&A, Help & Troubleshooting and Genera] CloneClone:
Is there a gps.config v.1.2 specified for Brazil yet?

Does this one count as 1.2?

http://xdaforums.com/showthread.php?p=12158491&highlight=brazil#post12158491