yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Homekino:
Hello mach2003,

first I want to say thank you for your great work. As htc is`nt able to program a usable driver for th good hd2 gps sensor, your work is very important for me !

I want to use my HD2 for geocaching and mountain biking. This meens i`m operating at low speed, this brings the original driver from hd2 in trouble, very mismatching coordinates and course are beeing shown, so trips with the bike are recorded to long and finding a cache at the last 20 meters is impossible.

Now with your latest beta 3.15 I `ve made some good tests in front of my house, speed values are very constant and good, but with my favorite biking software " gps tracks" found here - hm you must use google as links are not allowed here...

the value for high above sea is constantly 48 since beta 3.13. With 3.10 it was right shown. Perhaps the software reads out latitude from your driver ?

With other software this seams to be correct.

Can you please test it ? The software has the best topografical cards from germany an it is absolutely free.

When the the right high above sea will be showed with it, its the perfect software for me and lot of other users in germany,suisse and austria.

Best regards from south germany

Homekino
[Windows Mobile Apps and Games] Mach2003:
I'm not having an altitude problem here. Is the altitude shown corectly in Mod Settings? Are you using GPSID or COMx access to the gps application? Are you using msapi or COmx as the input (ports page in mod settings)?
[Windows Mobile Apps and Games] Homekino:
as i wrote this problem is only in software "gps-tracks", please try
[Windows Mobile Apps and Games] Mach2003:
a google search for "gps-tracks" brings up far too many results. Give me an address to look at. You are too new here to post a link but you can post the link address without the leading http part.
[Windows Mobile Apps and Games] ersthelfer:
Hi, I have tested your GpsModDriver V315.

Sometime there is a messagebeep. Can I switch this beep off?

If yes, how can I do this?

If have also try to "Kill Feature Remove Service" on the Cell Tower Location tab.

But it does not work.

Thanks a lot and please sorry my bad english.
[Windows Mobile Apps and Games] Mach2003:
The beep can not be removed by the user at this time, sorry. I like it telling me when I get and loose fix, but I guess I could make it an option to enable sounds.

Honestly I've never tried to use the "remove feature" buttons myself :o:o:o. What happens when you use it? Does it even stop the cell service?
[Windows Mobile Apps and Games] Homekino:
Hello Mach2003,

you have pm....

Homekino
[Windows Mobile Apps and Games] omek07:
hello again

i think that the latest version is a bit laggy

when i turn with my car the arrow on the gps program is stuck for 1 or 2 seconds before the turn

I dont know what i have to change for this

i use the msapi only ... and i have the default settings

what do you think for this ???

i will test it on the highway and i will tell you on Saturday

thanks again
[Windows Mobile Apps and Games] ersthelfer:
Yes, please add this option.

Nothing ist happend:(

Okay, nothing what I can see happend;)

The service was not stoped.
[Windows Mobile Apps and Games] Mach2003:
I have seen the pm, and translated the page, but I have not downloaded and installed that application (yet). As it is now, the only thing I can see is that that application is incorrectly reporting the seperation value as ASL. Did it show the correct ASL without mod driver?

I noticed a simular problem with a friends Omnia yesterday while running 3.10, but I have not found the cause yet.

I tried it myself today, and sure enough nothing happens after the confirmation popup. I'll look into it.
[Windows Mobile Apps and Games] cybermaus:
Seems to work. Both the GPS Mod status screen and VisualGPSce (reading COM4) now nicely stay on the x of y sats.

NaviComputer (reading data structure) too keeps displaying x of y sats, but the font does still flicker from gray to white every 5 seconds. Somehow the data structure still signals a change or invalid in the sat info every 5 seconds and NaviComputer responds to it.

Is is possibly you omitted to also update dwValidFields field (PS_VALID_SATELLITE_* positions) from the old data? Or maybe you did that on purpose, as we could argue the sat info is outdated.
[Windows Mobile Apps and Games] Homekino:
Hello, with mod driver till version 3.10 i have the correct value in gps tracks, but I think as I can`t set up the port for gps in gps tracks, the software don`t use gps mod driver with version 3.10 ?
[Windows Mobile Apps and Games] Mach2003:
I missed updating the dwValidFields element, corrected now for the next release.
[Windows Mobile Apps and Games] Mach2003:
Delete any .txt files from device\Mach2003 folder.

Run Mod Settings, wait for fixed GPS on the main page. Menu/System Enable Logging and extended, save, exit. Wait 20 seconds.

Run gps tracks, wait for GPS fix. Exit application.

Copy the files from device\Mach2003, and email them to me.

You can turn off the logging flags in mod settings now.
[Windows Mobile Apps and Games] Homekino:
Hello, how can I send you a mail with attachments ? With xda forum client, I can`t make attachments

Can you pm your address?
[Windows Mobile Apps and Games] Mach2003:
You can get my addy by clicking the "donate" link in my sig, no need to donate.
[Windows Mobile Apps and Games] Sulquendi:
Hello,

a few help is needed here :) Apparently i'm only getting Cell Tower positionning (only one satellite displayed)

Here are some screenies of my actual config (Win 6.5.5 FR) The last two screenshots are from the External GPS config.

Any ideas on the proper config needed to make it work ?

Regards.
[Windows Mobile Apps and Games] Mach2003:
Menu\ports check msapi plus fix, com4 plus fix, all other checks removed.
[Windows Mobile Apps and Games] yaccXDA:
GPSModDriver : blank screen issue

Hello Mach2003

First I'm just totally impressed by the work done! Congratulations

But nevertheless, I've one problem running GPSModDriver (3.10, but same issue with 2.6) on Medion PNA460T, WinCE5.0, under MioPocket3.0 environment.

When running GPSModSetup, I get the list screen, then taping on the screen to normally get the menu screen, I just obtain a blank screen.

So no way to configure the port.

Have you any idea for fixing this issue? Is it because it is not compatible with WinCE5?

Thanks for your help
[Windows Mobile Apps and Games] Mach2003:
Tapping the screen switches to the sats in view screen. Is there no other way to bring up the menu?

My current build (not yet posted here) auto selects the ports again, like it used to before the cell tower service was added, so that should solve the issue for the time being (once I post it up).

Mod Settings just is a fancy registry editor, you can always edit the registry yourself.

HKLM\Software\ModDriver, PortConfig is the "ports" screen. It is a binary field so a bit hard to decode but here is the key:

There are 8 bytes for each of the 10 ports, starting with msapi, then COM1, COM2... Registry has 8 hex digits (00) for eight bytes.

The first 4 hex digits should be zeros, The next digit is important: add 1 to enable, 2 for the system port, and 4 to apply mod fixes, the next digit is the order, then two more zero digits.

mine looks like this:

00 00 00 00 05 01 00 00 (msapi, enabled, fix on, and order = 1)
00 00 00 00 00 00 00 00 (com1)
00 00 00 00 04 00 00 00 (Com2, BlueTooth port, disabled, fix on, and order = 0
. (com3) all zeros
. (com4) all zeros
. (com5) all zeros
. (com6) all zeros
00 00 00 00 02 63 00 00 (com7, my output port: 02, 0x63=order 99
00 00 00 00 05 02 00 00 (Com8, the MSapi Serial port
00 00 00 00 00 00 00 00 (com9, The original GPS port RILGps.dll

All the other registry items are basically human readable. Don't forget to check the values under each of the profiles too.
[Windows Mobile Apps and Games] Mach2003:
Version 3.16

The first, second, and sixth posts have been edited.

New version on post one, instructions changed a bit, Que Stub moved to post 6.

Compass instructions changed a bit on post 2.

Current change Log on post 1.

Have fun!
[Windows Mobile Apps and Games] Sulquendi:
It's working fine now, thanks you for this awesome driver !
[Windows Mobile Apps and Games] yaccXDA:
Hello Mach2003

Thank you for your answer.

I've loaded new 3.16 release, same issue

I looked at registry but didn't find "PortConfig" entry. Should I create such key

Here is the Mach2003 entry in my device,after loadin 3.16 release :

[HKEY_LOCAL_MACHINE\SOFTWARE\Mach2003]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mach2003\SensorStub]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mach2003\GpsModDriver]

"Uninstall"=dword:00000000

"GpsComPort"=dword:00000004

"ActiveDriver"="Drivers\\Active\\30"

"CurrentProfile"=dword:00000001

"GpsidPoll"=dword:00000064

"GpsidOutputBuffer"=dword:00000400

"GpsidInputBuffer"=dword:00000400

"GpsidSleep"=dword:00000032

"KeepAlive"=dword:00003a98

"SleepTime"=dword:000003e8

"ComTimeOut"=dword:00000064

"EnableAltSep"=dword:00000001

"EnableScan"=dword:00000000

"EnableTrack"=dword:00000000

"EnableLogs"=dword:00000000

"EnableSmooth"=dword:00000001

"OrigOutputBufferSize"=dword:00000000

"OrigInpputBufferSize"=dword:00000000

"OrigSleepOnNoData"=dword:00000000

"OrigPollInterval"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Mach2003\GpsModDriver\Profile2]

"EnableCompass"=dword:00000001

"MagLand"=dword:00000000

"MagVal"=dword:00000000

"LagAdvance"=dword:000003e8

"EnableSpeed"=dword:00000002

"EnableCourse"=dword:00000002

"EnableDop"=dword:00000001

"DeltaTime"=dword:00000bb8

"MinSpeed"=dword:0000000a

"DeltaSpeed"=dword:00000064

"DeltaDistance"=dword:0000001e

[HKEY_LOCAL_MACHINE\SOFTWARE\Mach2003\GpsModDriver\Profile1]

"EnableCompass"=dword:00000000

"MagLand"=dword:00000000

"MagVal"=dword:00000000

"LagAdvance"=dword:000003e8

"EnableSpeed"=dword:00000002

"EnableCourse"=dword:00000002

"EnableDop"=dword:00000001

"DeltaTime"=dword:00000bb8

"MinSpeed"=dword:0000000a

"DeltaSpeed"=dword:00000064

"DeltaDistance"=dword:0000001e

Does it make sense to you?

Thank you
[Windows Mobile Apps and Games] omek07:
Mach2003 thanks for the new version :)

Can you please tell me if in the new version fix this problem??

Thanks again;)
[Windows Mobile Apps and Games] RoryB:
Some questions:

1. Do I have to calibrate the compass?

2. Is "use Gps Intermediate Driver" the same as let "Managed by Windows" in Google maps?

3. Should I change "AGPS settings from Enabled" and "Allow AGPS information to network services"?

4. I believe I am supposed to change External GPS settings to be COM4 for GPS Program Port since Internal GPS Device port is set to COM4 in GpsModSettings.

5. I do not have external GPS so I only have MsAPI Enabled and Fixed. Also, I have Never Scan set. Is this correct?

6. I unchecked both portrait and landscape because I want to be able to select profiles because I use potrait mode for both walking and driving. When I picked Driving Mode the mode description went away from the text screen and neither walking or driving was checked. I selected them both and can get walking to show up as the profile, but could not get it to switch to driving even if I turn the phone to landscape. After many tries it did show driving for a split second and went back to walking. One time it switched between walking and driving several times. How is the right way to set it to let me choose walking or driving in portrait or landscape? Does it have anything to do with landscape versus inverse landscape?

7. Do I have to have GpsModSettings running running while I run my other app like Google or Bing Maps? I think I understand that I do not need to, but want to be sure.

8. BTW, I have never seen the app in remove programs list; I tried killDriver and it did not work. I even tried a link to KillDriver in startup and reset the phone. I installed my SKTools, but it did not remove the program still.
[Windows Mobile Apps and Games] cybermaus:
Cached sat info the app is now correctly recreating the GPSID data structure and the "valid" field. I tested with both NaviComputer and TomTom.

BTW: TomTom now no longer needs to be configured to 'other GPS' just wait a little and it will find the GPSID data structure form the internal GPS. Just do not be impatient with TomTom, it takes about 5 counts before it finds the internal GPS.

When a sat fix is not yet obtained, and cell fix expired, the satellite info does still have the 4-second-off-1-second-on cycling, which is as designedd, because sat info is only cached while we have a fix. Good enough for me.

Thanks
[Windows Mobile Apps and Games] Dunc001:
Help please.

I have periodically come back to this mod but having tried 3 versions now I always seem to have issues with it causing certain apps not to be able to ever get a fix. Most recently it has been the enhanced digital compass (the one with 'Set Destination' enabled and Google Maps. I have made sure all apps are set to use COM3 for GPS. It always seems that the first few times I use it when I install I get a lightning quick fix, but then it gets progressively worse until as I say some apps can't get a fix at all. If I then uninstall and revert everything back to COM4 it all works fine, albeit with usually quite a delay in getting a fix.

Am I doing something wrong or should I just give up and live with it?
[Windows Mobile Apps and Games] Mach2003:
Open the port mentioned by the instaler, in some GPS application, then the keys should be there.

I did nothing with the "slow" course response yet.

Only if you want it to be accurate, read post 2

I have no idea why it is unavailable to un-install.

I can't think of any reason Mod Driver would affect fix in that way. Mod Driver will indicate fix imediatly using last known or cell tower position, and then eventually revert to actual GPS fix status, other than that it does nothing at all to change fix time.
[Windows Mobile Apps and Games] RoryB:
As far as I know I do not have a compass program in my Fuze. Is that right, so I would not need to calibrate? Sorry I am so dense as to what this means.

Google maps does not have GID, so I set it to COM1 as that is where GpsModDriver is set. This shows up as a GPS device in Google. What are the advantages of the different Baud rates? Can I set it too fast?

I figured out what I misunderstood. The auto settings are not portrait versus landscape causing change from Walking to Driving. I realize now it is the top to bottom tilt from vertical whether it is portrait or landscape. So if I hold the phone in front of me looking straight ahead it is in Driving mode and if I hold it where I look down to the phone it shows up as Walking.?

So should I have both MsAPI and COM4 Enabled and Fixed in ports even though there is only the internal GPS? I thought I saw that only MsAPI needs to be set.
[Windows Mobile Apps and Games] dan_kan:
Hi Mach,

GPS Mod driver does not load after restart omniaII

I found that in FdcSoft Task Menager v3.3 =>

Device Menager => $device\com7 |status "not loaded" | reg keys HKLM\Drivers\BuildIn\ModDriver.

In this task manager i can manually load this device and it works till the next restart.

My reg keys:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ModDriver]

"Index"=dword:00000007

"Flags"=dword:00000000

"Order"=dword:00000002

"FriendlyName"="GpsModDriver"

"Prefix"="COM"

"Dll"="\\Moja Pamiec\\Windows\\GpsModDriver.dll"

What is wrong?

Afert reinstall mod is working but till the restart

except that program works great, I will use it event if I had to start mod manually every restart.. :(

other keys:

[HKEY_LOCAL_MACHINE\Software\Mach2003\GpsModDriver]

"CurrentProfile"=dword:00000002

"ActiveDriver"="Drivers\\Active\\93"

"Uninstall"=dword:00000000

"PortConfig"=hex:00,00,00,00,05,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,09,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,02,09,00,00,00,00,00,00,05,01,00,00,00,\

00,00,00,00,00,00,00

"EnableAltSep"=dword:00000001

"GpsComPort"=dword:00000008

"EnableTrack"=dword:00000000

"EnableScan"=dword:00000001

"EnableSmooth"=dword:00000000

"Profile1Name"="Driving"

"Profile2Name"="Walking"

"GpsidPoll"=dword:00000064

"GpsidOutputBuffer"=dword:00000400

"GpsidInputBuffer"=dword:00000400

"GpsidSleep"=dword:00000032

"KeepAlive"=dword:00003A98

"ComTimeOut"=dword:00000064

"MagLand"=dword:00000000

"MagVal"=dword:00000000

"SleepTime"=dword:000003E8

"EnableLogs"=dword:00000000

"LagAdvance"=dword:000003E8

"EnableSpeed"=dword:00000002

"EnableCourse"=dword:00000002

"EnableDop"=dword:00000001

"DeltaTime"=dword:00000BB8

"MinSpeed"=dword:0000000A

"DeltaSpeed"=dword:00000064

"DeltaDistance"=dword:0000001E

"OrigOutputBufferSize"=dword:00000400

"OrigInpputBufferSize"=dword:00000400

"OrigSleepOnNoData"=dword:000003E8

"OrigPollInterval"=dword:000003E8
[Windows Mobile Apps and Games] Mach2003:
:):):) No you don't have to calibrate a hardware compass you do not have :):):)

Faster is better (unless you exceed the devices CPU), 115200 is a great number.

Yes on the ports page, msapi and COM4 are both going to read the internal GPS device, Msapi is more efficent than COM4, so it's order should be a smaller number. If COM4 is enabled too, then driver can use it as a fallback if ever msapi fails, but will use msapi (smaller order) almost all of the time.

I assume "Moja Pamiec" is "Internal Storage" translated from your native language. Did I ever mention ALWAYS INSTALL TO DEVICE, UNLESS YOU ABSOLUTLY HAVE TO USE A CARD, of course I did its all over these posts and included at least twice on page one, including the warning that if you insist on installing that way, it may not load the driver on boot. I can see that with the very low device memory in O2, being only 512mb, that you would NEED to install this to card to keep your device alive, yup.
[Windows Mobile Apps and Games] cht838:
There is only one dll file inside SamsungMobilesdk_2.zip.

How to install ?

Thanks.
[Windows Mobile Apps and Games] Mach2003:
Better to install the full 2.2 version of SDK than that one dll from 2.1, but as far as ModDriver goes, just copy the dll into the devices windows folder if you want to use the older 2.1 file.
[Windows Mobile Apps and Games] dampam:
March2003

ModDriver 3.16

XT will go back to com4 each time after re-start of XT. The enable "tick" mark for com3 can't be saved.

What have I done wrong ?
[Windows Mobile Apps and Games] Mach2003:
My old pal, you did not read the instructions :)

Set the port in XT to "GPS Intermediate Driver", not to COM anything.
[Windows Mobile Apps and Games] dampam:
Ah..I knew I have missed something (sorry, your're right I did not read)..:o

Thanks March.

Anyway to combine or re-use the cell tower database that I have collected (1000+ cells) previously, in Moddriver 316 ? It will be great if I do not have to do the merging manually. Is it possible not to delete the database when un-install so that the newer version can continue to use the database ?
[Windows Mobile Apps and Games] cybermaus:
Hi Mach

its working all good, except twice now I have had a situation where the phone jammed while running your program.

In both cases it was showing your sat screen, was trying to aquire a fix, but unable due to being inside. The 2d tower fix timed out, so it went into its no-fix 4-seconds-blank-1-second on display of the sat info. And then suddenly it would stay on the blank screen, and be jammed. No way to get it to respond to anything other than a pinhole reset button.

It happened twice now, as stated both cases while it could not get a fix, and in fact, *all* cases where it could not get a fix, as I think I only had that these two times.

Not sure if the 4-1 sat cycle has anything to do with it, or if its just the fact it cannot get a fix while showing the sat screen.

If I have some time, I may try to recreate while I have extended logging active, but not sure when that will be.
[Windows Mobile Apps and Games] Mach2003:
Copy the file out of the Mach2003 folder before you un-install, and copy it back after, for now. I'll look at changing it so an "upgrade" saves the db file.

PS: My Avatar is a 2003 Ford Mustang Mach One, nothing to do with the third month.

I'll see what I can find. Logging will probably not help, since a lock-up leaves the log files un-flushed, and un-closed, and a S/R creates new files on boot (rolling to the "old" versions). Did you have any other (GPS) app running at the time, or just Mod Settings? Does it happen when on the primary screen too? About how long did it take after the Cell Tower location was turned off?

I have never had to wait that long for fix, I get fix even in the basement of my house.
[Windows Mobile Apps and Games] cybermaus:
Showoff... :)

Anyway, its not that easy to recreate, because me too, even when in the house, I only have to wait for a fix when I have not used it for a few days. Though I have a basement too, I could go try there.

Edit: Counted 35 or so 5 second cycles without fix and without problems. Then I started walking up the stairs out of the basement and it starting seeing sats. 5 or so 5 second cycles with increasing and swapping sats and *then* it jammed! It think the jamming may be on the first fix after a long time of no fixes. I did not hear a ping for the fix though, so it did not make it that far.

No other programs active, also not on the earlier two cases.

Edit2: Wild idea: Maybe it does not like getting the first fix when no fresh sat sentences are there? In other words, the error is on the first fix with cached sat info?
[Windows Mobile Apps and Games] dampam:
Apologies, have changed my glasses, will get it right this time, Mach2003 .:o:o:o
[Windows Mobile Apps and Games] RoryB:
In Google Maps I only have choices for "Managed by Windows" and "Manual". Manual only has COM0 through COM9. There is no GPS intermediate Driver available. With set to "Managed by Windows" I get location within 20 meters. With it set to COM1 (GPSMod) or COM4 (internal) I get location within 10 meters. Which of the two should I use for "best" results?

In Bing Maps there is the choice of GPS intermediate Driver, but I do not get a location within so many meter reading to check accuracy. Looking at the map, it appeared to have errors in my location, but that could be the slow refresh rate of Bing.