yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Mach2003:
0.4 version added to first post.

I liked the result overall with 2.8 seconds LagAdvance.

I have my mapping (Garmin Mobile XT) set for actual GPS position, and not stick to roads.

When turning, you appear to make a wide turn, going off the road a bit.

You appear to jump back a few meters when slowing while on a curve.

The perfect time of advance is not consistant, some times 2000 would be better than 2800. Find a good balance that works for you. Your phone may require a much different setting. Too big, and you appear to pass an intersection before you actually get there, too little, and you pass the interection before you appear to get there. Drive at a consistant speed, and straight during the adjustments.

Note that you must close your mapping program (realy close it, not let it run in the background), or change the port from the GpsModPort, before editing the registry, or any changes will not take effect.

Please report your results here.

Next up (besides fixing anything that goes wrong): Create a UI for the registry settings.
[Windows Mobile Apps and Games] mutokenji:
i try to install that and edit all of the registry and its success..

but, every time i change enable the com 6 in my garmin, it always change back to COM 4.. is it normal?

look my attachment for the video..
[Windows Mobile Apps and Games] Mach2003:
Garmin Mobile Xt requires a trick.

Make sure your external GPS settings are correct, I'll assume COM4, and the ModDriver at the default COM6.

Close XT, and then change this key:

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

Unfortanatly you need to reset the external GPS settings to COM4, and then modify the key ater each soft reset. I have this 'patch' on my list of things to automate.
[Windows Mobile Apps and Games] drewcam888:
Would this work on the kaiser and titan?
[Windows Mobile Apps and Games] Mach2003:
It *should* work on ANY device, but see the CDMA Diamond comment on post 1...
[Windows Mobile Apps and Games] sadthai:
a bit confusing. for cdma users, hard reset, then install the driver? or install the driver, then hard reset?
[Windows Mobile Apps and Games] flippy:
No if you install this you will have to hardreset, or this does not work for cdma
[Windows Mobile Apps and Games] Mach2003:
Two users reported after installing this driver on a CDMA Diamond, they had to Hard Reset their phones. The driver did not load properly and CAUSED the need to hard reset the phone. They HAD to reset to 'factory' due to the driver appearing to lock up the device entirely on first boot.
[Windows Mobile Apps and Games] oruam57:
Now...

GSM Diamond, :)

CDMA Diamond, :eek: :(

other GSM phones, anyone ???
[Windows Mobile Apps and Games] Crescendo Xenomorph:
I use i-Mate ULTIMATE 9502 and this fix is AWESOME!!!!
[Windows Mobile Apps and Games] mutokenji:
altought it was returning to COM4..

it works great.. my gps signal is 0, but no lag at all in my diamond.. nice work..
[Windows Mobile Apps and Games] sandervanzijl:
I tried installing it for tomtom. but it did not work.

can someone post a short tutorial how to install this on tomtom?
[Windows Mobile Apps and Games] eDaniel:
Mach2003, your efforts deserve respect! Keep up the good work - pleasure for me to track the changes in this thread/the progress of your software.
[Windows Mobile Apps and Games] Batistuta88:
Some good news from the Master Darko who have tested your software again and got it to cooperate with GCZ and he sees a noticeable improvement of the lag problem.

Now I have to try it myself soon :o I'm a bit cowardly to try first :rolleyes:

Thanks you for your software that looks to solve a major problem with WinMob/Gps/Qualcomm chipset in the world of caching :):)

Cheers Batistuta
[Windows Mobile Apps and Games] Mach2003:
I just drove a bit with RC2, and the EnableSpeed, and EnableCourse flags set to '1'. It was nice, but my little car jumped back and forth from one side of the road to the other (10 meters or so at 60 kph), so at this point I highly recomend setting these two reg to 2 (average filter on).
[Windows Mobile Apps and Games] Ather:
Sorry people, got carried off a little by College Work, will update the UI :)
[Windows Mobile Apps and Games] Lycox:
I can confirm this too on my Diamond with TomTom.

Here are my complete reg settings:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial5]
"GpsComPort"=dword:00000001
"Flags"=dword:00000000
"Order"=dword:00000002
"FriendlyName"="GpsModDriver"
"Prefix"="COM"
"Dll"="GpsModDriver.dll"
"Uninstall"=dword:00000002
"ActiveDriver"="Drivers\\Active\\20"
"Index"=dword:00000001

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

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

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\Multiplexer]
"DriverInterface"="COM4:"
"MaxBufferSize"=dword:00000200

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\Multiplexer\ActiveDevice]
"Prefix"="COM"
"Index"=dword:00000004

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

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOneEmulate]
"Filex"="\\windows\\GPSOneFileSimulation.txt"
"FriendlyName"="QualComm GpsOne File, version 0.0"
"InterfaceType"="File"

[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:"
"MaxBufferSize"=dword:00000200

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

[HKEY_LOCAL_MACHINE\Software\Mach2003\GpsModDriver]
"SleepTime"=dword:000001F4
"GpsComPort"=dword:00000004
"EnableSpeed"=dword:00000002
"EnableCourse"=dword:00000002
"DeltaSpeed"=dword:00000032
"DeltaDistance"=dword:00000032
"ActiveDriver"="Drivers\\Active\\20"
"Uninstall"=dword:00000000
"LagAdvance"=dword:000003E8
"EnableLogs"=dword:00000000
"EnableDop"=dword:00000001
"DeltaTime"=dword:00002710
[Windows Mobile Apps and Games] p50kombi:
TomTom users seems to share experiences

I think what is happening here is that TomTom just responds different to the input.

I tried the RC2 version this morning, and TomTom just was all over the place.

Like described earlier, continuing after stop (with the enables set to 1 or 2 same thing), actually introducing lag that I don't have when I choose internal gps etc.

Although in googlemaps etc. it works very good and is pretty spot on.

Maybe TomTom has it's own set of filters over the data that's coming into the actual program.

I like the driver, although I never had GPS lag (yes I know, lucky b@$terd) I still like the way it caches last position and hotstarts the GPS.

So now I just use my internal GPS for TomTom and all other programs the COM1 GPSMod one.

It's just hard to describe what's happening in TomTom but from the response of people here it just doesn't seem to play nice with your driver.

Very impressed by the work... if there's anything you need tested in TomTom, just let me know.

Currently I am just using your driver with the "normal" registry settings...

Sure there's lot's more out there with TomTom who are willing to test.

Keep it up buddy...well done
[Windows Mobile Apps and Games] Lycox:
Well, I have to say, that I don't had any issues until version 0.9 excepting the very annoying spin effect. The gps signal updated very fast. So I don't think, that's the prob. :confused:
[Windows Mobile Apps and Games] p50kombi:
In the mail...

On it's way...

Hope it helps..

Inspected it myself but no clue at what I'm looking for :D

So leaving it to the expert...
[Windows Mobile Apps and Games] axl30:
the best setting for Blackstone,diamond and topaz is this

i have tested it by long time

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver]

"CurrentLogFile"=""

"OldLogFile"=""

"IsEnabled"=dword:00000001

"MaxLogFileSize"=dword:00000000

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

"MaxBufferSize"=dword:00000200

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

"InputBufferSize"=dword:00000200

"OutputBufferSize"=dword:00000200

"RetryWaitOnError"=dword:00000003

"SleepOnNoData"=dword:00000100

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

"PollInterval"=dword:00000320
[Windows Mobile Apps and Games] Tistitus:
Thank you Mach2003!

RC1 works great on my diamond with igo834.
[Windows Mobile Apps and Games] Mach2003:
MaxBufferSize, InputBufferSize,OutputBufferSize = 512, a little small, you could miss an update every now and then (adds a 1 second delay if/when it happens). Normal sized strings do fit in this buffer though. GpsModDriver will automatically change all three values to 1024=0x400.

SleepOnNoData = 256, you are causing a poll 4 times as often as usefull, waste of Kernal Cpu time, slows down entire phone a bit.

PollInterval=800, look at this:

GpsOneChip data is available at: 0,1000,2000,3000,4000,5000...

GPSID Polls it at: 0,800,1600,2400,3200,4000,4800,5600...

You are only getting the quickest result at 4 seconds;

At 800 return 0;

at 1600, return data 600ms late

at 2400, return data 400ms late

at 3200, return data 200ms late

at 4000, return data on time

at 4800, return 0
[Windows Mobile Apps and Games] Mach2003:
Thanks to Lycox and p50kombi for the TomTom data logs.

TomTom is doing something I did not expect (and wasteing a bunch of time too). It reads gps data 1 byte at a time, you can't get a smaller buffer than that!

RC2 had a 10 milliseconds delay inserted on each ComRead in order to check for failure on reading data from the original port. This little delay causes TomTom to be unable to read a whole message during the (1 second) time a new reading is available, causing data to get very old, and very jerky.

I removed the delay in RC3, posted on first page. Give it a try, and please report back. Other applications *may* read smaller amounts that the reg tells them to as well, so if your app (tomtom) gets large delays, or jerky motion, see if RC3 will help.
[Windows Mobile Apps and Games] p50kombi:
Jeez you're fast :)

Glad to be of service :D

Will try RC3 and report back as soon as I am able to take it out for a spin :)
[Windows Mobile Apps and Games] maair:
Your driver is Great , Test it since v.0.8 both GMXT and TomTom.

But only problem for me is when you release new version I can't just upgrade it.

Because I can't uninstall old driver from my device.

Even now , I can't uninstall RC1 to upgrade to RC3 , Only way to uninstall it is Hardreset. :confused:

Any suggestion ? :)
[Windows Mobile Apps and Games] gsmdb:
Do you have a prog. so called registry editor, delete manually therefrom
[Windows Mobile Apps and Games] axl30:
the 800 is tested with gps refresh meter with blackstone

and with this value the refresh is costantly at 1.25-1.33 hz

with the standard value (1000) is 1 hz
[Windows Mobile Apps and Games] Mach2003:
Use SKTools to uninstall the driver once, then the upgrade install should work fine from then on.
[Windows Mobile Apps and Games] gsmdb:
SKTools is unfortunately not a freeware so I prefer to delete it from registry under the trees - serial5 and mach2003.

Btw. I just have tested the RC3 w. Tomtom. It is definitely very good, almost no lag and minimal jumping drive speed. Great improvement. Thanks.
[Windows Mobile Apps and Games] Mach2003:
I have looked at a couple of log file sets, and noticed that some users have reset the fix timeout value to an abnormally low value. With 3.3.15 or lower driver, setting this value to below about 2500 will cause GPS reading failures very often.

3.3.16 changes this.

rel.16

- Add log entry for any close port call

- Double the wait for msapi data timeout (from 1.2 to 2.2 seconds)

- changed lost GPS detection to 2500 m/s instead of using FixTimeout
[Windows Mobile Apps and Games] harrisonk:
I'm a bit confused here. Do I need to set each application to COM3 each time I use it? I can't seem to get the GPS mod driver to be the default
[Windows Mobile Apps and Games] Mach2003:
Yes, use GpsMod com port, or else GPSIntermediateDriver in your applications.

What application(s) are you having trouble keeping the setting? It could be other users here can help you make it stick, if you list them.
[Windows Mobile Apps and Games] GeitjeG:
To join this: what I noticed Google Maps seems to "forget" the GPSmod port, and every time I start it it returns to default WM internal GPS. Is there a way to make Google Maps remeber the setting?
[Windows Mobile Apps and Games] harrisonk:
this is what ive had problems with too
[Windows Mobile Apps and Games] Mach2003:
The copy of GM I have, has "Let Windows Manage" and "Set Manual". I use Set Manual, and select ModDriver's com port at 115200 baud.
[Windows Mobile Apps and Games] GeitjeG:
Yeah, mine has it as well, and of course I set it at MODdriver's port, but after a soft-reset, GM forgets it, and it's set at "let WM manage GPS settings". Well, it is more complicated, it sometimes forgets the setting. I started with re-installing GPSmod to device instead to storage :o, as it was behaving weird...

I will do some testing and see if I can get a clue...

This is what I found out:

To check the settings I go to the settings page of GM. If I press cancel to close the window, the setting is automatically changed to "let WM manage", even if I did not change it and it was set to GPSmod before. This is not a big problem, I should press OK instead of cancel. But is is a bug in GM, cancel should only cancel the recent changed settings.
[Windows Mobile Apps and Games] RoryB:
I have been away trying several different things.

Version 3.3.15 ran a few times then started the flickering to 0 of 0 sats.

Version 3.3.16 did the same.

I installed a new NRG ROM and installed 3.3.16 with still the same results.

I confirmed in all cases I was using gpsid_HTC.dll

With latest ROM I checked and saw the dll file was a different size than that in the original ATT Fuze ROM. I copied it over the NRG ROM file. Still same problem.

I installed 3.3.15 over 3.3.16 and it still does the same.

I removed GPSMod and installed version 320. It seems to be working fine.
[Windows Mobile Apps and Games] Mach2003:
Using any copy of gpsid_htc should be fine (no need to revert to an older copy), I was just checking that you were not using the MS one (gpsid.dll), as that one is not customized for your chipset. Someone posted here a hint that it was a good idea to use the MS one a while back, but it is a bad idea.

Try the attached test build, it is named for the CE build (5.2), still internally 3.3.16. I have removed the test for a lost GPS signal, and want to see if it solves your problem. Those of you (almost everyone) that don't have the intermittant loss of GPS DO NOT NEED TO TRY THIS UPDATE
[Windows Mobile Apps and Games] bartvdv:
I used 3.3.16 yesterday with Igo and most of the time i was driving 0kmph and even-tough I had a clear sky, on a highway on top of a hill it sometimes lost all birds and found them again after a few seconds ...

Most annoying was the driving 0kmph and having dynamic volume to start increase sound at 70kmph up to max at 140kmph and meantime missing the "you are speeding" notifications...

I had same sort of experience with 3.3.15 where I had a fix switched program and all info became 0 till I restarted the phone ...
[Windows Mobile Apps and Games] RoryB:
Apology

I apologize for sending you off on a goose chase.

I have been trying different things. Flashed new ROM. Flashed different radio ROM. Still had problems even with the test cab you posted.

I was reading NRG ROM thread and JVH3 said he always run aGPS settings cab. I decided to do the same, but first looked at existing settings. I discovered a lot of values were missing.

Now every thing works fine so far. I do get one flash to 0 of 0 sats and the "beep". I'll send you my logs of a couple times this happened since fixing aGPS.

I am going back to my other radio ROM and will test tonight and over the weekend.

Sorry again for causing trouble for no reason other than not making sure everything else is in place.
[Windows Mobile Apps and Games] RoryB:
I'm still having the 0 of 0 flicker

Started with one radio went to another and then back to the first one. Just seems things work for a few times then stop.

Even tried with Gyrator2 stopped. Did not make a difference.

One of the reasons I tried stopping Gyrator2 is when I walk the mode would switch back and forth between walking and driving. I think the shake when I walked made the sensor think I had shifted the angle of the phone to driving. This did not change either, so I think the best for me is to set it to a mode and not use the automatic switch over.
[Windows Mobile Apps and Games] xheretic:
GPS anabase :)

Hi all!

I just successfully setup GPS after 3 hard days of working.

i8000 with newest ROM JJ1:

after hard reset GPS always works correctly with default settings even with every navi-software like TomTom, iGO8, Geoscout, Nogarder etc...

BUT with installed SPB MOBILE SHELL TomTom not works at any settings!

I tried every registry modifications which found on net forums and nothing helped :(

Even I was thinking about reselling my Samsung :)

Helpfully I found cure by this excellent GPS MOD DRIVER:

It's very simple:

1) Just leave a GPS settings in phone menu untouched (Com7, Com9,Baud115000)

2)Install GpsModDriver_320.CAB and do softreset

3)Start any navi-soft (TomTom) set in GPS settings "Other NMEA Device"-Baud whatever (try yourself, e.g.57600)-GPSMODDRIVER (com4)

It works for me even in a building by window!

Hope this helps to someone...
[Windows Mobile Apps and Games] Mach2003:
Release Version 3.4.0.0

See post one...
[Windows Mobile Apps and Games] omek07:
Thank you Mach i thought that you left from this threat

I will test it and i will tell you as soon as possible

Thank you again
[Windows Mobile Apps and Games] Mach2003:
:eek: Left the thread :confused: no way! I've been making test builds and letting RoryB do all the work of testing them (via email). He deserves a thanks for his hard work.
[Windows Mobile Apps and Games] omek07:
You and RobyB you deserves many thanks Mach

I havent test it yet

by the way any news about omnia 2 problems with stucks ????
[Windows Mobile Apps and Games] MichelDiamond:
Hello Mach :)

I only want to say thank you for this genious piece of software and your personal help for me.

I have released CHTSLoco 1.00 right now, which uses your great Mod!

But not only for this - my hardware compass is working great, Google Maps is accurate and also my Navigator!

It's really a must-have-Mod, what you have well-developed.

Your new Release 3.4.0 is working fine - and on my device also for Cells - so let's hope, that it will work as fine for CDMA-Users.

Together with the private, personal WiFi-Concept of Loco, I think we have in Sense a great combination of indoor & outdoor - Location-Awareness!

Some screens of Loco, which wouldn't be as global possible, if your Mod wouldn't be:

(Link: *CHTSLoco 1.00 - now with GPSMod/MachCell*)

*click to upsize preview*

Thanx for your effort!

Micha
[Windows Mobile Apps and Games] GnobarEl:
Hi, thanks for your hard work, but unfortunately from version 3.20 to up i'm not able to install.

Always getting the same error. When starts installing i get the message "unable to install". I tried everything from I could get in this topic but no sucess. Any idea how i can fix it?

Thanks!
[Windows Mobile Apps and Games] RoryB:
Please tell us what phone you have and what ROM you have installed.
[Windows Mobile Apps and Games] GnobarEl:
Hi,

I have htc p3470 with a cook rom w6.1

I also tried with other rom, w6.5 and i had the same problem.

2 diff roms both with same problem.

KillDriver didn't solve either.
[Windows Mobile Apps and Games] cybermaus:
Android?

Hi Mach2003

I recently bought an Android phone. Imagine my frustration to notice that it too failed to apply altitude to sea-level correction. Back to square one. And it had a broken speed value to boot.

Its probably futile to ask, but do you happen to know of any similar program for Android?

Maurits
[Windows Mobile Apps and Games] Mach2003:
I don't think anyone has a simular GPS driver for android. I don't know anything about programming for Google either. Can you even install a driver for android? Does it use dll's to service programs?
[Windows Mobile Apps and Games] Mach2003:
See if I understand you. You can install earlier versions 3.19 and below, and everything works fine, but if you try to install 3.20 or 3.4.0.0 windows refuses to install, is that correct?

If so, install 3.19, enable logging, and expanded, soft reset. And then try to install 3.4.0.0, post here (or email me) the device\Mach2003\ModSetup.txt file.
[Windows Mobile Apps and Games] GnobarEl:
I can install 3.20, but no more higher than that.

When i get home i will send you the file.

Thanks for your support.
[Windows Mobile Apps and Games] GnobarEl:
Sent an email with it.

Thanks

[Edit]

Can the problem be here?

140311 195634.000 Open Existing Key: Software\Mach2003\GpsModDriver: OK

140311 195634.000 Read TimeBase Fail: 2, 8

140311 195634.000Software Versions:

\Windows\tmarshaller.exe

UnKnown

\Windows\GPSApi.dll

UnKnown

[/Edit]
[Windows Mobile Apps and Games] Mach2003:
Nope, the problem is with teh last line. You have no key for "CurrentDriver" in your GPSID registry, and by coincedence the path to that key does not align with a 4 byte boundary, causing a system error when I try to clear the failed result.

The attached copy should work for you, try it and report.
[Windows Mobile Apps and Games] GnobarEl:
Perfect!

Thanks for your fast support and for this amazing app!
[Windows Mobile Apps and Games] Mach2003:
"Perfect", it is now installing correctly????? Or that I gave you an update????
[Windows Mobile Apps and Games] GnobarEl:
I removed the 3.20 version and installed this one from scratch.
[Windows Mobile Apps and Games] Mach2003:
3.4.1 updated to the first post,

Fixes another string issue reading registry.

Those that have 3.4.0 installed need not apply the latest version.
[Windows Mobile Apps and Games] Lynkz83:
running a cdma tp2 winmo 6.5.x sys23563 gpsmod 3.4.0

ive decided to give chtsloco a go and it seems its getting the GPS information from gpsmod, but not cell tower info im not sure if my carrier (USCC) is providing cell tower info required to get it working, then i may have just fubar'd my settings in your application any assistance would be appreciated

===

EDIT

===

Added log / settings folder

Not sure which logs are for which aspect of the driver so i included all
[Windows Mobile Apps and Games] Mach2003:
The important file here was MachCell.txt. I have your files so you can remove the attachment now so everyone on the planet won't know your exact GPS position.

It seems you, like one other CDMA loco user, don't get any response from the RIL GetCellTower call. What device do you have, and what ROM are you using?
[Windows Mobile Apps and Games] Lynkz83:
RIL GetCellTower call the cmdline for getting the tower id?

im using an htc touch pro 2, running windows mobile 6.5.x (custom rom i made) using sysbuild 23563 manila 2.5.2016

as i assist xpressyourcell on building roms, the rom im running is basically his Clean rom