[Galaxy Note 3 Android Development] AVFA:
GPS Fix-Blinking 3D Fix-Edited gps.conf

Hi friends. I had problem with gps 3d lock for a long time. I tried many gps.conf files but not solve my problem. Some conf files find many satellites but not lock. Some conf files can not find satellites or find in 15 - 20 minutes.

So I decided to make my gps.conf file. I mixed different gps.conf files and edited some parts.

End of editing, GPS locking in 5-10 second and 3D fix succesfully. Here my conf.

Note: you can change ntp servers for your country. I am living Turkey. So changed for my country. For example, for italy: change all tr part "tr.pool.ntp.org" to "it.pool.ntp.org"

Open your gps.conf file in system/etc with root explorer (edit with text editor) . Delete all lines. AFTER Copy and paste these lines in gps.conf file.

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

##### NTP server settings #####

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

NTP_SERVER=tr.pool.ntp.org

NTP_SERVER=0.tr.pool.ntp.org

NTP_SERVER=1.tr.pool.ntp.org

NTP_SERVER=2.tr.pool.ntp.org

NTP_SERVER=3.tr.pool.ntp.org

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

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

##### XTRA server settings #####

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

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin

XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin

XTRA_SERVER_4=http://xtra4.gpsonextra.net/xtra.bin

ENABLE_XTRA=TRUE

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info

# 4 - Debug, 5 - Verbose

DEBUG_LEVEL =4

#Version check for XTRA

#DISABLE = 0

#AUTO = 1

#XTRA2 = 2

#XTRA3 = 3

XTRA_VERSION_CHECK=0

# Error Estimate

# _SET = 1

# _CLEAR = 0

ERR_ESTIMATE=0

# Below bit mask configures how GPS functionalities

# should be locked when user turns off GPS on Settings

# Set bit 0x1 if MO GPS functionalities are to be locked

# Set bit 0x2 if NI GPS functionalities are to be locked

# default - non is locked for backward compatibility

#GPS_LOCK = 0

# supl version 1.0

SUPL_VER=0x10000

# Emergency SUPL, 1=enable, 0=disable

SUPL_ES=0

# Sensor R&D : Non-SUPL ES should be default

#Choose PDN for Emergency SUPL

#1 - Use emergency PDN

#0 - Use regular SUPL PDN for Emergency SUPL

USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1

#SUPL_MODE is a bit mask set in config.xml per carrier by default.

#If it is uncommented here, this value will over write the value from

#config.xml.

#MSA=0X2

#MSB=0X1

SUPL_MODE=0x3

#Sensor R&D : Change default bit mask

# 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

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