Jump to content

GPS Lock....


Guest Paddy_

Recommended Posts

Is there any way to decrease the time it takes this phone to lock onto GPS. (not web assisted) simply to the GPS sats.

No matter what ROM I try the lock time seems to take 4-5min at present.

Any help would be great. Cheers.

Link to comment
Share on other sites

Guest tcpaulh

First lock ever on a new ROM takes a while. Subsequent locks should be much quicker.

Using software that simply changes your region/time-server (Eg fasterfix) is a good idea.

Link to comment
Share on other sites

Guest jsevi83

I edited /system/etc/gps.conf to make fix much faster in Europe. Here is the link:

http://www.mediafire.com/?1h2w1g1556ci55y

You can open the file and in the extra settings section add a server from the country you are in, above this line "NTP_SERVER=0.europe.pool.ntp.org". You can find servers for your country here:

http://www.pool.ntp.org/en/

Then make a backup of the file /system/etc/gps.conf and replace it with this one, check that it has the same permissions as the original and finally reboot.

Link to comment
Share on other sites

Guest jsevi83

Thanks for this jsevi83. Any idea which server(s) to use for the UK? That site seems to be for "time servers"?

Yes, they are network time servers. For the UK use:

NTP_SERVER=0.uk.pool.ntp.org

NTP_SERVER=1.uk.pool.ntp.org

NTP_SERVER=2.uk.pool.ntp.org

NTP_SERVER=3.uk.pool.ntp.org

Edited by jsevi83
Link to comment
Share on other sites

I use this in the gps.config

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

### NTP IS NETWORK TIME PROTOCOL AND PROVIDES ###

### A TIME-HACK TO DEVICES THAT HAVE SYNCING ###

### MADE READLIY POSSIBLE. MANY XDA PATCHES ###

### MISINTERPRET WHAT NTP IS AND IMPORTANCE. ###

### NTP PACKETS HAVE BUILT-IN MECHANISMS FOR ###

### TRANSMISSION LOSS. NTP PACKETS ARE VERY ###

### SMALL. LASTLY, NTP MATTERS FOR PARSING ###

### THE XTRA.BIN. BUT, IT ONLY MATTERS WHEN ###

### YOUR DEVICE HAS ITS TIME EXTREMELY OFFSET ###

### COMPARED TO REALITY. THUS, I BUILD THIS ###

### PATCH FOR WORLDWIDE OPERATION. RARELY ###

### WOULD LOCAL NTP SERVERS BE REQUIRED. ###

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

NTP_SERVER=ntp.derekgordon.com

###

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

### AGPS AND XTRA TELL THE AGPS DAEMON WHERE ###

### IT MAY LOCATE THE AGPS DATA. THE DATA ###

### OPERATES AS AN ALMANAC WITH THE LOCATION ###

### OF GPS SATS STORED WITHIN IT. THIS DATA ###

### IS ONLY VALID FOR 24 HOURS. IT WILL BE ###

### DOWNLOADED AND CACHED. IT IS NO LONGER ###

### KEPT IN THE /DATA/ PARTITION PERMANTENTLY. ###

### THERE IS NO POINT TO KEEP IT THERE! ###

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

### MY SERVER PROCESSES THE XTRA.BIN EVERY 30 ###

### MINUTES. TYPICALLY IT UPDATES EVERY HOUR ###

### WHEN NEW DATA IS AVAILABLE. ###

### SHOULD MY SERVER BECOME OVERLOADED, I WILL ###

### NEED DONATIONS TO KEEP THIS SUCKER STORED ###

### AT MORE LOCATIONS. ###

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

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

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

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

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

###

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

### NOT GOING TO GO INTO DETAIL HERE. THESE ###

### NEED TO BE CALLED FIRST IN GPS DAEMON ###

### STARTUP. RELATES TO AGPS AND SUPL. ###

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

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_USER_PLANE=TRUE

DEFAULT_SSL_ENABLE=FALSE

###

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

### INTERMEDIATEPOS RELATES TO USING GPS DATA ###

### FROM SATS THAT ARE NOT FULLY LOCKED. ###

### THE ACCURACY VARIABLE IS A THRESHOLD MAX ###

### ON DEVIATIONS FROM THE ASSUMED LOCATION ###

### WHERE THE DEVICE WILL DISCARD DATA. ###

### THIS VARIABLE IS =0 IN ALTERNATE BUILDS ###

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

INTERMEDIATE_POS=1

ACCURACY_THRES=3000

###

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

### THIS IS QUALITY OF SERVICE INFORMATION FOR ###

### PROCESSING THE GPS DATA. MOST SHOULD BE ###

### SELF-EXPLANATORY. GPS DATA OUTSIDE THE ###

### ACCURACY AND THRESHOLD RANGE WILL NOT BE ###

### USED WHEN POSITIONING DATA. ###

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

QOS_ACCURACY=50

QOS_TIME_OUT_AGPS=95

QOS_TIME_OUT_STANDALONE=80

QosHorizontalThreshold=1000

QosVerticalThreshold=500

###

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

### THESE VARIABLES RELATE TO AGPS. IT SAYS TO ###

### USE AGPS. THIS WILL NOT BE USED IF YOUR ###

### ROM HAS AGPS DISABLED IN THE CODE. ###

### THE SERVER IP IS FOR AN INTERNAL IP FOR ###

### ACCESSING THE AGPS DAEMONS DATA WHEN IT ###

### IS OPERATIONAL. ###

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

AssistMethodType=1

AgpsUse=1

AgpsServerType=1

AgpsServerIp=3232235555

AgpsMtConf=0

AgpsMtResponseType=1

###

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

### THIS SUPL DATA IS TO MATCH THE SUPLROOTCERT ##

### IF IT IS REQUIRED BY THE SUPL SERVER. ###

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

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

###

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

### Carrier tags used univesrally in GPS configs ###

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

CURRENT_CARRIER=common

PHONE_TYPE=UMTS

Link to comment
Share on other sites

Guest jsevi83

derekgordon server is not always up. I use version 2 of his script (the one you post is version 3), with specific servers for each country which make connection much faster.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.