Forumsee logo
Forumsee » Mobility » Windows phone » Read message
RSS: Subscribe to RSS

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

Windows Phone Source - winsource.com
This post contains the continued efforts to understand the language used in our GPS.conf file, and how to best use that information to get improved GPS performance.

I play Ingress very frequently so GPS is crucial for me, as it could mean I wasted gas driving to a location only to have the app not recognize me as being there.

I'd love if more Volt owners would test these to see if it works for them, or if I just have a faulty device and need to get it replaced.

I just use a root browser to find the /system/etc folder and open up the GPS.conf file to edit manually (and/or copy and paste)

I was paranoid about the formatting affecting the reading of code, so I deleted all of the hastags and their corresponding notes.

I have an LG Volt with Boost, using the full stock rooted deodexed zv5 rom (debloated with Rom Toolbox)

Updated as of 4/9/2015:

//Begin GPS conf text:

Code (Text):

-  

-  

- 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

-  

-  

// End gps conf (note as of 4/9/2015)

Hope this helps!

Edit: also, please remember to make sure you have proper permissions set on your GPS.conf file. Should be Owner: Read Write Execute, Group: Read, and Other: Read

If you want a deeper understanding of how GPS works, and why the fields in your GPS.conf file are there, please read through the whole thread. If you just want to speed up your GPS lock and improve the overall performance/communication with GPS satellites, then change the following four values on your GPS.conf file:

Step one:

remove the hashtag (#) from infront of the NTP server closest to your location. For me it was north-america.pool.ntp.org

NTP_SERVER= (your closest server)

Most sources I have read have stated that having just one ntp server is suggested.

Step two:

CAPABILITIES=0x4

(change to enable more capabilities)

Step Three:

LPP_PROFILE=1

(default is 0, 0 is only good for phones on a GSM network, ours is CDMA. 3 also works, but only because it technically enables 1 and 2, so setting to 3 is the same thing as setting to 1 )

(As of 3/20/2015 I have been having good results with LPP set to 0, as long as my GLONAS is set to 0x2 instead of 0x4)

**As of 4/9/2015 I still have better performance with 0 instead of 1

Step Four:

A_GLONASS_POS_PROTOCOL_SELECT=0x4

(default is just 0, this means nothing according to the info provided in our comments in the gps.conf file. 0x4 allegedly enables our positioning on the LTE network)

as of 3/20/2015 I have had decent performance with GLONAS set to 0x2 as long as LPP is set to 0

Step Five: ????

Step Six: profit!!1one

Reported by users as improving performance on both 4.4 and lollipop ROMs.

Please note that there are no spaces in between values in the GPS.conf file. I have had some reports of poor performance when a value has an extra space between values, such as follows:

GLONAS= 0 x 4

versus

GLONAS=0x4

Side Note: I've read many reports of the google supl addition being a placebo in most cases as the Google supl server requires a supl root cert and we don't have one specific for our phone, even if we make one, it will expire after a while and we will need a new one. I am going to experiment with the nokia supl server, while it is slower than google's, it reportedly doesn't require a supl root cert located in system/etc to work.

Port for nokia supl is 7275

I'm also not sure about "LGE_GPS_POSITION_MODE=0"

I believe this is whether or not our phone is standalone gps or assisted gps. I don't know if 0 or 1 enables or disables either. I'm hoping a 0 doesn't mean standalone.

**As of 4/9/2015

It appears a zero '0' does mean standalone. I am testing ms_assisted at the moment with great results, I will try ms_based next.

Best Answer

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 (Text):

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

-  

Click to expand...

Click for original message

 
Date: May 9, 2017    Labels: LG


Last videos:

YouTube picture in picture mode for any phone!
YouTube picture in picture mode for any phone!
on Sprint Galaxy S4
on Sprint Galaxy S4
YouTube go
YouTube go
Problem with Sound - android Navi System
Problem with Sound - android Navi System
Problem with Sound - android Navi System
Problem with Sound - android Navi System
Android Racing games!
Android Racing games!
YouTube TV - YouTube launches its own streaming TV Service in U.S
YouTube TV - YouTube launches its own streaming TV Service in U.S
The latest Galaxy Note 7 battery explosion happened in a conference room today
The latest Galaxy Note 7 battery explosion happened in a conference room today

Tags

Cars ·
Travel ·
Pets ·
production-frontend