- Create a
gps.conf
file containing these:
NTP_SERVER=ru.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
- Copy
gps.conf
in to your sdcard - With
adb shell
, run these commands:
su
remount rw
cat /sdcard/gps.conf > /system/etc/gps.conf
reboot
Note the red letters in the
gps.conf
, you should change this to a server appropriate to your country.
Thanks for sharing this!
ReplyDeleteHi, Thanks for information.
ReplyDeleteHow to generate and edit the gps.conf file in /system/etc/ .
Hi MAD'u CrY,
ReplyDeleteFirst, you need to root the Android. There are many tutorials you can read on the Internet. Once you have it rooted, you can edit/create gps.conf in the system folder. In the example above, I created the file on my PC and transfered it to the device's SD card, and then copied it into the system/etc folder.