yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] kev0153:
I wouldn't call myself a developer by any means and MODS, if this thread is in the wrong forum please delete or move.

When I upgraded to 1.04 EB Froyo version, I noticed that the GPS lock was a little slow. It reminded me of the old HD2 when I installed android on it. There was some great work done to write a GPS.conf file that speeds up the lock. Out of curiosity I dug up the thread on the HD2 android forum and gave it a try.

Some people are having some luck with Gingerbread as well.

The thread is here.

http://xdaforums.com/showthread.php?t=953630

The original FTP site these were hosted on has some uptime problems. Here are the latest V1.2 files for the USA here. See the original thread for an explanation for the regions. These files were setup to flash on the HD2. I wouldn't try flashing them to the G2x. Extract the gps.conf file and install by hand using Root Exporler. Change the owner, group and permissions to match the rest of the files in the folder. The gps.conf file goes in the system/etc folder

See the link above for an explanation on the regions

Change permission to this

Owner: Read Write

Group: Read

Others: Read

owner and group are both root

Hawaii

NESE

North East

North Mid State

North West

South East

South Mid State

South West

I've also made some files that will flash correctly to our G2x. I've tested the South West and it works. I'm running the Froyo version of EB 1.04, it should work on other versions but make a backup just in case. No need to mess with permissions or group or owners with this method. Just flash and go.

Hawaii G2x cwm

NESE G2x cwm

NorthMidState G2x cwm

SouthEast G2x cwm

SouthWest G2x cwm

NorthEast G2x cwm

NorthWest G2x cwm

SouthMidSate G2x cwm

Canada G2x cwm

It does seem to speed up the gps lock. With a cold start, I was getting near instant lock after a few seconds, inside on a cloudy day.

I believe that the files is optimized for t-mobile networks but read the thread.

So passing along this tip. Let me know your results.

Thanks
[T-Mobile LG G2x] goldeman:
bump it up
[T-Mobile LG G2x] lilaliend:
I've only had it a couple hours, but have tested it several times. I've tried a couple ROMs, resets, and this tip a couple dozen times. This seems to be the only thing that's made my GPS actually reliable and work when I want it to.

Stock, .conf file for northeast
[T-Mobile LG G2x] jamadio:
What exactly needs to be changed in the file to match? And where does it go?
[T-Mobile LG G2x] moshe22:
I can't find the gps.conf in /etc/ or /system/etc.

Did you just dropped it there or do we need to change the name of the file to something else
[T-Mobile LG G2x] kev0153:
Using root explorer long click on the file and change owner and group to root. Change the permissions to RW_R_R no execute for any owner/group and read-write for the root owner/group
[T-Mobile LG G2x] kev0153:
It doesn't exist in this ROM you have to add it. Go to the link I posted and find what appropriate region and download the zip. Unzip it and find the gps.conf. Push it to your /etc or copy it using root explorer.
[T-Mobile LG G2x] dnguyen1988:
Maybe I'm retarded but I clicked on the link that says Xda members click here and it takes me to a website without any download links
[T-Mobile LG G2x] moshe22:
Thanks man.

I had it downloaded but just didn't know where to drop it.

I appreciate it
[T-Mobile LG G2x] kev0153:
Looks like the site might be down. I think he said that is his personal ftp site. We might have crashed it. I'll pm him to see what's up.
[T-Mobile LG G2x] Berat:
Thanks for the info let us know the link because I cant seem to find it on that post.
[T-Mobile LG G2x] dnguyen1988:
Awesome thanks kev
[T-Mobile LG G2x] lilaliend:
The link works fine for me. Goes to an index with two folders "eugps" and "usgps". Inside "usgps" is two more folders, "USGPS 1.1" and "USGPS 1.2". Inside 1.2 is the various regions US regions.
[T-Mobile LG G2x] dnguyen1988:
I can't get it to work do you think you can possibly send me the south mid states one?
[T-Mobile LG G2x] kev0153:
yeah seems to be up now. Like I said, I think it is a small/personal server. If it acts up try coming back later. I'll PM the developer and see if he is interested in a mirror.
[T-Mobile LG G2x] kev0153:
Hopfully he won't mind but here is a link the the sout mid states.

http://dl.dropbox.com/u/6542496/SouthMidState.V1.2.zip
[T-Mobile LG G2x] kev0153:
Click on the large "XDA Members Click Here"
[T-Mobile LG G2x] lilaliend:
Thought maybe it was a browser thing, not showing up as an ftp index. Tried in many of them, mac & pc, worked everytime.

Don't mind uploading any, but it looks like kev beat me to it.
[T-Mobile LG G2x] dnguyen1988:
Thanks so much kev
[T-Mobile LG G2x] CPerkins.RS:
Works great Thanks
[T-Mobile LG G2x] dnguyen1988:
This definitely works :)
[T-Mobile LG G2x] justaddwater57:
Will this work for EB 1.04 Gingerbread as well?
[T-Mobile LG G2x] kev0153:
I don't know, it might. I don't have a GB ROM to test. Give it a shot.
[T-Mobile LG G2x] flexnix:
Hmm.

I was thinking of getting the Southeast, but since I travel to NYC alot...which one should I get. LOL.

Just go with North America?
[T-Mobile LG G2x] kev0153:
I think there is advice in the thread for people that travel. I want to say North America is the recommended file.
[T-Mobile LG G2x] momentarylapseofreason:
Installing the conf file manually did the trick. Instant lock even indoors :)
[T-Mobile LG G2x] mainmast2:
Ulysse Speedometer runs in the background, your gps is locked at all times. I'm not sure what the battery drain is from the app but it displays your speed on the task bar. The only time I use the GPS is in the car so I really don't care. I do like the gps being locked for instant fix on Google Maps. In airplane mode the accuracy is usually 1M for me, interestingly enough it's less accurate when using wireless enabled.

market://search?q=pname%3Acom.binarytoys.speedometer
[T-Mobile LG G2x] dv8ed:
i lost you at permissions.. in Root Explorer I have these options.

Owner: Read Write Execute

Group: Read Write Execute

Others: Read Write Execute

Is it supposed to look like this?
[T-Mobile LG G2x] kev0153:
Yeah sorry that post was a bit of a mess. Should be this.

Owner: Read Write

Group: Read

Others: Read

This goes for most files I the root directory btw
[T-Mobile LG G2x] justaddwater57:
After a reboot and about 3-4 tries, I can confirm that I'm now getting near-instant locks on EB 1.04 Gingerbread. Hooray!
[T-Mobile LG G2x] aohmer:
Should this be implemented on a stock rooted phone?
[T-Mobile LG G2x] avetny:
will try, thank u!
[T-Mobile LG G2x] kev0153:
I always had really fast locks when I was stock rooted but you can try it.
[T-Mobile LG G2x] Endless Mike:
Has anyone tried this with CM7?
[T-Mobile LG G2x] richua:
I'm stock rooted and this fix has immediately quickened my lock time and stability.

If I download AGPS data daily (set up through Tasker), will that affect things negatively? Based on OP of the linked thread, the fix was the best option available without full support of AGPS, so I'm hoping fresh AGPS data will either not detract from the fix or at least help it a little bit.
[T-Mobile LG G2x] goldeman:
I was wondering if anyone can post the stock gps.conf so we have something to compare it too

Sent from my LG-P999
[T-Mobile LG G2x] kev0153:
There isn't a stock file. Least none that I can find.
[T-Mobile LG G2x] goldeman:
What are the settings within the hidden menu? It seems stock was the best setup overall

Sent from my LG-P999
[T-Mobile LG G2x] rizzxx7:
This works great
[T-Mobile LG G2x] dv8ed:
kev0153: thanks got it but i'm still geting 2 minute until GPS lock under Google Maps Navigation. Using USA SouthWest region v1.2 any way to fine tune this more?
[T-Mobile LG G2x] kev0153:
did you restart your phone? Try that and see if that works. I'm just a Messenger on this. The op in the thread I linked to is the real expert.
[T-Mobile LG G2x] richua:
Following up on my own question with some test results: I found that downloading AGPS data before trying to get a lock actually resulted in a slower lock time. Accuracy was not affected. If I turned off GPS after getting a lock, went somewhere else, and turned GPS back on without downloading AGPS data, the lock was almost immediate. Crazy how that works.

If you're also curious about how AGPS data affects this fix, I'd say use this fix as is and only download AGPS data if needed. I've since removed my automatic AGPS data download and have had great lock speed and accuracy.

Stock, root, US southwest.
[T-Mobile LG G2x] tenbeau:
I have applied the gps fix and have had some improvement but I am wanting to apply the fla only zip (gps config) file on Bionix 2 rc1 (which I dearly love) I am hesitating because Krylon stated that he had changed the gps config in the rom. I find that it just specifies using google supl servers(I am not very familiar with what the file should say). My question is if I push the fla only gps config will it break the gps that I do have? I am getting locks within 30 seconds but not very accurate usually 40325 to 20135 to 753 ft or more down to 150 inside(once in a while it will go down to 52 ft and very rarely to 32 ft) and outside within about 15 - 25 seconds with accuracy of 2135 ft to 753 ft down to 13 ft. It does seem to jump around quite a bit at first. Maybe I should leave well enough alone, but i use the gps on a daily basis -multiple times per day, so I would like the best accuracy possbile. Any and all help is greatly appreciated!!!:)
[T-Mobile LG G2x] foethalove:
can you please clarify this "RW_R_R no execute for any owner/group and read-write for the root owner/group"

thanks
[T-Mobile LG G2x] kev0153:
Yeah sorry that post was a bit of a mess. Should be this.

Owner: Read Write

Group: Read

Others: Read

owner and group are both root
[T-Mobile LG G2x] neno322:
Had anyone just tired flashing this without installing this manuelly?

Rom: EB Froyo 1.04
[T-Mobile LG G2x] rizzxx7:
This will not flash
[T-Mobile LG G2x] kev0153:
The flashable files were designed for the HD2 running android.

I was toying with the idea of making a G2x flashable file. Let me look into it today.
[T-Mobile LG G2x] diablos991:
I think the ftp site is down again. It takes me to some company website.

Can anybody post the USA Southwest file?

Thanks.
[T-Mobile LG G2x] kev0153:
I went ahead a downloaded all the USA files and uploaded them to my dropbox account. No sense hammering the guys ftp server. I edited the original post. here is the link to the southwest

South West
[T-Mobile LG G2x] kev0153:
I've also made some files that will flash correctly to our G2x. I've tested the South West and it works. I'm running the Froyo version of EB 1.04, it should work on other versions but make a backup just in case.

Hawaii G2x cwm

NESE G2x cwm

NorthMidState G2x cwm

SouthEast G2x cwm

SouthWest G2x cwm

NorthEast G2x cwm

NorthWest G2x cwm

SouthMidSate cwm
[T-Mobile LG G2x] flexnix:
Which files exactly do I need to back up?
[T-Mobile LG G2x] kev0153:
I always make a complete system backup using cwm before messing with any system files or mods.
[T-Mobile LG G2x] flexnix:
Exactly what I thought would be the route I should be going. I was actually going to use root explorer and make a copy of the gps conf files but this would be safer.
[T-Mobile LG G2x] mastermindx85:
I flashed on cm7 still not getting a lock
[T-Mobile LG G2x] slickerxcuh:
the gps is slow in general, even my friend with a stock rom says it takes forever to lock his location. will this fix work for EB 1.0.2?
[T-Mobile LG G2x] kev0153:
It should. It just installs a file called gps.conf in your system/etc file. If ti works it works :p
[T-Mobile LG G2x] dougstoner:
Can confirm this works on EB fr 1.4. :)
[T-Mobile LG G2x] neno322:
has anyone tried it with EB 1.04 GB?? and does it work??
[T-Mobile LG G2x] solrac.dc:
VAST DIFFERENCE!! Thanks for this
[T-Mobile LG G2x] kev0153:
I think someone tried a few pages back and said that it seem to work.
[T-Mobile LG G2x] schmit:
maybe you can edit that post. It confused me too...

Updating the original post with the new files.. and further instructions would be helpful too? Thanks for this.. I'll test it out on bionix rc1
[T-Mobile LG G2x] schmit:
This is without the need to adjust permissions later?
[T-Mobile LG G2x] kev0153:
Yes, it will flash into system/etc with out any need to mess with permissions or groups. I edited the first post to make it a little more clear if you are doing it by hand.
[T-Mobile LG G2x] kev0153:
It's all been updated - thanks
[T-Mobile LG G2x] schmit:
cool thanks. flashed.. rebooted.. turned on GPS.. went to navigator and sat there for around a min seeking. Nothing. But, I'm indoors. :) Rebooting and heading outside with it.
[T-Mobile LG G2x] kev0153:
Let me know results. Double check that the gps.conf is in the system/etc. In case I messed up the cwm file ;)
[T-Mobile LG G2x] schmit:
ya, the file is in there.. Navigator does a fc on first run after a reboot.. duplicated 3x. Afterwards, it runs fine.

It's connecting, not sure if it's faster yet. I'll have to check it out more tomorrow. First test outdoors took around 4min to connect. Rebooted. 2nd test took around 1min.

Bionix RC1
[T-Mobile LG G2x] kev0153:
Ok, yeah not sure how cross compatible it is from ROM to ROM. Seems killer on the EB 1.04 Froyo, and think, GB.

I noticed my xoom has a gps.conf. I was going to copy one of these files over and see what happens.
[T-Mobile LG G2x] BDorestant:
Running phone back to pure stock non root and I downloaded this on mine and my wife's G2x and it takes no more than 30 seconds to lock. Big improvement from out of the box which took a few mins at times. Great work, thanks
[T-Mobile LG G2x] diablos991:
On the leaked gingerbread rom the settings don't hold.

I believe this is a flaw in the rom. The gps did methods work, but you must go back into the hidden menu and run a location test every time you restart the phone.
[T-Mobile LG G2x] schmit:
just as an update.. did more testing today. No improvement on Bionix RC1. Still around 4min to get lock.
[T-Mobile LG G2x] Acei:
Just tried downloading CANADA.zip v1.2, and tried flashing from the recovery. (I'm on CM7 nightly). It says invalid file.... Any ideas? I copied the file by turning on USB storage, and did drag and drop.

Thanks.
[T-Mobile LG G2x] kev0153:
You can't flash those files via cwm. They were designed for the HD2. You need to extract the gps.conf from the zip and install that by hand using root explorer. See the first post. If you are uncomfortable with that, I can make a flashable file for you. Let me know.
[T-Mobile LG G2x] kev0153:
Ok this one should flash to the G2x

http://dl.dropbox.com/u/6542496/gps/g2x cwm/G2x_Canada1.2.zip
[T-Mobile LG G2x] slickerxcuh:
Works with EB 1.02, very significant increase in speed to lock gps. Thanks!
[T-Mobile LG G2x] Acei:
Will try this one out - thanks much! :D
[T-Mobile LG G2x] Acei:
Just had a chance to try this out outside... Unfortunately, the locking time was about the same - couple of minutes. All of my previous phones - Nexus One, HTC Magic and G2 locked in much faster.

Its still much better than the Vibrant though... Once locked in, its pretty solid.
[T-Mobile LG G2x] techoverload:
Just wanted to drop a link in here, I posted on the other thread, I have a possible solution....works for me anyways

This thread
[T-Mobile LG G2x] solrac.dc:
I can confirm that this fix is working beautifully on Ultimates ROM. Lock is right on point and runs smoothly when getting directions

Thanks for this!!!
[T-Mobile LG G2x] kev0153:
Its funny, I was messing around with a GB ROM and didn't like it. Went back to Froyo and now my GPS is hosed. Nothing seems to get it back.
[T-Mobile LG G2x] virus5877:
just flashed the latest CM nightly (#38) and I'm using Faux's 1500 OC/UV kernel.

My GPS is hosed.

I've tried flashing the .zip you had in the OP and it didn't seem to change anything.

I've also tried that Qbanin gpsfix .apk file as well, it seemed to fix my gps lock issues on stock, but it's not doing **** for any GB ROMs I flash (tried bionix, faux, and CM7)
[T-Mobile LG G2x] xipher_zero:
You can also copy the file and change the permissions via ADB by doing the following:

adb remount #Makes the root file system writable

adb shell mv /system/etc/gps.conf /system/etc/gps.conf.original #Backs up Original gps.conf

adb push gps.conf /system/etc/ #Copy over the new gps.conf

adb shell chmod 644 /system/etc/gps.conf #Correct the Permissions

adb reboot #Reboot the phone so the file system is reloaded as Read Only

This will work as long as you are in the folder where the new gps.conf you downloaded is located.

Cheers
[T-Mobile LG G2x] Madblaster6:
What's NESE G2x cwm stand for?
[T-Mobile LG G2x] 3BeersKen:
I've always had good luck running GPS Status & Toolbox from the market to get a lock when it doesn't seem to want to lock in other programs.
[T-Mobile LG G2x] kev0153:
I think that is a generic script for North America.
[T-Mobile LG G2x] kev0153:
I went back to bone stock and rebuilt my system. GPS locks are super fast again.
[T-Mobile LG G2x] techoverload:
As I mentioned in my post you may want to try flashing the EB GB build without wiping anything, see if you can still lock, I went on a 200 mile trip yesterday, used the GPS several times without issue. Always insta locked and tracked perfectly.
[T-Mobile LG G2x] kev0153:
what's funny is after playing around with the stock rom and faux kernel, I kind of like it. I think I'm going to stick with it for awhile.
[T-Mobile LG G2x] rexxxlo:
ok guys im kinda a newb at this

i rooted and flashed with a few new roms but some of the lingo eludes me

when you say flash this to the phone ? how

do i use clockwork and the install update zip?

how about push the apk (i think i tyoed that right)

do i just connect the phone by usb and drag drop it in the right place?

or do i use a file manager on the phone like astro

sorry for the beginner questions but i dont get it and gps was one of the things i used the most on my blackberry and im dying to use the google star app but its jittery im assuming because it cant get a lock ?

thanks
[T-Mobile LG G2x] kev0153:
I would say your best bet is to flash the zip file using clockwork mod. Assuming you are rooted and have it installed.

Download the zip file for your region and move it to your external sdcard (assuming you have cwm setup like that). Boot into cwm and select install zip. Select zip from sdcard option. Navigate to the zip file that you saved and select it. Hit yes. Reboot phone.

If you have root explorer you can physically move the file to the system/etc directory. Directions are in the first post. I don't think astro has write permissions for system files.
[T-Mobile LG G2x] diablos991:
Could you elaborate on how you rebuilt your system?

Sent from my LG-P999
[T-Mobile LG G2x] kev0153:
I made a backup of my current rom in case something went wrong. I then wiped everything that had a wipe option (except sdcard). I think installed the stock ROM from here.

http://xdaforums.com/showthread.php?t=1048274

I then installed EB 1.04 Froyo and Faux Froyo Kernel.
[T-Mobile LG G2x] seamonkey420:
Worked great for mcr GB 2.3.3 rom!

This totally helped my GPS lock faster. Using the Modaco leaked GB 2.3.3 rom from modaco.com

I've noticed a 10x improvement on locks within foursquare. Before on all of my previous Android phones (N1, G2), it would take a few mins to lock; now its in 10secs or less. just tested at caribou :)

THANK YOU! Also, just as an FYI that most of us geeks forget about. This year and the next few years are filled w/solar flare activity and that in turn will also affect our GPS lock accuracy.

http://www.newscientist.com/article/dn10189-solar-flares-will-disrupt-gps-in-2011.html

http://www.dailytech.com/High+Solar+Activity+Could+Interfere+with+GPS+Signals/article17657.htm

i've def noticed GPS accuracy and speed decreased in the last 1 1/2 since having my first GPS phone back /w the iPhone 2G.

Location: Minneapolis, MN.

Used: North Mid States
[T-Mobile LG G2x] cpom1:
Thanks a lot man. This worked like a charm! For some reason my GPS was never accurate according to my location but this fixed it big time! Thanks again :D
[T-Mobile LG G2x] j.youngberg:
I flashed the appropriate zip for my region but I still can't get a lock.
[T-Mobile LG G2x] hitman4485:
This definitely helped. Noticed that GPS wasn't locking after I installed faux's Nexus GB hybrid. After I installed the zip and ran GPS Status app I get instantaneous locks. It takes some time at first but all works out in the end.
[T-Mobile LG G2x] dv8ed:
What app is everyone using to get locks Google Maps or Google Maps Navigation?
[T-Mobile LG G2x] j.youngberg:
Which zip did you flash ?
[T-Mobile LG G2x] ellmenohpee:
1st time poster here. Will the CWM flash work with EB 1.05?
[T-Mobile LG G2x] Krucial:
I have tried everything and my GPS is still wacky. I need some help getting my GPS back right......HELP!

G2x Deez Nuts
[T-Mobile LG G2x] slickerxcuh:
CyanogenMod-7.1 for G2x :: (V7.1-RC1) - Tested on this rom, and can confirm it does NOT WORK.
[T-Mobile LG G2x] kev0153:
Sorry didn't see your post. Yes it will flash on EB 1.05. That's what I'm using.
[T-Mobile LG G2x] artismyrevolt:
I pushed the south west file to /etc/gps.conf on my CM7 and it seems to be helping out. Thank you. All those nay sayers should try it again.
[T-Mobile LG G2x] popsi:
Thanks!

I'm using the G2x in Norway running CM7 RC and this did wonders to my GPS fix. Found the correct file on the FTP site and used root explorer to replace the existing file.
[T-Mobile LG G2x] inpherno3:
Yea not sure what other people say. But southwest region did not help at all. Nothing indoors and the same lockon time outdoors. Seemed to do nothing at all.
[T-Mobile LG G2x] inpherno3:
Using foursquare
[T-Mobile LG G2x] AngelDeath:
I'm glad to see my file is spreading, And just as an FYI for everyone, Any questions about the files, refer to the main post on the HD2 section, the best person who can answer them is me :)

And please hit the thanks button if I've helped you.

Also if you are having trouble downloading from the site, the site is fully up, but if you attempt to download it from a phone it will not download, unless you use opera or firefox mobile, the default browser is not capable of ftp links.

(I will not be monitoring this post, just seeing how far this file is spreading, so if you wish to speak to me, use my thread, link located in my sig)
[T-Mobile LG G2x] RealmMaster:
Exactly the same here too.
[T-Mobile LG G2x] NightH4wk12:
this works for me on MIUI
[T-Mobile LG G2x] steve841:
I posted this in another thread ... if helps anyone great... if not, it only cost you ten minutes...
[T-Mobile LG G2x] FatalityBoyZahy:
Worked great for me! Thanks!
[T-Mobile LG G2x] xKLoWNx:
Thank you!!! This boosted my Gps to pretty much instant. awesome!!!
[T-Mobile LG G2x] TonyStunts:
Tried southwest region on xboarders stock GB and does not work for me. GPS still sucks. Called support and they're gonna send a replacement. Hopefully it has the updated baseband.
[T-Mobile LG G2x] crx4xharder:
I have the updated baseband and still crap gps. Sensation locks in. less than 30 seconds after battery pull. G2x never locks.
[T-Mobile LG G2x] steve841:
Did you give my file above a try yet?
[T-Mobile LG G2x] crx4xharder:
I did not try it, however, I created my own supl server, per this thread I believe and is moderately better.

Edit: Tried the file with no luck. Seems like my best results are with three northeast gps.config file floating around and the added supl server. Still spotty at best... I recently sent my sensation in. for dusty under the screen and my g2x for getting bricked from the lg tool. Huge ddisappointment to have dust under the screen of the sensation 2 days after its returned, and crappy gps with the new radio on the g2x. I also can't use any roms non-lg based or I have absolute **** for service. Definitely beginning to think this is the wrong hobby for me. My mt4g is crap now too. Broken camera, sticking power button...
[T-Mobile LG G2x] noodles2224:
Whats the easiest, best way to to get this working? I live in los angeles ca and i chosed the northwest gps g2x flashable zip and still nothing. Im using xboarder ota 2.3.3 non tweaked rom

Sent from my LG-P999