gps.conf file help

key2gb

Senior Member
Sep 11, 2011
79
3
0
Beijing, China
Hi,

can someone please post the original gps.conf file that comes with the Incredible S? I tried to do the gps fix but it seems to not be working (not locking at all) so I want to change it back but I forgot to make a copy of the original file.

for reference - this is what I changed to file to:

NTP_SERVER=asia.pool.ntp.org
NTP_SERVER=0.asia.pool.ntp.org
NTP_SERVER=1.asia.pool.ntp.org
NTP_SERVER=2.asia.pool.ntp.org
NTP_SERVER=3.asia.pool.ntp.org
NTP_SERVER=sg.pool.ntp.org
NTP_SERVER=2.sg.pool.ntp.org
NTP_SERVER=1.asia.pool.ntp.org
NTP_SERVER=3.asia.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

I'm not sure why it isn't working. I used Astro file manager to go into the original gps file and edited it to say the above, then rebooted, then used the GPS Status tool to try and lock (reset it then downloaded). The tool did not get a lock at all. Then I went to maps and it's moderately accurate but I think it's using cell towers instead of the gps (600 meter accuracy).

so yea, I just want to change it back - I'm sure there's something I'm doing wrong but it's not a huge issue.


EDIT: Also, is there a reason the gps file shows up as a txt file in Astro instead of a conf file?

EDIT 2: Ok weird - I went back into the file and it is like it was originally with no change. I'm not sure why this is. I went to Astro - File Editor - Pasted in the text above in place of the existing file > saved > rebooted...etc. Can't figure it out. The GPS status tool cannot get a lock anyway though - it's been like 5 minutes
 
Last edited:

ibrahimh

Senior Member
Aug 20, 2009
108
16
0
Install gps test app from market
Reboot phone and run
If no fix then reset agps and download agps from within the app
Worked for me

Edit..astro doesn't write to system partition I don't think ,try root explore it es explorer (free..set mount on options ) .. to change
your gps.config file
You're rooted right?

Sent from my HTC Incredible S using XDA App
 
Last edited:

key2gb

Senior Member
Sep 11, 2011
79
3
0
Beijing, China
Install gps test app from market
Reboot phone and run
If no fix then reset agps and download agps from within the app
Worked for me

Edit..astro doesn't write to system partition I don't think ,try root explore it es explorer (free..set mount on options ) .. to change
your gps.config file
You're rooted right?

Sent from my HTC Incredible S using XDA App
Yea I'm rooted - I tried using ES but it wouldn't let me go higher than SD card so I couldn't get to the file. Anyway I just installed fasterfix and it seems to help so I'll just stick with that. thanks for your response
 

nikant

Senior Member
Jul 9, 2009
211
36
48
in case someone needs it here is the original gps.conf

Code:
NTP_SERVER=europe.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

SUPL_HOST=supl.google.com
SUPL_PORT=7276
 
  • Like
Reactions: key2gb