yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Dreamleaves:
whow, that's a fast answer:).

The ROM is 6.5.3(24623), (Device is from 2007, org. ROM was wm6.0).

Ok, unchecked,only input-port is now 4,

a file gpiapi.dll dont exist (searched complete device),

gpsapiorig.dll in windowsfolder removed.

Sorry, same results - even after a reset. Is there anything else what I can do?
[Windows Mobile Apps and Games] Mach2003:
sorry typo: should have been gpsapi.dll
[Windows Mobile Apps and Games] lxng:
I guess I could find a workaround for my g-sensor freeze. This seems to have been related to the power mode set up for the sensor.

In the registry under \HKLM\System\CurrentControlSet\Control\Power\State\

I changed the value for "ecs1:" from 4 to 2 in sections Resuming, Suspend and set it to 0 in Unattended.

Since then there have been a few days already and so far the g-sensor is ok.

I am still using ModDriver version 3.2 as cell towers did not work for me in v3.4.2.

Will try 3.4.0 some time later...
[Windows Mobile Apps and Games] lxng:
tested 3.4.0 - cell towers are working fine.
[Windows Mobile Apps and Games] Mach2003:
This one does:)
[Windows Mobile Apps and Games] omek07:
oooooooo man you are the best i will try it tomorrow morning and i will tell you the afternoon

Thanksssssssss
[Windows Mobile Apps and Games] bobzero:
Thanks! any luck with that Norgarder issue? (specific to omnia 2, for you non-omnia 2 folks)
[Windows Mobile Apps and Games] omek07:
What do you mean with Norgarder issue ???

What happend with Norgarder ????
[Windows Mobile Apps and Games] dampam:
Hi Mach2003

Any Chance of an option in ModDriver to saving ModDriverIn.gpx as seperate files and not overwriting so that it can be used as track logger better ?
[Windows Mobile Apps and Games] bobzero:
open up norgarder, it won't display any GPS info...
[Windows Mobile Apps and Games] omek07:
Mach2003

Thank you the new version worked very very very good

I had tried on the road and its perfect....

The Ports change ok now.....

thank you again
[Windows Mobile Apps and Games] Mach2003:
Sorry, I don't understand your request. What event do you want to use to stop loggging data, and create a new file? You do know that ModDriverIn is the raw data from GPS, before ModDriver alters it?
[Windows Mobile Apps and Games] Mach2003:
nogarterGPS.exe is normally in the windows folder. When I try to run it directly nothing happens. When run by typing "*#1472365#" on the phone pad, at least it starts up.

With the current ModDriver versions, only the view, 'satellites info graphical' works properly. Without ModDriver the other two views work too.

I am looking into the issue, and have found out that nogaterGPS needs some special communication to the raw port (COM9), that I am not setting up correctly for it. Stay tuned...
[Windows Mobile Apps and Games] Mach2003:
3.4.5

Fix GpsApi when calling app is stupid

- Caller asks for V1 data with V2 dwSize (I return V1 as version with V2 size, and V2 data in the return

FixGpsApi GPSGetDeviceStatus

- Change ReadNewData to detect, and update GPSGetDeviceStatus, and set the waiting handles (if there are any)

This fixes nogarterGPS, and possibly other 'stupid' apps that use the api.
[Windows Mobile Apps and Games] holmanm:
I think this should be 3.4.5 per your previous releases.

Thanks.
[Windows Mobile Apps and Games] curtin88:
Hi Mach2003. Is this GpsModDriver_3_4_5.cab instead of GpsModDriver_3_3_5.cab ?
[Windows Mobile Apps and Games] Mach2003:
I just wanted to see if anyone was paying attention :)

The file conatains the latest 3.4.5 version, post edited!
[Windows Mobile Apps and Games] dampam:
On the contrary, I am hoping to be able to save the raw data from the GPS (and ModDriver data) without having to rename the file ModDriverIn (and out) each time to preserve the data.

May be all it takes is to name the gpx files on per session basis rather than a fixed name ?

Hope this is clearer and sorry for my bad English.
[Windows Mobile Apps and Games] Mach2003:
3.4.6

Remove trap on stuck GPS from msapi, only COM ports are detected (TP2)

Rename gpx and csv files to: "ModDriver_{date}_{time}{In or Out}.{gpx or csv}"

As RoryB poiinted out in an email, the TP2 started acting up again when I re-activated the trap to catch a lost BT com port. I changed the trap to only catch COM ports and let MSAPI continue. As long as TP2 owners are using MSAPI as input, and not COM4 all will be well again.

dampam, does this work for you?
[Windows Mobile Apps and Games] dampam:
WoW.. thanks for the super fast response. Will try this out. Cheers.
[Windows Mobile Apps and Games] RoryB:
Thanks Mach2003. I'll test later this morning.

BTW I think my Fuze is a TP not a TP2.
[Windows Mobile Apps and Games] GeitjeG:
For some reason GPS Mod Driver is not using portrait mode, while I have ticked it in settings. It is either LLandscape or RLandscape. This is also reflected in the compass, which only shows the right direction when I hold the phone in landscape.

Any ideas?

Using 3.4.3.
[Windows Mobile Apps and Games] Mach2003:
Check the values at the top of the sensors page, 5,30,50,25 is normal.

Soft reset device, see if that helps.
[Windows Mobile Apps and Games] GeitjeG:
Entering those values worked, thanks. I never messed with those settings however...
[Windows Mobile Apps and Games] marcusroberts:
iGO hanging onto GPS?

Installed 3_4_2 on my HD2 and improved sat reception but strange problem.

When I run iGO Primo 1.2 it works fine. I close the prog and start either CoPilot or Garmin and neither detect the GPS. If I soft reset the HD2 then launch either CoPilot or Garmin immediately, both are fine. Only problems after running the iGO. This was only apparent after installing GPSModDriver, so I uninstalled it but problem persisted.

Even after a complete hard reset the problem remains.

Any reason why e.g. perhaps a reg. setting is stuck? :confused:

Cheers
[Windows Mobile Apps and Games] holmanm:
Try the latest update (quoted above) and see if that works.
[Windows Mobile Apps and Games] marcusroberts:
Thanks for the really quick reply.

I forgot to mention previously that Garmin XT also kept getting forced to searh for BT GPS before but could be rectified thru a soft reset. Now it searches for BT everytime.

Tried v3_4_6 above and Garmin forced to search BT and won't allow intermediate driver and now even worse; CoPilot will not find internal GPS even with manual configuration.

On the plus side, iGO Primo does get a GPS fix very quickly!

I think I might have to remask the ROM as a hard reset isn't mending the problem even after removing the latest GPSModDriver.

Any thoughts are most welcome.
[Windows Mobile Apps and Games] Mach2003:
HARD RESET (re-install last flashed rom): Can't save any settings, registry, or installed software. If your problem presists after a hard reset, then ModDriver has nothing to do with it.

Don't use QueStub, set Garmin to "GPS intermediate Driver".

Make sure ModSettings connects to GPS, and gets a fix on MSAPI.

Try removing ModDriver from control panel, soft reset, then re-install fresh (remember to soft reset when prompted at the end), without using any backup that may exist. Check all settings in ModSettings for unusual values.
[Windows Mobile Apps and Games] tom54321:
GPSmod driver and intermediate driver

Hello,

I'm still a little bit confused about the settings from intermediate driver and gpsmod driver.

Shall my program connect to the intermediat driver? (i would prefer that)

...but on which port do i have to set the intermediate driver?! - do i have to set the intermediate driver port to the GPSmod driver port?...and the GPSmod driver to the GPSID port? (which i cannot find out)

thanks for your help
[Windows Mobile Apps and Games] Mach2003:
Normally you don't change any port settings on the device itself. Just set your GPS application to use GPS Intermediate Driver (or equvelent) or the COM port that the ModDriver instaler told you to use. You can see this port on the ModSettings system page (in the middle) under ModDriver.

ModSettings ports page has msapi as a lower (more prefered) input port as default, and the original COM port (the one you see on the bottom of the settings page or under device settings, external GPS, software port) as a secondary input.
[Windows Mobile Apps and Games] tom54321:
Thanks for your response. When i set the GPS application to use the GPS Intermediate driver, are these gps data then still manipulated by the GPSmoddriver?

...or do i get the manipulated data only when i connect to the gpsmoddriver port?

thanks
[Windows Mobile Apps and Games] Mach2003:
ModDriver data comes from GPSID and it's COM port, either way works.
[Windows Mobile Apps and Games] dampam:
Most of the gpx files show up beautifully in mapsource 6.16.3 as tracks. However, for some reasons, mapsource 6.16.3 can't open/read some of the gpx files recorded (gpx files attached, [changed .gpx file extension to .zip for uploading. Please rename to .gpx]).

My device is HTC HD2 with stock rom.

Any idea what went wrong ?
[Windows Mobile Apps and Games] Mach2003:
Both of those files were copied while still being logged. You have to stop reading GPS with all applications, wait TimeDelay (default 15 seconds), and then copy the files out.

To fix them now, open them in a text editor (notepad), remove any partial <track seg> at the end, and then copy (or re-create) the proper closing elements from a good file. In case you did not notice, they are XML files, and follow the same rules (<trk> .... </trk> ).

The proper closing elemets are written just before the file is closed by ModDriver, normally.
[Windows Mobile Apps and Games] dampam:
This is weird as I was only running ModDriver (and exited properly) and the files were only copied out from my HD2 a day or 2 later along with other gpx files, recorded subsequently. (gpx files subsequent to these problem ones are ok).

Is it possible to get ModDriver to "enforce" proper close to the files to avoid such error ? (e.g force close the files say every x minutes/ hour and then start new files automatically ?)

Seperately, I have tried many speed threshold and minimum speed values to try to stop the map spin, in driving mode and whenever car is coming to stop, in my XT to no avail.

Many a time the spin is 180 degree in a straight route.

Is there a way to stop the spin which to me is very annoying ? Is this a problem associated with HD2 and / or XT ?
[Windows Mobile Apps and Games] Mach2003:
A soft reset while GPS is active would do it too.

It is very difficult to ensure that a GPX file is properly formed when a sudden stop occurs during logging. The tail end must exist, and I don't want to write it at start of file (and insert each track point), due to the slowness of flash memory (moving end of file up to make room for a new point, every second or less).

When we were using the same filename all the time, the problem would be rare. Now that we are using different filenames, the problem will show more often. I could scan every existing file each time you started a GPS application to see if it is properly closed, but that's a lot of time, both on my part, and to the device on start-up.

Just fix the corrupt files manually.

Errase from just past the last </trkpt> to end of file, insert this

</trkseg></trk></gpx>

Save the file.

I use XT on my Omnia all the time, and have used it on the Diamond without that issue.

Do you have compass enabled, magnetic compass does not function in a metal object (car)? Disable it on both profiles to ensure that it is not the problem.

Go back to default settings everywhere, and try that.

Disable autoprofile switch, manually select 'driving profile', try that.

HD2 has an erratic GPS, we all know that, but I don't think it would be giving you a 180 degree spin.
[Windows Mobile Apps and Games] Mach2003:
I had a thought.

I could write the tail after every track point, and then seek back before I write a new point. It would double the time to write each track point, but the file would "always" (except during the actual write operation) be complete.
[Windows Mobile Apps and Games] GeitjeG:
I use google maps with GPS a lot while moving around. It is working OK with GPSmod. However when I turn off the screen, to save battery, and wait for 3 mins or something, and then turn on again, it is not refreshing my GPS position anymore. If I keep moving, my position on my device is not updating. Restarting GM works, but as soon the device enters standby and wakes, the problem comes again.

I checked, and GPSmod is working OK after standby, so it seems to be a GM thing? Any ideas?
[Windows Mobile Apps and Games] SamManMos:
Simple question: is it worth to install GpsModDriver_3_4_6.cab on HTC HD2? Will this action bring more benefits or headache? I use IGO Primo as GPS-consumer, if it is important... Thanks!
[Windows Mobile Apps and Games] extrapurifier:
Please update first post!
[Windows Mobile Apps and Games] SamManMos:
Can someone explain, please, what IS the port with name (number?) MSAPI? Thx.
[Windows Mobile Apps and Games] Mach2003:
MicroSoft Application Program Interface.

It is the way ModDriver reads the GPS information from the driver. Using GPSID program calls to the original gpsapi(orig).dll. I chose the name only to differentiate the input api port from the output api port (GPSID) that applications use.
[Windows Mobile Apps and Games] extrapurifier:
Is there any reason why version 3.4.6 is not listed as last one on first post? I installed 3.4.3 first and after it 3.4.6. Only difference is that my altitude is now about 20m higher :rolleyes:
[Windows Mobile Apps and Games] dampam:
Did a bit more investigation and it may be due to accidental power off while recording the track.

Can you point me to the registry setting I may be able to set to keep the GPS live (and ModDriver running) even when the power off button is pressed ?

Tried with and without compass. Problem is equally bad either way.Tried default values, did not help either.

However, noticed that seems to have less spinning if "smooth" is un-checked.

The track files uploaded show the severity of the spinning ?

Also noticed in the out.gpx files recorded, same time stamp is recorded for 2 or more consecutive set of data with very different course/ heading data (hence spinning ?).

Less repeated time stamp is observed if "smooth" is unchecked.

Is the identical time stamp recorded for consecutive sets of data due to the "smooth" function ?

Data with very different course/heading between two consecutive sets of data is also observed in the in.gpx files but seems to have got worse in the out.gpx file.

Please suggest is there anything else that I can try to stop the spin ? (Not intending to buy a new device though :) )
[Windows Mobile Apps and Games] RoryB:
UPDATE

Just to let you know I have changed my ROM to the latest EnergyROM of Energy.RAPHAEL.29017.Sense2.5.Cookie.2.0.Apr.09

Version 3.4.6 is working even better on it than my last ROM. I was having problems with Bing not getting GPS or I think so. I was never positive, but I seem to get GPS connections very quickly. I think some settings in NRG's ROM may have made a difference, but I do not know.

I have not done the aGPS tweak. Some of the key values set up by NRG are:

EnableAGPS=dword:0

GPSMode=dword:2

ServerIP=10.1.101.63

ServerPort=dword:1c6b

EnabledPrivacyMethod=dword:0

I am going to leave them this way for a while and then try turning on AGPS to see what happens. I'll have logging turned on just in case. Speaking of which, is there a way to allow logging choices to be backed up and set when we install a new version. Mine are always forced to none so the first start does not have logging.
[Windows Mobile Apps and Games] jenda.69:
Has anybody solved this? I have exactly same problem.

When opening mod driver COM port, it throws IOException and port stays closed.

If I enable "Log" in mod driver settings, I can open that port without any problem.
[Windows Mobile Apps and Games] Mach2003:
The power off button only suspends the device, track log would be fine after 'awake', and proper close of GPS port. Only a full power off (soft reset) would cause the tail to be missing. In my latest (unpublished-still testing) build I am writing the tail on each log entry, and then seeking just before it for the next entry, but a sudden power off would still fail, since the file is not being flushed directly to disk.

The existing track log data has a 1 second resolution on the time entry. Smooth enables a new reading (*out.gpx only) every half a second, so you get two readings in each second. Even with smooth disabled, it is possible to get consecutive readings in the same second. I'll try adding portion of seconds to the gpx files, and see if MapSource chokes on it.

Garbage in = Garbage out

With erratic position comming into ModDriver from device GPS, and ModDriver's projection (for lag and smooth), out will always be worse than in. The position reported by GPS even gives very high speeds (120 kph), due to distance change in a second, so none of my speed traps work. Disabling smooth reduces the need to do a projection, so less bounce is observed.

If we used some sort of averaging on the input position. combining several readings to form a 'good' position, then at road speeds, our position would have even more lag. You would notice this on corners especially. Since the GpsSpeed of the erratic readiing can be very high, I can't use speed to bypass the filter.

I'm open to taking suggestions for a filter that would work!
[Windows Mobile Apps and Games] Mach2003:
EnableAGPS=0 = aGps is turned off, why would this help?

GpsMode: (might be used, even when enable is FALSE)

Enable logging, and then choose 'backup' button. When prompted during setup, use the backup file.
[Windows Mobile Apps and Games] extrapurifier:
Ignoring my question? Why? :confused: :confused:
[Windows Mobile Apps and Games] Mach2003:
Stop using the MS Serial class!

I'm willing to look into this issue again, but am quite busy these days so don't hold your breath.

Dosn't net framework have a GPS class wrapped around GpsGetPosition, that would be way better to use. I am sure I saw a class posted somewhere, but a quick search took me here
[Windows Mobile Apps and Games] Mach2003:
This question has been answered in this thread many time before.

People who don't read the thread, don't want un-proven software on thier devices.

Builds posted in-line are un-proven (beta) builds for use of people who are willing to test the software.

Builds posted to the first page, are tested by others here, and are available for general public use.

Many users only go to the first page to get the latest release, without looking into the thread, if I posted every build there, then many people would get un-stable drivers on thier phones.
[Windows Mobile Apps and Games] RoryB:
I did not think so, but I had noticed improvement. Most likely it is something with the ROM itself. He has made some tweaks to it. I will turn it on to see what happens on the way home tonight.

Hmm, is mode 1 or 2 better?

I do this, but it always starts without logging.
[Windows Mobile Apps and Games] Mach2003:
1:GPS_FIX_MODE_MSA

The GPS hardware receives position information from the network.

2:GPS_FIX_MODE_MSB

The GPS hardware calculates the position location locally. The assistance data is downloaded from the network.

3:GPS_FIX_MODE_MSS

The GPS hardware generates all assistance data and calculates the position location locally. In general, there will be no information downloaded from the network. However, in certain scenarios (GPS hardware settings) assistance data may be downloaded from the network.

My interperataion:

1, GPS on phone uses ONLY the cell notwork for position, not very good for anything, but bing search or weather updates.

2, GPS uses stas, assisted via aGps from internet.

3, GPS uses sata data only, except another application can provide assistance data (such as QuickGps).

So depending on the device, I'd choose either 2 or 3, and never 1.
[Windows Mobile Apps and Games] RoryB:
Sounds like since I have QuickGPS I should try 3 sometime. I got trapped on a call for the whole drive home so I did not get to test GPSMode at 2 , but I assume it should be better than aGPS off.

Thank you
[Windows Mobile Apps and Games] Mach2003:
I set my Omnia to mode 1 (using nogarterGPS application=Samsung gps config program), GPS lock was short lived, and position was very erratic. Mode 2 or 3 did not seem to make any difference, although it is hard to test 2 or 3, since they should only affect TimeToFirstFix.

Did your old ROM have mode set to 1?
[Windows Mobile Apps and Games] RoryB:
No, it was set to 2. I tried changing it to 3 and after a soft reset and the drive to town, I started GPSMod. It never got a 3d lock. The second start did after a long wait. I'll be sending some files. I'm going to set GPSMode to 2 and turn off QuickGPS to see what that does for the drive home or maybe I'll take a walk at lunch.
[Windows Mobile Apps and Games] dampam:
Looking forward to the new release, thanks.

Wild imagination, non GPS car speed information fed to device. Temporary ignore heading if speed is (near to) 0.

Non-GPS car speed information derived from G-Sensor or in more extreme case seperate bluetooth speed pulse device attached to vehicle.

With non-GPS speed information/ pulse, it may be possible to introduce further capability in ModDriver.

If G-sensor no good for good non-GPS speed information, prepared to buy bt speed pulse device (assuming available), but I can't code..

Dream on ???
[Windows Mobile Apps and Games] georgebmoore:
Acer S200 gps weak signal problem fixed with GpsModDriver 3.4.3

Acer S200 gps weak signal problem fixed with GpsModDriver 3.4.3 installed in main memory - excellent thanks
[Windows Mobile Apps and Games] Mach2003:
Update

3.5.0

Add GPX tracklog 'ending' to each log write, fseek back to overwrite.

Change time sync to CellInit, since clock is functioning when service loads.

- Detect when Cell service not loaded, and sync on GPS open port
[Windows Mobile Apps and Games] Mach2003:
@dampam

I have been looking at your track logs, and have imposed them over Google Earth (since I don't have detail maps for your area).

It looks like everything was fine, until you entered a building. Can you post a track log (in and out) when you are driving, and stop at a light, then continue on in the same direction?

Also try to disable autoprofile( both portrait and landscape), manually select driving profile, and disable compass, and enable prefer GPS for both speed and course, under driving profile, does it improve the spin problem?
[Windows Mobile Apps and Games] Bruno Kreisky:
2183 postings to go through ... :rolleyes: You could be a little bit more polite!
[Windows Mobile Apps and Games] djorke:
Dear Bruno, stop pretending to be smart and use search!
[Windows Mobile Apps and Games] RoryB:
The whole point Mach2003 was making is that beta versions are not going to be posted on the first page because a lot of people go to the first page and load whatever they think is the latest there and do not read any further. If they downloaded a beta they may run into problems where they would not in the latest formal release. For those of us that follow the thread we see the beta versions and are glad to test them. We know we can always go back the the offically released version or the last beta that worked for us.
[Windows Mobile Apps and Games] john_fugazi:
i have a Verizon HTC Imagio and now a Touch Pro 2 (CDMA). i have installed 3.5.0 and i can see the longitude and latitude information. i have also installed CHTS Loco for the location awareness. my problem is when i open Loco i get no cell tower info. it show 0-0-0.

do you perhaps know if verizon allows cell tower info? and if so, is one of my setting incorrect? i have attached my logs.
[Windows Mobile Apps and Games] Mach2003:
You are getting signal and operator responses, but no tower notifications (or responses), so MachCell is running properly (you don't have a setting issue). Unfortunatly, either Verizon or your device is not reportiing the tower info. I can't do anything about it, since the data just is not there! You'll have to use GPS position only in Loco.