• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

[OffTopic] Share your gps.conf

13 posts in this topic

Posted

Hi,

My GPS is really temperamental on my G300, and I was wondering if people could share theirs, so I can get a better experience. I usually have about 6-10 satellites in use according to GPS Test, but I can't get a lock, and my accuracy is about 2000 Metres (with intermediate positioning enabled). Otherwise it just stays at zero.

One fix took 26 minutes! After that, it took about 10 seconds, but when I restarted it went downhill again.

I know this is a gps.conf issue as in certain ROMS it works perfectly, and in others it does not!

I have used fasterGPS, GPS Test, and I have cleared and updated the A-GPS data

So if anyone can give me a working GPS.conf to see if that is the issue.

This file can be found in:

system/etc

so you need to be rooted to be able to share

Thanks

George :)

I'll start with my (useless) GPS.conf! :P

https://docs.google.com/file/d/0B9LbcXNvozGnT0tNa3VtVlQzOWM/edit?usp=sharing

0

Share this post


Link to post
Share on other sites

Posted

Mine is almost identical to yours, except I have Debug level = 5

then at the end an extra block - see below.

I'm using B926 Huawei factory rom.

I don't use GPS much, so when I do need it it takes between 5 - 15 minutes

to get a good fix, then it tracks within 2 metres.


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

# Sensor Settings

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


# Needs to be set explicitly based on sensor

# There is no default value.

#GYRO_BIAS_RANDOM_WALK=


SENSOR_ACCEL_BATCHES_PER_SEC=2

SENSOR_ACCEL_SAMPLES_PER_BATCH=5

SENSOR_GYRO_BATCHES_PER_SEC=2

SENSOR_GYRO_SAMPLES_PER_BATCH=5


# Sensor Control Mode (0=AUTO, 1=FORCE_ON)

SENSOR_CONTROL_MODE=0


# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)

SENSOR_USAGE=0

0

Share this post


Link to post
Share on other sites

Posted

2 meters! I get 8 at the best!

Thanks for that :)

0

Share this post


Link to post
Share on other sites

Posted

Here's mine. I'm still on Stock+ R2 (!) and GPS generally works OK. I tried GPS Test and once outdoors it seems to lock on quickly. Even after a reboot. Hope this helps.


#Test

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

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

# <DTS2012030207462 yanzhennan 20120210 begin

DEBUG_LEVEL = 5

# DTS2012030207462 yanzhennan 20120210 end>

# <DTS2012020907282 yanzhennan 20120209 begin

# download interval set 5 days = 5*24*60*60*1000 milliseconds

XTRA_DOWNLOAD_INTERVAL_CONFIG=432000000

# DTS2012020907282 yanzhennan 20120209 end>

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

INTERMEDIATE_POS=0

# supl version 1.0

SUPL_VER=0x10000

# Error Estimate

# _SET = 1

# _CLEAR = 0

ERR_ESTIMATE=0

# GPS Capabilities bit mask

# SCHEDULING = 1

# MSB = 2

# MSA = 4

# ULP = 0x20

# default = MSA | MSB | SCHEDULING | ULP

# < DTS2012031207845 sunyue 20120320 begin

# ULP is not perfect at present

# CAPABILITIES=0x27

CAPABILITIES=0x07

# DTS2012031207845 sunyue 20120320 end >

# Accuracy threshold for intermediate positions

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

# ACCURACY_THRES=5000

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

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

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

# FOR SUPL SUPPORT, set the following

# SUPL_HOST=supl.host.com or IP

# SUPL_PORT=1234

# FOR C2K PDE SUPPORT, set the following

# C2K_HOST=c2k.pde.com or IP

# C2K_PORT=1234

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

# Sensor Settings

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

# Needs to be set explicitly based on sensor

# There is no default value.

#GYRO_BIAS_RANDOM_WALK=

SENSOR_ACCEL_BATCHES_PER_SEC=2

SENSOR_ACCEL_SAMPLES_PER_BATCH=5

SENSOR_GYRO_BATCHES_PER_SEC=2

SENSOR_GYRO_SAMPLES_PER_BATCH=5

# Sensor Control Mode (0=AUTO, 1=FORCE_ON)

SENSOR_CONTROL_MODE=0

# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)

SENSOR_USAGE=0

# Choose GSIFF sensor provider (1=DSPS, 2=Android NDK)

SENSOR_PROVIDER=1

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

# Indoor Positioning Settings

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

# 0: QUIPC disabled, 1: QUIPC enabled, 2: forced QUIPC only

QUIPC_ENABLED = 0

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

# EXTRA SETTINGS

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


0

Share this post


Link to post
Share on other sites

Posted

Here's mine. I'm still on Stock+ R2 (!) and GPS generally works OK. I tried GPS Test and once outdoors it seems to lock on quickly. Even after a reboot. Hope this helps.


#Test

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

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

# <DTS2012030207462 yanzhennan 20120210 begin

DEBUG_LEVEL = 5

# DTS2012030207462 yanzhennan 20120210 end>

# <DTS2012020907282 yanzhennan 20120209 begin

# download interval set 5 days = 5*24*60*60*1000 milliseconds

XTRA_DOWNLOAD_INTERVAL_CONFIG=432000000

# DTS2012020907282 yanzhennan 20120209 end>

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

INTERMEDIATE_POS=0

# supl version 1.0

SUPL_VER=0x10000

# Error Estimate

# _SET = 1

# _CLEAR = 0

ERR_ESTIMATE=0

# GPS Capabilities bit mask

# SCHEDULING = 1

# MSB = 2

# MSA = 4

# ULP = 0x20

# default = MSA | MSB | SCHEDULING | ULP

# < DTS2012031207845 sunyue 20120320 begin

# ULP is not perfect at present

# CAPABILITIES=0x27

CAPABILITIES=0x07

# DTS2012031207845 sunyue 20120320 end >

# Accuracy threshold for intermediate positions

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

# ACCURACY_THRES=5000

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

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

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

# FOR SUPL SUPPORT, set the following

# SUPL_HOST=supl.host.com or IP

# SUPL_PORT=1234

# FOR C2K PDE SUPPORT, set the following

# C2K_HOST=c2k.pde.com or IP

# C2K_PORT=1234

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

# Sensor Settings

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

# Needs to be set explicitly based on sensor

# There is no default value.

#GYRO_BIAS_RANDOM_WALK=

SENSOR_ACCEL_BATCHES_PER_SEC=2

SENSOR_ACCEL_SAMPLES_PER_BATCH=5

SENSOR_GYRO_BATCHES_PER_SEC=2

SENSOR_GYRO_SAMPLES_PER_BATCH=5

# Sensor Control Mode (0=AUTO, 1=FORCE_ON)

SENSOR_CONTROL_MODE=0

# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)

SENSOR_USAGE=0

# Choose GSIFF sensor provider (1=DSPS, 2=Android NDK)

SENSOR_PROVIDER=1

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

# Indoor Positioning Settings

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

# 0: QUIPC disabled, 1: QUIPC enabled, 2: forced QUIPC only

QUIPC_ENABLED = 0

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

# EXTRA SETTINGS

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


Thanks also, I will try these :)

BTW, for others sharing, can you place your gps.conf in [ code] tags with [ code] at the start without the space, and [ /code] at the end, again without the spaces. This is so that it is clear to read. Thanks :)

0

Share this post


Link to post
Share on other sites

Posted

Oh - based on a basic GPS Test run my accuracy isn't great and does well to get to/below 10 meters!

But I haven't tested that much.

I have used it for satnav before and it seemed to work fine.

0

Share this post


Link to post
Share on other sites

Posted (edited)

Oh - based on a basic GPS Test run my accuracy isn't great and does well to get to/below 10 meters!

But I haven't tested that much.

I have used it for satnav before and it seemed to work fine.

For me, the icon stops when you are driving, and takes a few seconds to catch up with me, and jumps around a lot on the road, especially when I stop. Its really annoying, especially when you are on a double junction and it says "Exit left" on the wrong half of the junction! :angry: Edited by george109
0

Share this post


Link to post
Share on other sites

Posted

Disclaimer 1: when I said above I get 2 metres, that's in the 'burbs and open country using Google Maps in New Zealand;

Disclaimer 2: I've always used it handheld, never vehicle mounted.

Sooo, just did a little experiment. Went into the city in the bus, holding the G300 flat, screen up, level with window sill, 0.2 metres inside glass. Started OK, tracking within 5 metres with bus travelling slowly. Bus turns 60 degrees and speeds up to 50km/hr, tracking lags up to 30 metres. Bus turns another 60 degrees, satellite(s) lost :blush: Two more km and two more turns and enough satellites are back in view, but tracking at 50km/hr sometimes lags up to 60metres. When the bus stops, the indicator catches up, but slowly.

Downtown amongst the hirise walking on the outer edge of the pavement, location fix is decidedly dodgy. Sometimes I can stop, the fix will stop, anywhere up to 20 metres off, but still inside the circle of uncertainty. Other times I stop, the fix never settles, twitching about forever within a circle of uncertainty up to 60 metres radius. Back home it locks onto my garden chair like a pin on the map.

Conclusion: the proper branded GPS devices have a bigger, higher gain antenna, and have some means to include (or avoid) the effect of vehicle speed on the calculations. There's also chatter on other forums that non-Google mapping apps, or less Google friendly countries can produce an offset between map location and GPS location.

0

Share this post


Link to post
Share on other sites

Posted (edited)

Use pimpmyrom from playstore

Find gps setting there, choose your country and activate it.

Your gps.conf will be written and set.

You can remove pimpmyrom then

Edited by dakok
0

Share this post


Link to post
Share on other sites

Posted

Hi george109.

Soory for my english.

The best gps.conf is this one for you (UK)

NTP_SERVER=0.europe.pool.ntp.org

NTP_SERVER=1.europe.pool.ntp.org

NTP_SERVER=2.europe.pool.ntp.org

NTP_SERVER=3.europe.pool.ntp.org

NTP_SERVER=0.uk.pool.ntp.org

NTP_SERVER=1.uk.pool.ntp.org

NTP_SERVER=2.uk.pool.ntp.org

NTP_SERVER=3.uk.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

SUPL_TLS_HOST=lbs.geo.t-mobile.com

SUPL_TLS_CERT=/etc/SuplRootCert

INTERMEDIATE_POS=1

ACCURACY_THRES=2500

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_USER_PLANE=FALSE

ENABLE_WIPER=1

With my G300 I fix in 2-10 secondes and 5 meters accuracy (with this gps.conf)

I have write a small guide to slatedroid (I am Kuan in this forum)

http://www.slatedroi...or-a-quick-fix/

0

Share this post


Link to post
Share on other sites

Posted

Hi george109.

Soory for my english.

The best gps.conf is this one for you (UK)

NTP_SERVER=0.europe.pool.ntp.org

NTP_SERVER=1.europe.pool.ntp.org

NTP_SERVER=2.europe.pool.ntp.org

NTP_SERVER=3.europe.pool.ntp.org

NTP_SERVER=0.uk.pool.ntp.org

NTP_SERVER=1.uk.pool.ntp.org

NTP_SERVER=2.uk.pool.ntp.org

NTP_SERVER=3.uk.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

SUPL_TLS_HOST=lbs.geo.t-mobile.com

SUPL_TLS_CERT=/etc/SuplRootCert

INTERMEDIATE_POS=1

ACCURACY_THRES=2500

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_USER_PLANE=FALSE

ENABLE_WIPER=1

With my G300 I fix in 2-10 secondes and 5 meters accuracy (with this gps.conf)

I have write a small guide to slatedroid (I am Kuan in this forum)

http://www.slatedroi...or-a-quick-fix/

Thank you! :) I will try this and see if it works...
0

Share this post


Link to post
Share on other sites

Posted (edited)

Hi george109.

Soory for my english.

The best gps.conf is this one for you (UK)

NTP_SERVER=0.europe.pool.ntp.org

NTP_SERVER=1.europe.pool.ntp.org

NTP_SERVER=2.europe.pool.ntp.org

NTP_SERVER=3.europe.pool.ntp.org

NTP_SERVER=0.uk.pool.ntp.org

NTP_SERVER=1.uk.pool.ntp.org

NTP_SERVER=2.uk.pool.ntp.org

NTP_SERVER=3.uk.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

SUPL_TLS_HOST=lbs.geo.t-mobile.com

SUPL_TLS_CERT=/etc/SuplRootCert

INTERMEDIATE_POS=1

ACCURACY_THRES=2500

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_USER_PLANE=FALSE

ENABLE_WIPER=1

With my G300 I fix in 2-10 secondes and 5 meters accuracy (with this gps.conf)

I have write a small guide to slatedroid (I am Kuan in this forum)

http://www.slatedroi...or-a-quick-fix/

Double post!

Anyway Thank you! :) I get 7 meters accuracy with this! That's amazing, thanks :)

Edited by george109
0

Share this post


Link to post
Share on other sites

Posted (edited)

Hi, i am also from New Zealand and this is mine;


NTP_SERVER=0.nz.pool.ntp.org

NTP_SERVER=1.nz.pool.ntp.org

NTP_SERVER=2.nz.pool.ntp.org

NTP_SERVER=3.nz.pool.ntp.org

NTP_SERVER=0.oceania.pool.ntp.org

NTP_SERVER=1.oceania.pool.ntp.org

NTP_SERVER=2.oceania.pool.ntp.org

NTP_SERVER=3.oceania.pool.ntp.org

NTP_SERVER=nz.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

Always gets a fast fix and have no problems with navigation.

Edited by wbrambley
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.