gps.conf for all, or how to speed up GPS on Android

Today, once again thinking on the topic of bad GPS reception on my Chinese smartphone Jiayu G2. But, to my surprise, the problem was solved just a few minutes — "Chinese" finds satellites within 20 seconds. And now everything in order.

In October I got a Chinese phone, ordered on Aliexpress. Phone for the money is great and everything would be perfect, but the GPS found the satellites very, very long time, about an hour, not faster. And this despite the Wi-Fi enabled and installed ticks A-GPS and GPS EPO assistance. I was not happy and had to recall a useful post in a blog livejournal, tips from which I enjoyed the tuning more its first smartphone based on Android. The point was to edit the gps.conf auxiliary programs. "Chinese man" it helped, but after the first (and last) factory reset GPS settings to catch even worse — leave for an hour outdoors in the satellite search and no result. And now I started again to look for the one useful post in a blog livejournal and came across the update in the header of the post:
image

"Fantastic!" thought I and immediately went on the link. In comparison with the first post this time offered even more specific action, namely to replace the contents of the file gps.conf (found in /etc/gps.conf must be root) permissions to the following settings:

/ >
NTP_SERVER=ua.pool.ntp.org
NTP_SERVER=0.ua.pool.ntp.org
NTP_SERVER=1.ua.pool.ntp.org
NTP_SERVER=2.ua.pool.ntp.org
NTP_SERVER=3.ua.pool.ntp.org
NTP_SERVER=europe.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_1=/data/xtra.bin
AGPS=/data/xtra.bin
AGPS=http://xtra1.gpsonextra.net/xtra.bin
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
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_USER_PLANE=TRUE
REPORT_POSITION_USE_SUPL_REFLOC=1
QOS_ACCURACY=50
QOS_TIME_OUT_STANDALONE=60
QOS_TIME_OUT_agps=89
QosHorizontalThreshold=1000
QosVerticalThreshold=500
AssistMethodType=1
AgpsUse=1
AgpsMtConf=0
AgpsMtResponseType=1
AgpsServerType=1
AgpsServerIp=3232235555
INTERMEDIATE_POS=1
C2K_HOST=c2k.pde.com
C2K_PORT=1234
SUPL_HOST=FQDN
SUPL_HOST=lbs.geo.t-mobile.com
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
ACCURACY_THRES=5000
CURRENT_CARRIER=common


These settings are designed for the people of Ukraine, but for residents of Russia they are very easy to adapt by replacing ua.pool ru.pool.

Next you need to restart the Android and then launch the software to work with GPS and enjoy a stable signal.

image

From myself I can add that I use the application GPS Status after the reboot when you first launch the app, I did reset the cache data for the invoked menu, then select Tools, there Manage A-GPS state and click Reset, and then Download.

Hats off to the author original post, respected mechanicuss. His advice has not only helped me and can help many more suffering.

That's about it. All of clear sky and stable signal from space.
Article based on information from habrahabr.ru

Комментарии

Популярные сообщения из этого блога

Integration of PostgreSQL with MS SQL Server for those who want faster and deeper

Parse URL in Zend Framework 2

Custom database queries in MODx Revolution