• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root GPS.conf fix for LG Volt as of 4/9/2015

I've been playing around with other gps confs I've found around and got a lock last night, then it failed again, but that was indoors. Going to do a test drive today and see if it's working. I just wanted to try the stock in case it would lock and do something that allowed it to continue to lock when I changed back to a custom one.
 
Here is stock gps.conf:

Code:
#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
#Asia
# NTP_SERVER=asia.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
#North America
# NTP_SERVER=north-america.pool.ntp.org
#Korea
# NTP_SERVER=0.kr.pool.ntp.org
#JP
# NTP_SERVER=3.jp.pool.ntp.org

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
#               4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 5

# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0

# 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=0x31

# 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.host.com or IP
# SUPL_PORT=1234

# 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 = 0

################################
# EXTRA SETTINGS
################################
# Enable or Disable Wiper (1=Enable, 0=Disable)
#ENABLE_WIPER=1
ENABLE_WIPER=1
# 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 = 0

################################
# LGE EXTRA SETTINGS
################################
VENDOR=SPR
#LGE_TLS_MODE=0
LGE_GPS_POSITION_MODE=0
 
I think my problems came from deleting the last two parts, LGE TLS and LGE GPS. I un-hashtagged the TLS and left the other one as is, and I'm connecting/getting a lock within 30 seconds while inside my house, to within 30-50 feet accuracy. Better than what had been happening outside yesterday without those two fields.

I saw on other forums for other phones that changing both of those values to 0 caused their custom roms to be more stable and would end the problem of their devices random rebooting and/or loosing signal when switching from device only to high-accuracy mode on GPS.
 
For the love of all that is holy, please don't teach people to refer to unix-standard uncommenting as un-hashtagging lmao. :D :D ;)

Sorry for the interrupt, I truly am, but influential people like you doing that is how bad memes get started. ;) :)

Good memes make for good Android. Thanks!
 
Mark my words.

If you don't have any idea how many people have failed at tackling this properly on AOSP-type roms, or succeeded but refused to go into details in public, well - I do.

This thread is just pure gold.

If you think you're not influential now, just wait - you're gonna do until someone influential comes along.
 
Thanks for posting the default conf. I think it will be good to have it posted here just in case. However, my testing with the one I found has gone quite well. Getting near instant locks. There's a bunch of stuff in it, and I deleted a couple things like the dummy c2k server entries that had been left in for some reason, so there may be other stuff that can be trimmed. This is supposed to be specifically for northern Midwest USA. There are confs for lots of regions. Here's what I have:
Code:
NTP_SERVER=time-a.timefreq.bldrdoc.gov 
NTP_SERVER=time-b.timefreq.bldrdoc.gov 
NTP_SERVER=time-c.timefreq.bldrdoc.gov 
NTP_SERVER=ntp2.netwrx1.com  
NTP_SERVER=nss.nts.umn.edu  
NTP_SERVER=ntp.skoglundtech.com 
NTP_SERVER=ns.nts.umn.edu 
NTP_SERVER=ntp1.netwrx1.com  
NTP_SERVER=ntp3.sf-bay.org 
NTP_SERVER=0.us.pool.ntp.org
NTP_SERVER=1.us.pool.ntp.org
NTP_SERVER=2.us.pool.ntp.org
NTP_SERVER=3.us.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=/data/xtra.bin
AGPS=/data/xtra.bin
AGPS=http://xtra1.gpsonextra.net/xtra.bin
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
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_USER_PLANE=TRUE
REPORT_POSITION_USE_SUPL_REFLOC=1
QOS_ACCURACY=50
QOS_TIME_OUT_STANDALONE=60
QOS_TIME_OUT_agps=89
QosHorizontalThreshold=1000
QosVerticalThreshold=500
AssistMethodType=1
AgpsUse=1
AgpsMtConf=0
AgpsMtResponseType=1
AgpsServerType=1
AgpsServerIp=3232235555
INTERMEDIATE_POS=1
SUPL_HOST=lbs.geo.t-mobile.com
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
SUPL_NO_SECURE_PORT=3425
SUPL_TLS_CERT=/etc/SuplRootCert
ACCURACY_THRES=5000
CURRENT_CARRIER=common
Link to site with region specific confs:
https://m.box.com/shared_item/https://app.box.com/s/w57s1v1n3hie7l5lk28i
 
I'd like to see the code that processes that file.

If all it's doing is sourcing that as environment values, as is typically the case, then only the last occurrence of any repeated variable counts.

Try removing all of the duplicates except for the last one of each repeated variable, see if the performance changes.

So you'd have one NTP_SERVER, one AGPS, and one XTRA_SERVER_1, one SUPL_HOST, and everything else stays the same.

EDIT - I could be quite wrong, and yeah, you could write code to process that as a list. Danged fool way to do it though.
 
Last edited:
Thanks for posting the default conf. I think it will be good to have it posted here just in case. However, my testing with the one I found has gone quite well. Getting near instant locks. There's a bunch of stuff in it, and I deleted a couple things like the dummy c2k server entries that had been left in for some reason, so there may be other stuff that can be trimmed. This is supposed to be specifically for northern Midwest USA. There are confs for lots of regions. Here's what I have:
Code:
NTP_SERVER=time-a.timefreq.bldrdoc.gov
NTP_SERVER=time-b.timefreq.bldrdoc.gov
NTP_SERVER=time-c.timefreq.bldrdoc.gov
NTP_SERVER=ntp2.netwrx1.com
NTP_SERVER=nss.nts.umn.edu
NTP_SERVER=ntp.skoglundtech.com
NTP_SERVER=ns.nts.umn.edu
NTP_SERVER=ntp1.netwrx1.com
NTP_SERVER=ntp3.sf-bay.org
NTP_SERVER=0.us.pool.ntp.org
NTP_SERVER=1.us.pool.ntp.org
NTP_SERVER=2.us.pool.ntp.org
NTP_SERVER=3.us.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=/data/xtra.bin
AGPS=/data/xtra.bin
AGPS=http://xtra1.gpsonextra.net/xtra.bin
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
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_USER_PLANE=TRUE
REPORT_POSITION_USE_SUPL_REFLOC=1
QOS_ACCURACY=50
QOS_TIME_OUT_STANDALONE=60
QOS_TIME_OUT_agps=89
QosHorizontalThreshold=1000
QosVerticalThreshold=500
AssistMethodType=1
AgpsUse=1
AgpsMtConf=0
AgpsMtResponseType=1
AgpsServerType=1
AgpsServerIp=3232235555
INTERMEDIATE_POS=1
SUPL_HOST=lbs.geo.t-mobile.com
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
SUPL_NO_SECURE_PORT=3425
SUPL_TLS_CERT=/etc/SuplRootCert
ACCURACY_THRES=5000
CURRENT_CARRIER=common
Link to site with region specific confs:
https://m.box.com/shared_item/https://app.box.com/s/w57s1v1n3hie7l5lk28i

Do you have a SuplRootCert file in your /system/etc folder?
Also, FQDN means fully qualified domain name, it's asking you to put something there like the tmobile or google address you put in the other SUPL hosts.

https://kb.iu.edu/d/aiuv

Try commenting the suplrootcert out, the FQDN line, along with putting the three http xtra servers above your direction to look in /data for it, perhaps it will download xtra.bin file first then tell your GPS to look in the /data folder for it, in that order, speeding things up?
 
Btw, I think you meant to link this -

https://app.box.com/s/w57s1v1n3hie7l5lk28i
That is what I linked. O.o
Do you have a SuplRootCert file in your /system/etc folder?
Also, FQDN means fully qualified domain name, it's asking you to put something there like the tmobile or google address you put in the other SUPL hosts.

https://kb.iu.edu/d/aiuv

Try commenting the suplrootcert out, the FQDN line, along with putting the three http xtra servers above your direction to look in /data for it, perhaps it will download xtra.bin file first then tell your GPS to look in the /data folder for it, in that order, speeding things up?
No, there is no suplrootcert file. Where are you seeing an FQDN entry? I thought I got all those, and I don't see one looking now.
(Btw- I have a CINT degree, A+, and 3 technical certifications. I know what FQDN means. :p)

I will play with what you guys suggested commenting out and report results when I get the chance. Might be a few days though.
 
That is what I linked. o_O

No, there is no suplrootcert file. Where are you seeing an FQDN entry? I thought I got all those, and I don't see one looking now.
(Btw- I have a CINT degree, A+, and 3 technical certifications. I know what FQDN means. :p)

I will play with what you guys suggested commenting out and report results when I get the chance. Might be a few days though.

Yeah, scanning through I think it was my brain-fart. I had both yours and the one from the link you provided up on my screen, I must have been looking at the one from the site you posted when I saw it.
 
OK - I see the problem - your link works but didn't earlier until I trimmed it. Could be a browser issue (I don't set a default browser).
Yeah, scanning through I think it was my brain-fart. I had both yours and the one from the link you provided up on my screen, I must have been looking at the one from the site you posted when I saw it.
Ok, I thought I was losing my mind there for a second. :P
 
I trimmed some stuff out of the conf file, reduced the accuracy threshold to 1000, added all 5 xtra servers, and drove across town a couple times. Good, solid locks, although it took about 30sec the first couple times, and more accurate than the previous which would jump around from 100 - 1500 feet. It's now holding between 50 and 300 feet, usually under 50. Here's what I have now:

Code:
NTP_SERVER=0.us.pool.ntp.org
NTP_SERVER=1.us.pool.ntp.org
NTP_SERVER=2.us.pool.ntp.org
NTP_SERVER=3.us.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
AGPS=http://xtra.gpsonextra.net/xtra.bin
XTRA_SERVER_1=http://xtra.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_4=http://xtra3.gpsonextra.net/xtra.bin
XTRA_SERVER_5=http://xtra4.gpsonextra.net/xtra.bin
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_USER_PLANE=TRUE
REPORT_POSITION_USE_SUPL_REFLOC=1
QOS_ACCURACY=50
QOS_TIME_OUT_STANDALONE=60
QOS_TIME_OUT_agps=89
QosHorizontalThreshold=1000
QosVerticalThreshold=500
AssistMethodType=1
AgpsUse=1
AgpsMtConf=0
AgpsMtResponseType=1
AgpsServerType=1
AgpsServerIp=3232235555
INTERMEDIATE_POS=1
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
SUPL_NO_SECURE_PORT=3425
ACCURACY_THRES=1000
CURRENT_CARRIER=common
 
I trimmed some stuff out of the conf file, reduced the accuracy threshold to 1000, added all 5 xtra servers, and drove across town a couple times. Good, solid locks, although it took about 30sec the first couple times, and more accurate than the previous which would jump around from 100 - 1500 feet. It's now holding between 50 and 300 feet, usually under 50. Here's what I have now:

Code:
NTP_SERVER=0.us.pool.ntp.org
NTP_SERVER=1.us.pool.ntp.org
NTP_SERVER=2.us.pool.ntp.org
NTP_SERVER=3.us.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
AGPS=http://xtra.gpsonextra.net/xtra.bin
XTRA_SERVER_1=http://xtra.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_4=http://xtra3.gpsonextra.net/xtra.bin
XTRA_SERVER_5=http://xtra4.gpsonextra.net/xtra.bin
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_USER_PLANE=TRUE
REPORT_POSITION_USE_SUPL_REFLOC=1
QOS_ACCURACY=50
QOS_TIME_OUT_STANDALONE=60
QOS_TIME_OUT_agps=89
QosHorizontalThreshold=1000
QosVerticalThreshold=500
AssistMethodType=1
AgpsUse=1
AgpsMtConf=0
AgpsMtResponseType=1
AgpsServerType=1
AgpsServerIp=3232235555
INTERMEDIATE_POS=1
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
SUPL_NO_SECURE_PORT=3425
ACCURACY_THRES=1000
CURRENT_CARRIER=common

According to most of the text I've read, having google as your supl is slowing you down. You can connect to it, but once it checks for the supl root cert (and apparently it always does) it will fail the security check then default back to your other methods of agps. I'd try commenting the supl stuff out completely or switching to supl.nokia.com and port 7275, as nokia doesn't have the same security restrictions.

It might be what is causing the slow(er) connection times when first booting up, with further attempts being quicker because your phone has already decided to skip it due to trying and failing previously.

Have you tried all of that code while adding the LPP profile, NMEA provider, and Capabilities ?
 
OK, here's what I've been using while out of town this week. Of the three of us, my gps was the most reliable.

Code:
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
XTRA_SERVER_1=http://xtra.gpsonextra.net/xtra2.bin
XTRA_SERVER_2=http://xtra1.gpsonextra.net/xtra2.bin
XTRA_SERVER_3=http://xtra2.gpsonextra.net/xtra2.bin
XTRA_SERVER_4=http://xtra3.gpsonextra.net/xtra2.bin
XTRA_SERVER_5=http://xtra4.gpsonextra.net/xtra2.bin

# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0

#Test
NTP_SERVER=time.gpsonextra.net
#North America
NTP_SERVER=north-america.pool.ntp.org
#USA
NTP_SERVER=us.pool.ntp.org

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
#               4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 3

# 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=0x37

# 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=supl.nokia.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
SUPL_NO_SECURE_PORT=3425


####################################
#  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
################################
# Enable or Disable Wiper (1=Enable, 0=Disable)
#ENABLE_WIPER=1
ENABLE_WIPER=1
# NMEA provider (1=Modem Processor, 0=Application Processor)
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=SPR
LGE_TLS_MODE=0
LGE_GPS_POSITION_MODE=0

I decided to go back to the stock the was posted and make modifications in order to keep it simple.
 
OK, here's what I've been using while out of town this week. Of the three of us, my gps was the most reliable.

Code:
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
XTRA_SERVER_1=http://xtra.gpsonextra.net/xtra2.bin
XTRA_SERVER_2=http://xtra1.gpsonextra.net/xtra2.bin
XTRA_SERVER_3=http://xtra2.gpsonextra.net/xtra2.bin
XTRA_SERVER_4=http://xtra3.gpsonextra.net/xtra2.bin
XTRA_SERVER_5=http://xtra4.gpsonextra.net/xtra2.bin

# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0

#Test
NTP_SERVER=time.gpsonextra.net
#North America
NTP_SERVER=north-america.pool.ntp.org
#USA
NTP_SERVER=us.pool.ntp.org

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
#               4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 3

# 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=0x37

# 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=supl.nokia.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
SUPL_NO_SECURE_PORT=3425


####################################
#  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
################################
# Enable or Disable Wiper (1=Enable, 0=Disable)
#ENABLE_WIPER=1
ENABLE_WIPER=1
# NMEA provider (1=Modem Processor, 0=Application Processor)
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=SPR
LGE_TLS_MODE=0
LGE_GPS_POSITION_MODE=0

I decided to go back to the stock the was posted and make modifications in order to keep it simple.

Id bet that disabling wiper would improve performance, and changing the supl port to 7275 and removing the two supl codes under the supl port. Everything else is how I have mine now and have had best performance and lowest margin of error lock
 
LG Volt (Sprint) user here, flaky GPS that oddly seemed to get worse as time went by. Used the .conf listed in the first post, no change. Uninstalled the GPS status program I'd been using, installed GPS Test. Would find a ton of satellites, but would never provide a fix. Changed the LPP/GLONAS to 1 & 0x4. Nothing seemed to make a difference.

Thought about it for a while, and commented out (hash tagged ;)) the two SUPL entries, and started getting good locks in 20 seconds or less. Finally! Not sure which change made the difference, but I suspect it was the SUPL?
 
Try this :

Code:
LGE_XTRA_IGNORE_NETWORK_STATE_CHANGE=1

LGE_XTRA_NTP_RETRY_INTERVAL=-1

NTP_SERVER=us.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org

LGE_XTRA_DATA_RETRY_INTERVAL=-1

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

DEBUG_LEVEL = 5

INTERMEDIATE_POS=0

#SUPL_VER=0x10000

ERR_ESTIMATE=0

CAPABILITIES=0x10

ENABLE_WIPER=0
LPP_PROFILE = 0

LGE_GPS_POSITION_MODE=standalone

Best results I've had.
 
Last edited:
Here is my current gps conf, this is a culmination of gps.conf files from my LG Volt, my LG Optimus F7, my LG optimus f3, and the CM12.1 gps conf provided in Badmofo's rom.

This has been the best performance on my volt (with a faulty gps unit) and my wife's volt (with working gps unit) and has provided the best performance on my other LG devices.

NMEA, in all my search and tests... useless for our phone. More for nautical gps devices.

Same thing for GLONASS, it is the russian equivalent to our GPS system. Our phone won't communicate with it.

MS based and MS assisted are great, but our phone manufacturer has it locked down strictly for Emergency 911 phone location service. I can get the ms assisted to work, but his uses your data and makes calls/data transfer unavailable while using this source for GPS assistance.

supl is also broken with our phones, you may have better lock times (ttfl) which is fine for normal GPS users, but for an Ingress player, it causes a downgrade in gps performance. (Fast lock but slow to follow me in route)

Here goes. Please test and report any upgrade or downgrade in performance.

OP Edited:

Code:
LGE_XTRA_IGNORE_NETWORK_STATE_CHANGE=1

LGE_XTRA_NTP_RETRY_INTERVAL=-1
NTP_SERVER=us.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org

LGE_XTRA_DATA_RETRY_INTERVAL=-1
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

DEBUG_LEVEL = 5

INTERMEDIATE_POS=0

ERR_ESTIMATE=0

CAPABILITIES=0x10

ENABLE_WIPER=0

LPP_PROFILE = 0

LGE_GPS_POSITION_MODE=standalone
 
More oddness/goodness to report. GPS lock time slowly deteriorated again to the point where it'd take ~15 minutes and still not get a lock with the older gps.conf I was using on April 6th. Would find ~14 sats, but never get a fix.

Today, I reverted back to the OEM gps.conf, reboot, test, same behaviour. THEN, used the latest provided (http://androidforums.com/threads/gps-conf-fix-for-lg-volt-as-of-4-9-2015.907784/page-4#post-6939272), reboot, test, and immediately started seeing 23 sats??? Once it got the initial lock (under 30 seconds), I got subsequent locks in under 5 seconds, regardless of the app I was having call the GPS.

This appears to have fixed the GPS issue I've had (for now). I have no idea if any of the information I gathered is useful, but here you go!

THANK YOU for all of work you put into this. Do you accept donations, or can I donate somewhere in your name?
 
Wanted to post an update here, thanks to this thread and my own tinkering I've been having an excellent GPS experience. Here's my conf config:
Code:
 #Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
XTRA_SERVER_1=http://xtra.gpsonextra.net/xtra2.bin
XTRA_SERVER_2=http://xtra1.gpsonextra.net/xtra2.bin
XTRA_SERVER_3=http://xtra2.gpsonextra.net/xtra2.bin
XTRA_SERVER_4=http://xtra3.gpsonextra.net/xtra2.bin
XTRA_SERVER_5=http://xtra4.gpsonextra.net/xtra2.bin

# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0

#Test
NTP_SERVER=time.gpsonextra.net
#North America
NTP_SERVER=north-america.pool.ntp.org
#USA
NTP_SERVER=us.pool.NTP.org

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
#               4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 3

# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0

# 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=0x37

# 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=supl.nokia.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
################################
# Enable or Disable Wiper (1=Enable, 0=Disable)
#ENABLE_WIPER=1
ENABLE_WIPER=1
# 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 = 0

################################
# LGE EXTRA SETTINGS
################################
VENDOR=SPR
#LGE_TLS_MODE=0
LGE_GPS_POSITION_MODE=0
 
Last edited:
Back
Top Bottom