Android Gps.conf
Official sites.Media and communication.Contribute.Please read the before commenting or submitting. No ETA requests. No device requests. No VoLTE requests.
Aug 19, 2013 Configuration files for Androids GPS and A-GPS system - Astralix/Androidgps.
No feature requests. No xposed/magisk/supersu/microg/substratum discussion. Bug reports go on as appropriate, not here. We only support LineageOS, not things 'based on' LineageOS. Please don't post links to unofficial builds or unofficial news sources.
If it's not lineageos.org - it's not official.Your Lineage will finish what you started, Cid. Dear all,I recently installed lineageos on my rooted oneplus one in an effort to degoogle my phone. So far I love it, with the one drawback that I have not been able to get the GPS working at all.Easy things I have tried:. Reinstalling lineageos with and without microG. Installing /e/ os instead.
The GPS actually worked, so its not a hardware issue, but I much preferred using lineageos, so here we are again. Firmware update (at least I think I did - I did settings system updater)I read somewhere (for example, ) that I need to edit /system/etc/gps.conf, either to uncomment the first three urls, edit some server settings or both. Fds-smv for mac.
#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 |
NTP_SERVER=ntp.nict.jp |
NTP_SERVER=jp.pool.ntp.org |
NTP_SERVER=0.jp.pool.ntp.org |
NTP_SERVER=1.jp.pool.ntp.org |
NTP_SERVER=2.jp.pool.ntp.org |
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=0x37 |
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.host.com or IP |
# SUPL_PORT=1234 |
#SUPL_HOST=182.248.165.210 |
#SUPL_PORT=7275 |
SUPL_HOST=supl.google.com |
SUPL_PORT=7276 |
SUPL_SECURE_PORT=7275 |
SUPL_NO_SECURE_PORT=3425 |
# 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 |
################################ |
# 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=OPEN |
LGE_TLS_MODE=0 |
LGE_GPS_POSITION_MODE=1 |