[G2 Android Development] nabril15:
going insane with GPS unable to locate

Hello

I have been using this ROM for quite some time, and in the past the GPS lock time was acceptable (45 sec - 1 min). I decided to investigate threads related to fixing the GPS, and now I am unable to get a good location in Google Maps. I have read through various GPS-related threads which mention their own flavor of statements in the gpsconf file; I have restored the original file from the ROM, and I remain baffled how it ever worked since the only NTP server that is not commented out is the one for Europe - all statements related to North America or the US are commented out.

Here's what I've done:

1) Made endless edits to the gpsconf file, rebooting after each. (Adding the 0-4 us.pool servers, taking them out, leaving only 2, etc)

2) Removed the back cover and did the hardware tweak (inserting a thin piece of cardboard under the contacts for the GPS. so that they make a better contact with the cover).

3) Used the app GPS STATUS to get a fix and reset the GPS state.

4) Gone outside, inside, and walked around with the phone attempting to get a good location.

5) Used a networking app on the phone to ping any IP addresses mentioned in the file below, and all pings were successful.

6) Deinstalled and reinstalled the Maps application.

7) Cleared cache of maps app and location services.

My file looks like this at the moment (4:09pm)

#Uncommenting these urls would only enable

#the power up auto injection and force injection(test case).

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

NTP_SERVER=0.US.POOL.NTP.ORG

NTP_SERVER=1.US.POOL.NTP.ORG

#Korea

# NTP_SERVER=0.kr.pool.ntp.org

#JP

# NTP_SERVER=3.jp.pool.ntp.org

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

# 4 - Debug, 5 - Verbose

DEBUG_LEVEL = 3

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

INTERMEDIATE_POS=1

# supl version

SUPL_VER=0x20000

# 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.google.com

SUPL_PORT=7276

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

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

# Select Positioning Protocol on A-GLONASS system

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

# 0x1: RRC CPlane

# 0x2: RRLP UPlane

# 0x4: LLP Uplane

A_GLONASS_POS_PROTOCOL_SELECT = 0

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

# LGE EXTRA SETTINGS

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

VENDOR=OPEN

LGE_TLS_MODE=0

LGE_GPS_POSITION_MODE=1

What else can I do, try, remove, tape, etc?

I would like to avoid having to flash the ROM again and go through all the restorals and changes, etc.