yashsingh1/xdaforums huggingface dataset:
[Mogul, XV6800 ROM Development] segadc:
It works and fast! I am not sure if adding that additional regedit or installing and reinstalling Vahalla GPS (of curse putting the new regedits) helped. Either way thanks everyone for your time and help! Hopfully we can figure the rest of the puzzle soon enough.
[Mogul, XV6800 ROM Development] Laura Lee:
Working, sort of..

Thanks everyone for all the advice in getting around this issue! I have a 6900 and was using the Valhalla program until it stopped working several days ago.

Now, I have done the 3 registry changes and can get 3 sats but it takes 2 or 3 minutes. I tried to make the extra change posted by jlh11364 (setting the GPSMode to 1), but each time I soft reset, it changes back to 4. Is there a way to get around this issue? I was hoping to be able to do that change and have a little more speed... (Also apologies if I am missing something obvious, I am new to registry editing).
[Mogul, XV6800 ROM Development] stevefxp:
So then if I follow you second set of install instructions, plus the reg entries, a cab can be created and used for all GPS apps correct?

I was having issues deciding where to put gpsapi.dll but with the new set of instructions you have answered the questions. Should have this done shortly.

Steve
[Mogul, XV6800 ROM Development] Skywing:
For GPS apps that use Windows-managed GPS instead of a specific COM port, yes. (Again, this ought to be most of them.)

The main idea here is to get the new gpsapi.dll loaded into the GPS program that you are trying to use, instead of the gpsapi.dll that ships with the OS.

There is a catch with WinCE though, which is that if any program loads a particular DLL with a given name, then all other requests for that DLL, even if they specify an explicit filename, will get the DLL that was loaded by the first program, even if the filename that was requested was not the same version of the DLL as the first program loaded. Putting gpsapi.dll in \Windows sidesteps this problem as this supersedes the ROM-baked version of gpsapi.dll.

Placing the modified oemgpsOne.dll and stdgps.dll in \Windows will allow you the option of still using VZ Navigator if you want. Otherwise, putting gpsapi.dll in \Windows would break VZ Navigator. (Again, you'll have to buy a VZ Navigator subscription if you want to use VZ Navigator specifically.)
[Mogul, XV6800 ROM Development] MagnusRF:
Nevermind my question. I downloaded it to my 6800, installed it and WHAMMO I got Google Maps to work.

Note the Live Search didn't work when I clicked on "Center on GPS"
[Mogul, XV6800 ROM Development] Skywing:
It might be that Live Search is configured to use a specific COM port instead of "GPS Intermediate Driver".

Also, if you had downloaded the adapter program yesterday, the original release did not work with Live Search (you'd see Live Search crash out). A new version that remedied this was released yesterday evening.
[Mogul, XV6800 ROM Development] stevefxp:
Updated CAB

Afternoon all,

Here is an updated cab install for those who would like to test. Please give me feedback and let me know if this works for you.

Skywing will this work for custom ROM implementations too?

Steve
[Mogul, XV6800 ROM Development] gc14:
Steve,

There were a few mistakes in the updated cab. I've updated the cab from my previous post.
[Mogul, XV6800 ROM Development] stevefxp:
So what did I f*** in the cab? I will use yours now.

Thanks,

Steve
[Mogul, XV6800 ROM Development] gc14:
Haha don't worry...just minor things that probably wouldn't have made a difference. The default install directory was left blank and the install path for gpsserv and the readme were hard coded. Just fixed it up.
[Mogul, XV6800 ROM Development] stevefxp:
Using the cab Google is coming back saying it cannot find a GPS receiver. BAF's GPS Toggler now errors out too. Google is set to be managed by Windows.

Looking into this a bit more.

Steve

Edit: I am using the pre-1 version of Nuerom 3. I am going to flash to 20273 and re-test.
[Mogul, XV6800 ROM Development] Scott:
I tried GC's oroginal CAB and it worked great for me. Seemed to even be faster than the DCD 3.2.6 variations I was using with the QPST fix. GPS Today worked great, Live Search worked Great. TomTom 7.4 doesnt work. It locks no problem but the data must not be de-obfuscated enough because it doesn't know where I am. Sometimes it will flash that I am in Nevada. Why do you think this is so?

BTW: Im not in Nevada, Im in Fargo ND.
[Mogul, XV6800 ROM Development] Scott:
The cab on the previous page does not let me lock, the second GC CAB. The first one did.

NOTE: Just noticed that GPS today just turns right back off when you toggle it on. Even in persistent mode. I have never seen that before. Hard resetting and trying the original CAB.
[Mogul, XV6800 ROM Development] gc14:
I never said the updated cab would work....the updated cab is simply updated by changing the install directories of 2 dll's as advised by Skywing. The original cab was made with the install directories reflecting the instructions from the original post. If the original one works, and the updated one doesn't, then just stick with the original.

Skywing take note.
[Mogul, XV6800 ROM Development] Scott:
Granted, yes. Could you please repost the original? Worked great. Any thoughts on the Tom Tom 7.x issue?
[Mogul, XV6800 ROM Development] gc14:
Here's the original.
[Mogul, XV6800 ROM Development] Skywing:
My guess is that TomTom is using the COM port interface. Can you tell it to use Windows-managed settings (that setting might be called "GPS Intermediate Driver") instead of configuring it to use a specific COM port (e.g. COM4)?
[Mogul, XV6800 ROM Development] Scott:
The options for TomTom are "Internal GPS" and "COM4." The results are the same on both. Gets a great number of satellites and they are all blue and somewhat hopping around. Looks like a normal lock the when you return to the main screen it shows that you have "Lost GPS signal x number of seconds ago" and it just keeps counting. Once or twice it locked then said "location ?" and showed me in the middle of now where. Everyone once in a while it would flash that I am in Nevada.

Hope that helps. This is a great workaround so far. Because of TomTom not working I just flashed back to my DCD 3.2.6 variant.

Great work!
[Mogul, XV6800 ROM Development] wbp420:
You guys have done some great work! GC I am not sure why the cab worked so much better for me than the instructions earlier (even took the Windows directory approach) but together you guys have delivered exactly what I have been waiting for. I try not to use custom ROMs as I have a work device, so this was perfect for me. By the way, it works flawlessly in the testing that I have done with Live Search and Google Maps.

Can someone please try this with the 6900? I would but do not have access to one. I just can't imagine why it would not work. No dependency on wm on 6 or 6.1?, hardware is the same for both?, and VZ nav has no place in making it work?. any thoughts along these lines as to why it would not? I think we need a guinea pig...
[Mogul, XV6800 ROM Development] wbp420:
By the way, I am talking about the first cab that GC posted. Don't want to try anything else now that it works so great.
[Mogul, XV6800 ROM Development] alwap106:
Great Job

Just want to thank Skywing for his assistance on this software. It works great and is so easy to implement to get running. Tracks will with google maps and live search. All someone needs to do now is find software that has voice nav that works with this setup

Once again a BIG THANKS for a great effort:D:D:D:D
[Mogul, XV6800 ROM Development] stevefxp:
I am testing iGuidance with this and so far so good. So if it continues to be stable we might have our first voice nav that works.

Is anyone using custom ROMs or is this only working for MR1 devices? I have on 6800 with MR1 and it works perfectly. I have a second one with 20273 and it doesnt work at all. Skywing?

Steve
[Mogul, XV6800 ROM Development] drzip:
Yup.. I'm also in Denver.. and I just noticed that my GPS will not respond at all. Glad I read this thread, cause I've been pulling my hair out messing with my phone. Trying to figure out what I messed up. I think Verizon, or the GPS providers are also messing with us. I suppose they "patched" their "mistake", as they weren't making a profit off of us using GoogleMap...
[Mogul, XV6800 ROM Development] denasqu:
I converted the hex address to decimal and pinged several variations of the decimal address. I only found one valid IP at 32.85.149.054. Ran a WHOIS query on that address and guess who owns it? ATT!
[Mogul, XV6800 ROM Development] zanymonster:
You need to convert from hex to dotted quad to get the IP address, not decimal. To do it manually, you have to go to binary, and then every 8 bits become a dotted quad. Then you can convert each quad to decimal, insert a dot inbetween and you have the IP address. Save youeself the trouble, here's a link to an online calculator:

http://www.kloth.net/services/iplocate.php

That site will alo do a lookup for you, but to see who actually owns it, you need to go to arin.net and use the whois gateway.
[Mogul, XV6800 ROM Development] segadc:
Got a fix this morning, but nothing right now. How long does it take if your far from the last time you turn it on? I want my normal agps back Verizon!
[Mogul, XV6800 ROM Development] zanymonster:
If you have traveled a really long way, it could take between 2 and 6 mins. If you are on the eastern hemishpere (and the last place you used it was western), it could take as long as 15 mins. For in-town, I am usually locked in <1-3 mins. Also, without aGPS, you may not be able to get a lock at all in some places where you could before. The wayI understand it, aGPS will "fill in the blanks" based on transmission strength from your phone at the nearby towers, making it possible to get a lock with as few as 2 sats in view. It also reports current sat positions, making for faster locks. Mine generally works well outside or in the car all the time (in unassisted mode). If you cruise through downtown in a big city (because of big onstructing buildings), or pass through some canyons, you could certainly loose signal. Also, when I have any other mode set (other than 0), it either does not lock at all, or takes forever.

I am currently working on something that may work to get us back aGPS. Can anyone suggest a good packet capture program that has good filters and will work on the phone radio? The only packet capture programs I have only work with wifi.
[Mogul, XV6800 ROM Development] segadc:
Thanks for the explaination and good luck!
[Mogul, XV6800 ROM Development] zanymonster:
faster locks?

i changed the following:

HKLM\Software\Valhalla Legends\AllowDeviceStateChange=1

HKLM\Software\Valhalla Legends\Mode=0

HKLM\Software\Valhalla Legends\PDEAddress=2130706433 (decimal)

HKLM\Software\HTC\SUPL AGPS\GPSMode=0

HKLM\Software\HTC\SUPL AGPS\ServerIP=127.0.0.1

HKLM\Software\HTC\SUPL AGPS\EnableAGPS=0

soft reset, and it now runs pretty well. I get pretty fast locks, it works more consistently, and there seems to be a minor accuracy improvement. (over my earlier post's settings). I also get locks in Google Maps every time, whereas before it seemed I had to use something else first most of the time. This effectively removes any chance of device attempting to use Verizon's aGPS service.

Until I, or someone else, finds a better solution (that works as well as aGPS did), I think this is as good as it is going to get.
[Mogul, XV6800 ROM Development] zanymonster:
Oh,, yea, I am still looking for a good packet capture program. Does anyone know one? It needs to be able to capture packets on the phone radio (evdo) interface, and support decent filtering.

My theory is that I may be able to capture what the aGPS traffic looks like, and figure out once and forall what is happening here.

Thanks!
[Mogul, XV6800 ROM Development] segadc:
Not getting any locks with these settings. But I am not waiting too long either, just until Google says GPS not working.
[Mogul, XV6800 ROM Development] drewcam888:
Everyone should install quickgps since it helps standalone lock times.

http://xdaforums.com/showpost.php?p=1862269&postcount=2
[Mogul, XV6800 ROM Development] segadc:
I am only getting red bars and no fixes on Quick GPS. I wish I had another USB ac adaptor (mine broked) so I can keep trying. But want to conserve a little until the next set of regedits are posted.
[Mogul, XV6800 ROM Development] zanymonster:
which version of google maps do you have? that sounds like the old version that had issues changing device status. please let is know if that's it! also, as much as I hate to admit it, microsoft's live search really does work better and is more useful than google. goj should try that too!
[Mogul, XV6800 ROM Development] segadc:
I am using both and both are the latest versions. I only mentioned google since I didn't wait as long as Live search in order to save some battery life. But I will try Live again but put my phone closer to the window.
[Mogul, XV6800 ROM Development] zanymonster:
I don't have quick gps. I get a lock in a few seconds every time now with the last regedits I posted. are you using the stock rom? because I can't even access my gps as a serial device without using gpsgate as a proxy, which is the same condition everyone else using the stock rom and valhalla will be in.

please tell me if I am wrong, but I was understanding that you only use quickgps in conjunction with the native gpsone api when using a cooked rom. valhalla is for stock roms. apples and oranges?
[Mogul, XV6800 ROM Development] homey14m:
would this do for packet analysis?

upon some browsing of the web i cam accross this as a probable packet analyzer. let me know if it works

http://htc-touch.handster.com/software.php?id=2202&for=HTC+Touch
[Mogul, XV6800 ROM Development] segadc:
Ok it worked fast! I don't know why this time I tried Google first because usually I use Live first and then Google works after that. But I did put my phone near the window. Now away from window and I still get a fast fix!:cool:

edit: I wonder why still even when I tried Live search after google it didn't work. But maybe putting it near the window did it and now I can get it away from it too. Who knows. I do noticed that bouth Live Search and google maps gps location keeps moving around.
[Mogul, XV6800 ROM Development] serfboreds:
Realize that a true cold start happens after several hours of not using the GPS. If you have had a lock and try again, you will have a hot start based on the previous lock and it is not the best indication of how quick you are locking. Any solution needs to be verified over a day or two to make sure it is working.

Wait a few hours and try again.
[Mogul, XV6800 ROM Development] serfboreds:
I have a copy of this that I can give for "testing" purposes.
[Mogul, XV6800 ROM Development] zanymonster:
unfortunately, that looks like a firewall. a cool one, and it does show connections and states, but I basically need wireshark for a pda. to figure anything out, we need to see packet headers and payloads, and probably need to be able to reassemble and decode.
[Mogul, XV6800 ROM Development] serfboreds:
http://www.winpcap.org/install/default.htm

and

http://www.easyfreeware.com/airgrab_network_packet_analyzer-22718-download.html

and

http://handheld.softpedia.com/get/Network/PocketPacket-18026.shtml
[Mogul, XV6800 ROM Development] rocks512:
Worked on my XV6900

This worked for me. I was able to connect with 5 satalites within about 30 seconds with my XV6900 with the latest ROM and Vahalla GPS server. Keep up the good work and we will be watching for more posts about aGPS. I also have this registry setting as previously stated in this forum.

HKLM\Software\Valhalla Legends\GPSServer\PDEPort = 7788 (REG_DWORD Decimal)

:D
[Mogul, XV6800 ROM Development] waycoolkennel:
This appears to work.. just dont forget to set Location service to ON from 911 only..

;-)
[Mogul, XV6800 ROM Development] zanymonster:
Cool, I had no idea pcap was ported to ce! I don't have a compiler either, is there a binary, or could someone compile it for me to run on my 6900? I guess that's ARM right?
[Mogul, XV6800 ROM Development] corey113888:
Question

So for those of us that do not have the MR1 update, do we put in the settings with the QPST method GC found? I thought the PDE ip address was for getting aGPS data through Verizon. That hex IP address C3CF657E translates to 195.207.101.126 which is what other guides on here and other sites use for a different carrier (sprint i think). Google 195.207.101.126 and you will see what I mean. Any who my phone is still on the original PRI and I did the GC QPST settings months ago, everything worked great since (2 or 3 sec locks all the time). Now my GPS is back to working like before GC found the hack (takes 30sec to several minutes to lock, sometimes never locks at all). In my apartment (Denver) I get 30sec locks, but up in Greeley it does not lock at all.
[Mogul, XV6800 ROM Development] zanymonster:
aGPS is dead now. we are trying to figure out why. you are right about the ip, but it is a mute point since aGPS is not working anymore. notice that in the last post of working settings (which hands down work the best for us) the only ip is localhost. mode is 0, and aGPS is disabled. this effectively makes your device completely stand alone.

as to not being MR1 flashed, I first ask why? and secondly say this is the wrong thread for you. we are discussing devices that are MR1 or 2 and are running the valhalla gpsserver. we will get nowhere fast if we go that far off topic.
[Mogul, XV6800 ROM Development] zanymonster:
airgrap is for apple pc's

pocket packet is the capture program i already have, and it is perfect in every way except for it does not support using the phone radio (evdo modem) adapter. :-(

I have to get back to my regular job for a while. It may be Monday before I can get back into this. I could really use some help! Hopefully someone can do that leg work for me, so when I am ready to go again, I won't have to go find a compiler, figure out how to use it, and compile and adapt winpcap ce. There has to be something out there!!! I just need pcap format logs captured from the evdo modem interface on my phone!
[Mogul, XV6800 ROM Development] rldleblanc:
Was Verizon's aGPS even being used?

So, I'm still doing some detective work on the aGPS system here. I've looked into the old address that was being used and it maps into the US Army IP space. It could be that Verizon's aGPS server was never used, and the Army secured their servers better or something. Since Verizon is not very forth comming about their server IP address, we need to see where the traffic is going in VZnav and see if we can use that. This discovery could explain why VZnav is still working where as the Valhalla Legends solution is not.
[Mogul, XV6800 ROM Development] pdaadvocate:
First thanks for your info!!! but i have the MR1 update. Do i use those registry edits only for MR2 update? I activated Verizons VZ navi. for just a for an hour and now GPS works!

But not sure it this is stable and I have taken VZ navigator off my account officially. Soft reset was done after removing featuring and gps still works. What should I do because don't think this will last?
[Mogul, XV6800 ROM Development] serfboreds:
HUH? Please post your findings that show this information. I show this for the old IP address of 66.174.95.132.

66.174.95.132 - Whois Information

OrgName: Cellco Partnership DBA Verizon Wireless

OrgID: CLLC

Address: 180 Washington Valley Road

City: Bedminster

StateProv: NJ

PostalCode: 07039

Country: US

NetRange: 66.174.0.0 - 66.174.255.255

CIDR: 66.174.0.0/16

NetName: WIRELESSDATANETWORK

NetHandle: NET-66-174-0-0-1

Parent: NET-66-0-0-0-0

NetType: Direct Allocation

NameServer: CARKDNS.VZWDOMAIN.COM

NameServer: NJBRDNS.VZWDOMAIN.COM

Comment: ADDRESSES WITHIN THIS BLOCK ARE NON-PORTABLE

RegDate: 2001-10-01

Updated: 2005-11-16

OrgAbuseHandle: ABUSE716-ARIN

OrgAbuseName: Abuse

OrgAbusePhone: +1-800-770-1779

OrgAbuseEmail: abuse@verizonwireless.com

OrgTechHandle: MGE16-ARIN

OrgTechName: George, Matt

OrgTechPhone: +1-908-306-7000

OrgTechEmail: abuse@verizonwireless.com
[Mogul, XV6800 ROM Development] rldleblanc:
Well, that changes things a bit. Changing the address on page 1 from hex to dotted quad on http://www.kloth.net/services/iplocate.php reverses the address. That server is responding on port 8888 and to ping, so there is something else up.
[Mogul, XV6800 ROM Development] Laura Lee:
Not working anymore

Last night, my GPS was working with the registry edits (although slowly)... today it wouldn't work at all. I just added the newest set of edits posted a page or two back today, and still no sats detected. I don't know what's going on with my phone. I had Valhalla correctly installed and working before this whole ordeal. Then just did the registry edits. Is there something else I should have done?

Edit: Ok, now when I open Google Maps it says "initializing GPS" and then after a few moments tells me no GPS receiver was found. I have location set to on, I checked GPS managed by windows in my Google settings, I put in all the registry edits as mentioned previously, I have Valhalla installed, standing outside in clear skies... Also in my External GPS settings I have COM4 for the port, hardware port none, baud rate 4800, and manage GPS manually checked. Is there something wrong with any of these settings? Thank you very much for your help.

Edit again: Now it's working - I just had to toggle the settings and reset a few times. This is much faster than before, thanks everyone!
[Mogul, XV6800 ROM Development] denasqu:
I think only modes 2 and 4 use assistance servers. Mode 1 adds cell tower triangulation and mode 0 is just pure GPS. Sooooo... mode 0 or 1 should help, if in fact the assistance server is not working.
[Mogul, XV6800 ROM Development] jsquared:
Thanks zanymonster for the reg edits! I'm up an running but have a new issue.

1st set of reg edits fixed my problem, but not as fast or accurate.

2nd list of edits improved speed and accuracy, however to get a lock in google maps I must toggle 'use gps' a few times before my location appears. The blue triangle will indicate the direction I'm traveling, however the blue dot doesn't move. I need to open my Navi2go progam and prime the gps to fix the problem.

Anybody know the best way to prime the gps before using google maps? I tried Shadowmite's launcher, without luck. I don't use TomTom.
[Mogul, XV6800 ROM Development] JohnM12:
Thanks for the post to fix the GPS! This patch should work on XV6900 also, right? I'm running WM 6.1 Pro now (finally!).

Where can I go to get the files? All the links here are dead.
[Mogul, XV6800 ROM Development] kizer8:
Uninstall cab

Can someone please post the uninstall cab somewhere?

Thanks,

Kizer
[Mogul, XV6800 ROM Development] readyeddy71:
MR2

No....I used the same one as MR1, no problems. Works great with Garmin XT. If I don't get a lock within 1 minutes, I just do a reboot, and everything works fine.
[Mogul, XV6800 ROM Development] rangerdave:
you da man

Mr1 here and you know the rest. I had been flashing my phone up and down getting gps back. I had finally flashed back to the mr1 and had gps working great for some 8 hours, then kaput......nothing-dead

I had been following this thread for about 2 days and did your tweak.

I'll report back tomorrow and we'll see what still hold true.

Thanks

RD
[Mogul, XV6800 ROM Development] serfboreds:
I don't know yet, but Telus settings seem to fix aGPS. Set these in QPST and registry.

For Valhalla:

Then just change these and Soft Reset:

HKLM\Software\Valhalla Legends\GPSServer\Mode=2 (the original value)

HKLM\Software\Valhalla Legends\GPSServer\PDEAddress=5C8BC6D8

HKLM\Software\Valhalla Legends\GPSServer\PDEPort=8889

Thank Humpa at PPC Geeks for the above.

-------------------------------

For Custom Roms

216.198.139.92

8889

IP

PDE

EnableAGPS = 1

GPS Mode = 4 (2 would probably work too)
[Mogul, XV6800 ROM Development] corey113888:
Works like a charm! I put these in QPST since I am on custom ROM and got lock in seconds. :) You can definitely tell the difference.... 4 or 5 sats without aGPS and 9 to 12 with...