• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[FIX] Weak GPS signal

Search This thread

Lukiqq

Senior Member
Jul 19, 2007
1,156
1,505
35
Lubań
Hello! I've made simple fix to the GPS receiver in our devices. Relative simple solution to weak reception and long time to get a fix. All you have to do is replace gps.conf file in /system/etc/ directory with the one attached here (extract it from the .zip archive first) and chmod it 0644, then reboot your device and see how it performs :) I'm very happy with the results, you will be too! :D

Your device must be rooted!
 

Attachments

  • gps.zip
    1.1 KB · Views: 5,131

ibengood

Senior Member
Oct 7, 2007
204
27
I tested my GPS and it was not good.. I used your file and it took a matter of seconds to find satellites.. Thank you

Sent from my A0001 using Tapatalk 2
 

bunnybash

Senior Member
Sep 18, 2010
1,051
181
Perth
This seemed to fix the GPS issues I was having, for some reason whenever I tried to navigate somewhere the GPS would stop updating thus leading to trying to use a map instead of having a navigator updating my position and telling me where to turn.

Hopefully the fix lasts!
 

riahc3

Senior Member
Oct 28, 2009
1,810
234
Amazing. People installing files from total strangers on the internet lol....

Later idiots complain that their PC and their cell pones have security/performance issues.

Mods, since he hasnt given any explaination, Id personally remove/close the thread.
 

khan.orak

Senior Member
Jun 26, 2012
760
284
Peshawar
Amazing. People installing files from total strangers on the internet lol....

Later idiots complain that their PC and their cell pones have security/performance issues.

Mods, since he hasnt given any explaination, Id personally remove/close the thread.

I don't know much about conf files but I have copied the contents of both to compare, if someone is familiar then commentary will be appreciated.

Original


Code:
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
#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
#
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin

# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0

#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

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

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

# supl version 1.0
SUPL_VER=0x10000

# Emergency SUPL, 1=enable, 0=disable
SUPL_ES=1

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

# 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

####################################
#  LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default)
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
LPP_PROFILE = 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 Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0


Edited
Code:
#All
NTP_SERVER=0.europe.pool.ntp.org
NTP_SERVER=0.pl.pool.ntp.org

XTRA_SERVER_1=http://gllto.glpals.com/4day/glo/v2/latest/lto2.dat
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0

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

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

# supl version 1.0
#SUPL_VER=0x10000
# supl version 2.0
SUPL_VER=0x20000

# Emergency SUPL, 1=enable, 0=disable
SUPL_ES=1

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

# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7278
SUPL_NO_SECURE_PORT=3425

####################################
#  LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default)
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
LPP_PROFILE = 0

################################
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=1
# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
SGLTE_TARGET=0

##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0
 

imfarhanibrahim

New member
Oct 25, 2015
1
0
Hello! I've made simple fix to the GPS receiver in our devices. Relative simple solution to weak reception and long time to get a fix. All you have to do is replace gps.conf file in /system/etc/ directory with the one attached here (extract it from the .zip archive first) and chmod it 0644, then reboot your device and see how it performs :) I'm very happy with the results, you will be too! :D

Your device must be rooted!

could you post more details on how to replace it? What do you mean by "chmod it 0644" ? I'm such a newbie. :confused:
 

Jammmmm

Senior Member
May 10, 2013
118
35
In Root Explorer: Mount R/W so you can make changes, long press on the conf file, click permissions, then at the bottom you can "Enter Octal"
 

knimlot

Member
Feb 15, 2011
6
0
Hi everyone, I am also an owner of Oneplus One and have been experiencing the unreliable GPS for a while. I would like to try this method in rectifying the issue. Can someone teach me how to apply this as i'm not familiar with rooting the phone?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Hello! I've made simple fix to the GPS receiver in our devices. Relative simple solution to weak reception and long time to get a fix. All you have to do is replace gps.conf file in /system/etc/ directory with the one attached here (extract it from the .zip archive first) and chmod it 0644, then reboot your device and see how it performs :) I'm very happy with the results, you will be too! :D

    Your device must be rooted!
    2
    Amazing. People installing files from total strangers on the internet lol....

    Later idiots complain that their PC and their cell pones have security/performance issues.

    Mods, since he hasnt given any explaination, Id personally remove/close the thread.
    1
    Please explain in detail exactly what's different about this config file.

    Transmitted via Bacon
    1
    This doesn't appear to be for US.
    Just use the FasterGPS app from the Play Store, it adapts to the region you enter.

    I'm assuming the modified config in this thread is only set for a specific region.

    Transmitted via Bacon