junjunbargo / feralab-stock

Automatically exported from code.google.com/p/feralab-stock
0 stars 0 forks source link

No GPS fix on v27, locked bootloader #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Turning on GPS receiver (both network location and GPS receiver) from 
settings or from status bar
2. Turn on any app using GPS (Google maps, GPS status, Sygic)
3. GPS location fix takes very long time (more than 20 minutes) or never.

What is the expected output? What do you see instead?
GPS worked like it should on v23 ROM

What version of the product are you using? On what operating system?
GB v27, locked bootloader, SE x10i. Smartass V2, SIO

Please provide any additional information below.
Once fix is acquired, phone looses it again several times at the beginning. 
After ~10 mnutes of usage, gps becomes stable. Phone and GPS programs work 
nice, not laggy.

Original issue reported on code.google.com by Daino...@gmail.com on 3 May 2013 at 2:05

GoogleCodeExporter commented 9 years ago
The solution:
Replace /etc/gps.conf file contents with one from previous ROM version:

Current file contents (bad) is:
______________________________________________________
NTP_SERVER=europe.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
______________________________________________________

Data from older versions of rom (working perfect) is:
______________________________________________________
NTP_SERVER=xtra1.gpsonextra.net
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 = 3

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

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

# FOR SUPL SUPPORT, set the following
SUPL_HOST=supl.sonyericsson.com
SUPL_PORT=7275

# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234

################################
# EXTRA SETTINGS
################################
______________________________________________________

So replace gps.conf file contents with previous, and GPS will work again.

Original comment by Daino...@gmail.com on 8 Aug 2013 at 6:25