Join now - be part of our community!

GPS fixing ... only for Rooted users

ahgpeuka
Visitor

GPS fixing ... only for Rooted users

Right, I see a lot of abused peoples here ... Too many got a problems with GPS fixing ...

U can solve this problem, just need to edit /etc/gps.conf

This need looks like that :

gps.conf.png

NTP_SERVER=uk.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

You need change Yours region, I'm from UK and I got uk.pool.ntp.org . All pools U can find @ http://www.pool.ntp.org

After that Ive got satelites lock for 30-50 secs ...

GPS.png

Yes, and for me, better app for lock an satelites is - GPS Test

4 REPLIES 4
Samuel1
Hero

*Moved to Android development*

pradeeprk4
Visitor

Apparently, SUPL server of google is not working for every sony phone.

I had to change it to supl.sonyericsson.com to work, and it took a year for me to know.

http://talk.sonymobile.com/message/486731#486731

richsund
Visitor

Guys, I am here troubleshooting some GPS problems on my Xperia Active, and I have learned about the gps.conf file.

My gps.conf uses supl.sonyericsson.com, however I think this server appears to be down. I tried to 'ping' the server on my PC, I get no response. (to compare, I ping supl.google.com and this is successful)

 

Could this cause problems with my GPS? I cannot edit the gps.conf as I do not have root (yet!)

Trubo_XL
Contributor

Yep, I know I'm replying to a year old post. But I want to so other people in future will look here for info too.

I did check ping with supl.sonyericsson.com and it seems the site is not really down (I mean the DNS is working correctly and found the IP address for the SUPL address)...

I suspect supl.sonyericsson.com has disabled the ping feature (prevent hacking?)...

But what really gets me is that whether /system/etc/cacert.txt is outdated or not containing much security certificates thus end up not connecting to supl.sonyericsson.com

I replaced the cacert.txt with Waze's cacert.pem which can be obtained in /sdcard/waze directory after installing and firing up the Waze app,
and a reboot of the device,
logcat no longer reports anything about DISCONNECT (will go into details later when I update post) and the device certainly downloads AGPS info from supl.sonyericsson.com...

This is what I have been trying to fix with my Stock Xperia sola GPS currently...