Can someone post their GPS.CONF file ? - Thunderbolt General

I'm asking because sometimes with AOSP roms the GPS "fix" can get screwed up and not work. Due somehow to the 'gps.conf" file missing appropriate data.
for instance here is mine:
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST-supl.google.com
SUPL_PORT=7276
C2K_HOST=default
C2K_PORT=0

↑↑ everything looks correct to me and I run cm7 ↑↑

weird though... i've tried the "Faster Reboot / Faster Fix" method to try and fix the GPS, tried using that "GPS Status" app also.. and finally tried wiping everything, installing Synergy, getting a lock, then wiping again & re-installing CM7 but Maps still will not show my location. Although 'Navigation' does... hmmm...

voxigenboy said:
weird though... i've tried the "Faster Reboot / Faster Fix" method to try and fix the GPS, tried using that "GPS Status" app also.. and finally tried wiping everything, installing Synergy, getting a lock, then wiping again & re-installing CM7 but Maps still will not show my location. Although 'Navigation' does... hmmm...
Click to expand...
Click to collapse
I've seen people change north-america to us, but I never saw a difference. I think that would be more limiting anyways, especially if you live closer to the border.

yareally said:
I've seen people change north-america to us, but I never saw a difference. I think that would be more limiting anyways, especially if you live closer to the border.
Click to expand...
Click to collapse
Heh. I've tried changing it to ' us ' also but that didn't help any. I'm assuming that perhaps this file is not configured correctly as a friend has a MyTouch 4G / CM7 and hers shows some sort of SUPL line and specifies a t mobile site. I am wondering if there is a Verizon URL that needs to be added anywhere

if you tell me where the file is I will post it.

Running synergy 8.22 nightly,
Here's my complete file:
NTP_SERVER=us.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org
NTP_SERVER=0.north-america.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
C2K_HOST=default
C2K_PORT=0
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0
## Intermediate positioning, reduces accuracy, increases speed
INTERMEDIATE_POS=1
## Enables network positioning before you get a gps fix
ENABLE_WIPER=1
## Accuracy threshold for intermediate positioning
## 0 for no threshold causes 'Skipton bug'
ACCURACY_THRES=5000
### AGPS SETTINGS ###
## Use Google AGPS server
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
DEFAULT_AGPS_ENABLE=TRUE
courtesy of my bolt and Tapatalk

ILMF said:
Running synergy 8.22 nightly,
Here's my complete file:
NTP_SERVER=us.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org
NTP_SERVER=0.north-america.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
C2K_HOST=default
C2K_PORT=0
Click to expand...
Click to collapse
just wanted to say,
******* THAT IS THE FIX FOR AOSP ROMS' GPS *******
match that up exactly if you have any AOSP with a non working GPS and it fixes it.
thanks!

Related

GPS Issues finally resolved... Add google GPS server to SUPL providers

I live in portland, oregon and for whatever reason, have never been able to get a consistent lock when using navigation in google maps. Tried changing to Spirent and then to LG gps servers, changing modes between standalone and ms-based and ms-assisted, and any improvements I got seemed to be fleeting or fitful at best. Then I found out how easy it was to add google's servers to that list and have been getting rapid (pretty much immediate) location locks and much better gps functionality ever since.. If you haven't already, here's how you add google's gps servers to the list in your g2x hidden menu:
open your phone dialer and dial 1809#*999#
Select GPS Test on the following menu
Select System Settings
Select SUPL Setting
Select SLP Server Setting
Press your menu button and then select add
Name it whatever you'd like
slp address: supl.google.com
Port: 7275 or 7276
For certification file I just put in: /data/data/SUPL/googlesupl.dat
Check the TLS box.
Click menu then save.
I also have use XTRAS and Use extended CONF file boxes selected..
For operation mode I have used standalone and ms-based with similar results, which is to say much better performance than on either tmobile or spirent's slp servers. To change operation mode, go to get position, then hit menu button and then select settings and you'll see it there.
Now test by choosing get position, and if it works for you like it did for me, INSTANT LOCKS AND AWESOME GPS FUNCTIONALITY!
hope this helps some of you out there.
frescoraja said:
open your phone dialer and dial 1809#*999#
Click to expand...
Click to collapse
That code doesn't work for me. Phone just sits there forever saying "USSD code running" after I enter the code and press the "call" button.
I thought those codes usually started running whatever program they call right after you enter the last digit (i.e. you don't have to press the call button).
lannister80 said:
That code doesn't work for me. Phone just sits there forever saying "USSD code running" after I enter the code and press the "call" button.
I thought those codes usually started running whatever program they call right after you enter the last digit (i.e. you don't have to press the call button).
Click to expand...
Click to collapse
That code only works on stock roms and stock-based roms with the LG framework still in place.
Which rom are you running?
Same issue for me. I'm running eagles blood 1.08. GPS is working right now. Figured adding another server can't hurt in case it stops working later...
For non-stock roms (or any rom for that matter) you can just open up gps.conf in /system/etc with Root Explorer and add it manually. It will be obvious where to add a new supl server.
It's one of those days where the obvious eludes me.. Here's what mine says and where do I put it?:
NTP_SERVER=xtra1.gpsonextra.net
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=lbs.geo.t-mobile.com
SUPL_PORT=7275
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=7275
################################
# EXTRA SETTINGS
################################
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
Real easy with MIUI. Settings > GPS config... edit settings. New trick I learned today.
Honestly... didn't notice a difference.
LG G2x - 2.3.5 MIUI Love
Asus TF - Custom 3.2
Wow, I didn't know there is a hidden menu for that. I flash my setting through a .zip file to change the settings. Nice post.
Posted a few days ago...
http://forum.xda-developers.com/showthread.php?t=1222022
deleted by jb
For me it's telling me gps.conf cannot be changed because the file system is read-only.
:/ how can i change that?
never mind... i saww mount r/w on the top right of root explorer and then a light bulb went off in my head... thx again guys It's still slow, so i'm rebooting the phone.
Still slow... gonna mess with it more tomorrow...
broncosman said:
For me it's telling me gps.conf cannot be changed because the file system is read-only.
:/ how can i change that?
Click to expand...
Click to collapse
If you are rooted, you have to enable the option of RW (read write).
If you are not rooted, I'm not sure what options you have.
gps worked before but was sluggish compared to now. this increased both inital lock times and following lock times and improved location. simply edit the cfg if your in canada. idk which supl server takes priority if you simply add another through the menu. takes only 5 seconds to root the phone/edit the file.
Phenomenal
SAWEET!!!!....Works like a charm. This was the last thing that I had any issues with and they weren't huge. This now makes this the best phone I have owned. Iphone4 doesn't compare. Thanks OP!
Been using GPS ALL FRICKIN DAY!
Phenomenal with this fix. Instant locates very accurate and working with all apps that use GPS.
Now if I could find the tele-nav files to use on Warrior thus would be rocking!
Sent from my intergalactic space modulator using XDA app
When I check the "Use Extended Conf File" and "Use XTRAS" both are not checked once I leave the Hidden Menu and go back in. Any ideas on that?
i dont know about you guys but i didnt see any different with this running cm7 122!
i did this without the dialer code because its only for stock roms
my gps only tells me an 100% where i am if i have wifi on.. thats with google maps.
i did this and no changes and my navigation takes for ever looking for gps!
gypsy214 said:
i dont know about you guys but i didnt see any different with this running cm7 122!
i did this without the dialer code because its only for stock roms
my gps only tells me an 100% where i am if i have wifi on.. thats with google maps.
i did this and no changes and my navigation takes for ever looking for gps!
Click to expand...
Click to collapse
It works flawlessly for me without Wi-Fi on. It's kind of hard to get a Wi-Fi hot spot driving down the
freeway at 75 MPH.
Sent from my intergalactic space modulator using XDA app
gypsy214 said:
i dont know about you guys but i didnt see any different with this running cm7 122!
i did this without the dialer code because its only for stock roms
my gps only tells me an 100% where i am if i have wifi on.. thats with google maps.
i did this and no changes and my navigation takes for ever looking for gps!
Click to expand...
Click to collapse
Same here! I've tried everything...i get instant locks with froyo but it takes forever to get a lock on all custom roms.
Sent from my LG-P999 using XDA App
AriaNoob said:
Same here! I've tried everything...i get instant locks with froyo but it takes forever to get a lock on all custom roms.
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Try it using the dialer code. I'm using Weapon for my ROM and it works better than it did with stock.
Sent from my intergalactic space modulator using XDA app

[REF] Tweaking the GPS for Speed and Accuracy

I don't take credit for this, I'm just basically confirming that if you are inside the US, the following tweak should improve lock speeds and accuracy. I was able to lock on inside my house < 10 secs, with a 6 meter accuracy. It's been done on a number of phones -- just posting it for the folks here who haven't found the tweak yet.
It requires root - see the threads in this forum.
To install it, you should create a backup of your /system/etc/gps.conf file before doing anything. The easiest way is to use Root Explorer and then copy the file to somewhere on your sd card. (Make a directory, or put it in a safe place).
[ Edit: Sorry, I'm having trouble getting the new file attached - the links below work (I think) but look sort of funny ]
Download and unzip the file View attachment 784134, then copy the attached file to /system/etc/gps.conf. Reboot or power off/on and you are done. (Again, use Root Explorer if you aren't comfortable enough with terminal/adb shell to do this on your own.)
Alternately you can edit your existing file with the text editor of your choice. All you are doing is replacing the NTP server and adding the SUPL lines at the bottom.
Code:
# Thanks to Da_G from the xda-forums for additional information on data for
# the below changes. Switch to the us.pool.ntp.org for better time resolution
# inside the US, but the xtra1 servers are good worldwide. You can
# Also just choose one of the below *.pool.ntp.org areas for where you plan
# to use your GPS.
########################################
###Uncomment only one NTP_SERVER line!##
########################################
##### US Time Servers
NTP_SERVER=us.pool.ntp.org
##### Worldwide
#NTP_SERVER=xtra1.gpsonextra.net
##### Continental Servers
##### Asia
#NTP_SERVER=asia.pool.ntp.org
##### Europe
#NTP_SERVER=europe.pool.ntp.org
###North America
#NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 5
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# GPS Capabilities bit mask
# SCHEDULING = 1
# MSB = 2
# MSA = 4
# default = MSA | MSB | SCHEDULING
CAPABILITIES=0x7
# The SUPL_HOST and SUPL_PORT lines below can be commented out if
# you will be using your GPS outside the AT&T network and/or outside.
# the US. The Skyrocket is configured to use the AT&T servers by
# default, and Da_G's says that the AT&T has a more accurate
# geolocation database.
#SUPL_HOST=supl.google.com
#SUPL_PORT=7276
After you have made the changes reboot your phone. (power off/on)
Here's the gps.conf file - just unzip it and replace. It is *NOT* something that can be flashed, just the conf file: View attachment 784134
Enjoy.
tejones36 said:
I don't take credit for this, I'm just basically confirming that if you are inside the US, the following tweak should improve lock speeds and accuracy. I was able to lock on inside my house < 10 secs, with a 6 meter accuracy.
...
Click to expand...
Click to collapse
My phone already does this, even while indoors. Has anyone been having worse GPS quality?
Mine was at 25ft previously. It's been reported on quite a few forums to improve both lock time (mine improved here as well) and accuracy.
Two seconds to first lock with 3 sats. 4 seconds later floating between 9 and 10 sats locked.
F'n sweet. No tweaks needed.
gheck911 said:
Two seconds to first lock with 3 sats. 4 seconds later floating between 9 and 10 sats locked.
Click to expand...
Click to collapse
Mine improved from 5m to 3m accuracy indoors and better lock times so I thought I'd share something I found useful.
Daedalus_ said:
My phone already does this, even while indoors. Has anyone been having worse GPS quality?
Click to expand...
Click to collapse
Same here. We shouldn't be scaring people into thinking that the SR has accuracy issues.
Dranakin said:
Same here. We shouldn't be scaring people into thinking that the SR has accuracy issues.
Click to expand...
Click to collapse
By that logic, we shouldn't be building custom kernel's or ROMs - we shouldn't be scaring people into thinking that the SR has UI or development issues right?
tejones36 said:
By that logic, we shouldn't be building custom kernel's or ROMs - we shouldn't be scaring people into thinking that the SR has UI or development issues right?
Click to expand...
Click to collapse
You know that's not even a logical analogy. Don't be a douche now.
Does this file work on all GB devices, or at least Samsung devices, or at least least an Infuse?
thx
Yup, pretty much everything that I've seen so far.
Sent from my SAMSUNG-SGH-I727 using Tapatalk
(nothing to see here, move along...)
How is the GPS Lock and Tracking say compared to HTC or Motorola? Just wondering because I am debating on going back to BB tomorrow and swapping out my HTC Vivid for this phone. Just slightly worried as I have hear horror stories about Samsung and horrible GPS.
malickie said:
How is the GPS Lock and Tracking say compared to HTC or Motorola? Just wondering because I am debating on going back to BB tomorrow and swapping out my HTC Vivid for this phone. Just slightly worried as I have hear horror stories about Samsung and horrible GPS.
Click to expand...
Click to collapse
I don't know about either of those phones, but I had the Captivate which was pretty horrible. both the SGS2 and the skyrocket are excellent right out of the box with none of those problems.
This post was meant to be about getting that last couple percent of accuracy and lock time, or to possibly help if someone had a restricted view of the sky via the SUPL lines at the bottom of the config along with closer geographic time servers. I've used the GPS heavily in the last couple of weeks and it's been terrific.
( Obviously the Skyrocket was only released this past Sunday, but I was using the OGS2 prior to returning it for the Skyrocket upgrade. )
tejones36 said:
I don't know about either of those phones, but I had the Captivate which was pretty horrible. both the SGS2 and the skyrocket are excellent right out of the box with none of those problems.
This post was meant to be about getting that last couple percent of accuracy and lock time, or to possibly help if someone had a restricted view of the sky via the SUPL lines at the bottom of the config along with closer geographic time servers. I've used the GPS heavily in the last couple of weeks and it's been terrific.
( Obviously the Skyrocket was only released this past Sunday, but I was using the OGS2 prior to returning it for the Skyrocket upgrade. )
Click to expand...
Click to collapse
Very good to know. I am actually one of those that has issues getting gps lock in my house not sure even this will help considering I have a tin roof. Still good to know that this has good GPS out of the box.
(wave) Hi
On the topic of this thread,
I did some disassembly on the GPS kernel module, and it is looking at 3 seperate config files for configuration infos. /etc/gps.conf, /data/data/angryGps/secgps.conf (i think there's a com.android in there, have to go double check, don't remember from memory) and /etc/loc_parameter.ini.
loc_parameter.ini appears to be the most interesting one, with a number of previously undocumented configurations. Notably the GPS is always defaulting to start up in "driving mode" vs. "pedestrian mode" which anyone familiar with the function of GPS will know means there is a filtering algorithm active to prevent some GPS updates from getting to the user (if the location has not moved more than 5 meters in any direction since the last update, assume this falls within the margin of error and report no movement)
Pedestrian mode is desirable in many cases as there are no GPS reports filtered out and you get the constant position updating every second.
Also the GPS driver reports 1Hz update mode, which is common for consumer level GPS receivers. More expensive/higher level receivers can report as fast as 3 times per second. It might be possible to tweak our GPS to perform similarly (boy wouldn't that be sweet)
Lastly, the GPS driver defaults to full verbosity in logcat output. This might be slightly detrimental to performance and flipping a simple bit in loc_parameter.ini cuts the amount of output by a large amount with every position update.
Out of box the GPS daemon is configured to use AT&T's SUPL server, so switching to google's SUPL server should actually be detrimental to GPS time-to-first-fix performance, since AT&T has a much more accurate geolocation database driving their SUPL platform vs. google. Outside of the US however, I imagine google's SUPL server will perform better. Also, outside of AT&T's data network their SUPL server is not accessible, so this is another case switching to google's SUPL server would be advantageous.
Further disassembly tonight
Da_G,
Thanks for the very informative post! Glad to see someone well versed in the subject commenting.
Da_G said:
I did some disassembly on the GPS kernel module, and it is looking at 3 seperate config files for configuration infos. /etc/gps.conf, /data/data/angryGps/secgps.conf (i think there's a com.android in there, have to go double check, don't remember from memory) and /etc/loc_parameter.ini.
loc_parameter.ini appears to be the most interesting one, with a number of previously undocumented configurations.
.
.
Click to expand...
Click to collapse
This does sound pretty interesting and worth playing with. Is there an easy way (like killing a process, like in system panel or from a terminal) to get the process to reread the config file short of a reboot? I have no idea if mobile phones can take a kill -HUP <pid> and reread, or just a -TERM and the system restarts it.
Pedestrian mode is desirable in many cases as there are no GPS reports filtered out and you get the constant position updating every second.
Click to expand...
Click to collapse
That does sound interesting - I wonder if the "pedestrian" routing on google maps actually does something besides changing how it routes - maybe it also changes the gps functionality as well?
It might be possible to tweak our GPS to perform similarly (boy wouldn't that be sweet)
Click to expand...
Click to collapse
Definitely!
Lastly, the GPS driver defaults to full verbosity in logcat output. This might be slightly detrimental to performance and flipping a simple bit in loc_parameter.ini cuts the amount of output by a large amount with every position update.
Click to expand...
Click to collapse
If you'd like me to include that file with instructions in the first post, I can certainly do so (and properly accredit you of course).
Out of box the GPS daemon is configured to use AT&T's SUPL server, so switching to google's SUPL server should actually be detrimental to GPS time-to-first-fix performance, since AT&T has a much more accurate geolocation database driving their SUPL platform vs. google. Outside of the US however, I imagine google's SUPL server will perform better. Also, outside of AT&T's data network their SUPL server is not accessible, so this is another case switching to google's SUPL server would be advantageous.
Click to expand...
Click to collapse
Good to know. What amount of time do you think the first fix might be delayed, order of magnitude wise? (1s, 10s, etc.) I'd trade a short period of time for better global/rural data possibly, but it's good to know the trade offs.
Further disassembly tonight
Click to expand...
Click to collapse
Awesome, thanks for the info!
So I tried to download the attachment didnt work. Then I tried to put in that information and rebooted. But it still doesnt lock on with google maps.
atomoverride said:
So I tried to download the attachment didnt work. Then I tried to put in that information and rebooted. But it still doesnt lock on with google maps.
Click to expand...
Click to collapse
I've included the full file now in the main post, it's working on my phone. Here's a copy of the file as well - I'll try to relink it in the original post.
gps.zip - gps.conf replacement: View attachment gps.zip
@Da_G
Is the 5 meter update condition meant to filter out noise from inaccuracy? Does increasing the Hz on the position update compromise battery life?
@tejones36
Earlier I wasn't trying to be rude, I was just saying that my GPS works fine and if yours isn't it might've been broken.
What is the address for AT&T supl? Or does it default to this if you have no supl lines?

[Q]Gps Issues

hello, i am on stock rooted deoxed rom and on entropys DD kernel!...
there are gps issues with my phone, with no settings changed the gps wont lock on forever..... i go to gps essentials and see and it just says no fix........
i tried the nokia supl fix and it now shows how many satellites but it takes over 2-3 minutes to get a fix and immediately loses the fix and again takes much time to fix and again it looses....... cant even get a constant fix
please help me
any one help me please, cant even use the phones gps to know my location and to get directions....
What modem are you using? Maybe trying to flash a different one??
-U.S Army-
first flash the UXKG3 modem, then download and rename the attached file below to gps.conf and replace with the one that have the same name in system/etc/
hope it can help ^^
lexsupa said:
first flash the UXKG3 modem, then download and rename the attached file below to gps.conf and replace with the one that have the same name in system/etc/
hope it can help ^^
Click to expand...
Click to collapse
It won't help to simply replace with this one, as it is blank.
"NTP_SERVER=COUNTRY.pool.ntp.org
NTP_SERVER=0.COUNTRY.pool.ntp.org
NTP_SERVER=1.COUNTRY.pool.ntp.org
NTP_SERVER=2.COUNTRY.pool.ntp.org
NTP_SERVER=3.COUNTRY.pool.ntp.org
NTP_SERVER=0.REGION.pool.ntp.org
NTP_SERVER=1.REGION.pool.ntp.org
NTP_SERVER=2.REGION.pool.ntp.org
NTP_SERVER=3.REGION.pool.ntp.org"
You need to edit this gps.conf to reflect your own location before it will do anything.
For example, if you are in North America (country) you would have to edit country so that it was like, north-america.pool.ntp.org
http://www.pool.ntp.org/en/
thanks guys, will try it out and let you guys know
i am using UCLB3 and i am from India btw...
btw, also which modem is the best in terms of stability and battery drain? coz UCLB3 drains a lot of battery when i am at college and signal is wery weak like 1 or 2 bars, for approx 7 hours....
so for india the gps.conf with nokia fix is this?
or only one ntp server is enough?
the servers listed for india in ntp website are
server 1.in.pool.ntp.org
server 1.asia.pool.ntp.org
server 3.asia.pool.ntp.org
Code:
NTP_SERVER=1.in.pool.ntp.org
NTP_SERVER=1.asia.pool.ntp.org
NTP_SERVER=3.asia.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
DEBUG_LEVEL = 3
INTERMEDIATE_POS=1
ACCURACY_THRES=5000
SUPL_HOST=supl.nokia.com
SUPL_PORT=7275
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
DEFAULT_USER_PLANE=TRUE
i tried the above file as i posted, 8 satellites are visible but no fix.... ??
recently there have been a number of reported gps issues, either extreme lag on the phone with some aosp roms or just no locks, it almost universally affected the galaxy nexus for several days. seems there has been some external influence. it may get better. if not backup your apps and sd card and do a full wipe on your phone through settings rather than recovery which i will warn wipes the sdcard! this is the only thing that has helped my captivate and infuse when things get screwy with gps problems that often start when trying somebody's new gps fix.
the nokia server seems better than google but other than that i haven't been happy with these gps "fixes" that involve configuration files because if it was that easy don't you thing samsung would have done it? however, things you might try are to get into angry gps (use the dialer code *#3214789650#* or something like that to launch it) and try switching supl settings over to control plane, and if that doesn't work try it in standalone mode instead of an agps mode, the first lock may take a while but on the captivate i found agps messed with tracking, it just didn't handle gps well at 50mph while it had to fight with maps which downloads the maps for signal time, for that reason the captivate also prefers alternative nav programs that have maps on the sdcard which you may also want to try but it never proved to be an issue on my infuses. standalone may not work well if you use the gps infrequently because it takes time to get the nvdata without agps being on. (i was one of the few that could navigate with my captivate and laugh at my friends with blackberries and iphone 3g's when my phone worked better. but all of my experience with it was contrary to popular opinion on the forums who all swore agps was better because it locked faster then blamed samsungs hardware and software that they couldn't navigate with it. i may have also had an exceptional captivate and i did have issues with the gps but only if the phone needed a reset after some alternative settings messed it up)
another things is that unlike many android phones the galaxy s/ infuse dont have gps firmware in the modem. but on galaxy s phones the modem still seems to be an infulence and my best uneducated guess is that it has something to do with interference or the coexistance algorithms. i haven't seen modems on the infuse help/hurt but by all means try them. you may even want to try sgs4g modems which do work.
mkiriti said:
hello, i am on stock rooted deoxed rom and on entropys DD kernel!...
there are gps issues with my phone, with no settings changed the gps wont lock on forever..... i go to gps essentials and see and it just says no fix........
i tried the nokia supl fix and it now shows how many satellites but it takes over 2-3 minutes to get a fix and immediately loses the fix and again takes much time to fix and again it looses....... cant even get a constant fix
please help me
Click to expand...
Click to collapse
mkiriti i have achieved great results by using "FasterFix" from market to easily set an alternate GPS config for your particuar region. Also, if that does not work for you, as stated above you should try flashing another modem. I have really good results with the UCKL2 modem.
For a list of modems and some user feed back, you can have a look here:
http://forum.xda-developers.com/showthread.php?t=1173704
thank you guys i will try out your solutions and let you know
NTP_SERVER=1.in.pool.ntp.org
NTP_SERVER=1.asia.pool.ntp.org
NTP_SERVER=3.asia.pool.ntp.org
but i still dint understand are these correct? or
NTP_SERVER=in.pool.ntp.org
NTP_SERVER=asia.pool.ntp.org
NTP_SERVER=asia.pool.ntp.org
which of them is correct?

GPS Problems even with V21Y

Hey guys. I LOATHE posting new threads, but this problem has been plaguing me since I bought this phone, and I need to find out whether i'm being a retard, or whether my phone is a dud.
I recently just updated to the latest V21Y baseband using OTA. I have since gone back to Hellsfire ICS.
I've used the standard GPS.CONF. I've used many different kinds, I've tried Google Supl server, i've tried T-mobile. I get locks sometimes in 90 seconds, sometimes in 5 minutes. It's totally unreliable and annoys me that my old Sony X10 gets a lock in 1-2 seconds whereas this thing has caused me to get lost a million times.
I'm in Kuala Lumpur, Malaysia. I've changed the NTP server to the Malaysian equivalent.
Still no cake.
To summarize:
1) It DOES lock....but after 90 seconds - 5 minutes
2) I use GPSTEST by Mike Lockwood in order to get my lock. I've used GPS Status & Toolbox by MobiWIA - EclipSim but that seems to be worse
3) i've tried a variety of different ROMs from Weapon, to Hellsfire, Eaglesblood. Same issues
Baseband: M6600A-SCAUTNZ-2.0.9720T 1 [Mar 11 2012]
Kernel:2.6.32.59 - CM9-faux123-050 [email protected] #39 SMP Preempt Wed May 9 (Does the kernel affect GPS performance?)
CynogenMod Version: 9.0.0 - HellFireSandwich_v1.9
Thanks
Check out this post, it helped me immensely....
http://forum.xda-developers.com/showpost.php?p=29199464&postcount=4
Here is my gps.conf which works pretty well on cm7.2 with 21y bb
NTP_SERVER=xtra1.pancetta.net
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=1
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=1000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=lbs.geo.t-mobile.com
SUPL_CERT=/etc/SuplRootCert
SUPL_PORT=7275
PHONE_TYPE=UMTS
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=7275
################################
# EXTRA SETTINGS
################################
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
Although not in the same geographical location as you, I've had the same issues on all ROMs and Kernel combinations. I have found that the only combo that gets me a lock withing 1-3 sec. is the new BB on a stock rom. Give it a try!

ROM Devs: fix GPS for all users by pointing NTP to localhost

To all the Note 3 rom devs/maintainers out there, there still seems to be a lot of people suffering from GPS lock failures.
There are in fact two unrelated issues -
1. Maps API does not properly trigger the hardware GPS (or causes it to reset during navigation) (issue resolved by Google as of mid-2017)
2. GPS sees satellites but never locks
Issue #1 has been present for over a year and after pouring through the LocationService and GPS code, I've got nothing. It seems to have something to do with either the voting process to keep the GPS hardware powered up, or concurrent access causing a reset when play services get involved. Still working on it. GPS Locker is an effective workaround, and would be a worthwhile include if the author allows it.
Issue #2, however, is an easy one to fix. It's due a bug in the GPS firmware. Someone at Samsung or Qualcomm clearly didn't understand how GPS works when they wrote the AGPS implementation, and included an option to specify an NTP server. NTP servers are redundant on a smartphone GPS. They are not accurate enough for GPS positioning (GPS time signal is required for a lock), and the system clock is more than accurate enough to utilize GPS assistance data.
The issue arises when distant NTP servers are specified (possibly timezone related), and it is enough to break the GPS implementation.
It turns out that if you point the NTP client to localhost (with no ntpd running), the AGPS implementation falls back on the system clock. This eliminates the need to use FasterGPS to specify a local time server.
I've attached a gps.conf file (zipped) that will always work reliably, anywhere in the world. Assisted locks take 5-10 seconds.
It would be great if we can put at least this issue to rest once and for all.
*edit* for anyone else who wants to use this file, simply mount /system rw, deploy the unzipped gps.conf to /system/etc (mode 644), and reboot. If you're not sure how to do this, hang tight until someone creates a flashable .zip or it (hopefully) makes its way into various ROMs.
How to use this file
Thanks
Sent from my SM-N930F using Tapatalk
casperusm said:
How to use this file
Thanks
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
Updated the main post.
Unzip the file, mount /system read-write, deploy into /system/etc, and reboot.
lambgx02 said:
To all the Note 3 rom devs/maintainers out there, there still seems to be a lot of people suffering from GPS lock failures.
Click to expand...
Click to collapse
Hey bro thank you for this, i will implement this for sure :good::good::good: cheers
https://youtu.be/ejigMwj2Krw
I use your file but i found a same problem
Envoyé de mon SM-G935F en utilisant Tapatalk
fanion said:
https://youtu.be/ejigMwj2Krw
I use your file but i found a same problem
Envoyé de mon SM-G935F en utilisant Tapatalk
Click to expand...
Click to collapse
This is something else interfering with the GPS. Can you try forcefully stopping Play Services just before you launch this utility?
lambgx02 said:
This is something else interfering with the GPS. Can you try forcefully stopping Play Services just before you launch this utility?
Click to expand...
Click to collapse
I try force stopping play services and launching gps utility and see same problem
Envoyé de mon SM-G935F en utilisant Tapatalk
lambgx02 said:
Updated the main post.
Unzip the file, mount /system read-write, deploy into /system/etc, and reboot.
Click to expand...
Click to collapse
What does mount/system means?
Envoyé de mon SM-N930F en utilisant Tapatalk
fanion said:
I try force stopping play services and launching gps utility and see same problem
Envoyé de mon SM-G935F en utilisant Tapatalk
Click to expand...
Click to collapse
I have seen similar behavior in the past, but I've got no idea what's causing it. It's as though something else is forming bogus NMEA strings and interfering with the hardware GPS.
But, I believe the checkmarks that appear briefly are indicating a GPS fix on the hardware side. It's just a question of killing off whatever else is interfering.
You don't have any location faking apps running by any chance?
Modify your gps.conf for your country.
Works for me like a charm.
Instructions here: CLICK
moonryder said:
Modify your gps.conf for your country.
Works for me like a charm.
Instructions here: CLICK
Click to expand...
Click to collapse
This is one option, but honestly it offers no advantage over simply disabling NTP entirely. NTP is redundant for AGPS on a smartphone equipped with an accurate system clock (as we have).
Country-localized NTP for AGPS also has the huge disadvantage of failing when we need it the most: while travelling.
Hi,
I applied the fix based on the step by step instruction and I still have the Issue#2.
I use GPS Status from Play store for checking the GPS status. It shows that 0 fixed from 23 satellites.
Do you have any idea?
ecsagsp said:
Hi,
I applied the fix based on the step by step instruction and I still have the Issue#2.
I use GPS Status from Play store for checking the GPS status. It shows that 0 fixed from 23 satellites.
Do you have any idea?
Click to expand...
Click to collapse
Hey buddy! I suffered a lot with GPS and the only file the worked for me was the one bellow. Just change Brazil for your country, restart your phone, download a GPS again and let your phone at open space for five minutes to see if works. If not, is time to look for another modem and bootloader. Give a feedback!
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
#XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
#XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
#Test
# NTP_SERVER=time.gpsonextra.net
#Brazil
# NTP_SERVER=br.pool.ntp.org
#South America
# NTP_SERVER=south-america.pool.ntp.org
#North America
# NTP_SERVER=north-america.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
#DEBUG_LEVEL = 3
#DEBUG_LEVEL = 5
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=1
# supl version 1.0
# SUPL_VER=0x10000
# supl version 2.0
# SUPL_VER=0x20000
# GPS Capabilities bit mask
# SCHEDULING = 0x01
# MSB = 0x02
# MSA = 0x04
# ON_DEMAND_TIME = 0x10
# GEOFENCE = 0x20
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
CAPABILITIES=0x17
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.google.com
# SUPL_PORT=7276
# SUPL_HOST=lbs.geo.t-mobile.com
# SUPL_PORT=7275
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
####################################
# LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default)
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
LPP_PROFILE = 3
################################
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=0
# NMEA_PROVIDER=1
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0x4
################################
# LGE EXTRA SETTINGS
################################
VENDOR=TMO
#LGE_TLS_MODE=1
LGE_GPS_POSITION_MODE=1
AgpsUse=1
AgpsServerType=1
AgpsServerIp=3232235555
AgpsMtConf=0
AgpsMtResponseType=1
CURRENT_CARRIER=common
PHONE_TYPE=UMTS
Hi Master,
I applied your config, rebooted the device.
I will get back to you once I can go outdoor with my phone.
ecsagsp said:
Hi,
I applied the fix based on the step by step instruction and I still have the Issue#2.
I use GPS Status from Play store for checking the GPS status. It shows that 0 fixed from 23 satellites.
Do you have any idea?
Click to expand...
Click to collapse
Oh - if you're still having issues with gps.conf pointing NTP to 127.0.0.1, try refreshing your AGPS data; it could be a stale cache.
From GPS Status & Toolkit, hit Menu->Manage A-GPS state->Download.
Alternatively, Menu->Manage A-GPS state->Reset will allow you to try for a cold start, which could take up to 15 minutes to lock.
Hi All,
sauliiin: GPS is working now using your config with limitation (not as good as it should be). Waze or any other navigation software seemingly work fine. But if you test the GPS with GPS Status software you can see that the number of FIX satellites periodically changes between 0 and X(X depends on the visibility of the sky). It means that in one moment you have for example 9 fixed sats while the other few moments this number is 0(of course I was in a steady position, without clouds in the sky). I do not know wheter it is related to your config or GPS status software cannot handle your config.
lambgx02: I tried everything with your config without any success.
Once more a big thank to Sauliiin for his hard work to find a working solution.
ecsagsp said:
Hi All,
sauliiin: GPS is working now using your config with limitation (not as good as it should be). Waze or any other navigation software seemingly work fine. But if you test the GPS with GPS Status software you can see that the number of FIX satellites periodically changes between 0 and X(X depends on the visibility of the sky). It means that in one moment you have for example 9 fixed sats while the other few moments this number is 0(of course I was in a steady position, without clouds in the sky). I do not know wheter it is related to your config or GPS status software cannot handle your config.
lambgx02: I tried everything with your config without any success.
Once more a big thank to Sauliiin for his hard work to find a working solution.
Click to expand...
Click to collapse
Actually, that's quite fascinating.
I do see the same behavior on occasion; a perfect, steady fix, periodically interrupted once per second. I'd really like to know what it's all about. Maybe LocationServices injecting bogus position data into the HAL GPS stream.
Interesting that you aren't having success without NTP. Is your system clock calibrated against the cellular network?
Yes, my system is calibrated.
There might be other solution suggested in another thread: changing of my modem version to older one might solve the GPS issue.
At the moment I cannot confirm that.
I will test it during the weekend.
i lose 3d lock after my accuracy improves beyond 150m once GPS test is loaded. Anything higher, 3d locks. I get quick lock blips below 150m. Anyone?
Just want to add something! My GPS was a crap for a long time... Since I dont remember. Tryed lots of gps.conf and the most I could do is make a little better.
So, if you are facing the same. Is time to try a new modem! It will be a pain in the ass and sometimes the modem fromyour region or even the latest one wont work good for you... So, what I reccomend is download some of the latest versions and try and try.
Just for example: I tryed the lates brazilian modem and got no fix. Tryed the last modem I found, got a fix, but it keep fixind and losing for last than a second. What I found was the best for me as Phone_N9005XXUGBPF1
Hope I helped... If you have a crap GPS! Probably ther is a fix, just dig! Here, in this topic we have at least 3 good gps.config, now it time to try modems!

Categories

Resources