GPS.CONF

Search This thread

axel_marchi

New member
Jun 13, 2010
2
0
For those people use GPS on HTC DESIRE and it works after root.

Someone can post gps.conf file located at /system/etc.

I think it contains parameter to config gps module and I want to compare my gps.conf on my HTC DESIRE .

My HTC DESIRE gps module dont' fix anymore satellite position after root and flashing ROM

Thank you
 

Daelyn

Senior Member
Dec 17, 2006
671
155
Code:
# cat /system/etc/gps.conf
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

Breakdown of contents:
NTP server is used to get accurate time, without you can't get a correct GPS loc.
XTRA is the GPS Satellite position servers.
SUPL is the Location server uses for A-GPS. in this case Google's own.
 
Last edited:
  • Like
Reactions: Bonoboo

tienhn

Member
Jul 24, 2008
48
15
Code:
# cat /system/etc/gps.conf
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

Breakdown of contents:
NTP server is used to get accurate time, without you can't get a correct GPS loc.
XTRA is the GPS Satellite position servers.
SUPL is the Location server uses for A-GPS. in this case Google's own.
This kind of puzzled me, why GPS need NTP to get fixed. The whole purpose of GPS is to be able to fixed based on the time data coming down from the satellite signals.
In fact I have tried to turned my N1 to flight mode (i.e. no signal at all) and the GPS still fixed its position just fine.
 

jjwa

Senior Member
Jun 24, 2010
220
10
38
Enschede
On my 2.2 Galaxy S I got a black screen at first too. But after about 5 seconds I got a PowerUser popup asking for root permission. I checked the gps.conf before and after. It does exactly what it promised to do, so that's confirmed :).

Now let's hope it helps the GPS.
 

maxmax0

Senior Member
Oct 21, 2010
218
196
The whole purpose of GPS is to be able to fixed based on the time data coming down from the satellite signals.
there is no "time data" that would be "coming down from the satellite signals". The signal you refer to is pseudorandom code and not time data.

In fact I have tried to turned my N1 to flight mode (i.e. no signal at all) and the GPS still fixed its position just fine.

of course gps will also work on its own (i.e. when you switch to flight mode), but it will take longer to get a fix. MUCH longer in fact, depending on the situation. thats the point of a-gps, providing supplement data that allows you to get a faster fix.
 
Last edited:

ozmanic

Senior Member
Feb 26, 2007
53
4
damn,i got really really sick now.. :mad:
have ROOTED droid and cannot ACCESS to gps.conf.using root explorer.
cannot disable R/O for this file.
any suggestion whats goin wrong here?

2.3.1 gingerbread
 

dexter93

Inactive Recognized Developer
Jul 1, 2010
11,607
2,341
damn,i got really really sick now.. :mad:
have ROOTED droid and cannot ACCESS to gps.conf.using root explorer.
cannot disable R/O for this file.
any suggestion whats goin wrong here?

2.3.1 gingerbread

Why don't you try via adb?
(in order to edit that via root explorer you have to be s-off, while via adb you don't)

Sent from my HTC Desire using XDA App
 

Jarod_

Senior Member
Jul 5, 2010
69
22
damn,i got really really sick now.. :mad:
have ROOTED droid and cannot ACCESS to gps.conf.using root explorer.
cannot disable R/O for this file.
any suggestion whats goin wrong here?

2.3.1 gingerbread
Use "Terminal Emulator", then type :
$ su
# cd /system/etc
#*remount rw
# vi gps.conf

(you need to know how to use "vi")

As you can see, you need to do a "remount rw" to make it writable. You can do that with adb too.
 

Outbreak Monkey

New member
Jun 6, 2011
3
0
Remount HTC Desire

Bit of an old thread,

But I've never had the remount work on my HTC Desire (rooted, running Oxygen 2.2.2/Amon RA 2.0.2 Recovery)..

What I do is reboot in to recovery, mount /system and then use ADB to shell in and edit the files.

If I do a remount rw, It appears to edit the file, but as soon as I reboot, any changes are gone..
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Code:
    # cat /system/etc/gps.conf
    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

    Breakdown of contents:
    NTP server is used to get accurate time, without you can't get a correct GPS loc.
    XTRA is the GPS Satellite position servers.
    SUPL is the Location server uses for A-GPS. in this case Google's own.