yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] g3ismeee:
Well I made a Nandroid just in case. Regardless, it did absolutely no harm. Maybe it's just your scripts that are rocking my GPS better than it ever has I dunno. Anyway, no harm or any loss of functionality due to flashing TyTung's solution.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Perseids:
I am in AR, don't see the file for the mid south region you refer to in the op. Or am I supposed to use the north america file?

virtuous unity 1.25
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Its there, here is a direct link: SouthMidState.V1.2.zip
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Actually not to burst your bubble, but I re-thought this, and the Tytung lib cant do anything for you, cause its named differently then what the Inspire is named. So its the script I made that is making the difference, cause the files tytung has made are named: htcleo.so and libgps.so neither which is in the inspire.
[HD2 Android Q&A, Help & Troubleshooting and Genera] g3ismeee:
That's cool! Hey I've heard about your scripts for a while, but since I've been rooted my GPS has been "decent"...but wow with your scripts it rocks the roof off...kinda literally since I can get sats/locks in certain indoors whereas before I could not. Yeah I actually restored my backup and just downloaded your scripts, and same great results. It's way cool I will not report the TyTung solution and only yours :-). Thanks for the great work and the clarification.
[HD2 Android Q&A, Help & Troubleshooting and Genera] cmajewsk:
Sorry I missed that, thanks for clarifying....
[HD2 Android Q&A, Help & Troubleshooting and Genera] POQbum:
I tried the North America.zip on my Droid Incredible running CM7 (gingerbread) and my phone wasn't able to get a lock after 2 minutes.

Usually it'll lock after a few seconds, so I think I really don't even need this mod.

Just posting this in case of any future INC users, cheers to the developer
[HD2 Android Q&A, Help & Troubleshooting and Genera] jentzschman2000:
Thanks.

I am fairly noobish when it comes to android. How do I make a backup of that specific file?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
You should try the North east zip instead of the North America Zip since you live in virginia. Also as I have stated many times before and still do. There is a known issue with my script and CERTAIN cm7 roms.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Use estrongs file explorer and go to system/etc and copy and paste the file on your sdcard, or just rename it to gps.conf.old. You must have root access and you must have R/W if you are just going to rename the file (R/W=Read / Write).
[HD2 Android Q&A, Help & Troubleshooting and Genera] jentzschman2000:
I use Root explorer. What specific file am I copying to the sd card? (Sorry)
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
gps.conf is the file you need to replace from the zip file into your system/etc folder
[HD2 Android Q&A, Help & Troubleshooting and Genera] Perseids:
I have read the files available on the first post over and over and I don't see it. Also when I click on the link you just provided I get this...

Downloaded on pc and transferred to sd
[HD2 Android Q&A, Help & Troubleshooting and Genera] genuser:
Just tried installing NorthMidState.V1.2.zip and got the following error:

Finding update package...

Opening update package...

Installing update...

E:Error in /sdcard/NorthMidState.V1.2.zip

(Status 0)

Installation aborted.

I downloaded via computer, mounted phone and copied to sdcard. Pretty sure that's what I read.

Are there any checksum's that I can check on these zipfiles? TIA!

EDIT: I just took the gps.conf out of the zipfile and replaced the one in system/etc with it. :-)
[HD2 Android Q&A, Help & Troubleshooting and Genera] genuser:
Well copying the gps.config to /system/etc didn't provide me any relief. I noticed there are tmobile specific servers in the file. Should I replace those with Sprint specific servers?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
That's because you have http in front of the ftp.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Did you reboot? And what ROM are you using?
[HD2 Android Q&A, Help & Troubleshooting and Genera] gpchess2k:
Anyone know if this will work with a galaxy S? (Vibrant) Maybe just copying the gps.conf?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Try it, so far it seems to be working on just about every Android phone. It works on the Captivate, which I assume is a samsung like the galaxy s, and yes you can copy it over just remember to reboot before trying.

And make sure to backup your current file JUST IN CASE.
[HD2 Android Q&A, Help & Troubleshooting and Genera] genuser:
Yes, rebooted.

Using a flavor of CM7 which you have said is hit or miss with this fix. Rom is located here: http://xdaforums.com/showthread.php?t=1090234

I have a logcat that I haven't had time to look through yet. Doing that next.

Thanks for the quick response. If you read above, a couple separate questions I had:

- is this line OK even if I'm on Sprint? SUPL_HOST=lbs.geo.t-mobile.com

- Flashing the zip didn't work for me so I just copied the gps.config file to /system/etc and replaced my original. Looks like that is all the script does anyways. this OK?

Many thanks!
[HD2 Android Q&A, Help & Troubleshooting and Genera] princedwi:
I just wanted to confirm that the GPS definitely got better, with full lock to 11 satellites in about 30 seconds while GPS status was running while driving home in my car. Accuracy is spot on, 10 meters.

This was done using my Nexus S on T-Mobile, with MIUI rom 1.7.15 and the Netarchy 1.3.4 CFS kernel running the cpu @ 1.3 ghz and smartass governor. Nothing but praise, and I've also tested this on a Samsung Captivate that was newly rooted with i9000's GB bootloader, and Apex 8.2 Rom, Talon 0.4.2 kernel @ 1.2 ghz. Similar results, running on AT&T.

OP is a genius and should seriously be commended. Great findings!
[HD2 Android Q&A, Help & Troubleshooting and Genera] gpchess2k:
Since this is for Windows Mobile, should I extract the files and ONLY replace the gps.conf? I don't think there is a META-INF folder??
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
This only works for android devices, windows mobile it will not work with.

Yes it is a hit and miss with SPECIFIC CM7 builds, which I honestly cannot tell you, it works on some and some it doesnt, hence hit and miss. Copying over the gps.conf file is all thats needed since that the ony change made to the rom.

The reference to t-mobile in the rom will not effect anything, actually there is a reference to 5 supl's, tmobile, verizon, and att, sprint, and google. I found that obviously if your att the tmobile or the others wil just be rejected based on the fact that you wouldnt have access to those others.
[HD2 Android Q&A, Help & Troubleshooting and Genera] genuser:
Thanks AD! I moved back to a Froyo ROM and will give it a whirl there.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lamed:
just wondering here, what happens once I upgrade my rom? I suppose that I need to reinstall the gpsfix afterwards?

thanks, Shawn
[HD2 Android Q&A, Help & Troubleshooting and Genera] Leeyron:
Dude a big thank for this awesome tweak. Now i get everytime a GPS fix in under 10 seconds! I've flashed the german zipfile but its also working fantasticly in austria. :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Yes after a new install you would have to flash or re-install my gps fix.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Glad for the success, I see in your sig the Desire, so I am going to assume its working on that phone as well!

Starting to compile a list, so that I can add a Supported device listing on the OP.
[HD2 Android Q&A, Help & Troubleshooting and Genera] g3ismeee:
Good results on StarDroid and RumRunner ROM's, a couple of new Inspire ROM's I'm testing.

Added you into my sig. Your work is a fantastic contribution to the device.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Leeyron:
Yes, working on my desire like a charm.
[HD2 Android Q&A, Help & Troubleshooting and Genera] MarkAtHome:
I ran into that, too, AngelDeath. I have been trying to get your latest now for a few days without success."

If you would, I would appreciate it if you would post a direct link to the latest for NorthEast U.S.

Thanks!
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
It is a direct link, if you want a more direct link, right click on the link and choose copy shortcut, then paste it in a new window. AGAIN, if you are using your phone, this will NOT work, the Default Android Browser does NOT handle FTP links.
[HD2 Android Q&A, Help & Troubleshooting and Genera] MarkAtHome:
As you can see, I am not using a browser... not a problem. I will grab it from my PC. Thanks.
[HD2 Android Q&A, Help & Troubleshooting and Genera] coszy:
im on my pc now, and im sorry but i don't see any link ..

im looking for south west (california)

please help

update : Never mind, I found it..bIG THANKS. :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Just an FYI, All 1.0 version GPS scripts attached to Post #1 & Post #2 will be upgraded to 1.2 in the following week. After about a month of testing, I feel its an improvement over the current 1.0 files.

I will be reviewing the 1.2 files as well, but No updates are slated for the 1.2 specific regions at this current time.
[HD2 Android Q&A, Help & Troubleshooting and Genera] QkSi1ver:
Have anyone had any success for HTC Legend?

I tried installing the file like a ROM using CWM but it failed to install it

It says E: Error in /sdcard/download/Apk/GPSFix/North_America.zip (Status 0) Installation aborted

Note: (I've renamed the file because i thought may be the space was causing a problem)

I've used another Zip file from another thread http://xdaforums.com/showpost.php?p=14016557&postcount=36 and replaced the gps.conf file with the one you had in North America.zip ... It installed it this way but i see no improvement... I noticed it does detect more satellites up to 12 but doesnt fix until 5 - 20 + mins... i tried different times... with GPS Status, resetting the GPS Data and then rebooting the phone to make sure... I always disable Data and Wifi ... to see if it detect automatically...but i found out, enabling or disabling data does not make any difference even though the data file was downloaded.

ANy clues? Do i need the rest of the files in North America.zip or just the gps.conf file... like other threads seems to play with?

ps: I came from a BELL HTC Legend... i recalled the few months i had it at stock, the GPS was snappier... and definitely not that long in getting fix... could it be that i am missing the SuplCert file from bell because i used a custom rom!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] ichbinich:
Can this be used on SGS?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
You can take the gps.conf out of the zip and manually copy it to the location. And then reboot. Again Roms do make a difference, so I need to know if its a CM7 build, certain CM7 builds are hit and miss. You said your using the north america zip, why? Obviously I dont know your location. North America zip should only be used by people that travel the 50 states alot, and/or people like mexico, Puerto Rico, and surrounding areas. The lock times will not be faster with the North America zip, it was made to be consistent.

I would suggest if you live in the states, then to pick your region based on the map in post #1 or 2
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I would presume it will work on all Androids, again its based on Roms, CM7 builds are hit and miss. Just make sure to make a backup before attempting to try it just in case.
[HD2 Android Q&A, Help & Troubleshooting and Genera] how_weird:
Thank you for this. Has made my GPS useful again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] QkSi1ver:
I chose north America because I'm in Canada. I am on a custom Blayo's b0.84 ROM..

Android 2.2, 2.6.32.17 Kernel, build 3.15.405, baseband 47.54.35.20OU_7.13.35.13

S-ON with HBOOT 1.01 , Radio 7.13.35.13

So the importan file in the zip is the gps.conf, right? I can just extract it and overwrite in the file in the other zip package which i can use to flash onto my rom, right?

Also, how do you guys test the GPS time, is it :

1. with WIFI/Mobile Data or not?

2. Do you always Reset GPS Data ( in GPS Status) , Reboot Phone and re start GPS Status to check time it takes?

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
First off if your in Canada, then you should use the Canada file, if its not located in the USGPS folder, then look in the EUGPS folder.

And yes lock times are based on the Gps status app. and rebooting is necessary after changing the file. As for resetting the AGPS data is optional, but does help when trying out the new file.
[HD2 Android Q&A, Help & Troubleshooting and Genera] louslugger15:
Anybody on here using VU 1.29 with this fix. After doing it last night I would get a fix in my house within 30 seconds with 5 satellites. Now outside on my way to work it picks 6 or 7 satellites but never locks. I live in ky and picked the northeast 1.2 if it helps.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
The locks are not controlled by the file, they are controlled by your gps driver and your radio layer. Also someone did say that one of things they found was that they're gps wire was loose when they opened their phone, that could be another reason for the erratic locks.
[HD2 Android Q&A, Help & Troubleshooting and Genera] TJEclipse:
ok, I am a little confused and have a couple of ?'s. 1. Will this work for the vibrant running on miui? 2. which files do I need to download and install? (I live in FL) 3. Once I install, this should help out correct? I can currently see 12 sat but they never lock on.

I just want some sort of fix.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
It "should" run on all Android phones, If you live in Florida, I made a file specifically for Florida. If you seeing 12 sats but not locking on, you can try and see if this may work, but it could also be your gps cable in the phone, or it could also be your radio. Just make a backup of the file you are currently using in your system/etc folder gps.conf.
[HD2 Android Q&A, Help & Troubleshooting and Genera] sybase2011:
hi folks,

i am searching for months for a fix for the gps issues on my nexus s.

as mine is "out of box" running with gb 2.3.4 no rooting etc. i wanted to ask if there is a way to install this without root?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Not currently, But I am working on a solution for non-rooted phones, so for now you have to be rooted to have access to the file needed to be replaced.
[HD2 Android Q&A, Help & Troubleshooting and Genera] inetdesaster:
No boot

My phone stucks at the animating bootscreen.

Dorimax CM7
[HD2 Android Q&A, Help & Troubleshooting and Genera] TJEclipse:
Ok, still confused, so I only need the florida only one? What about the rest of the files?

Mini Revamped!
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
TJ, if you live in Fla. then you dont need the rest, unless your traveling. If you travel alot then I would suggest the North America, but lock times may not be as quick as region breakdowns.
[HD2 Android Q&A, Help & Troubleshooting and Genera] djsolidsnake86:
i must install after or before installing agps by tytung?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Doesnt matter. two seperate things.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Roqu3:
Hi, thanks for this files it works great for South America, a little question, it´s ok if I merge the North and South America files? I want to make one for south America and Mexico, or maybe i just need to take some lines from the one of NA? thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] TJEclipse:
I downloaded the files for florida only and no lock for me, I think I am just doomed lol
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
What is it your looking for exactly, combining two files isnt the best idea, and since you said south america worked, are you looking to get north america just for mexico? Cause there is a Mexico file.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Phone, and Rom your using? it could very well be the rom, or it could be the gps wire is loose.
[HD2 Android Q&A, Help & Troubleshooting and Genera] zlobix:
How to unistall this *^&$# &^$#? Amazing fix- first reboot, cold start- NO GPS, second reboot- the same, after 3 reboots and ~20 minutes (!!!) fix 3 satelites! (before fixed eleven in 3 minutes) Thanx, but no, thanx... So how i can return my default options?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Roqu3:
hi, i want a file that works for south america and Mexico, is ok if to the SA file I just add this line from NA?:

NTP_SERVER=mx.pool.ntp.org
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Actually give me a day, and I'll make a file for you with SA and mexico together.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Sorry you had trouble, but no need to be vulgar about it, but you can pull the gps.conf from your rom that you are using and copy it to the location.

But might I ask what Phone and what rom you are using?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Roqu3:
thank you very much
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cunione:
First, I had 180 sec before the GPS lock, now I have a 10 sec lock !

VERY VERY VERY GREAT !

Thanks thanks thanks !!!

Really great job.

Thankssssssssssss !!!!!!!!!!!!! :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Lmax12:
Does this "patch" have to be installed after each update of the rom? Or is a onetime install fine, and will it keep the settings?

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] jggimi:
Every time. This is a replacement gps.conf file, included with ROMs.

HTC Glacier CM7 #something
[HD2 Android Q&A, Help & Troubleshooting and Genera] TJEclipse:
Samsung vibrant and miui 1.8.5
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mdtolic:
Wow, this was a lot of work. Thanks AD!

I installed the zip for the USA North Mid States and went from 12 sats in view with no locks to 10 in view/7 locks! However, it only works when I'm connected to WiFi. :confused: What could I have done?

Also, I've always used GPS Test but installed GPS Status because of this fix. This doesn't make sense, but now I get no locks in GPS Test when GPS Status locks in 30 sec or so; when connected to wi-fi that is.

I'm using GingerZen on a Vibrant. The latest release used the North American zip, but I flashed the more specific data. That shouldn't make a difference though, right? I also did the AngryGPS tweeks (Operation Mode to MSBASED, turned off XTRA, SSL Type to Google Server). Thanks again - mdt
[HD2 Android Q&A, Help & Troubleshooting and Genera] TJEclipse:
Here are a few screen shots the last pic is my gps settings
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Havent forgotten about you, had a nasty headache for the last couple of days, but I'll see about having it done by tomorrow.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Could possibly be the miui rom, its very hard to tell, I would say did you have the same trouble with the original rom that came with your phone? Or did you have trouble with the gps before changing the file to mine?

Like I have said, roms do make a difference based on the gps driver they use.

I looked at your screen shots, if you have a file explorer, please navigate to system/etc/ gps.conf and open the file and make sure it didnt alter it in any way, since looking at the first screenshot showing of settings, I am hoping it didnt change it in any way.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Kameirus:
he doesnt even know what phone or rom he is supposedly using
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well if you are connecting with wifi on, then its not your gps chip thats connecting, But all those changes (Operation mode etc) is already included in the file, so you could be over riding the settings in the file.

I would suggest, make a complete backup of your current setup thru CWR, then do a complete clean install of your rom, and try the gps, if it doesnt work, then try my file, and see what happens, also I would look at the thread of your rom and see if anyone else is having gps problems.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Kameirus:
gonna try this on my vibrant

will report on it shortly

edit..wow used the northeast 1.2 on my vibrant in conjunction

with the Sgps fix for the vibrant and got 5 of 5 in 3 minutes

with just the Sgps fix it was taking upwards of 10 minutes for a lock

Thanks AD
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mdtolic:
Thanks AD. GPS isn't working great on GingerZen. Dev recommends your file. Tonight, I was driving a lot and got a few locks, but took 5-10 minutes. Each time. That was after restoring the AGPS settings.

Hope your head is feeling better!

(XDA app)
[HD2 Android Q&A, Help & Troubleshooting and Genera] TJEclipse:
I opened it and here is the what the file says here is a screen shot I'm not exactly sure what is right.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Still say make a complete backup of your rom with cwr, and either try it clean with my file and see or another rom and my file and see, if this is a known issue even with the stock rom, then it would be a radio problem since the gps chip communicates with the radio.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Doesnt look like anything was changed. But I would suggest the same thing to you that I just suggested above about making a backup and doing a clean install and see how it works, this way you can alway restore the backup and lose nothing. Or try another rom to see if you have the same issue.
[HD2 Android Q&A, Help & Troubleshooting and Genera] do1fmd:
It works really good for me.

I used this patch with CM7 RC1v2 on my Defy.

I had problems with appilcation "Bump" with original gps.conf.

Now everything ist fine.

Thanks a lot!

Greets.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mdtolic:
The Vibrant's GPS is notoriously spotty. One last question AD. What do you mean by "possibly working on Froyo"? I was thinking about going back to Froyo because of this file. I had decent GPS on the ZenDroid ROM, but maybe it's not worth it? Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] TJEclipse:
So go completely back to stock, reroot then flash miui, then flash the fix? I can give give it a try, I know before when I was stock I had some issues but it worked. If not then I can just restore using cwr correct? Does that restore everything including all apps and data? Ive never had to do a restore.

My other queston, sure to me being in the panhandle of florida, (pensacola), should I try a different fix?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I believe that statement of working in froyo was directed about the gps driver that tytung made for the hd2, tytungs gps driver should not be used on any other phone except the hd2.

If it was working before in froyo then I would try that and try the file and see how it works. Again, different dev's sometimes use different gps drivers, like for example in the cm7 in hd2 originally before tytung they were using a different driver then say sense was so there were issues there.

Also again take into consideration the radio, this also plays a large factor in your signal as well.