yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Mach2003:
Actually it is 3.20 on the first post, but I forgot to update the displayed/logged version number.

You'd have to send me a log file set for me to understand what is happening to you.

That issue is exactly the issue the new beta's are trying to solve...

The code says "if fix, use fix", "if no fix use cell tower or last known if no cell tower". I've never had a freeze here!!!
[Windows Mobile Apps and Games] Mach2003:
3.27

- Changed registry layout, again

- Moved even more globals into single structure

- Now loading both profiles at once, so no longer have to read registry to change profiles

- Added "Backup" and "Restore" buttons to system page

- Uses (card)\Mach2003\ModSettingsBackup.RAW to store ALL user settings

- It can be passed to other users

- It will survive a rom flash

- Fine tuned setup even more, and now using backup/restore

- Fixed auto profile selection intermittant problem

- Compass speed no longer inserted when compass is not used

- cell tower, when disabled, could not be re-enabled (now it can)

- ModSettings shows hardware compass, even when not in use

- Magnetic Declination inserted "always"
[Windows Mobile Apps and Games] RoryB:
Will test during tomorrow's drive.

Since registry has changed I assume it is best to uninstall previous version
[Windows Mobile Apps and Games] Mach2003:
ModDriver should import all existing registry entries from all previous versions properly.

ps: I have your logs, but have not had time to study them in detail yet.
[Windows Mobile Apps and Games] RoryB:
Would not install

uninstalled previous version

went to install new version, it completed but it is not there

tried several times
​
[Windows Mobile Apps and Games] Mach2003:
Can you run mod settings? Check all values on all pages.

Regedit, see what is under HKLM\Devices\Builtin\ModDriver and HKLM\Services\MachCell Pay attention to the flags value in each of these (they both should be 0)

You should be creating a ModSetup log file, inpect that for hints (or send it to me).
[Windows Mobile Apps and Games] RoryB:
Should have said it failed to install so I tried removing version 3.25 and then installing 3.27.

The files do not show up in \Program Files\GPSModDriver

Matter of fact the folder does not get created either

Reinstalled version 3.25 and right after reset I first installed the new certs and then tried to install version 3.27 and it still gave me the "Installation of GpsModDriver_327.CAB was unsuccessful" message.

When I started GPSModSettings the 3.25 splash showed but did not go further. I set and saved all menu items, but it still did not open. I reinstalled 3.25 and it worked. It appears something is up with the 3.27 cab.

I looked inside with MSCEInf.exe and noticed the shrtcut is set up to go to \windows\favorites for one thing.
[Windows Mobile Apps and Games] dingolino:
!!! GREAT !!!

could it be that the name of the backup file is

"SwMetaData000.raw"?

I do not find "ModSettingsBackup.RAW"

Best regards,

dingolino

- Added "Backup" and "Restore" buttons to system page

- Uses (card)\Mach2003\ModSettingsBackup.RAW to store ALL user settings

- It can be passed to other users

- It will survive a rom flash
[Windows Mobile Apps and Games] bartvdv:
had no problem installing 3.27

thanks

Cell tower worked again for 10 to 15 seconds after first start-up then it went back to 0.000 0.000. Placed the gps with an open view from east to west and looked at the compas overview and after it had a fix ( 3 blue lines ) it also froze again...

After restart tested it again in just txt mode and after 10 sec cell tower it went back to 0.000 but it didn't freeze on a fix on 4 to 7 satellites....

After that it starts up with "last known" and it stays on last known till I have a fix in mod msapi and have a fix in 3 to 5 seconds after it sees the sky

As soon as i enable "keep fix", I loose fix ... minor error Imho

At least sports tracker was convinced it was still in one place while there hadn't been a valid fix in over 6 minutes :) so in that respect, mission accomplished.

I made some log files I will sent them asap

right now I wait for the "keep alive" time to pass, i reduced the keep alive to 1500 now which I assume is 1500 seconds which means 25 minutes ... but assumption is the mother of all f*ckups so please correct me if I am wrong

I hope to get the cell tower module up and running again and see if i can reproduce the same errors as before ... or that it's behavior differs on a "warm" start

Thanks again
[Windows Mobile Apps and Games] Nakel:
Thats milliseconds, so 1500 is 1.5 seconds... Check the first page of the thread, Mach2003 explains what each setting does.
[Windows Mobile Apps and Games] Mach2003:
I don't know anything about MSCEInf.exe, but it looks like you have a different/bad cab (I have no entry for 'favorites'), try downloading it again.

SwMetaData is an copy of an install DB entry that setup.dll removed for you (when Windows failed to remove a ModDriver version).

The backup file tries to gp to your card's \Mach2003 folder, if it can't be written it tries to use device\Mach2003.

Have you pressed the "backup" button?

Cell tower is DESIGNED to use for only the first 10 seconds of no fix. If you want ONLY cell tower position disable all ports under the 'ports' page.

Last known is used when you don't have a cell tower location. You probably connected to an unknown tower during this test.

'Keep fix' is on the settings page, so a save of this page causes a full driver re-start. It has to scan the ports for valid data all over again.

I have not seen any log files from you.

As Nakel said 1500 is 1.5 seconds.

Keep Fix Only takes effect on the instant that you loose fix. It is the time that ModDriver will continue projecting your position after you loose fix, before reporting loss of fix to your application. It is designed to allow some sort of navigation through a tunnel. By default all systems "Keep Fix" for at least 2 seconds to take out random bad GPS device reads. So anything less than 2000 is useless.

Look at the extras page, see if cell tower service is running. Start it if required.
[Windows Mobile Apps and Games] bartvdv:
I have a bunch of log files in a rar, but no way to upload them here

I never saw the cell tower module in action again after the first restart

anyhow where can I sent the logs ;)
[Windows Mobile Apps and Games] Mach2003:
I have your RAR, you can remove it from your post now, unless you want everyone in the world to know your GPS position.

You can get my email address by clicking on the donate link (over there <==) or the one in my signature.
[Windows Mobile Apps and Games] bartvdv:
if i disable all ports no cell tower and it says it's up and running ... I can stop it start it restart etc but no position nothing. Where 3.20 at every startup provides me with a cell tower fix.

if I disable msapi i get a continues switching on com 4 ( internal gps port ) between no fix on 0 of 12 and 0 of 0 as soon as i enable msapi again it stops switching and beeping and no fix n 0 of 12 sats
[Windows Mobile Apps and Games] RoryB:
MSCEInf.exe is WinCe Cabs Analyzer program.

I downloaded again and it still says \windows\favorites. Must be an error in its reading of the %CE% value you are using.

SKTools shows it is supposed to go to \Programs in start menu. I had tried extracting the files from the cab with SKTools and then put them into the correct folders. Program runs but even after going through all the menus it does not work.

I uninstalled it, reset the phone and tried a new install with the latest download I just made. Nothing. The files do not get installed. I am not even sure if NewCerts installed. Tried again with SKTools install cab feature.

Still no joy.
[Windows Mobile Apps and Games] Mach2003:
I have looked at your log files...

You did not enable expanded logs, so I don't get a lot of information as to what is going on.

I see many installation attempts, including a couple of 3.21 versions in there.

I also see some strange entries that are using \Windows as the install folder instead of \Program Files\Mach2003. None of the newer beta's use the windows folder for installation.

Use remove programs to remove any ModDriver entries that are there (use kill driver if you have any trouble). Soft reset the device, and then go to device\Mach2003 and remove all .txt files in there.

Start a fresh install of 3.27, save the logfiles from \Mach2003 (even if the install fails).

Run ModSettings and enable expanded logs right away. Exit ModSettings, and wait 30 seconds, an dthen re-start ModSettings. Run until you get a fix, and then exit it. Save those logfiles too.

Send me the logs via email.

Cell Tower

Cell tower needs either a data connection to look up the location of the tower on the internet, or a currently fixed GPS signal in order to provide location information. If your currently connected cell does not have a location saved, then it can't be resolved.
[Windows Mobile Apps and Games] Mach2003:
Do you get a ModSettings.txt file created when you attempt to install 3.27?

Extracting the files will not load the driver registries, so it won't run properly. You need the entries at HKLM\Device\builtIn\ModDriver and HKLM\Service\MachCell in order to have a working system (these are created in setup.dll).

Try un-installing anything that you have now. Install 3.20 (from the first post), and see it working (set any values in ModSettings pages) including expanded logging. Then try installing 3.27 again.

As a last resort, fresh install 3.20. Use the system page to disable Driver, and Original port. Use the Extras page to disable Cell Service. Soft reset. Now copy the extracted GpsModSettings.exe (renamed to GpsModSetup.exe) and GpsModDriver, GPSApi and MachCell dll's into the \Windows folder (3.20 used \windows, not \Program files..). Run GpsModSettings (renamed) to enable Driver, Original and Cell Service. See what happens now!
[Windows Mobile Apps and Games] RoryB:
Before I start your recommendation, here is the current txt file
[Windows Mobile Apps and Games] Mach2003:
WOW! that is strange. When the settings registry is about to be read:

101210 131136.000 Reading Mod Registry Settings
101210 131136.000 Open Existing Key: Software\Mach2003\GpsModDriver: OK

There should be many entries that follow for each value read, but there are none. The routine just stops! Some application error I assume. The first command after the key is opened is a call to RegDeleteValue "Uninstall", that may or may not exist (earlier versions of setup.dll created/used this value). On my devices it passes through just fine either way. I made a change just now to check if it exists before I delete it, but I don't think that is the issue. Since when you (un)install 3.25 that value would be created (and therefor exist).

You could manually create a DWORD value under HKLM\Software\Mach2003\GpsModDriver "Uninstall", 0, and then try to install 3.27 and see if the setup log file has any entries after "Open Exisiting Key: Software\Mach2003\GpsModDriver: OK", there should be an entry for each setting as it is read from teh reg.
[Windows Mobile Apps and Games] RoryB:
Still get unsuccessful

I deleted the previous file here is the new one and it appears to have more info.
[Windows Mobile Apps and Games] Mach2003:
101210 160132.000 Open Existing Key Fail: \System\StorageManager\Profiles\INAND: 2
101210 160132.000 Open Existing Key: \System\StorageManager\Profiles\moviNAND: OK
101210 160132.000 Read Folder Fail: 2, 260

What type of "card" do you have on your device?
[Windows Mobile Apps and Games] RoryB:
MicroSD in the Fuze
[Windows Mobile Apps and Games] bartvdv:
removed every file in \program files\GpsModDriver and everywhere else but there were no files found

installed 3.27 and even though I got the message successfully installed there were no gpsmodfiles nor machcell anywhere to be found.

reinstalled it again and now i have files and a working gpsmodsetup ...

run the program and did enable the expanded mode as sugested waited a minute and restarted.. both startups had a brief cell tower fix and then went back to 0.000 0.000

went outside for a quicker fix touched the screen and it froze again, and at first look there is no log file ... since I had to reset the phone it is possibly a lost cluster now so I hope I can retrieve it

the phone did not seem to be completely dead, it responded to the usb cable but after 5 minutes active sync was still waiting for connection
[Windows Mobile Apps and Games] Mach2003:
Your chef left in the entry for moviNand, even though you have so such device.

The right thing to do, is to remove that whole key from the reg.

HKLM\System\StorageManager\Profiles\moviNAND

I test the card locations, in this order because of another device (found in this thread) had the same issue with another "bad" entry in that location.

I'll look into finding a better way to detect what "your" card location is, or just move the backup file to device.

Thanks for helping to sort this out...
[Windows Mobile Apps and Games] RoryB:
My phone has HKLM\Drivers\builtIn\ModDriver and HKLM\Services\MachCell

Installed 3.20 and never got a lock, but it showed 4 satellits.

Tried 3.27 and it gave unsuccessful install error. You have the report.

Trying to copy the four files into windows folder to see what happens took a while to get files to copy out of cab.

Saw your other post so I stopped this and uninstalled everything and removed the reg value to see if that will allow install...
[Windows Mobile Apps and Games] RoryB:
Cleared out everything and installed 3.27

Went through full install process including reset.

It starts!

I'll test it on the way home and send a report when I can.
[Windows Mobile Apps and Games] Mach2003:
WOOT!

I'm searching my Omnia Reg for another key that tells me the name for your card location. Mine is INand, and called "My Storage". I Know each device has a diifferent system here, but can't find another key that I could read to determine the name on "your" device. Care to search your registry for "Storage Card" (whole words) to see if it is anywhere else besides where I am looking now.
[Windows Mobile Apps and Games] Mach2003:
In working with bartvdv, I see now that "Keep Fix" and it's timeout value, effect how long that cell tower (or last known) is used while waiting for first fix as well as when you loose fix. I did not intend this to happen, but now that I see it happening I wonder what folks out there would want?

Question: If you want a low time (or no time) for keep lost fix (tunnel effect), then would you also want that time to change the startup "false fix". I remember at least one user here asking to disable the startup cell tower position.

Right now, this does not effect me, as I keep the default 15 seconds in play. I drive often in bad sky view locations, and want the fix to pretend it's good for quite a while before I get the "No Sattelite Reception" message. I can tell it is unfixed because the speed and heading freezes. I also do not have quiet enabled, so I get a little beep when it is lost (and again wwhen it fixes).
[Windows Mobile Apps and Games] RoryB:
Sent you my reg values

I too noticed it might show several satellites and still display Cell instead of MSAPI

I did notice on the way home it seems to stay pointing in the last direction when I stop at a light instead of switching to point North.
[Windows Mobile Apps and Games] Mach2003:
Showing unfix (cell or Last Known too), but sats in view is the desired effect, up until time expires, or you get a fix from those sats you can "see". You know this is happeniong because it shows 2D fix for cell or last known, but a real fix is always 3D.
[Windows Mobile Apps and Games] bartvdv:
Accumulated some more data

Keep fix enables and disables cell tower function

the keep fix 0 is the standard value perhaps you could change that ...

setting keep fix to 150.000 enabled cell tower for 2,5 minutes, setting it to 300.000 kept the cell tower function alive for 5 minutes or until i had a fix...

In visualGPS it keeps "green" as of it has a fix on 1 satellite and turn red after 5 minutes. I noticed that satellite 85 didn't produce any signal which might be why gps sports tracker and navigon don't see see it as a valid fix on a position ...

It never returned me again to the equator so that is a big help

i'll sent out the the accumulated data ( few mb ) if needed later
[Windows Mobile Apps and Games] Mach2003:
Did you See this post?

The default for Keep Fix Time is 10000 with Enable checked. If you were saving your settings from an earlier beta, pehaps your value was carried over as 0.

Sat 85 (using MachCell service) or 88 (using myLocation service) are my fake ones used for Cell Tower location:

gp->adwSatsPrn[11] = 85; // or 88
gp->adwViewAzi[11] = 45;
gp->adwViewEle[11] = 45;
gp->adwViewPrn[11] = 85;
gp->adwViewSnr[11] = 25;

They should be showing 2D lock at about 50% of a normal signal, with a position half way up from horizon, and between north and west.

I see from the logs you sent me that you are not getting the signal

$GPGSA,A,2,,,,,,,,,,,,85,,10.0,10.0,10.0*23
$GPRMT,Cell Tower,0,1*2C
$GPGSV,1,1,1,,,,,,,,,,,,,,,,*48

I'm checking into the COM export to see if I've missed something. When I use GPSID I see the signal.
[Windows Mobile Apps and Games] dingolino:
Hi

I have installed v327 after I flashed my HD2 new.

In the past gpsmoddriver was always set itself to com3

com1 is used for BT trasnfer

com2 is used for the external BT gps

com4 is used for htcs internal gps

But not this time - this time after the install it was saying "com1" and this was strange.

I corrected it in th settings.

At the moment I have the feeling that the BT gps has some signal drops, so the gps location is suddenly going donw to zero for a s or so and than the satelites are back.

Best regards,

dingolino
[Windows Mobile Apps and Games] Mach2003:
Strange indeed, I'll look into it.

See the next post...
[Windows Mobile Apps and Games] Mach2003:
3.28

- Fix COM output GSV message when sats in view don't occupy consecutive places in the data

- Cell tower fake fix, is in this group

- Fix detection of card path, when device registry has extra invalid entries in it.

- Gps fix saved for timeout period, stops extra beeping (on Diamond)

- Cleaned up port scan, using scan thread on startup (or wake up)

- Moved ModDriver startup order up from 2 to 64

- allows Gsensor, Compass, and card memory to be "active" before loading my driver (at least on Diamond and OmniaII)

- Added trap for COM port read when ClearCommError returns 'bad' information

- Went back to batch file for signing cab, cert installation is now back in the cab file as it always used to be. Visual Studio Cab Wizzard sucks bananas.

- I am still using the NEWSDK priveleged cert though.
[Windows Mobile Apps and Games] omek07:
i think we have problem with 3.28 or is the new NRG rom on omnia 2 !!!!

I install it but i cant find it !!! Where is the icon ???

i search the divice for GpsModDriver but i cand fing anything on my device after install
[Windows Mobile Apps and Games] Mach2003:
It should have installed just like all the earlier builds. Did you get any error messages on install?
[Windows Mobile Apps and Games] RoryB:
Added back the registry value like you asked. Installed v3.28. Installed fine. Not driving around for a few days, but will try to get out and run some tests.

Track Log and Raw Data do stay checked now. I never revceived your test cab. Did I have an email error or did you figure out without a test? Congrats either way. As always, good work.

I have NRG ROM on my Fuze and installed the NewCerts cab file. Did you?
[Windows Mobile Apps and Games] Mach2003:
I sent the email, and never recieved a response from you. I attached it as a cab, and know some providers, like gmail, either drop or NDR email with cabs attached. I did not try to work around it though. Thank-you for testing this beta version, many folks will be happy you are.

3.28 *should* not need the NEWCerts cab installed. My Cab has the required certs built in, effectively installing newcerts.cab automatically (/PreXML). On my Omnia, Bell pushes through a rule that makes me click "yes" on either unsigned or unknown signature cabs. Since I either installed newcerts, or now on 3.28, I only have to see that prompt once after a clean install. On Upgrade installs I don't see the prompt at all (cab signature is known).

As long as the certs are enclosed in my cab, uninstallation will remove those Certs. This may cause a problem down the road: A user could install my cab, and then some other apps that are signed with the same certs. These other apps would run fine until ModDriver was removed (taking its certs with it). You can get around the issue by installing the NEWCerts cab.

Remember that on most non-factory roms, these certs are mostly not needed at all. On factory roms, the certs are mostly required to install, and to start my driver/service at all. Going back many pages (in here), unsigned machCell will not work on some CDMA devices, for example.
[Windows Mobile Apps and Games] RoryB:
Thank you,

I went to remove newcerts cab and discovered it must not have been installed after all. I could not find it in WM "remove programs" or SKTools "installed programs". So v3.28 installs fine in to NRG ROM version Energy.RAPHAEL.21916.Sense2.5.Nov.10 without the newcerts cab.
[Windows Mobile Apps and Games] Mach2003:
NEWCerts.cab is un-installable. It only conatins xml for certificates. It will never be in the installed programs list (in any utility). I use the VSTUDIO remote security utilty to remove them from my devices when testing though. Those certs are actually stored in the registry, if you want to remove them I could look them up for you.

Bottom line, if you installed the newCert cab since the last hard reset, you still have them. If you installed 3.28 beta you should have them either way.

Just to be clear, NewCerts cab is not mine, it is freely available on this and the MoDaCo site, as well as many other sites.

edit: Certificates are contained here:

HKEY_LOCAL_MACHINE\Comm\Security\SystemCertificates

The xml in the cab(s) tells you what is installed:

<characteristic type="CertificateStore">
<characteristic type="Privileged Execution Trust Authorities">
<characteristic type="88e66dc52d290d9b4d7b2a4501ce27adaca21dae">
<parm name="EncodedCertificate" value="MIICFjCCAX+ .../snip />
</characteristic>
</characteristic>

To remove the above cert: go to

HKEY_LOCAL_MACHINE\Comm\Security\SystemCertificates\Privileged Execution Trust Authorities

Remove the key:

88e66dc52d290d9b4d7b2a4501ce27adaca21dae

NEWCerts.cab installs these:

Privileged Execution Trust Authorities
4fe1c32139be33a76a9d4b5577577b958dc410a8
d924e34dec217e9fe4f822e37f59add00208bf20
884B8CDDB6FF1A3D2FF4BC09EC45E2AE2CCB244C

Unprivileged Execution Trust Authorities
69af5aecf395c0d25bc75b3efa72cc1684a26203
11489FB3827BE46623CA7329C0BA85AB1F810A19

SPC
4fe1c32139be33a76a9d4b5577577b958dc410a8
d924e34dec217e9fe4f822e37f59add00208bf20
69af5aecf395c0d25bc75b3efa72cc1684a26203

New ModDriver cab installs these:

Privileged Execution Trust Authorities
88e66dc52d290d9b4d7b2a4501ce27adaca21dae

Unprivileged Execution Trust Authorities
068011a72901bd5dcea2c63bd1436695bfc1ef88

SPC
88e66dc52d290d9b4d7b2a4501ce27adaca21dae
068011a72901bd5dcea2c63bd1436695bfc1ef88
[Windows Mobile Apps and Games] omek07:
No errors

When i install it it doesnt saws the window with com port.

it goes strait to restart...

I think is the Omnia NRG Rom. When i am back to home i flash the omnia with other rom and i will tell you
[Windows Mobile Apps and Games] Mach2003:
Can you post the ModSetup.txt file from device\Mach2003 (it has no position data so can be posted here). I might be able to find a solution.
[Windows Mobile Apps and Games] Ather:
oops, my bad, attached the fixed version to the post

http://xdaforums.com/showpost.php?p=4805103&postcount=158
[Windows Mobile Apps and Games] Mach2003:
Scroll bar is there now, but I still can not scroll to the items under the sip. The scroll takes place behind the sip, and will not allow scroll far enough to see (or tap on) the values below it.