I just discovered the files /system/etc/gps.conf and /data/gps/secgps.conf
Could different values in one or both of these files improve the GPS experience by switching to different servers? In Googling around, someone suggested these values for secgps.conf file (completely and totally untested):
#Generated by GpsLocationProvider.
#Mon Jan 01 00:02:44 GMT+00:00 2001
SSL_TYPE=0
SSL=1
OPERATION_TEST_MODE=0
POSITION_MODE=7
ACCURACY=50
SESSION_TYPE=1
ENABLE_NMEA=false
SERVER_MODE=0
START_MODE=HOT
GPS_LOGGING=0
DYNAMIC_ACCURACY=1
AGPS_MODE=0
ADDRESS_MODE=1
OPERATION_MODE=MSBASED
USE_DEFAULT=true
DYNAMIC_ACCURACY_VALUE=50
SUPL_PORT=7276
ENABLE_XTRA=true
TIMEOUT=3600
NUM_OF_FIX=999999999
SUPL_HOST=supl.google.com
and also these values for gps.conf (also untested):
NTP_SERVER=0.us.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.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
# 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=1
# 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=7276
SUPL_SECURE_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
#################################
##### AGPS Carrier settings #####
#################################
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
I thought I would ask here about these files and leave it to those of you that better understand to tell me the ramifications of making a change like this, etc.
Could different values in one or both of these files improve the GPS experience by switching to different servers? In Googling around, someone suggested these values for secgps.conf file (completely and totally untested):
#Generated by GpsLocationProvider.
#Mon Jan 01 00:02:44 GMT+00:00 2001
SSL_TYPE=0
SSL=1
OPERATION_TEST_MODE=0
POSITION_MODE=7
ACCURACY=50
SESSION_TYPE=1
ENABLE_NMEA=false
SERVER_MODE=0
START_MODE=HOT
GPS_LOGGING=0
DYNAMIC_ACCURACY=1
AGPS_MODE=0
ADDRESS_MODE=1
OPERATION_MODE=MSBASED
USE_DEFAULT=true
DYNAMIC_ACCURACY_VALUE=50
SUPL_PORT=7276
ENABLE_XTRA=true
TIMEOUT=3600
NUM_OF_FIX=999999999
SUPL_HOST=supl.google.com
and also these values for gps.conf (also untested):
NTP_SERVER=0.us.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.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
# 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=1
# 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=7276
SUPL_SECURE_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
#################################
##### AGPS Carrier settings #####
#################################
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
I thought I would ask here about these files and leave it to those of you that better understand to tell me the ramifications of making a change like this, etc.
