XIAOMI MI A1 – Lineage – Better gps.conf

Android

Lineages gps.conf for the A1 didn’t work good for my device.
This configuration gives me a GPS fix within 10 seconds in Germany.
If you want to use this file in another location, change the NTP servers to local ones for your location.

# /vendor/etc/gps.conf

NTP_SERVER=ntp1.fau.de 
NTP_SERVER=ptbtime2.ptb.de  
NTP_SERVER=time1.one4vision.de
NTP_SERVER=rustime01.rus.uni-stuttgart.de 
NTP_SERVER=ntp.probe-networks.de 
NTP_SERVER=ntp2.fau.de  
NTP_SERVER=atom.uhr.de  
NTP_SERVER=ntps1-0.fh-mainz.de  
NTP_SERVER=ntps1-0.cs.tu-berlin.de 
NTP_SERVER=time.fu-berlin.de  
NTP_SERVER=ntp.stairweb.de
NTP_SERVER=de.pool.ntp.org 
NTP_SERVER=0.de.pool.ntp.org
NTP_SERVER=1.de.pool.ntp.org
NTP_SERVER=2.de.pool.ntp.org
NTP_SERVER=3.de.pool.ntp.org
NTP_SERVER=europe.pool.ntp.org
NTP_SERVER=0.europe.pool.ntp.org
NTP_SERVER=1.europe.pool.ntp.org
NTP_SERVER=2.europe.pool.ntp.org
NTP_SERVER=3.europe.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
C2K_HOST=c2k.pde.com
C2K_PORT=1234
SUPL_HOST=FQDN
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_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert
ACCURACY_THRES=5000
CURRENT_CARRIER=common

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Nach oben