webOS Nation Forums >  webOS Developers >  webOS Development > [Patch] DISABLE Verizon aGPS Server (Improved GPS)
[Patch] DISABLE Verizon aGPS Server (Improved GPS)
  Reply
 
Thread Tools Display Modes
Old 11/16/2010, 04:20 PM   #1 (permalink)
Member
 
Posts: 163
I have a crazy idea that might just work.

I think we need to BLOCK Verizon's aGPS server. Here is my theory:

1. A request for GPS data is sent from webOS
2. The request is ignored by Verizon
3. The request hangs and then times out
4. The phone then rolls over to Standard GPS

By this time, its too late and the user moves on. If we can block this request or have it return without results then it will switch to standard GPS and you will get a fix. It would work like this:

1. A request for GPS data is sent from webOS
2. The request is blocked and returns nothing
3. This triggers standard GPS much more quickly

I do not have a VZW pre to test but I have made a patch to attempt to filter the aGPS server.
I used Jason's ad-block patch in this case. It causes a luna restart when installed with WQI But please perform a full Reboot.

I am on sprint but I have an AT&T Pre+
With no radios on at all I can get a fix in 40 seconds and a sub 10 meter fix in under a minute. I believe the same will happen with VZW with that aGPS server out of the picture.

If this works it could speed up VZW GPS performance dramatically.

Since this patch will Block the aGPS server, you need to have a clear view of the sky. Go outside to test. Try to get away from any brick, metal, or tall buildings.
__________________
FitTrack Now at Version 1.3
FitTrack Trial
SpeedTrack
My website
Twitter (Millertech)

Last edited by troymiller; 11/22/2010 at 06:03 PM. Reason: added how to test
troymiller is offline   Reply With Quote
Old 11/16/2010, 04:22 PM   #2 (permalink)
Member
 
Posts: 163
Old patch removed. Check Preware.

Last edited by troymiller; 11/24/2010 at 02:37 PM. Reason: Removing old patch
troymiller is offline   Reply With Quote
Thanked by Pulp, reydis
Old 11/16/2010, 06:16 PM   #3 (permalink)
Member
 
AlbanyHDTV's Avatar
 
Posts: 251
I'll test it out.

Just installed it via WOSQI.
AlbanyHDTV is offline   Reply With Quote
Old 11/16/2010, 06:43 PM   #4 (permalink)
Member
 
Posts: 163
Quote:
Originally Posted by AlbanyHDTV View Post
I'll test it out.

Just installed it via WOSQI.
Great! I hope this works.
troymiller is offline   Reply With Quote
Old 11/16/2010, 06:47 PM   #5 (permalink)
Member
 
Posts: 1,523
will this in anyway be blocked by vzw?

does the standard gps work? If so, how can we test this- Put phone in airplane mode?
MDsmartphone is offline   Reply With Quote
Old 11/16/2010, 07:08 PM   #6 (permalink)
Member
 
Posts: 163
Quote:
Originally Posted by MDsmartphone View Post
will this in anyway be blocked by vzw?

does the standard gps work? If so, how can we test this- Put phone in airplane mode?
This cant be blocked by VZW. We would be blocking them.

I have tested my AT&T pre+ with no radios on and I get a tracking fix in 40 seconds that quickly get to sub 10 meters in under a minute. I think anyone on VZW with these issues can then deal with a less than one minute wait time.

GPS Fix could be used to shrink that time as well. They key is it would be consistent and so not as frustrating.
troymiller is offline   Reply With Quote
Old 11/16/2010, 07:38 PM   #7 (permalink)
Member
 
Posts: 296
@ troymiller - Did you seriously just make a patch that removes the assisted gps?! Why hasn't this been done before? I personally do not have this trouble, but I have seen many complaints.

Would this work on other carriers as well? Curious.
palmuse is offline   Reply With Quote
Old 11/16/2010, 07:48 PM   #8 (permalink)
Member
 
Posts: 163
Quote:
Originally Posted by palmuse View Post
@ troymiller - Did you seriously just make a patch that removes the assisted gps?! Why hasn't this been done before? I personally do not have this trouble, but I have seen many complaints.

Would this work on other carriers as well? Curious.
It does what the ad block patch does. It redirects an ip to 127.0.0.1 localhost so it returns nothing.

I guess you would have to identify the aGPS server IPs for whatever carrier and add them to the list.

Since I dont have a VZW Pre I cant test it. This is very experimental but also very reversible and non-invasive. I just hope it works.
troymiller is offline   Reply With Quote
Old 11/16/2010, 08:01 PM   #9 (permalink)
Member
 
Posts: 296
I see. Thanks for the details.
palmuse is offline   Reply With Quote
Old 11/16/2010, 09:02 PM   #10 (permalink)
Homebrew Developer
 
Posts: 1,220
Just so you all know, you should be able to use whatever new webOS 2.0 doctors that Palm releases for the unlocked GSM phones to get a Palm-run aGPS server for use inside your Verizon devices.
__________________
Arthur Thornton
webOS Developer Relations Engineer (intern)

webOS Application Engineer, Appstuh

sprw for Twitter
Voice Memos
arthurthornton is offline   Reply With Quote
Old 11/16/2010, 11:07 PM   #11 (permalink)
Member
 
Posts: 1,523
palm run aGPS server?
MDsmartphone is offline   Reply With Quote
Old 11/17/2010, 12:08 AM   #12 (permalink)
Member
 
kkhanmd's Avatar
 
Posts: 2,069
Quote:
Originally Posted by arthurthornton View Post
Just so you all know, you should be able to use whatever new webOS 2.0 doctors that Palm releases for the unlocked GSM phones to get a Palm-run aGPS server for use inside your Verizon devices.
You mean one can copy aGPS settings from a GSM phone to a CDMA one?
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Old 11/17/2010, 07:58 AM   #13 (permalink)
Member
 
mrtonk's Avatar
 
Posts: 212
Tried to install this with Internalz and got an error.
mrtonk is offline   Reply With Quote
Old 11/17/2010, 08:22 AM   #14 (permalink)
Member
 
Rockbeast's Avatar
 
Posts: 1,230
AlbanyHDTV, any report yet?
__________________
Sent from my slowly diminishing intellect

I'm just a soul who's intentions are good...oh Lord, please don't let me be misunderstood!

Rockbeast is offline   Reply With Quote
Old 11/17/2010, 08:37 AM   #15 (permalink)
Member
 
Posts: 530
Quote:
Originally Posted by arthurthornton View Post
Just so you all know, you should be able to use whatever new webOS 2.0 doctors that Palm releases for the unlocked GSM phones to get a Palm-run aGPS server for use inside your Verizon devices.
Any chance you can explain this to the less technical among us? This sounds too good to be true.
Courousant is offline   Reply With Quote
Old 11/17/2010, 08:40 AM   #16 (permalink)
Member
 
thornev's Avatar
 
Posts: 326
I just tried Google Maps on my VZW Pre+, allowed GPS to locate my position and it is about 2 miles off. I seem to remember reading posts about poor accuracy. Will this patch improve accuracy too? thorne

UPDATE - 1 minute after I posted the above, Google Maps relocated my position to about 1 mile closer to me. Interesting as I'm seated in my home.

UPDATE 2 - And 1 minute later Google Maps relocated my position back to the 2 miles away. I'm still seated at home.
thornev is offline   Reply With Quote
Old 11/17/2010, 08:53 AM   #17 (permalink)
Member
 
AlbanyHDTV's Avatar
 
Posts: 251
Quote:
Originally Posted by Rockbeast View Post
AlbanyHDTV, any report yet?
These were taken while inside my office 45 minutes after opening the programs. NOTE: GPS Fix not activated.

Google Maps:


BFG Maps:


I've got to go do some fieldwork later and will check the mapping programs after driving to the site.
AlbanyHDTV is offline   Reply With Quote
Old 11/17/2010, 09:17 AM   #18 (permalink)
Member
 
spdsktr's Avatar
 
Posts: 867
One thing to note, is that this patch will make you 100% dependent on standalone GPS. Please step outside when trying to get an initial lock, the phone has issues getting a fix indoors, especially concrete/brick ones.

For testing, you can use GPS Fix. Just turn off the "Use Patch" option inside the app. This has the added benefit of allowing you to see the debugging data of what is going on while it tried to see a fix.

One test already revealed that the getCurrentPosition function was returning an "undefined" response, which really should not happen (and to be honest, I do not account for it in the app). Interested in other's experiences.
__________________
- James Harris

Author of:
WhitePages, FlashCards (and FlashCards Lite), GPS Fix, Anonymous Texter, TripThat, and Mobile Florist

Follow me on Twitter and Facebook
spdsktr is offline   Reply With Quote
Old 11/17/2010, 11:40 AM   #19 (permalink)
Member
 
trvth's Avatar
 
Posts: 7
I successfully installed this from an email attachment via Internalz.

My testing showed the following:
* The install via Internalz led to a Luna restart
* I then switched to Airplane mode and went outside
* I did the ##GPS# routine in the Phone app, and after about 2 minutes of trying it came back with poor accuracy of 1756
* I tried to acquire my position again and it improved to stated accuracy of 141, still not good
* I did a device restart, just to be sure the patch was in place
* I did the ##GPS# routine in the Phone app again, and after about 2 minutes of trying it came back with poor accuracy of 141, still not good
* I turned on WiFi and ran Google Maps; the accuracy circle was pretty huge, and my location was off by about a quarter mile

All in all I tested for about 20 minutes, and sadly I was not able to get a good result. I don't have GPSFix running in the background, but I did also try running it once manually; it had no noticeable effect.

I'd be happy to continue testing, if anyone has any suggestions as to how to go about that to get a good result. I plan on doing some more testing on my own this afternoon as I travel around campus.
trvth is offline   Reply With Quote
Old 11/17/2010, 11:42 AM   #20 (permalink)
Member
 
kkhanmd's Avatar
 
Posts: 2,069
So I found this on palm blog:
Some carriers may not support, or may limit access to, Assisted-GPS (A-GPS) for location services. This can dramatically increase the time necessary for an initial position fix. This can be mitigated to some extent by choosing the parameters "responseTime:1" and “accuracy:3” when requesting position information. These settings, when combined with Google Services, will return a low-resolution fix within 30 seconds in most environments. Once the low resolution fix is acquired, updating the location using ‘responseTime:3’ and ‘accuracy:1’ will provide a high resolution location fix when available.

Location Service €“ HP Palm Developer Center

How does one change parameters?
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Thanked by jhodnettejr, Major Payne
Reply

 

Tags
gps, vzw

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0