webOS Nation Forums >  Palm Windows Mobile Device Forums >  Palm WM devices > GPS Satellite Acquisition Time (Reduce to mere seconds!)
GPS Satellite Acquisition Time (Reduce to mere seconds!)

  Reply
 
LinkBack Thread Tools Display Modes
Old 12/23/2008, 04:57 AM   #1 (permalink)
Forum Leader

 
Join Date: Jan 2008
Posts: 3,140
Likes Received: 0
Thanks: 24
Thanked 193 Times in 44 Posts
Default GPS Satellite Acquisition Time (Reduce to mere seconds!)

The 800w, stock, seems to have pretty typical aGPS Satellite Acquisition times (at least in my experience) of around 30 seconds to 2 minutes, depending on conditions.

I believe I have discovered a way to reduce this time to under ten seconds! Additionally, it appears (from my quick tests) that I am finding more satellites than previously. In my home, during many previous tests I would only pick up 2-3 sats at first, and top out at maybe 4-6. With this change, I am now picking up 8-10 from the same location.

This is not an easy hack, so for those who aren't phone savvy, be aware that you will be using some incredibly powerful tools that can literally destroy your phone beyond repair.

That being said, if you follow the simple instructions, then you should be just fine.


This involves several tools, none of which are mine. (There's a change!)

Tools Needed:
  • beezlewaxin's 800w Diagnostic Driver
  • QPST -- As this is a Qualcomm program, I will not post or link to it here. I used QPST 2.7.264 (or QPST 2.7 version 264 as it is sometimes called) for this). (Hint: Google is your friend.)
  • Your SPC/MSL code. Since the 800w uses an MESID, the normal tools won't work for this. I simply called Sprint, selected the option for tech support, kept drilling down until I got a tech, and asked for it. I told him that I needed to do a factory (also known as an RTN) reset. He happily provided it to me. If they question you about it, you can tell them that you need to reset it and have all the instructions in front of you, you just need the MSL.
  • A normal MiniUSB sync cable.
  • Your 800w.

That's an intimidating list I know, but it's really much simpler than the list might imply.



To apply the hack:
  • Install QPST.
  • Connect your phone to your PC, make sure you have a good connection.
  • On your phone, go into the dialpad and dial ##DIAG# (##3424#).
  • Select Diag passthru. (Note: You do not need to click OK. Simple select the radio button for Diag Passthru. Clicking OK makes this window go away, but you can get back to it at any point by dialing ##DIAG#.)
  • You should be prompted for several (three) hardware installs. All three times point the installer to the location where you placed beezlewaxin's 800w Diagnostic Driver.
  • Once installed, run QPST Configuration.
  • Click Add New Port...
  • Here you will see a list of comm ports. Don't worry about most of these, the one we want is labeled USB/QC Diagnostic. If you see more than one, that's okay, just add all of them (I had two).
  • One of the comm ports will list a phone. Mine displayed SURF6800. Simply make a mental note of the comm port number for this one.
  • From the QPST tools, launch QPST Service Programming. (Warning: This is an incredibly powerful tool, and it has the capabilities to completely brick your phone, rendering it useless. If you do not know what something does, don't touch it!)
  • Make sure that your phone is selected, and click OK.
  • Click the Read from Phone button. This is where you will enter your MSL/SPC code.
  • Browse to the gpsOne tab.
  • Check the following boxes:
    Assistance-Cartesian
    GPS Almanac
    GPS Ephemeris
    GPS Almanac Correction
    Autonomous


    The Allowed and Assistance-Spherical boxes should have already been checked. (Screenshot below is of original/factory settings.)


    Note: Some people here might get excited about the Autonomous box, and with good reason. Unfortunately, this does not allow you to connect to GPS after a soft reset and with the radio off. However, this may correct some of the problems that people are seeing when they leave the network and lose their GPS connection, and this very well may be a step towards true standalone GPS.
  • Double check that you didn't change anything you weren't supposed to!
  • Click the Write to Phone button. (Note: You may be promoted for your MSL/SPC code again.)
  • Soft reset your phone.
  • Enjoy quicker GPS!

Last edited by Ebag333; 12/23/2008 at 05:02 AM.
Ebag333 is offline   Reply With Quote
Thanked By: Skinny1979
Old 12/23/2008, 09:11 AM   #2 (permalink)
Member
 
kaptainchump's Avatar
 
Join Date: Jun 2007
Posts: 147
Likes Received: 0
Thanks: 16
Thanked 11 Times in 8 Posts
Default

Awesome work! I haven't tried this yet, but i look forward to hearing the results from other users.
kaptainchump is offline   Reply With Quote
Old 12/23/2008, 10:19 AM   #3 (permalink)
Member
 
rc46's Avatar
 
Join Date: Oct 2003
Posts: 1,650
Likes Received: 1
Thanks: 186
Thanked 203 Times in 133 Posts
Default

Another way to reduce the Acquisition time to under 10 seconds is to just do a quick "Sprint Maps" search from the Today Screen, then open your GPS application and it will already have your position acquired.

The easiest way to get fast aquistion times is to just get the latest version of Garmin XT. It seems to acquire the position instantly without needing the before mentioned priming.
__________________
Pilot 1000 -> Pilot 5000 ->Palm Pilot Professional -> HP 620LX -> TRG Pro -> Palm V -> Palm Vx -> Palm M505 -> Palm i705 -> Palm Tungsten|T -> Samsung i500 -> Treo 600->Treo 650 -> Treo 600-> Treo 700p ->Centro ->Treo 800w + Redfly C8n -> Palm Pre -> HP Touchpad
R.I.P Palm 1996-2011
rc46 is offline   Reply With Quote
Old 12/23/2008, 10:25 AM   #4 (permalink)
Member
 
Malatesta's Avatar
 
Join Date: Jan 2006
Location: Long Island, NY
Posts: 5,890
Likes Received: 0
Thanks: 44
Thanked 109 Times in 80 Posts
Default

Quote:
Originally Posted by rc46 View Post
Another way to reduce the Acquisition time to under 10 seconds is to just do a quick "Sprint Maps" search from the Today Screen, then open your GPS application and it will already have your position acquired.

The easiest way to get fast aquistion times is to just get the latest version of Garmin XT. It seems to acquire the position instantly without needing the before mentioned priming.
RC, that's a bit different than what Ebag is suggesting.

Basically, what you are doing is called a "warm start" where the GPS coordiantes are stored on the device for a certain period of time. Warm starts are always fast.

Cold starts, where there is no such info, always takes a longer time. This hack helps to speed that part up.

In addition, those extra options enabled may allow more consistent connections to more satellites than before, which could aid in accuracy as well.

Ebag: Great work as always! I'm gonna go try to dig up my MSL code and give this a shot today.
__________________

WMExperts: News, Reviews & Podcasts + Twitter
Malatesta is offline   Reply With Quote
Old 12/23/2008, 10:51 AM   #5 (permalink)
Member
 
Join Date: Sep 2008
Posts: 8
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Cool Awesome

This was like an early xmas present!!! Thanks Ebag you rock!
scott22554 is offline   Reply With Quote
Old 12/23/2008, 11:07 AM   #6 (permalink)
Forum Leader

 
Join Date: Jan 2008
Posts: 3,140
Likes Received: 0
Thanks: 24
Thanked 193 Times in 44 Posts
Default

Quote:
Originally Posted by rc46 View Post
Another way to reduce the Acquisition time to under 10 seconds is to just do a quick "Sprint Maps" search from the Today Screen, then open your GPS application and it will already have your position acquired.

The easiest way to get fast aquistion times is to just get the latest version of Garmin XT. It seems to acquire the position instantly without needing the before mentioned priming.

Mal has it (basically) correct. But since I have a pathological need to ensure that it is clarified beyond clarified.....

Default the 800w supports 1 type of aGPS acquisition. This mod allows it to use a second type of aGPS acquisition, as well as utilizing the GPS data stored on the device.

Most (all?) modern GPS devices now store ephemeris data, or basically a map of not only where the satellites have been, but where they are going to be in the future. As long as you have an accurate time, you can tell where those sats are. If you're off even a tenth of a second (or a few miles), then that data is essentially useless.

Since the 800w stores the ephemeris data, there's no reason to not use this data when finding the sats. But the 800w doesn't use it. It's like downloading the yellow pages to your phone, then calling 411. Calling 411 is a lot faster than dialing random numbers, but it's not as fast as typing in the business name and hitting dial.


Typical times for GPS are 15-30 minutes for cold start, 5-15 minutes for warm start (have the info on where the satellites used to be, but don't have information on where they are now), and 30 seconds to 5 minutes for aGPS.

Of course all that depends on the exact situation. If you're in a crappy location where you can only view 3 sats, then no amount of aGPS will help, it'll be slow.

With using the data stored on your device, you don't have to go to a network server to download that data. This is why you can pick up the sats much faster than even with aGPS.


As a side note, all my tests were done with Google Maps. I don't have Garmin installed, and TomTom uses GPSGate which primes the GPS and will throw off any tests I have.

I did notice that using Palm's Map program (or the today screen plugin) seemed to start up the GPS faster than Google Maps (back when I used it). I am unable to explain why that happens, however. My only possible explanation is that Google Maps is using the Windows Mobile GPS interface, while Palm's Maps is accessing the GPS more directly.

Hope that clarifies what's going on here.
Ebag333 is offline   Reply With Quote
Old 12/23/2008, 11:08 AM   #7 (permalink)
Forum Leader

 
Join Date: Jan 2008
Posts: 3,140
Likes Received: 0
Thanks: 24
Thanked 193 Times in 44 Posts
Default

Quote:
Originally Posted by scott22554 View Post
This was like an early xmas present!!! Thanks Ebag you rock!
Or a late Hanakkah gift!
Ebag333 is offline   Reply With Quote
Old 12/23/2008, 11:26 AM   #8 (permalink)
Member
 
Malatesta's Avatar
 
Join Date: Jan 2006
Location: Long Island, NY
Posts: 5,890
Likes Received: 0
Thanks: 44
Thanked 109 Times in 80 Posts
Default

Ebag,

I see AFLT listed on there which is Advanced Forward Link Trilateration aka "tower triangulation".

You think enabling that will work with Google Maps "My Location" or is there simply no API layer for WM to do that?

Edit: I don't think it works, but I checked that and hybrid and see no negative side effects

All in all, this was pretty easy to do and yes, GPS is much faster now with more sats. I mean...this is way fast.
__________________

WMExperts: News, Reviews & Podcasts + Twitter

Last edited by Malatesta; 12/23/2008 at 11:38 AM.
Malatesta is offline   Reply With Quote
Old 12/23/2008, 11:54 AM   #9 (permalink)
Member
 
Join Date: Oct 2006
Posts: 26
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Tried this out on my 800w and it most definitely is aquiring sats a whole lot faster than it was. Very awesome work indeed! Thanks so much.
kulnet is offline   Reply With Quote
Old 12/23/2008, 11:58 AM   #10 (permalink)
Member
 
Join Date: May 2006
Posts: 2,435
Likes Received: 0
Thanks: 198
Thanked 114 Times in 72 Posts
Default

Quote:
Originally Posted by Ebag333 View Post
Typical times for GPS are 15-30 minutes for cold start, 5-15 minutes for warm start (have the info on where the satellites used to be, but don't have information on where they are now), and 30 seconds to 5 minutes for aGPS.
no. factory start is about 12-13 minutes. cold starts optimal are 45 seconds uniterupted contac. War starts are 22 seconds and hot starts are typcially instant <12 seconds.

aGPS typcially reduces factory and cold start to warm/hot.

On my tomtom if I take it to Europe the first shot is 12.5 minutes.

If I shut down completely for a couple of days (cold start) it is 45 seconds, at most two minutes if I am moving in a city with tall buildings. Warm starts from same location are less than half a minute.

I get even better warm and cold starts from the 800w then the TomTom.

Are you sure you are not getting your reported unusually long reported times because you are reseting during testing and indoors? A post hard reset on my 800w gets me a fix in about 30 seconds!

Or perhaps their is some difference in ip access. In other words perhaps for some users in some cases the aGSP is not working fully due to data conenction issues (as opposed to the non ip network time aquisition)
aero is offline   Reply With Quote
Old 12/23/2008, 12:32 PM   #11 (permalink)
Forum Leader

 
Join Date: Jan 2008
Posts: 3,140
Likes Received: 0
Thanks: 24
Thanked 193 Times in 44 Posts
Default

Mal:

I did enable those and saw no difference. I simple think that WM doesn't use it.




Aero:

I'm not going to argue with you, because 1) it's a stupid thing to argue about and 2) you will find different times for different devices.

My standalone GPS puck gives 15-30 minutes (but says it can take as long as 45 if the stored information is incorrect, such as when it's been used then moved a couple hundred miles) and 5-15 for a warm start. Typically 2-5 is more accurate, which is faster than what is listed in the manual/specs.

The 800w always uses aGPS, so 30 seconds (even after a hard reset) is to be expected. I've watched it take up to 2-3 minutes, but that is typically only in poorer conditions (such as testing in my house).


You can quibble over the details and whether or not aGPS is 30 seconds or 32.5 seconds. The times I gave above were painted with intentionally broad strokes, there are aGPS devices which take 5-10 minutes and standalone devices which take seconds.

The fact of the matter is that with this you can go from 30 seconds (best case scenario) to several minutes (worst case scenario) down to mere seconds.


Additionally, and I have only done very limited testing on this so far, this appears to resolve the gps positional "lag" that previously existed. as i've said before, the 800w isn't any worse than many other devices, but after this change the position is MUCH closer to accurate for me. Previously the positioning was about 20-100 feet, now it is 0-50 feet.

As I've said, I've only done one test on this (driving to work). This may simply be a side effect of having more sats to synch up to, or it may allow the 800w to use another mode that is faster. I will try and test this further.
Ebag333 is offline   Reply With Quote
Old 12/23/2008, 01:33 PM   #12 (permalink)
Banned
 
Join Date: Dec 2006
Posts: 1,190
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maybe this is why the GPS lock and accuracy was always better on the HTC devices like the Mogul and Touch Pro. Those settings were already checked. It's a very old hack that the Verizon people were doing a long time ago to boost their GPS performance. http://forum.xda-developers.com/showthread.php?t=400975

I wonder why Sprint didn't configure the 800w correctly before sale?
nsxprime is offline   Reply With Quote
Old 12/23/2008, 02:27 PM   #13 (permalink)
Member
 
Malatesta's Avatar
 
Join Date: Jan 2006
Location: Long Island, NY
Posts: 5,890
Likes Received: 0
Thanks: 44
Thanked 109 Times in 80 Posts
Default

Ebag,

You may want to throw these settings in there too...unless you've determined them to not be necessary. I haven't noticed necessarily any gains yet but also no side effects either.

[CODE]PDE IP Address = 68.28.31.49
PDE Port Number = 5017
PDE Transport = IP
Position Calculation = PDE[/CODE]
__________________

WMExperts: News, Reviews & Podcasts + Twitter

Last edited by Malatesta; 12/23/2008 at 02:35 PM.
Malatesta is offline   Reply With Quote
Old 12/23/2008, 02:37 PM   #14 (permalink)
gbp
Member
 
gbp's Avatar
 
Join Date: Sep 2008
Posts: 2,495
Likes Received: 74
Thanks: 244
Thanked 197 Times in 149 Posts
Default

Thanks Ebag,
I can't get a hold of this QPST 2.7 build264 download , behind firewalled network at my work location. Will try that later.
gbp is offline   Reply With Quote
Old 12/23/2008, 03:14 PM   #15 (permalink)
Forum Leader

 
Join Date: Jan 2008
Posts: 3,140
Likes Received: 0
Thanks: 24
Thanked 193 Times in 44 Posts
Default

Quote:
Originally Posted by nsxprime View Post
Maybe this is why the GPS lock and accuracy was always better on the HTC devices like the Mogul and Touch Pro. Those settings were already checked. It's a very old hack that the Verizon people were doing a long time ago to boost their GPS performance. http://forum.xda-developers.com/showthread.php?t=400975

I wonder why Sprint didn't configure the 800w correctly before sale?
Your posts always make me smile, nsx. It's nice to see that people are still this naive.

As for configuration, it's appples to oranges. Many older phones such as the Mogul didn't have a way of storing GPS data natively and required 3rd party apps from HTC to do so. (Nor did they have gpsONE.)

The 800w is one of the newer devices with the beginnings of gpsONE on them, where this information is handled directly by the GPS drivers. That's not to say that the 800w has true gpsONE ala the Treo Pro, but then again there have been several reports where when in network service (and should be able to use aGPS) the Treo Pro has been taking an extended time to synch to the sats. In those situations gpsONE failed, and aGPS failed, and the phone is falling back on standalone lookups. As with all new technology, there are bugs to iron out. The GPS works wonderfully on the Treo Pro, and the vast majority of the people are happy with it.

And of course there is the GPS problems with the Diamond and (non-Sprint) Touch Pro's that HTC has yet to iron out. As they have resolved it for the Sprint Touch Pro, it somewhat surprises me that a fix for their older phones has not been yet released. I have no doubt that they WILL resolve it, but given they have the fix in hand it's somewhat odd it hasn't been released (or hacked off the Sprint Touch Pro).

Additionally since the 800w was originally intended for Verizon, the options may not have been enabled in the NV to lock it down to aGPS only. While that is not an excuse for Palm or Sprint who clearly missed some of this, it is a posible explanation.

Additionally ther may have been licensing/feature costs here that could have come into play. Qualcomm could have told Palm/Sprint "pay us $X more per device and we will enable Sat lookup on the device." Palm/Sprint may have turned them down, figuring that saving 20 seconds wasn't worth the extra cost.

You see this happen quite often. Toyota often does this, where they manufacture their vehicles with all the features but not the way of using them. Such as with ATRAC on the FJC, where it's something like a $2500 "upgrade", or you can buy a $50 button and have it.

Or like Intel does with their processors, where they only manufacture a few and lock them down.

Take your pick of either explanation, both are just as reasonable. But since none of us work for Palm, Qualcomm, or Sprint, we are all just guessing.


Anyway, all that being said, the 800w didn't take any longer to acquire sats than many phones, including HTC phones. With this enabled, it's faster. Pretty sure that's not a dig against HTC who (usually) has quite good acquisition times, and users should be happy with only 30 seconds compared to the bad old days of 15 minutes or more.

I had looked at porting gpsONE to the 800w (and even played with it some). You can install it and it will run, but it does not function properly. Now that we have this, we have the equivelent of gpsONE and other similar applications (such as HTCs), which simply puts us at a level playing field.






Mal:

I entered those settings, but thy did not stick. Did you go back and check to se if they stuck in there, or were removed?

I als played around with some other stuff such as the volume settings. Didn't see a differnce unfortunatly.

Lots of interesting settings though. I'm to chicken to play with some of the settings in QPST...some dangerous stuff in there.

Last edited by Ebag333; 12/23/2008 at 03:20 PM.
Ebag333 is offline   Reply With Quote
Old 12/23/2008, 03:25 PM   #16 (permalink)
Member
 
Malatesta's Avatar
 
Join Date: Jan 2006
Location: Long Island, NY
Posts: 5,890
Likes Received: 0
Thanks: 44
Thanked 109 Times in 80 Posts
Default

Quote:
Originally Posted by Ebag333 View Post
Mal:

I entered those settings, but thy did not stick. Did you go back and check to se if they stuck in there, or were removed?

Lots of interesting settings though. I'm to chicken to play with some of the settings in QPST...some dangerous stuff in there.
My settings took. Maybe you didn't write to phone?

And I have a neat trick coming up in a few mins separate from the GPS one...

PS You mean "gpsOneExtra" in your above post ;-)
__________________

WMExperts: News, Reviews & Podcasts + Twitter
Malatesta is offline   Reply With Quote
Old 12/23/2008, 03:30 PM   #17 (permalink)
Forum Leader

 
Join Date: Jan 2008
Posts: 3,140
Likes Received: 0
Thanks: 24
Thanked 193 Times in 44 Posts
Default

Quote:
Originally Posted by Malatesta View Post
My settings took. Maybe you didn't write to phone?

And I have a neat trick coming up in a few mins separate from the GPS one...

PS You mean "gpsOneExtra" in your above post ;-)
Well, yes and no.

The 800w is a gpsONE chipset, but it does not have the gpsONE program or driver on it.

I can get both to install and seemingly function. It's a selectable option as a driver for the GPS. But it doesn't actually work. There's probably a way to get it going, but it's going to be a big pain in the ****. And now that we have basically instant GPS, for zero gain.

And don't tease me with your hint dropping!
Ebag333 is offline   Reply With Quote
Old 12/23/2008, 03:38 PM   #18 (permalink)
Member
 
Malatesta's Avatar
 
Join Date: Jan 2006
Location: Long Island, NY
Posts: 5,890
Likes Received: 0
Thanks: 44
Thanked 109 Times in 80 Posts
Default

ah..duly noted!

You know, we can update our PRL now directly. Of course there is no newer version that I know of...

And my trick will be up in...5 mins, lol.
__________________

WMExperts: News, Reviews & Podcasts + Twitter
Malatesta is offline   Reply With Quote
Old 12/23/2008, 04:02 PM   #19 (permalink)
Tazmorator (Chief Mod)
 
berdinkerdickle's Avatar
 
Join Date: Dec 2005
Location: P|C when the light below is green. Otherwise; I could be just about anywhere.
Posts: 10,721
Likes Received: 223
Thanks: 3,116
Thanked 2,773 Times in 1,851 Posts
Default

You guys are having all the fun.
Jerks!
berdinkerdickle is offline   Reply With Quote
Old 12/23/2008, 04:26 PM   #20 (permalink)
Member
 
Join Date: Feb 2006
Posts: 74
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i personally never had much problem locking the gps position. normally it takes me around 15 seconds w/out any thing =\

I guess I am lucky??
amdxmania is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0