{"id":1784,"date":"2020-03-22T15:53:23","date_gmt":"2020-03-22T14:53:23","guid":{"rendered":"http:\/\/www.daniel-ritter.de\/blog\/?p=1784"},"modified":"2024-05-13T01:09:19","modified_gmt":"2024-05-12T23:09:19","slug":"xiaomi-mi-a1-lineage-better-gps-conf","status":"publish","type":"post","link":"https:\/\/www.daniel-ritter.de\/blog\/xiaomi-mi-a1-lineage-better-gps-conf\/","title":{"rendered":"XIAOMI MI A1 &#8211; Lineage &#8211; Better gps.conf"},"content":{"rendered":"<p>Lineages gps.conf for the A1 didn&#8217;t work good for my device.<br \/>\nThis configuration gives me a GPS fix within 10 seconds in Germany.<br \/>\nIf you want to use this file in another location, change the NTP servers to local ones for your location.<\/p>\n<pre>\r\n# \/vendor\/etc\/gps.conf\r\n\r\nNTP_SERVER=ntp1.fau.de \r\nNTP_SERVER=ptbtime2.ptb.de  \r\nNTP_SERVER=time1.one4vision.de\r\nNTP_SERVER=rustime01.rus.uni-stuttgart.de \r\nNTP_SERVER=ntp.probe-networks.de \r\nNTP_SERVER=ntp2.fau.de  \r\nNTP_SERVER=atom.uhr.de  \r\nNTP_SERVER=ntps1-0.fh-mainz.de  \r\nNTP_SERVER=ntps1-0.cs.tu-berlin.de \r\nNTP_SERVER=time.fu-berlin.de  \r\nNTP_SERVER=ntp.stairweb.de\r\nNTP_SERVER=de.pool.ntp.org \r\nNTP_SERVER=0.de.pool.ntp.org\r\nNTP_SERVER=1.de.pool.ntp.org\r\nNTP_SERVER=2.de.pool.ntp.org\r\nNTP_SERVER=3.de.pool.ntp.org\r\nNTP_SERVER=europe.pool.ntp.org\r\nNTP_SERVER=0.europe.pool.ntp.org\r\nNTP_SERVER=1.europe.pool.ntp.org\r\nNTP_SERVER=2.europe.pool.ntp.org\r\nNTP_SERVER=3.europe.pool.ntp.org\r\nXTRA_SERVER_1=\/data\/xtra.bin\r\nAGPS=\/data\/xtra.bin\r\nAGPS=http:\/\/xtra1.gpsonextra.net\/xtra.bin\r\nXTRA_SERVER_1=http:\/\/xtra1.gpsonextra.net\/xtra.bin\r\nXTRA_SERVER_2=http:\/\/xtra2.gpsonextra.net\/xtra.bin\r\nXTRA_SERVER_3=http:\/\/xtra3.gpsonextra.net\/xtra.bin\r\nDEFAULT_AGPS_ENABLE=TRUE\r\nDEFAULT_USER_PLANE=TRUE\r\nREPORT_POSITION_USE_SUPL_REFLOC=1\r\nQOS_ACCURACY=50\r\nQOS_TIME_OUT_STANDALONE=60\r\nQOS_TIME_OUT_agps=89\r\nQosHorizontalThreshold=1000\r\nQosVerticalThreshold=500\r\nAssistMethodType=1\r\nAgpsUse=1\r\nAgpsMtConf=0\r\nAgpsMtResponseType=1\r\nAgpsServerType=1\r\nAgpsServerIp=3232235555\r\nINTERMEDIATE_POS=1\r\nC2K_HOST=c2k.pde.com\r\nC2K_PORT=1234\r\nSUPL_HOST=FQDN\r\nSUPL_HOST=lbs.geo.t-mobile.com\r\nSUPL_HOST=supl.google.com\r\nSUPL_PORT=7276\r\nSUPL_SECURE_PORT=7275\r\nSUPL_NO_SECURE_PORT=3425\r\nSUPL_TLS_HOST=FQDN\r\nSUPL_TLS_CERT=\/etc\/SuplRootCert\r\nACCURACY_THRES=5000\r\nCURRENT_CARRIER=common\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Lineages gps.conf for the A1 didn&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1884,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[228],"tags":[],"class_list":["post-1784","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/posts\/1784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/comments?post=1784"}],"version-history":[{"count":1,"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/posts\/1784\/revisions"}],"predecessor-version":[{"id":1785,"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/posts\/1784\/revisions\/1785"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/media\/1884"}],"wp:attachment":[{"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/media?parent=1784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/categories?post=1784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.daniel-ritter.de\/blog\/wp-json\/wp\/v2\/tags?post=1784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}