萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 手機 >  >> 手機應用 >> Android 教學

GPS 秒定配置教程:修改 gps.conf 優化定位速度

編輯 /system/etc/gps.conf(需 Root),根據運營商填入對應參數,可大幅縮短 GPS 首次定位時間(TTFF)。

電信 2G/3G 專用配置

NTP_SERVER=cn.pool.ntp.org
XTRA_SERVER_1=https://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_2=https://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_3=https://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=suplcn.sirf.com
SUPL_PORT=7275
PPP1_ID=ctwap@mycdma.cn
PPP1_PW=vnet.mobi

移動/聯通通用配置

NTP_SERVER=cn.pool.ntp.org
XTRA_SERVER_1=https://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_2=https://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_3=https://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=suplcn.sirf.com
SUPL_PORT=7275

修改後存檔重啟手機即可生效。參數含義:NTP 對時、XTRA 下載星曆資料、SUPL 輔助定位伺服器、PPP 撥號帳號(僅電信需填)。

copyright © 萬盛學電腦網 all rights reserved