馬上加入Android 台灣中文網,立即免費下載應用遊戲。
您需要 登錄 才可以下載或查看,沒有帳號?註冊
x
今天刷了一個rom結果gps居然給我掛了!
在版上爬了幾篇gps. conf,後面自己編輯補充了。
測試過這樣在空曠處至少有10星的機率提高。
而且搜尋速度也提高到20s之內。
也解決了無agps的參數設定。
步驟一 複製以下參數
NTP_SERVER=0.Slovakia.pool.ntp.org
NTP_SERVER=1.Slovakia.pool.ntp.org
NTP_SERVER=2.Slovakia.pool.ntp.org
NTP_SERVER=3.Slovakia.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
NTP_SERVER=Slovakia.pool.ntp.org
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
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning,
3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0
# Intermediate position report, 1=enable,
0=disable
INTERMEDIATE_POS=0
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for
passing all positions
ACCURACY_THRES=0
# Report supl ref location as position, 1=enable,
0=disable
REPORT_POSITION_USE_SUPL_REFLOC=1
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=3425
SUPL_SECURE_PORT=7275
SUPL_TLS_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert
# FOR C2K PDE SUPPORT, set the following
C2K_HOST=c2k.pde.com
C2K_PORT=1234
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control
Plane"
DEFAULT_USER_PLANE=TRUE
步驟二 打開etc/gps. conf後全選覆蓋貼上。
步驟三 重開機。
步驟四 enjoy it!睡覺都會偷笑了。
就是這麼簡單(─_─Zzz) 小弟用手機發文的。
排版若有不順再煩請見諒。
|
評分
-
查看全部評分
|