yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Mach2003:
You are exposing the problem with projecting your position into the future (or actually into the present). ModDriver only actually knows where you were some time ago (LagAdvance milliseconds), and where you were 1 second before that. It calculates (or uses your indicated GPS speed, also old) your speed and course, and determines where you should be "in the future" assuming that your xhange in course and acceleration are constant for that 1 second period.

When you change course quickly, the 1 second resolution of GPS position can't keep up with you. This is basically true for all GPS devices, but will be exagerated with ModDriver's projection.

Same problem occurs when you are slowing down quickly: Your negative acceleration, being high, causes an error in the projection.

I don't think I can do anything more to minimize this problem. The projection works fine on highways at 55 mph plus (curves are designed for higher speeds), and also on common "city" stop and go situations. You will have to set your LagAdvance to a happy position your you. Lower with less "bounce" or higher with better position accuracy (most of the time).

Also when you loose GPS fix, then the whole thing gets messed up even further as the projection gets farther and farther into the "future" from the last known position. Erratic fix will cause a further issue in calculating acceleration and course change over several seconds rather than one.
[Windows Mobile Apps and Games] lexuse2000:
Text is OK now, thank you :)!!!

I have hoticed and deleted these "Programs", "Programs"(1) etc. folders after installation of 3.3.8. After intstallation of 3.3.9 they were created again. WM language and the name of "Main Menu" folder are not English...
[Windows Mobile Apps and Games] topstyling:
Problems - no GPS signal

Dear Mach2003,

first of all thanks for this tool. But I have some problems maybe you can help me:

1. i used version 317 for some time and it worked perfekt for some hours.

2. then suddenly it did not work any more and so I tried some other versions

(i saw the sats but did not get any connection)

3. now I am using 3.3.9 but still not working

I installed it in the device storage (not on a card) and followed all the instructions. After install the message comes to use port 2 for my application and it seems that the installation was correct but when I start Mod Driver I get no signals.

I´m using a Samsung Omnia II.

Do you have any idea what I can do?

Your help would be really very appreciated.

Best regards

Chris
[Windows Mobile Apps and Games] RoryB:
Thank you for a very clear explanation of how this functions. I assume the loss of fix is the real culprit of the bounce.
[Windows Mobile Apps and Games] Larry Brent:
For me the new version of GPSModDriver is working fine so far.

Two questions, first what is the meaning of the port scan mode selection?

Second, if i have enabled cell service does this cause any extra costs?

thx

Larry
[Windows Mobile Apps and Games] Mach2003:
Do you get GPS from the original GPS com port?

OmniaII needs a working SIM card, and to be connected to a cell tower at the time you start GPS in order for GPS to work.

If you don't have AGPS or XTRA enabled it can take up to 30 minutes to get the first fix after a soft reset.

Port scan allows you to have more than one GPS (bluetooth) attached to the device and ModDriver will change to lower order port if it finds working data on it. Every 30 seconds driver scans any enabled ports, that have a lower order number than the currently connected one, and ig it finds fixed data on that port it will change to read it. When scan is enabled you can use the internal port, normally, then power on your bluetooth GPS and have apps switch to the BT without doing anything else at all.

You can set to enable scan when plugged in only, include scan when on battery, scan only once, or never scan.

Cell service does not cost any money, but 'enable internet cell data' can. Either way cell towers are located first from active GPS data and then from a saved table, and only if still un-known does it use the internet data to resoolve the tower location. About 100 bytes are transfered for each tower looked up on the internet. If you disable internet, then you can use teh "update" button while connected via active sync to batch "resolve" any missing tower information without using cell data plan.
[Windows Mobile Apps and Games] Vico100:
It won't install :(

Win Mobile 6.5 (build 23569)

So I did a full hard reset. gps mod 3.20 installs no problem on this build. So i do a hard reset so there's no gps mod files left over from 3.20. I then select GpsModDriver_3.3.9.cab on the pda, select the location to install. I select "Device"

It then does 2 bars and then says

"Installation of GpsModDriver_3.3.9.cab was unsuccessful".

and that all :(

It won't install. gps mod is awesome software but 3.3.9 doesn't install (3.20 does)
[Windows Mobile Apps and Games] Bright.Light:
Had an old version running just fine (except a registry entry I needed which did not update...)

So, I installed version 3.3.8.2 and it won't work. All settings were broken (eg. using COM port 1327!!)

So, I removed the mach2003 folder and rebooted.

Still I get a problem of not getting a fix...

I hear: beep, beep, ploing... beep, beep, ploing... etc.

When I look at the main screen of settings I see 3D fix on 0 of 0 Sats, sometimes flashed eg.: 3D fix on 8 of 11 Sats.

So, it seems it just does not work correctly.

I set the profiles to default, but also using Compass (tried without too)

Settings in Sensors:

Num averages=5

Landscape Angle=30

Poll time = 50

Compass speed=25

Portrait/Landscape = 0/0

GSensor angle=45

Enable both portrait and landscape

Settings in System:

enabled: Log files, Expanded, Quiet, Keep fix=10, Enable

GpsmodDriver: Sleep time=250, ComTimeOut=500, KeepAlive=5000, Com port=3, Enabled

Internal GpsDevice: Sleep=200, Poll=500, Input buffer=5000 Output buffer=5000, Com port=4, Enabled

(I also tried various buffer sizes)

Extra:

Altitude fix, Cell service is running, Entries to save=10000, Default MCC=204

Ports: Scan on power only

Ports enabled AND fix:

MsAPI, order=1

COM4, order=2

So, it seems everything IS ok.

When disabling MsAPI I get NO beeps, never GPS fix.

GPS settings of Windows: Programs=COM4, Hardware=(none), 4800 baud.

GPS is managed by Windows automatically.

OS version=5.2.21905, HyperROM Ultra Awesome v11.0 WWE

Please help me! Are some settings wrong?

And, yes, I did remove everything (uninstall AND remove mach2003 folder) and reinstalled several times.
[Windows Mobile Apps and Games] Mach2003:
070111 020236.000 Open Existing Key: System\CurrentControlSet\GPS Intermediate Driver\Drivers: OK
070111 020236.000 Read SleepOnNoData Fail: 2, 4
070111 020236.000 Read InputBufferSize Fail: 2, 4
070111 020236.000 Read OutputBufferSize Fail: 2, 4
070111 020236.000 Read CurrentDriver Fail: 2, 402

RegEdit this key (under HKLM), and see what is there for CurrentDriver. I have not seen a GPSID registry that did not have this value. Otherwise my setup.dll can't read your registry. Try using the security.cab I posted here a while back.
[Windows Mobile Apps and Games] Mach2003:
Settings in System:

Keep fix=10 Should be 10000

ModDriver:

Sleep time=250 Should be 1000

ComTimeOut=500 Should be 100

GpsDevice:

Sleep=200 Should be 50

Poll=500 Should be 100

Input buffer=5000 Output buffer=5000 Buffers bigger than 1024 are wasting ram, but not a problem

Also use the defaults button on each profile page.

See if it works now. Then if you must, change teh values back to the ones you think will work, one at a time, and see what breaks your GPS. (sleep time 250 I bet).
[Windows Mobile Apps and Games] Vico100:
Here is what is under "HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver" Registry

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver]

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer]
"DriverInterface"="COM4:"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer\ActiveDevice]
"Index"=dword:00000004
"Prefix"="COM"
"Dll"="GPSID_HTC.dll"
"Context"=dword:12344160
"Flags"=dword:00000002
"Keep"=dword:00000001

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Mulitiplexer]
"DriverInterface"="GPD1:"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers]

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\Control Panel Configured Device]
"CommPort"="COM5:"
"Baud"=dword:0000e100

So the gps is at com 5, then there is a Mulitiplexer by HTC that sits at com 4 and it is the dll that unpacks the empheresis.ee (this is a sirf gps). So on my device the defult is com 4.

I have to note that gps mod 3.20 installed fine.

Also does this gps mod use a log of battery drain? because i have noticed that...hmmm
[Windows Mobile Apps and Games] WarByte:
Hey there! Been messing with my GPS for a while, recently running winmo temporarily and needed a speedometer which I got but gave me a really bad (unhandled error) exception any time it fell under no data from GPS. With your driver mod however it always gets data, cell triangulation or GPS, works wonders now. Can't tell you how thankful I am for this!
[Windows Mobile Apps and Games] Mach2003:
Beta v 3.3.10

rel.10

- Moved Altitude Table installation folder from windows to $install$ (\Program Files\ModDriver)

- Fixed MS cab to use CE11 instead of CE17\Programs

- Fixed sat display page to use colour scheme (windows theme)

- Made lines two pix wide instead of 1

- Changed No PreferGPS (walking profile) speed calculation

- Added detection of non-working compass

- Omnia compass needs calibration after each soft reset (3D rotate device)

- Attempt to fix non-standard GPSID registry prevents install

- Don't read sensors, when config has no sensors turned on (Compass=0, AutoProfile=0)

- Trap mulitple scan or sensor threads (one one is allowed)
[Windows Mobile Apps and Games] Vico100:
3.3.10 still won't install :(

Is there something that i have to do to make it install?
[Windows Mobile Apps and Games] Mach2003:
Post your ModSetup.txt again...

3.20 does not read/write the registry like 3.3.X does. I need to read more of the registry at install time in order for backup to work.
[Windows Mobile Apps and Games] omek07:
Hellooo

With new version i have problem with orient...

I have install and unistall the sdk 5 times and it doesnt work the orient

With 3.3.9 i can see the orient : flat, port ........

I dont know how but now its worked ....

I have to test it to the road ....

Thankssssssssss
[Windows Mobile Apps and Games] Vico100:
I installed both NewSDKCerts.cab and Security.cab and did a soft reset.

Still won't install.
[Windows Mobile Apps and Games] djorke:
thanks

I had installation problem only with 3.3.8 and 3.3.8_Unsigned but not a problem with OldCert and 3.3.10. I am using Topaz
[Windows Mobile Apps and Games] Larry Brent:
Hi,

with the newest beta version the altitude correction does no more work on my Omnia2 (German Rom). I think it is a problem with the new installation path of the altitude table, so the program can't find it.

Larry
[Windows Mobile Apps and Games] Mach2003:
If you don't have either box checked under senors, auto profile selection, or compass selected under at least one profile, then the sensors are now disabled.

With sensors disabled, does your slowness go away?

EDIT, also Omnia sensors need calibration after a soft reset, this can happen on it's own (eventually) or you can rotate the phone three times on each of the planes (turn in circles while remaining flat; start portrait, rotate though inverted portrait; start flat, rotate through landscape. Repeat each motion three times in a row.

NewSDKCerts won't make any difference since I switched back to the original certificate.

You log dies at the same location as before. I'll have to look harder to see what I have missed.

A standard HTC gpsid registry looks like this.

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver]
"CurrentLogFile"=""
"IsEnabled"=dword:00000001
"MaxLogFileSize"=dword:00000000
"OldLogFile"=""

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers]
"CurrentDriver"="GPSOneDevice"
"InputBufferSize"=dword:00000200
"OutputBufferSize"=dword:00000200
"RetryWaitOnError"=dword:00000003
"SleepOnNoData"=dword:000001F4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOneDevice]
"CommPort"="GPS0:"
"DriverName"="GPS Device Driver"
"FriendlyName"="QualComm GpsOne Card, version 0.0"
"InterfaceType"="POLL"
"PollInterval"=dword:000003E8
"Version"=dword:00000002

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOnePort]
"CommPort"="GPD10:"
"FriendlyName"="QualComm GpsOne Card, version 0.0"
"InterfaceType"="COMM"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer]
"DriverInterface"="COM4:"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer\ActiveDevice]
"Context"=dword:12344160
"Dll"="GPSID_HTC.dll"
"Flags"=dword:00000002
"Index"=dword:00000004
"Keep"=dword:00000001
"Prefix"="COM"

Could be, I'll look at this too. Is the aliitude table currently on your internal storage at \Mach2003, or on the external card \mach2003 or in the {program files}\ModDriver folders?
[Windows Mobile Apps and Games] Larry Brent:
No only found it in the Windows folder, but think this is the wrong place.

Larry
[Windows Mobile Apps and Games] Mach2003:
Old versions installed it to the windows folder, and then the setup dll moved it to the card (if it could find a working card). 3.3.10 version installs it to (internationalized)\program files\ModDriver folder, and then moves it to the card if it can.

Try copying it to internal storage \Mach2003.

Incidentally, does the \windows\start menu\programs(1) problem go away with 3.3.10?
[Windows Mobile Apps and Games] Larry Brent:
Ok copied it to the internal storage and to the storage card too.

But can't test it today because i'm in a building.

This problem is gone away.
[Windows Mobile Apps and Games] Mach2003:
@vico100

Your registry quote has the same key with two different values, what is missing?

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer]
"DriverInterface"="COM4:"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Mulitiplexer]
"DriverInterface"="GPD1:"

Install this registry to your device, to include the missing standard values (it should not hurt to have them in there)

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver]
"CurrentLogFile"=""
"IsEnabled"=dword:00000001
"MaxLogFileSize"=dword:00000000
"OldLogFile"=""

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers]
"CurrentDriver"="Control Panel Configured Device"
"InputBufferSize"=dword:00000200
"OutputBufferSize"=dword:00000200
"RetryWaitOnError"=dword:00000003
"SleepOnNoData"=dword:000001F4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\Control Panel Configured Device]
"CommPort"="COM5:"
"Baud"=dword:0000e100
"PollInterval"=dword:000003E8

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer]
"DriverInterface"="COM4:"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer\ActiveDevice]
"Context"=dword:12344160
"Dll"="GPSID_HTC.dll"
"Flags"=dword:00000002
"Index"=dword:00000004
"Keep"=dword:00000001
"Prefix"="COM"
[Windows Mobile Apps and Games] Mach2003:
rel.11

- Repair Altitude table path, save install path to reg at setup.dll install_exit

- Add CurLac and CurMnc to cell registry

- Remove extra dead function call from "update cell" routine

- Fix missing FreeLibrary call on Samsung sensor library
[Windows Mobile Apps and Games] omek07:
On omnia II the compass stuck on 359 The oriend and the Auto Profile is OK
[Windows Mobile Apps and Games] Mach2003:
Omnia sensors need calibration after a soft reset, this can happen on it's own (eventually) or you can rotate the phone three times on each of the planes (turn in circles while remaining flat; start portrait, rotate though inverted portrait; start flat, rotate through landscape. Repeat each motion three times in a row.
[Windows Mobile Apps and Games] Mach2003:
I must have left the Samsung FreeLibrary call out on purpose, with it in there all sensors on the device stop working after the first time ModDriver port is closed.

3.3.12 Removed this call, sensors working normally again.

You may need to soft reset after installing this version to get your sensors back.

Edit

Thanks, Larrry, I just named the file incorrectly, it is 3.3.12. Replaced with the correct filename.
[Windows Mobile Apps and Games] Larry Brent:
Hi,

Altitude tabel path - is working now (German Rom).

New Version 3.3.12 = 3.3.11 in the download.

Larry
[Windows Mobile Apps and Games] Thunichgud:
Moin, Mach2003,

you should place the app, the tools which belongs to it and all necessary informations into the first post. It is very hard to find the newest version, the tools and the informations somewhere in the thread. Only discussions, questions and answers should be placed here at the end.

I have a question, too: I'm using NoniGPSPlot Version 3.02 as map- and GPS-app (recommended to sailors and hiker). Does your ModDriver works together with this app and will there be advantages by using it together with NoniGPSPlot?

- Thunichgud -
[Windows Mobile Apps and Games] :
Just thought I would add that I installed your latest versions on my rom based on 23152 com3 branch yesterday just fine. I built a Com5 23563 ROM today, and it says, "Install unsuccessful".

I believe this is the same ROM base that Vico's rom is built from IIRC.

I made sure security is turned off. I did check my registry against what was in this post, and I did not have the double entry for port on the same registry key.

Looking for other culprits now.
[Windows Mobile Apps and Games] Mach2003:
If you could post your ModSetup.txt file while on the '563 rom, I might be able to see where it dies on you. Or if you know it is the same place as vico100, then please report that instead.
[Windows Mobile Apps and Games] :
I was hoping my issue would be the same as Vico, so we could figure this out, but my log is a bit different...

100111 152716.000 Software Versions:
\Windows\tmarshaller.exe
UnKnown
\Windows\GPSApi.dll
UnKnown

100111 152716.000 Install Init to: \Program Files\GpsModDriver
100111 152716.000 Install_Init: Read Values
100111 152716.000 Reading Registry Settings
100111 152716.000 Setting Defaults for 0
100111 152716.000 Open Existing Key: Drivers\BuiltIn\ModDriver: OK
100111 152716.000 Read Index: 4 bytes, 1
100111 152716.000 Read Flags: 4 bytes, 0
100111 152716.000 Reading Mod Registry Settings
100111 152716.000 Open Existing Key: Software\Mach2003\GpsModDriver: OK
100111 152716.000 Read Uninstall Fail: 2, 4

Edit: Just tried 3.20 and it installed fine.
[Windows Mobile Apps and Games] Mach2003:
Your 'code' shows that you are installing an older beta try the 3.3.12 one that was recently posted.
[Windows Mobile Apps and Games] Mach2003:
The newest release version IS on post 1. The ones posted in line are beta builds for those willing to test and risk something going very wrong with their GPS.

I don't know anything about NoniGPSPlot, but if it can read a GPS then ModDriver will work with it.
[Windows Mobile Apps and Games] :
Well, thought I tried 3.3.12, but apparently not.:o

New install failed, and I checked out the log before posting it to you. I spotted the failure at Movinand, and remembered from a previous post, that is not supposed to be there.

I checked my 23152 ROM registry (known good with your proggy) thru SPB Backup, and verified Movinand was not there.

I removed the movinand key, and tried again .... no issues.

This was from the 23563 all in one rollup that is available, and I think was originally distributed by DaG. Just a heads-up for those running either COM5 or 23563 specifically...

Thanks for your patience Mach2003...
[Windows Mobile Apps and Games] Mach2003:
The moviNand registry issue should have been fixed with the latest beta's. Can you post the error log still, or is it gone?
[Windows Mobile Apps and Games] RoryB:
Seems to be working well. The number of times GMM flickers from the arrow to the circle seems less than in the past.
[Windows Mobile Apps and Games] MichelDiamond:
Only here officially in thread - as far we only communicated by mail for the AddOn's, which I needed for future CHTSLoco :

This is an absolutely great & outstanding work, what you've made! Thanx for sharing the Driver-App with your experiences inside! Really a High-End-Software with fantastic support.

Regards

Micha
[Windows Mobile Apps and Games] Bright.Light:
Sorry I did not respond earlier!

All settings were destroyed by installing 3.3.8.2.

I will report if it all works. (For now I see 2d Fix on 1 of 1 Sats, but I'm inside, so that can be a problem, since this means it's on Cell Tower Profile)

edit: Tried these settings and they work great.

I installed latest .12 version. Thanks for this great app.

I think it's a great idea to reset all fields on a certain page. Or maybe all settings ('Back to factory defaults')
[Windows Mobile Apps and Games] :
Sorry, it's gone...
[Windows Mobile Apps and Games] lexuse2000:
The beta version 3.3.12 works almost perfect on my Omnia2. Some small issues I have noticed:

- font size into main window periodically changes (looks like scale function is working) that makes a blinking effect

- too short (1-2 sec.) time of changing from CellTowers fix to GPS search (may be this could be changed into settings, didn't find how)

- fix flickering 3D-2D-NOFIX during first 15 min. in Driving mode
[Windows Mobile Apps and Games] Mach2003:
- font auto sizes to content, and screen size, most often DOP values are changing from 3 to 4 digits.

- System page - Keep Fix (10000 default) determines the time cell tower is used, as well as the hold of loss of fix.

- Once GPS is fixed, you see what your GPS reports, until NO-FIX, then the timer above takes over, holding the last fix you saw (so you won't see NOFIX until that timer runs out).
[Windows Mobile Apps and Games] RoryB:
Flashed one of the latest Energy ROMs yesterday. Tried to install 3.3.12 and got the error about unable to install. Went ahead and installed the no certs, but that did not help. Could not install 3.3.11, 3.3.10, 3.3.9 or 3.3.8 versions that I still had on my phone. I have not tried removing the moviNand or other registry values. I'll try to post whatever logs show up later today.

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

Here is setup log. I'll wait to do anything to see if you want me to try something specific.

I noticed I do have gpsid_htc.dll and gpsid.dll in my windows folder and I recently read where people are changing their registries to refer to gpsid instead of the gpsid_htc version.
[Windows Mobile Apps and Games] lexuse2000:
Exactly :)

Thank you very much, it helped! :)

Fell the lack of parameters description... For example, on the Sensors page I know only meaning of Auto Profile Selection :confused:
[Windows Mobile Apps and Games] Mach2003:
This cab is to aid in solving installation problems.

All that is changed from 3.3.12 is that it flushes the setup log file to 'disk' after every write. I hope it will give us more clues as to why some of you are having installation issues.

If you are not having install issues, don't bother installing this one.

If you are, enable expanded logging, and then try installing this copy. The ModSetup.txt file might show a few more entries if/when it fails to install.
[Windows Mobile Apps and Games] RoryB:
Had 320 installed and tried 3.3.13