View Single Post
  #2821 (permalink)  
Old 06-12-2010, 07:01 PM
88fingerslukee's Avatar
88fingerslukee
PPCGeeks Regular
Offline
Location: Vancouver
 
Join Date: Sep 2008
Posts: 73
Reputation: 15
88fingerslukee is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Linux/Android on CDMA Touch Pro -- Now working on Verizon! And with GPS!

Quote:
Originally Posted by sfhub View Post
Anybody experiment with the SUPL AGPS server settings?

I changed it to the one Sprint phones usually use and now I sometimes get 8 second GPS locks. Mostly 10-30 seconds. However sometimes it will be 30-90 seconds. With the default settings it always seemed like it took a long time to get lock, probably 60+ seconds, but I didn't try to isolate why. It might have been as simple as needing a data connection open first before starting GPS. I recall there might have been a bug in the callback where the Qualcomm stuff asks for the data connection to be opened.

The setting is in

/system/etc/gps.conf

and it gets copied into

/data/etc/gps.conf

at boot time, so you only need to change it once at the source (and reboot)

This is what I changed

SUPL_HOST=68.28.31.49
SUPL_PORT=4503

This is what Sprint phones usually have it set to (including Touch Pro stock WM ROM) I wouldn't experiment using these settings if you are on a different carrier.

Verizon probably has their on SUPL server settings which you could look up if you were interested.
I tried this using Bell's AGPS server settings:

PDE IP Address: 206.47.201.75
PDE Port number: 8888

The results are much faster locks. Prior to doing this I was getting 5-10 MINUTE locks...if at all. Now I'm getting 60 second locks. I haven't tested extensively so I'll try some more and report back.

For future reference, the servers for most carriers are here:

http://forum.ppcgeeks.com/showpost.p...11&postcount=2

Also, I had to edit the /data/etc/gps.conf file as the /system/etc/gps.conf is read-only.

thanks SFhub and Makk!
Reply With Quote