Android OS Forum banner

Optimal GPS settings for Galaxy Nexus

142K views 195 replies 107 participants last post by  giorgis91  
#1 · (Edited by Moderator)
Since my first android which was a fascinate i I have obsessed with The gps . Finally I managed to get the correct setting but it was time for an upgrade ..Out of the box I was very disappointed with the how long it took to get a GPS lock on my GN ..So after doing my homework and and trying out a few different apps and settings I Finally have it down to a science where I get almost and instant lock !. There is a handy little free app called "GPScompassMap" that you can get at the market . It is an accurate app that tells you how many satellites you are locked into . Before you change your Gps settings do a test and see how many satellites you are locked into .. If your not getting between 8/8 and 11/11 then this is for you !Of course make a backup .
.
The only settings that will be effected are your GPS settings .

Please click "Like" just so I can see how many people these settings are working for.
I am not sure what that "Vote" button is for but it wont hurt to click on the "Vote" button too
Image

By the way you will never have to purchase another GPS app again
Image
. I am not asking for donations ..Just click like or make a comment ..

For some reason for the most part "angy GPS" is not opening up for a lot of people .This app is not a necessity just a tool . you do not need any apps for this configuration to work . By the way people are reporting that this is working for everyone not just CDMA .. Once again make a backup and enjoy your tweaked out GPS settings !
Thanks ,

Mitch

Here is the flashable zip file ! UPDATED ! AND YES IT WORKS ON JELLY BEAN 4.1 !
 

Attachments

#8 ·
There's a free open source app, FasterGPS, that aims to accomplish the same end. Any thoughts on these settings vs the defaults it uses? It only includes north america as one of the stock options so I'm trying 0.us.pool.ntp.org now a bit to see if it makes things a bit snappier. It doesn't seem to provide for multiple entries under NTP_SERVER though.
 
#12 ·
Since my first android which was a fascinate i I have obsessed with The gps . Finally I managed to get the correct setting but it was time for an upgrade ..Out of the box I was very disappointed with the how long it took to get a GPS lock on my GN ..So after doing my homework and and trying out a few different apps and settings I Finally have it down to a science where I get almost and instant lock !. There is a handy little free app called "GPScompassMap" that you can get at the market . It is an accurate app that tells you how many satellites you are locked into . Before you change your Gps settings do a test and see how many satellites you are locked into .. If your not getting between 8/8 and 11/11 here are the recommended settings .
of course make a backup :) By the way this is for United States settings ...Remember you need a program like root explorer to get access to the file. The file is located in System /etc and of course The name of the file is GPS.cnf ... These setting are awesome but like i said make a backup .

.I added a hard to get app that allows easier access to your GPS settings allowing for more tweeks ! Try and find that one in the market ! : )

ENJOY : )

NTP_SERVER=server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
XTRA_SERVER_1=0.north-america.pool.ntp.org
XTRA_SERVER_2=1.north-america.pool.ntp.org
XTRA_SERVER_3=2.north-america.pool.ntp.org
XTRA_SERVER_4=http://xtra3.gpsonextra.net/xtra.bin
XTRA_SERVER_5=http://xtra2.gpsonextra.net/xtra.bin
ACCURACY_THRES=80
SUPL_PORT=7276
SUPL_HOST=supl.google.com
so i pasted this into the file overwriting what was there, and reformated it so it looks like you have it. i also have the angrygps (btw it downloads as an htm file, you need to change the extention to apk, all those who download).

as for the angrygps, i see lots of other options here, like operation mode and other stuff... what is the best fastest and most accurate settings to use in this app?
 
#13 ·
I copy and pasted the settings over the default GPS.conf configuration, and my average lock with 7+ satellites is ~3.5 seconds. It was HORRIBLE before. I would be lucky to see 3 satellites within a minute or two. Thanks for the fix.

As far as I am concerned, this is confirmed to work.
CDMA running AOKP M4 - Leankernel 2.8.0

Sent from my Galaxy Nexus using RootzWiki
 
#21 ·
First off, make sure you are using a file explorer that can navigate up to root (if your highest directory is /sdcard/ you need to check the program's settings; root is just a slash with nothing following) and mount /system/ as writable. A lot of people recommend root explorer, personally I use ES file explorer, which has these options disabled by default but they're there.
Navigate to /system/etc. The gps.conf file is here. You can copy it to your computer and modify it according to the OP. Then just replace the one that's there with your modified version. Easy-peasy!
 
#24 ·
To the OP - This works great. Thank you!

Open a command window and do the following

adb pull /system/etc/gps.conf
copy gps.conf gps.conf.bak

Now open gps.conf with Notepad++ and paste in the new settings.
Save changes and close Notepad++
Go back to your command window

adb remount
adb push gps.conf /system/etc/gps.conf
adb shell chmod 644 /system/etc/gps.conf
adb reboot

Done!

I could create a quick update script for anyone who would rather flash these settings. Just let me know.
 
#28 ·
Since my first android which was a fascinate i I have obsessed with The gps . Finally I managed to get the correct setting but it was time for an upgrade ..Out of the box I was very disappointed with the how long it took to get a GPS lock on my GN ..So after doing my homework and and trying out a few different apps and settings I Finally have it down to a science where I get almost and instant lock !. There is a handy little free app called "GPScompassMap" that you can get at the market . It is an accurate app that tells you how many satellites you are locked into . Before you change your Gps settings do a test and see how many satellites you are locked into .. If your not getting between 8/8 and 11/11 here are the recommended settings .
of course make a backup :) By the way this is for United States settings ...Remember you need a program like root explorer to get access to the file. The file is located in System /etc and of course The name of the file is GPS.cnf ... These setting are awesome but like i said make a backup .

.I added a hard to get app that allows easier access to your GPS settings allowing for more tweeks ! Try and find that one in the market ! : )

ENJOY : )

NTP_SERVER=server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
XTRA_SERVER_1=0.north-america.pool.ntp.org
XTRA_SERVER_2=1.north-america.pool.ntp.org
XTRA_SERVER_3=2.north-america.pool.ntp.org
XTRA_SERVER_4=http://xtra3.gpsonextra.net/xtra.bin
XTRA_SERVER_5=http://xtra2.gpsonextra.net/xtra.bin
ACCURACY_THRES=80
SUPL_PORT=7276
SUPL_HOST=supl.google.com
G NEXUS
 
#30 · (Edited by Moderator)
Can someone just upload the updated GPS file for us to download and keep on our SD cards. That way we can just replace the other whenever we flash a new ROM or do something...crazy...?

Edit: Allow me :) http://db.tt/1kvCSsVF
Edit 2: I'm not responsible for shit btw!!

Sent from my Galaxy Nexus (AOKP b33 , GLaDOS v1.30, Newest 4.0.4 Radios, Inverted Gapps, TWRP2 Recovery) using Inverted Green Tapatalk 2!
 
#31 · (Edited by Moderator)
While we're all sharing, I sat down and taught myself how to make and sign flashable zips today, and I packaged this file into one for future rom flashing ease. Here it is if anyone else would like to use it. But I highly encourage anyone who generally looks for other people to throw these up to put in the time to learn it. It takes a little while to learn some terminology but actually doing it is pretty fast and easy once it's set up.
View attachment 24408
 
#32 ·
Wow! This gps.conf file not only got me a faster lock, but made the GPS much more accurate. Navigation would sometimes show me driving on a parallel road one block to the north or west of where I was. My Tracks had me jumping all over the place over creeks and such. Now it knows which side of the road I'm on.
I'd guess that this fix uses a tiny bit more data and battery to do extra NTP syncs, but I DON'T CARE!!

Thanks Mitch!!!!