[Galaxy S II Q&A, Help & Troubleshooting] GNUDroid:
some update of current problem solving

Some help and update again after so long time: Oh sh*** it is already september again... ;)

Still GPS seems to be a problem for our old friend the i9100. Many roms and different android versions of each build partly seem to use different hardware-libs. Additionally GPS seems to be sensitive to

gps.conf, sirf.conf and the google.framework and/or the google location settings (e.g. just gps, gps+network location).

Most important are:

1) a good/patched gps.exynos.so lib in system/lib/hw/

2) good gps.conf and sirfgps.conf in system/etc/

3) Concering google.framework:

If 1 and 2) are adjusted still sometimes I experience troubles with an fast gps fix. The influcence is odd but sometimes it helps:

3a) to play around with the toggles of location setting (-->settings-->location acess). Switch the toolges some times and try combinations of just gps and gps+network location. 4) under settings-->apps-->all: clean “Google Services Framework”. This sometimes also can help by gps problems after my findings.

Since my initial post here I changed a lot of kernels and roms. From Android 4.1.2, 4.2.2 to 4.3. Still the speed of a GPS lock is varying from rom to rom: It seems that there had been one gps.eyxnos.so from 4.1.2 which was very fast.

--files and toolbox-------------------------------------------------------------------------------------------------------

Attached you can find some files which are my recommendations for the points 1) and 2)

--files and toolbox-------------------------------------------------------------------------------------------------------

Normally you need just to flash a script which patches your installed gps.exynos.so to aenable static navigation (which highly improves the gps locking speed).

1) Attached:

The original thread “PS SirfIV Tool Development - Disable Static Navigation. All credits to the original people!

http://xdaforums.com/showthread.php?t=1324219

http://xdaforums.com/showthread.php?t=1324219&page=11

StaticNav-i9100-v1.1.zip - [Click for QR Code] (143.3 KB, 47 views)

2) Attached:

If your gps.exynos.so is not found to be patched by this script, you can also try to flash my personal gps.exynos.so (already patched) which worked fine under my installations of slimbean 4.2.2 and 4.3. (also some time ago under carbon and rootbox 4.2.2)

3 and4) attached/text:

Additionally you can find my personal gps.conf and sirf.conf files which you copy over your /system/etc/ directory (or merge parameters in your files)

my gps.conf

NTP_SERVER=de.pool.ntp.org

NTP_SERVER=ntp.derekgordon.com

NTP_SERVER=pool.ntp.org

NTP_SERVER=0.sg.pool.ntp.org

AGPS=http://derekgordon.com/gps-files/bin/xtra.bin

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

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://derekgordon.com/gps-files/bin/xtra.bin

AGPS=http://xtra3.gpsonextra.net/xtra.bin

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_USER_PLANE=TRUE

DEFAULT_SSL_ENABLE=FALSE

INTERMEDIATE_POS=1

ACCURACY_THRES=0

QOS_ACCURACY=50

QOS_TIME_OUT_AGPS=95

QOS_TIME_OUT_STANDALONE=80

QosHorizontalThreshold=1000

QosVerticalThreshold=500

SUPL_HOST=supl.google.com

SUPL_PORT=7276

SUPL_SECURE_PORT=7275

SUPL_NO_SECURE_PORT=3425

SUPL_TLS_HOST=FQDN

SUPL_TLS_CERT=/etc/SuplRootCert

REPORT_POSITION_USE_SUPL_REFLOC=1

AssistMethodType=1

AgpsUse=1

AgpsServerType=1

AgpsServerIp=3232235555

AgpsMtConf=0

AgpsMtResponseType=1

CURRENT_CARRIER=common

PHONE_TYPE=UMTS

ENABLE_WIPER=1

ENABLE_XTRA=TRUE

DEBUG_LEVEL=3

START_MODE=WARM

my sirfgps.conf

#CSR SiRF plc

#PROJECT_NAME : white Space is not allowed

#UART_DRIVER : Uart Driver Path

#RESET_GPIO : Reset GPIO Driver Path

#ONOFF_GPIO : OnOff GPIO Driver Path

#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only

#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO

#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600

#FREQUENCY_AIDING : 0 - Disable, 1 - Enable

#SENSOR_AIDING : 0 - Disable, 1 - Enable

#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators

#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled

#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled

#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23

#CP_RESPONSETIME : 0 - no priority, 1 - resposne priority time, 2 - resposne priority position ,3 - resposne priority use entire response time

#REAIDING=20

#CONTROL_PLANE : 1 - CP Enabled, 0 - CP Disabled, for MP3 player or PND

#ATT_NETWORK_OPERATOR : 1 - for AT&T, 0 - for other network operator

PROJECT=SAMSUNG_S5PC210

UART_DRIVER=/dev/ttySAC1

RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value

ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value

EXTERNAL_LNA=1

REF_CLOCK_26MHZ=1

UART_BAUD_RATE=2

FREQUENCY_AIDING=1

SENSOR_AIDING=1

SET_ID_IMSI=1

DEBUGGING_FILES=0

SSL_ENABLED=0

CERTI_VERSION=0

CP_RESPONSETIME=3

CONTROL_PLANE=1

ATT_NETWORK_OPERATOR=0

ICS_NETWORK_OPERATOR=0

SGEE=1

CGEE=1

EMC_ENABLE=1

CIQ_ENABLE=1

LOG_PATH=/data