android+gps.conf,gps.conf - Android社区 - https://www.androidos.net.cn/

#Version check for XTRA

#DISABLE = 0

#AUTO = 1

#XTRA2 = 2

#XTRA3 = 3

XTRA_VERSION_CHECK=1

# Error Estimate

# _SET = 1

# _CLEAR = 0

ERR_ESTIMATE=0

# NTP Server

# 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

NTP_SERVER = time.google.com

# If NTP_SERVER is commented NTP_SERVER=time.izatcloud.net is used

# 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 = 3

# Intermediate position report, 1=enable, 0=disable

INTERMEDIATE_POS=0

# 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

# Accuracy threshold for intermediate positions

# less accurate positions are ignored, 0 for passing all positions

# ACCURACY_THRES=5000

################################

##### AGPS server settings #####

################################

# Bitmask of slots that are available

# for write/install to, where 1s indicate writable,

# and the default value is 0 where no slots

# are writable. For example, AGPS_CERT_WRITABLE_MASK

# of b1000001010 makes 3 slots available

# and the remaining 7 slots unwritable.

# AGPS_CERT_WRITABLE_MASK=0

################################

# EXTRA SETTINGS

################################

# NMEA provider (1=Modem Processor, 0=Application Processor)

NMEA_PROVIDER=0

# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)

SGLTE_TARGET=0

##################################################

# Select technology for LPPe Control Plane

##################################################

# 0x1: DBH for LPPe CP

# 0x2: WLAN AP Measurements for LPPe CP

LPPE_CP_TECHNOLOGY = 0

##################################################

# Select technology for LPPe User Plane

##################################################

# 0x1: DBH for LPPe UP

# 0x2: WLAN AP Measurements for LPPe UP

LPPE_UP_TECHNOLOGY = 0

##################################################

# AGPS_CONFIG_INJECT

##################################################

# enable/disable injection of AGPS configurations:

# SUPL_VER

# SUPL_HOST

# SUPL_PORT

# SUPL_MODE

# SUPL_ES

# C2K_HOST

# C2K_PORT

# LPP_PROFILE

# A_GLONASS_POS_PROTOCOL_SELECT

# USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL

# GPS_LOCK

# 0: disable

# 1: enable

AGPS_CONFIG_INJECT = 1

# AP Coarse Timestamp Uncertainty

##################################################

# default : 10

# or as per clock uncertainty of product

AP_TIMESTAMP_UNCERTAINTY = 10

#####################################

#DR_SYNC Pulse Availability

#####################################

# 0 : DR_SYNC pulse not available (default)

# 1 : DR_SYNC pulse available

DR_SYNC_ENABLED = 0

#####################################

#PPS Device name

#####################################

PPS_DEVICENAME = /dev/pps0

#####################################

#AP Clock Accuracy

#####################################

AP_CLOCK_PPM = 100

#####################################

#MAX ms difference to detect missing pulse

#####################################

MISSING_PULSE_TIME_DELTA = 900

#####################################

#Propagation time uncertainty

#####################################

PROPAGATION_TIME_UNCERTAINTY = 1

普通文本

|

132行

|

3.37 KB

#Version check for XTRA

#DISABLE = 0

#AUTO = 1

#XTRA2 = 2

#XTRA3 = 3

XTRA_VERSION_CHECK=1

# Error Estimate

# _SET = 1

# _CLEAR = 0

ERR_ESTIMATE=0

# NTP Server

# 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

NTP_SERVER = time.google.com

# If NTP_SERVER is commented NTP_SERVER=time.izatcloud.net is used

# 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 = 3

# Intermediate position report, 1=enable, 0=disable

INTERMEDIATE_POS=0

# 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

# Accuracy threshold for intermediate positions

# less accurate positions are ignored, 0 for passing all positions

# ACCURACY_THRES=5000

################################

##### AGPS server settings #####

################################

# Bitmask of slots that are available

# for write/install to, where 1s indicate writable,

# and the default value is 0 where no slots

# are writable. For example, AGPS_CERT_WRITABLE_MASK

# of b1000001010 makes 3 slots available

# and the remaining 7 slots unwritable.

# AGPS_CERT_WRITABLE_MASK=0

################################

# EXTRA SETTINGS

################################

# NMEA provider (1=Modem Processor, 0=Application Processor)

NMEA_PROVIDER=0

# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)

SGLTE_TARGET=0

##################################################

# Select technology for LPPe Control Plane

##################################################

# 0x1: DBH for LPPe CP

# 0x2: WLAN AP Measurements for LPPe CP

LPPE_CP_TECHNOLOGY = 0

##################################################

# Select technology for LPPe User Plane

##################################################

# 0x1: DBH for LPPe UP

# 0x2: WLAN AP Measurements for LPPe UP

LPPE_UP_TECHNOLOGY = 0

##################################################

# AGPS_CONFIG_INJECT

##################################################

# enable/disable injection of AGPS configurations:

# SUPL_VER

# SUPL_HOST

# SUPL_PORT

# SUPL_MODE

# SUPL_ES

# C2K_HOST

# C2K_PORT

# LPP_PROFILE

# A_GLONASS_POS_PROTOCOL_SELECT

# USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL

# GPS_LOCK

# 0: disable

# 1: enable

AGPS_CONFIG_INJECT = 1

# AP Coarse Timestamp Uncertainty

##################################################

# default : 10

# or as per clock uncertainty of product

AP_TIMESTAMP_UNCERTAINTY = 10

#####################################

#DR_SYNC Pulse Availability

#####################################

# 0 : DR_SYNC pulse not available (default)

# 1 : DR_SYNC pulse available

DR_SYNC_ENABLED = 0

#####################################

#PPS Device name

#####################################

PPS_DEVICENAME = /dev/pps0

#####################################

#AP Clock Accuracy

#####################################

AP_CLOCK_PPM = 100

#####################################

#MAX ms difference to detect missing pulse

#####################################

MISSING_PULSE_TIME_DELTA = 900

#####################################

#Propagation time uncertainty

#####################################

PROPAGATION_TIME_UNCERTAINTY = 1

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
修复三星9100,、7100、9500......乃至sony等等智能手机的gps定位慢搜星慢的秒定gps修复, 方法来自互联网,亲自体验效果非常好:root后用re文件管理器替换自己手机里面的内容。位置在:根目录/system/etc下面。权限和原来相同。如果想自己修改可参照下面内容:打开RE管理器,在system下找到etc文件夹,再找到gps.confgps配置文件),将RE管理器挂载为读写,点击(长按)gps.conf文件,选择以文本编辑器方式打开,将里面内容修改为以下内容即可: NTP_SERVER=0.cn.pool.ntp.org NTP_SERVER=1.cn.pool.ntp.org NTP_SERVER=2.cn.pool.ntp.org NTP_SERVER=3.cn.pool.ntp.org NTP_SERVER=cn.pool.ntp.org XTRA_SERVER_1=http://xtra2.gpsonextra.net/xtra.bin XTRA_SERVER_2=http://xtra1.gpsonextra.net/xtra.bin XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin SUPL_HOST=suplcn.sirf.com SUPL_HOST=221.176.0.55 SUPL_PORT=7275 更改完后,点击手机菜单键,保存并退出,重启手机,打开GPS,启动导航软件,10秒内定位!!! 真正有技术含量的内容 解释: NTP_SERVER=0.cn.pool.ntp.org(为中国0号授时子服务器,实时变动) NTP_SERVER=3.cn.pool.ntp.org(为中国3号授时子服务器,实时变动) NTP_SERVER=1.asia.pool.ntp.org(为亚洲1号授时子服务器,实时变动) NTP_SERVER=2.asia.pool.ntp.org(为亚洲2号授时子服务器,实时变动) SUPL_HOST=221.176.0.55(中国移动定位服务器) SUPL_HOST=suplcn.sirf.com(上海电信定位服务器)也可改为:supl.google.com(谷歌定位服务器)或supl.nokia.com(诺基亚定位服务器) SUPL_PORT=7275 (服务器端口;也可用7276) 每天中国对时服务器变动信息可查看网址:http://www.pool.ntp.org/zone/cn(如追求极致,可根据实际变动调整) 1、授时服务器,也就是NTP Server,对于搜星后快速定位很重要。有的时候搜到的卫星很多但是定位很慢,就是因为和授时服务器连接不顺畅,快速和NTP Server同步,有助于提高GPS定位速度。建议:优先使用国内的NTP Server。 NTP全称是Network Time Protocol,是用来让计算机之间实现时间同步的协议,而发布这种校对时间的服务器,就是NTP Server。我们的操作系统XP、win7上都会用这个东西对时间。 2、supl服务器,没有统一的译名,似乎也没有统一的标准,主要是通过网络提供GPS卫星星历图,提高搜星速度;另外通过信号基站等其他辅助手段提高定位精度。建议:要提高速度,依然是尽量使用国内服务器 3、以下部分为服务器地址,身在国内的用户优先考虑的 国内的NTP Server: 0.cn.pool.ntp.org 1.cn.pool.ntp.org 2.cn.pool.ntp.org 3.cn.pool.ntp.org cn.pool.ntp.org 这是一组服务器集群,服务器位于上海电信和浙江台州电信,经实践证明这些网址是等效的。任意一个网址都可能对应这两地中的一个,台州电信和上海电信这两组服务器的ping值都在30~50ms左右(有线宽带和GSM网络均测试了)。 ntp.api.bz 这个是一组NTP服务器集群,目前有6台服务器,位于上海电信,速度很快 210.72.145.44 中国国家授时中心服务器IP,在西安,狗日的禁ping,但是实际上速度飞快 AGPS supl服务器地址: suplcn.sirf.com 114.80.208.5:7275 上海电信 221.176.0.55:7275 北京移动机房,中国移动的SUPL服务器,没查到域名,速度很快,建议移动用户选择 sls1.sirf.com 66
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值