Print Page | Close Window

Detect Built in TMC receiver MioMoovSpirit

Printed from: GpsPasSion Forums
Topic URL: http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=140479
Printed on: 02 Sep 2014

Topic:


Topic author: AHMHeeren
Subject: Detect Built in TMC receiver MioMoovSpirit
Posted on: 03 Apr 2011 09:25:09
Message:

I have a problem Mio with my Moov S505 (Seeker R 16 00 0773 STF 128 M) with built-in TMC-receiver.
After unlocking it, I found out that while using another navigation progam that TMC COM1 port is not accesable so I can not use the build in TMC receiver in combination with it. It seems that the Mio Software opens this port only when Mio Software is used and shuts down the port when the program closes.

I know Iím not talking about a new problem here, I have read a lot about it on other places and have tried a lot of suggestions (editing syst.txt, .ini files etc.) without any results so far.

I find it hard to believe there is no solution here: with so may people, knowledge and experience it must be possible to get other software working with this piece of hardware.

Iím thinking in the following two directions at this moment.
1. Upgrade/downgrade the Mio Software hoping the connection between the use of this software and the use of the internal TMC-receiver will be broken.
2. Finding a way to activate the port without using the Mio Software (and perhaps solving the baudrate issue later on) by getting the corresponding dllís loaded as the other software is started. Perhaps there is a way to get this done by scripting or renaming the dllís and put them in the of the other software, I donít know.

I found out with PortSplitter that I can redirect TMC_com, GPS_com, SW_TMC COM1 and SirFNAVDRV to the available ports 0, 3, 4, 6, 7, and 8. I conclude from this that the ports 1, 2, 5 and ? are connected with one of the four drivers. Question now is what the role of TMC_com and SW_TMC COM1 is in order to be able to determine which one iGO force te connect to.

Using TotalCommander I found in \\Plugins\Registry\HKLM\Drivers\BuiltIn the following two subdirectories related to TMC: SW_TMC en TMC_HWCOM.

Within SW_TMC I found the following files with their values:
CountryCode - 0
DeviceArrayIndex - 1
DeviceType -1
Dll - s3c2443_SW_TMC.Dll (to be found in \Windows)
ErrorCorrection - 3
Index -1
Irq- 42
Order - 52
PIChecking - 0
Prefix - COM
Protocol - 0
RadioEnable - 0
RFModuleType - 0

Within TMC_HWCOM I found the following files with their values:
DeviceConfig 10 00 00 00 05 00 00 00
10 01 00 00 00 48 00 00
00 00 08 00 00 00 00 00
00
DeviceArrayIndex - 1
DeviceType - 0
Dll- serial_smdk2450.dll (to be found in\Windows)
FriendlyName \u2013 TMC_COM
IClass \u2013 {CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}
Index - 1
InterruptBitShift - 3
Irq - 23
MemBase- 1342193664
MemLen - 48
Order -53
Prefix - COM
Priority - 0
Tsp \u2013 unimodem.dll (to be found in \Windows)

Iím not sure what all parameters are for and what they mean, but may be there is a way to change them in order to get them form preventing shutting down COM1 after the Mio Software is closed ?

R/Ton

Replies:


Reply author: jwoegerbauer
Replied on: 03 Apr 2011 10:06:59
Message:

Taken from here

quote:
Originally posted by Osprey
First, you should compare your sys.txt files. There are TMC settings for that file that your colleague may have and you not. If there's no difference, is your colleague using MioPocket? Regardless, one of the main differences between a Mio Digiwalker like the c720 and a Mio Moov/Spirit like the S555 is that, with Moovs & Spirits, some hardware functions are enabled only when MioMap is launched. In a Digiwalker, they're enabled at system startup, so you can use them in any app. That's likely why your colleague can use TMC in iGO. I don't know of any way for you to enable such functions without running the Mio software which, unfortunately, attempts to run MioMap. I would open up MioAutoRun\Scripts\iGoLauncher2.mscr and, before the "CallScript" line, add...
Run("<pathtoexe>\<exefilename>")
Sleep(1000)
Kill("<exefilename>")
...where the file being run and killed is AppStartupSec.exe, AppStartupPri.exe and SmartST_CE.exe (which are likely located somewhere under "\My Flash Disk\Program Files", each being tried in turn. Also, play with the Sleep number (which is in milliseconds), as you may need 2000 or 3000 or more (or maybe even something less than 1000, who knows); it's all trial and error. You might save yourself time by trying multiple combinations per run, one after the other.


Reply author: Tarmangini
Replied on: 03 Apr 2011 10:45:17
Message:

@AHMHeeren
You can use Mireo BE 3.1 and yours build in TMC will work.

regards


Reply author: AHMHeeren
Replied on: 03 Apr 2011 15:27:13
Message:

@jwoegerbauer - didn't work for me :-(
Isn't there a way to keep certain applications running in the background to keep COM1 open while using another navigation program ?

@Tarmangini - didn't get it up and running on my device.


Reply author: jwoegerbauer
Replied on: 03 Apr 2011 16:50:28
Message:

quote:
Originally posted by AHMHeeren
Using TotalCommander I found in \\Plugins\Registry\HKLM\Drivers\BuiltIn the following two subdirectories related to TMC: SW_TMC en TMC_HWCOM.

Within SW_TMC I found the following files with their values:

Dll - s3c2443_SW_TMC.Dll (to be found in \Windows)
Index -1
Prefix - COM

Within TMC_HWCOM

Dll- serial_smdk2450.dll (to be found in\Windows)
Index - 1
Prefix - COM

Iím not sure what all parameters are for and what they mean ...


TMC_HWCOM is the chip's serial port
SW_TMC seems to be a virtual serial port (i.e. mapped port, all can read from, none blocks the other one)

The most surprising fact for me is that 2 drivers are using the same COM-port, will say COM1. That cannot go well, IMO. You should try to redirect SW_TMC to another free, unused COM-port. If done so, try again whether iGO now can read from TMC_HWCOM (COM1), and if not, try to force iGO to read TMC-data from this (new) SW_TMC port (COMxxx).

EDIT: And of course you try all this in reverse order, will say you redirect TMC_HWCOM, let SW_TMC untouched.

No other ideas be me.


Reply author: AHMHeeren
Replied on: 06 Apr 2011 07:50:10
Message:

Thanks for the suggestion, still experimenting with it.

Another question about the earlier suggestion coming from Osprey where he said: I would open up MioAutoRun\Scripts\iGoLauncher2.mscr and, before the "CallScript" line, add...
Run("<pathtoexe>\<exefilename>")
Sleep(1000)
Kill("<exefilename>")
...where the file being run and killed is AppStartupSec.exe, AppStartupPri.exe and SmartST_CE.exe (which are likely located somewhere under "\My Flash Disk\Program Files", each being tried in turn.

Is didn't work for me, as I believe first running and then killing an application doesn't keep COM1 port active and has the same result as closing down the mio software. What might work is to run the file(s) and keep them low profile active in the background. Now is there a way to do so, by using another command instead of 'kill' ? I'm not a scripter, but isn't there a command like sleep, snooze, standby or something like it ?


Reply author: jwoegerbauer
Replied on: 06 Apr 2011 09:54:12
Message:

First of all,
don't know which TMC-enabled nav app you are using, I'll try to explain things with iGO.
a. iGo.exe depends on libraries COREDLL.dll, ole32.dll, toolhelp.dll and relies on GNSTMC driver (gpstmc.dll) to be loaded!
b. gpstmc.dll only depends on COREDLL.dll.
Secondly
as shown above, neither iGo.exe nor gpstmc.dll relies on library s3c2443_SW_TMC.Dll, hence this really must be specific to your device. You should find out, which
a. application ( AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe ??? ) makes use of this library,
b. library s3c2443_SW_TMC.Dll itself depends / relies on
to get an idea why this library s3c2443_SW_TMC.Dll is listet under HKLM\Drivers\BuiltIn
Thirdly
you should find out whether library s3c2443_SW_TMC.Dll is found under HKLM\Drivers\Active\xxx, too. If it's not activated yet ( not running AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe !!! ) then you can try to load s3c2443_SW_TMC.Dll it with TroNik's LoadDll.exe you find in \MioAutoRun\Programs\Tronik before you run your nav app.


Reply author: AHMHeeren
Replied on: 06 Apr 2011 13:04:14
Message:

OK, I think I'm getting closer to a solution now.
Please find my findings and addional questions within your message below.


a. iGo.exe depends on libraries COREDLL.dll, ole32.dll, toolhelp.dll and relies on GNSTMC driver (gpstmc.dll) to be loaded!
b. gpstmc.dll only depends on COREDLL.dll.

gpstmc.dll is present in iGO's root next to iGO.exe on the SD Card
core.dll, ole32.dll and toolhelp.dll are present in \Windows of the device.

Secondly
as shown above, neither iGo.exe nor gpstmc.dll relies on library s3c2443_SW_TMC.Dll, hence this really must be specific to your device. You should find out, which
a. application ( AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe ??? ) makes use of this library,

How to find out this ?

b. library s3c2443_SW_TMC.Dll itself depends / relies on
to get an idea why this library s3c2443_SW_TMC.Dll is listet under HKLM\Drivers\BuiltIn

If I look ub \\Plugins\Registry\HKLM\Drivers\Builtin, I find within SW_TMC the following lines with corresponding values of parameters of which I do not know what they mean:
CountryCode - 0
DeviceArrayIndex - 1
DeviceType -1
Dll - s3c2443_SW_TMC.Dll (te vinden in \Windows)
ErrorCorrection - 3
Index -1
Irq- 42
Order - 52
PIChecking - 0
Prefix - COM
Protocol - 0
RadioEnable - 0
RFModuleType - 0

Thirdly
you should find out whether library s3c2443_SW_TMC.Dll is found under HKLM\Drivers\Active\xxx, too.

I'm not sure here: I only have a number of subdirectories numbered from 1 to 36 and an option to 'add value' in here.

If it's not activated yet ( not running AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe !!! ) then you can try to load s3c2443_SW_TMC.Dll it with TroNik's LoadDll.exe you find in \MioAutoRun\Programs\Tronik before you run your nav app.

So I have to put SW_TMC.DLL into the LoadDLL.ini and run TroNik's LoadDll.exe before starting iGO by adding this line into the script that launches iGO (iGO8.mcr) ?


Reply author: jwoegerbauer
Replied on: 06 Apr 2011 18:33:21
Message:

A. Some theoretical stuff first of all

1) A library (.DLL-file) only contains helper functions, it's not an executable you can run. For each library OS (WinCE) maintains a load-counter. If loaded first time, library's load-counter becomes value 1. Generally said, if a library is loaded/unloaded by an application into/from RAM, OS (WinCE) corrects its load-counter.
A well behaved app's (pseudo) source-code that uses functions contained in a .dll looks like


Start()
// load dll to be used into RAM
LoadLibrary(xyz.dll)  <= increments load-counter by 1
// do something using function(s) contained in dll
DoProcess()
// unload dll used from RAM
FreeLibrary(xyz.dll)  <= decrements load-counter by 1
Stop()

If the load-counter, maintained by OS (WinCE) equals 0, the library (in most cases automatically) gets wiped out from RAM.

2) If with registry editor you open an entry in HKLM\Drivers\Active\xxx, for example Active\05, you'll see under subkey "Key" its corresponding value in HKLM\Drivers\Builtin, in my case I'll see "Drivers\Builtin\TMC_HWCOM", and under subkey "Name" you'll see the port used, in my case "COM1:".
Hence you've to walk the complete chain to find out which builtin driver(s) currently operate(s) on TMC-port (COM1).

3) To find out whether an application ( AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe ??? ) makes use of a specific library, you load it into ExecutabiltiyChecker.exe that comes with the MioPocket package or a Win32 tool like "CFF Explorer" (or similar) or into a HexEditor.

B. Using TroNik's LoadDlls.exe?

If you'll use TroNik's LoadDlls.exe to ensure s3c2443_SW_TMC.Dll stays loaded ( the dll's load-counter - see A.1 - in each case is at least 1, thus it doesn't get wiped out - until a hardreset is performed ),
in your case of course library s3c2443_SW_TMC.Dll must be pre-loaded, i.e. loaded before the real application ( AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe ??? ) loads it again.
Therefore it's so important to find out which application ( AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe ??? ) makes use of this specific library.


Reply author: AHMHeeren
Replied on: 08 Apr 2011 08:22:57
Message:

Your answeres provide me with a lot of new things from which I learn a lot, thanks for that. They also give me the idea you have an idea how to solve this problem about the blocked port COM1. What I can not get behind right now is, what steps you have in mind to get there.

I got some pieces from the puzzle that may bring the solution a bit closer.

A. I used a search function to look for files that contained the phrase 'loadlibrary'. Related to MioAutorum the result was that 'loadlibrary' is found in mortscript.exe, taskmgr.exe, systeminformation32.exe, coredl2.dll, ieceext.dll, ole32.dll, shlwapi.dll and celib.dll. Also it is found in Windows\oem.res.

B. In HKLM\Drivers\Active\23 I found the only one that is related to COM1 and reading further the following.
Busname: built_inPhase1_0_18_0
Busparent: 200304
Hnd: 6916752
InterfaceType: 0
Key Drivers\BuiltIn\SW_TMC
Name: Com1

C. I did not use ExecutabilityChecker.exe yet because I have to find it first as I'm using MioPocket Lite and this application does not come with this.

R/TH


Reply author: jwoegerbauer
Replied on: 08 Apr 2011 09:17:11
Message:

A:

Never don't forget, all now hereby to be tried out is based on pure theory, it's not proven whether it really will work. The thought behind this theory:

s3c2443_SW_TMC.Dll (dll) gets pre-loaded, thus its load-counter initializes to 1
app is started which again loads dll (in reality no new copy of dll is stored in RAM, but the pre-loaded is used by OS), thus its load-counter is incremented by 1, i.e. becomes 2
app calls a function in (pre-loaded) dll which initializes and starts and processes TMC-port
app is killed, thus its load-counter is decremented by 1, i.e. becomes 1, but dll is still in RAM, because its load-counter isn't zeroed yet.

Note, it's merely an extension to Osprey's logic I quoted some posts above, not really an invention of me.

B:

You not have to search for "LoadLibrary", you have to investigate which of the 3 applications AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe makes use of this specific library s3c2443_SW_TMC.Dll. As said: It's always an executable that loads a library into RAM.

C:

I'm not familiar with MioPocket Lite.



Reply author: AHMHeeren
Replied on: 08 Apr 2011 11:15:27
Message:

OK,
so what I take from this is that a possible workaround would be to add in Mortscript.exe (or iGO.exe ?) some lines that call for the function in (pre-loaded) dll which initializes and starts and processes TMC-port and loads the library into RAM. Question now is: how to do this ? I suspect there is a relation with what I found out earlier within HKLM\Drivers\Active\23 and HKLM\Drivers\Builtin but I don't know how to make use of these findings ?

I'm not sure why I should investigate which of the 3 applications AppStartupSec.exe, AppStartupPri.exe or SmartST_CE.exe makes use of this specific library s3c2443_SW_TMC.Dll ? This would from my perspective only be of any use if we would go for the option as mentioned earlier to start that specific application and kill it afterwards, hoping the library keeps loaded in RAM ?

R/TH


Reply author: jwoegerbauer
Replied on: 08 Apr 2011 13:48:44
Message:

If library s3c2443_SW_TMC.Dll is activated not running any of the 3 named apps, then of course you can omit investigating, because this library then gets loaded during system boot by another app, we both (currently) do not know of (may be it's device exe), perhaps an e-mail to Mio's support team could bring light in this.

FYI:
a. With the help of available MortScript.exe you can't call funcs in an external dll, but you could extend MortScript by such a functionality, because its source code indeed is available.
b. You can't use iGO.exe to call funcs in an external dll, except you have access to its source code, extend this and re-compile it.


Reply author: AHMHeeren
Replied on: 08 Apr 2011 14:07:42
Message:

OK,
I will first start to try it with activating one of the three applications and kill them afterwards, hoping the library keeps loaded in RAM. Is there btw a reason why you advise to try this one at a time (3 possible combinations), or do you think it might be usefull to try all sorts of combinations as well (7 combinations possible) ?

If this doesn't work, could you provide me with a suggestion as to how I could extend MortScript by the functionality, iaw which lines should I try to refer to the available source code (and how should I name this source code) ?

THX again, it would be a major break-through for many mio moov spirit owners if we could come up with a solution here !

R/TH


Reply author: alois
Replied on: 08 Apr 2011 17:28:36
Message:

Accidentally came here. I'm wondering the scientific discussion fully lit. With IGO, my knowledge, TMC is steered by SYS.TXT, which at least should have these TMC related entries

[tmc]
port="COM,1"
baud=57600
source="gns"



Reply author: jwoegerbauer
Replied on: 09 Apr 2011 08:25:05
Message:

AHMHeeren,

Reading your last post I won the impression you became totally confused, please correct me if I'm wrong.

quote:

If this doesn't work, could you provide me with a suggestion as to how I could extend MortScript by the functionality, iaw which lines should I try to refer to the available source code (and how should I name this source code) ?


IMO, you totally misinterpreted my statement MortScript.exe could be extendend, i.e. re-programmed. As I suspect it, you are not a programmer and you do not have a programming environment useable for PNA/GPS devices, such as ARM-capable compiler etc., right? Hence you should immediately forget this possibility.
quote:

I will first start to try it with activating one of the three applications and kill them afterwards, hoping the library keeps loaded in RAM. Is there btw a reason why you advise to try this one at a time (3 possible combinations), or do you think it might be usefull to try all sorts of combinations as well (7 combinations possible) ?


That's how I would create a test-environment (Notes: a. if below term <MioAutoRun> is used, it relates to folder MioAutoRun of MioPocket 4.0 Rel.68 distribution), b. if below term <ApplicationExe> is used, it relates to the device's default startup application, for example SmartST_CE.exe):

1)
ensure GPS is external powered, thus in no case a power-supply interrupt may occur

2)
a. copy TroNik's <storage media>\<MioautoRun>\Programs\Tronik\LoadDLLs.exe to <storage media>\<PathToApplication>\LoadDlls.exe
b. in <storage media>\<PathToApplication> create (ANSI formatted) text file named LoadDlls.ini with contents as following

\Windows\s3c2443_SW_TMC.Dll


3)
rename <ApplicationExe> to <ApplicationExe>.orig (e.g. SmartST_CE.exe.orig)

4)
a. extract TULL.exe from <storage media>\MioAutoRun\Programs\TULL.zip
b. copy extracted TULL.exe to <storage media>\<PathToApplication> and rename it to <ApplicationExe> (e.g. SmartST_CE.exe)
c. create text file named <ApplicationExe>.ini (e.g. SmartST_CE.exe.ini) with contents as following

;pre-load s3c2443_SW_TMC.Dll
L LoadDlls.exe
;delay 2.5 seconds
D 2500
;load orig startup app that again loads previously loaded dll
L <ApplicationExe>.orig
;delay 10 seconds
D 10000
;kill orig startup app
Z <ApplicationExe>.orig
;load MioPocket using its default loader
L <flashdrive>\Launch.exe

5) Soft-reset device


Reply author: AHMHeeren
Replied on: 09 Apr 2011 13:25:18
Message:

You're right, I misunderstood and am not a programmer. I only now realize the necessary dll's can only be activated through an existing .exe file and not by changing another .exe file.

I have been trying to start and kill the three .exe files we talked about earlier, but I do not believe these commands in iGO8.mscr are followed because even if I increase the sleep time to 10 seconds, iGO starts up just as fast as with a shorter sleep time ?

This made me wonder about the lines I have put in and when I looked around furhter in other .mscr files, I noticed there were a lot of other ways of giving commands, places of the " differ, it is with of without a backslash, the use of 'programsfolder' and 'drive' and so on.

My iGO.mscr looks now like this, perhaps you see something that is not correct causing the lines not to be carried out.

#ErrorLevel("Off")
Run("My Flash Disk\Program Files\Navman\AppStartupSec.exe")
Sleep(10000)
Kill("AppStartupSec.exe")

Run("Windows\AppStartupPri.exe")
Sleep(10000)
Kill("AppStartupPri.exe")

Run("My Flash Disk\Program Files\Navman\SmartST_CE\SmartST_CE.exe")
Sleep(10000)
Kill("SmartST_CE.exe")

CallScript("Variables_Navigation.mscr")

#Kill MioPocket Lite.
Kill("SystemInformation.exe")

#If iGO8 is already running, switch to it instead of trying to launch it again
If(WndExists("iGo"))
Show("iGo")
Else
Run (ProgramsFolder\"TaskbarHide.exe")
RunWait (iGO8)
Run (Drive\"MioAutoRun\Scripts\Restart MioPocket Lite.mscr")
EndIf


Your other proposol for testing is something I really have to study in some more detail before I dare to give it a try...

R/Ton


Reply author: jwoegerbauer
Replied on: 10 Apr 2011 11:30:29
Message:

If I am right, the default navigation app of Mio Moov Spirit S505 devices is SmartST_CE, which is started by AppStartupPri.exe, because the last one has (highest) index 80

HKEY_LOCAL_MACHINE\init

Launch20 device.exe
Launch30 gwes.exe
Depend30 1400
Launch60 services.exe
Depend60 1400
Launch80 AppStartupPri.exe
Depend80 14001E004700
Launch45 MICDbgMsg.exe
Depend45 14001E00
Launch71 LaunchOrionGo.exe
Depend71 14001E00

Hence you have to replace AppStartupPri.exe with a copy of TULL.exe


Reply author: AHMHeeren
Replied on: 10 Apr 2011 12:06:34
Message:

I'm a bit confused now: you want me to try to run, sleep and kill 'tull.exe' before the line CallScript("Variables_Navigation.mscr") in iGO.mscr ? If so, where should I copy tull.exe to ?
R/Ton


Reply author: jwoegerbauer
Replied on: 10 Apr 2011 12:59:18
Message:

Also confused! Don't really know why you strongly are fixed on any scripts: I provided a (at least I think so) detailed road-map, hereby I never spoke of changing any existing scripts. Whether you follow this proposal now, or not, is alone your thing. Result: I don't spend more time in this, I give up. Sorry for this decision.


Reply author: AHMHeeren
Replied on: 10 Apr 2011 14:06:10
Message:

I just try to understand the directions you offer to try. I'm not familiar with tull.exe (still have to read the instructions that come with it in tull.zip).
Just try to understand why and where you suggest to replace AppStartupPri.exe with a copy of TULL.exe.


Reply author: John Dough
Replied on: 11 Apr 2011 12:49:45
Message:

Interesting discussion but would it not be easier to load Mireo BE 3.1 to your Moov and remove the original moov soft as TMC is reputed to work with Mireo because it uses the old miomap original program but possibly no map updates available for Mireo??


Reply author: AHMHeeren
Replied on: 11 Apr 2011 14:13:23
Message:

It's just that: I like the mio moov spirit because of its looks and bright screen, but I like iGO because of the easy way to update the maps and to tweak it just the way I like it as user.

I'm not so happy with the situation that occured and made jwoegerbauer decide to stop spending more time in this issue that bothers a lot of moov spirit users.
It's just not so easy to understand suggestions that are offered, which may result in questions that irritate the specialists. It makes also clear how difficult it is for specialists to explain and share the knowledge they have to those who are less gifted with this.

I will shortly try to use tull.exe now I have been reading about it. From what I understand, I will have to rename a copy of TULL.exe into AppStartupPri.exe (and make a backup of the original AppStartupPri.exe first). Then make a text file with instructions and save this as AppStartupPri.ini

The text file should as far as I understand read as follows:
; Load and run SmartST_CE
L \.......\ SmartST_CE.exe

; Kill SmartST_CE
Z \........\SmartST_CE

Only issues I'm not sure about is as to where I should put the AppStartupPri.ini file ,if I should use 'Load and run SmartST_CE' or 'Load and run and wait until it completes' and if I should put a delay execution in between ?


Reply author: louisB
Replied on: 11 Apr 2011 16:46:29
Message:

This thread's title is absolutely misleading! It's obviously an iGO specific problem if running instead of default Navman based SmartST application. You should change.


Reply author: AHMHeeren
Replied on: 11 Apr 2011 18:17:39
Message:

It's not only about using iGO, it's just 'how to detect the built in TMC receiver of a MioMoovSpirit' which could be extended with 'if running another than the default application' if you like.
A great number of MioMoovSpirit would benefit from a solution which they are waiting for for a long time. Although it looks as if it is just getting some slightly different software connected to existing hardware, it seems a hard problem to tackle.


Reply author: lopac42
Replied on: 11 Apr 2011 22:28:32
Message:

please go on hope tmc wil soon works in igo or other software.


Reply author: jwoegerbauer
Replied on: 12 Apr 2011 10:58:30
Message:

For many years, there is always the same procedure to unlock a device, namely to replace the first startup application with one's own routine.
In the case of the Moov S505, it's the AppStartupPri.exe which has to be replaced.
AppStartupPri.exe (located either in \Windows or \My Flash Disk\Program Files\Navman - don't really know this, because I don't own a Moov S505) is called as the first startup. as I've shown above. This AppStartupPri.exe starts the SmartST_CE.exe (located either in \Windows or \My Flash\Program Files\Navman\SmartST_CE) and thus ultimately also GPS, TMC, USB (if the USB cable is connected to the PC), and Update.
As you easily can recognize, AppStartupPri.exe must be run in any case! This in mind it should be you and all other interested an easy to probably get the TMC-problem solved.

quote:

Only issues I'm not sure about is as to where I should put the AppStartupPri.ini file


Of course in the same location where (replaced) AppStartupPri.exe resides.
quote:

I'm not so happy with the situation that occured and made jwoegerbauer decide to stop spending more time in this issue that bothers a lot of moov spirit users.


Where is this "lot of moov spirit users", why nobody but you is daringly trying to solve the problem? Where are more contributors, beta-testers?


Reply author: AHMHeeren
Replied on: 12 Apr 2011 12:17:22
Message:

There are on many forums lots of moov spirit users who face this problem but just give up if the issue is not so easy to solve by e.g. putting some extra lines in sys.txt ...
I am willing to take risks with my mio to get it solved, but just lack the knowledge and directions to perform some testing. I even would not mind sending the device to someone who is willing to give it a try himself.

I could not find a AppStartupPri.ini file, so I guess I should make one and put it richt next to the AppStartupPri.exe file.

Now, would the following text be good enough to put into AppStartupPri.ini:
; Load and run SmartST_CE
L \.......\ SmartST_CE.exe

; Kill SmartST_CE
Z \........\SmartST_CE

or should I use 'Load and run and wait until it completes' instead of 'Load and run SmartST_CE' ? Is it necessary to put a delay execution before killing SmartST_CE.exe ?

Suggestions (may be based on experiences) are appreciated !


Reply author: John Dough
Replied on: 12 Apr 2011 12:47:08
Message:

quote:
Originally posted by AHMHeeren

There are on many forums lots of moov spirit users who face this problem but just give up if the issue is not so easy to solve by e.g. putting some extra lines in sys.txt ...
I am willing to take risks with my mio to get it solved, but just lack the knowledge and directions to perform some testing. I even would not mind sending the device to someone who is willing to give it a try himself.

I could not find a AppStartupPri.ini file, so I guess I should make one and put it richt next to the AppStartupPri.exe file.

Now, would the following text be good enough to put into AppStartupPri.ini:
; Load and run SmartST_CE
L \.......\ SmartST_CE.exe

; Kill SmartST_CE
Z \........\SmartST_CE

or should I use 'Load and run and wait until it completes' instead of 'Load and run SmartST_CE' ? Is it necessary to put a delay execution before killing SmartST_CE.exe ?

Suggestions (may be based on experiences) are appreciated !





@AHMHeeren

I commend your efforts to sticking with the query of getting TMC to work on Moovs.

I have had a number of Moov models (currently 580 with MP4 V68 on board) and I checked in program files /navman and that is where my appStartupsec.exe is located and also there is appstartupsec.ini so if you need this let me know if it would be of any assistance.

BTW on a different matter my unit has 2008 mapping but I have later maps(2009) which were purchased for a Moov 370 but I tried 2 maps on my current unit 580 and it would not load them "some maps could not be loaded" was the message, perhaps you have experienced this your self and could reccomend a solution ?
Tnx


Reply author: AHMHeeren
Replied on: 12 Apr 2011 13:29:58
Message:

@ John Dough
On my moov S505 I have also the appStartupsec.exe and appstartupsec.ini , but for the use of TULL.exe we have to look for the AppStartupPri.exe file, which I also found, just could not find any AppStartupPri.ini file.
As I wrote before: I like the moov models (I also have a moov 500) except for the fact you just discribed about how difficult it is to update and exchange maps.
R/T


Reply author: AHMHeeren
Replied on: 20 May 2011 08:47:30
Message:

Problem solved !
Google for 'deleted by Moderator' for a whole working package.

Warez sites, deleted


Reply author: John Dough
Replied on: 20 May 2011 12:36:09
Message:

Sounds promising so what folder does it go in to and can it be used with older 1.1 and Igo 8 .


Reply author: jwoegerbauer
Replied on: 20 May 2011 13:39:19
Message:

quote:
Originally posted by AHMHeeren

Problem solved !
Google for 'xxxxx' for a whole working package.


THE PACKAGE INTRODUCED HERE IS A COMPLETE CRACKED iGO Primo 1.2 VERSION WITH TMC-PRO PUT INTO THE WEB BY A GERMAN HACKER! BOTH BY NATURE ARE PAYWARE. IT IS A SHAME THAT THIS CRACK IS PROPAGATED HERE!

Not any more, it isn't


Reply author: lopac42
Replied on: 20 May 2011 14:28:45
Message:

Payware ??? what planet are you from !

The same planet that is about to get you banned from this forum if I see one more remark like this


Reply author: jwoegerbauer
Replied on: 20 May 2011 16:10:23
Message:

The navigation app iGO Primo from the Hungarian-Israeli producer NNG you buy with the car navigator it's installed on and licensed for. It's not Open Source. Might be in the Netherlands other rules are valid.


Reply author: lopac42
Replied on: 20 May 2011 17:26:28
Message:

i was just making a joke did not think you wil get mad .
Sorry


Reply author: AHMHeeren
Replied on: 20 May 2011 17:49:20
Message:

@ALL,
most important for me is the issue is solved and mio moov spirit users are now able to use the internal TMC-receiver with another program.
I do respect jowoegerbauer's point of view, but on the other hand it is not so difficult to get hold of cracked software versions (like Primo 1.2) and also on gpspassion.com a lot of issues pass that seek for work-arounds . . .


Reply author: John Dough
Replied on: 20 May 2011 22:06:29
Message:

Shouting is very rude jwoegerbauer please refrain as the mods can sort any illegalities .

@AHhearan
Can this be used with version 1.1 or Igo 8 my friend as this is indeed a major breakthrough if it can be used on all Moovs with smart soft. TNX


Reply author: AHMHeeren
Replied on: 20 May 2011 22:40:27
Message:

@John,
the package comes with Primo 1.2 and is not made by me. With some creativity I do believe one can get Primo 1.1 and iGO 8 working with it as wel by replacing certain files.
I agree it is a major breakthrough for many moov-owners who have been waiting for it. As far as I know now, it has been proven to work on Mio Moov/Spirit v505TV, v735TV, S475 and S505.


Reply author: John Dough
Replied on: 20 May 2011 23:25:39
Message:

Tnx for info BTW what folder does it go in to root perhaps?

I will try it tomorrow on my 580.


Reply author: AHMHeeren
Replied on: 21 May 2011 07:52:20
Message:

The Folder Primo 1.2 with underlying folders goes in the root of the SD Card.
If you don't have a SD-slot you could put is somewhere else I guess but you need to changes several paths in all .mscr files to make it working.
Please let me know if it works on your device, so we can add it to the list of devices on which it works.
R/T


Reply author: jwoegerbauer
Replied on: 21 May 2011 09:43:01
Message:

quote:
Originally posted by John Dough

Shouting is very rude jwoegerbauer please refrain as the mods can sort any illegalities .


Software piracy worldwide is treated as a criminal act (perhaps in China not). Animating people to use such cracked software .... I'm glad MOD intervened.


Reply author: John Dough
Replied on: 23 May 2011 19:14:37
Message:

quote:
Originally posted by AHMHeeren

The Folder Primo 1.2 with underlying folders goes in the root of the SD Card.
If you don't have a SD-slot you could put is somewhere else I guess but you need to changes several paths in all .mscr files to make it working.
Please let me know if it works on your device, so we can add it to the list of devices on which it works.
R/T



I am not sure if it works as in my country there is no TMC but I am not to hopeful as the tuner is not even running as it is on my Moov and the error messaage is the same as previous versions "no tmc receiver " BTW what port and baud are you using on your Spirit?
I also tried it on my C710 it appears to work fine tuner spinning up and down and lots of providers listed though not a guarantee it is working.I will have to take a trip to confirm.
BTW the one I have says it goes in to the content folder not the root and gives various countries.I still think I am missing something.Maybe its the correct dll??


Reply author: John Dough
Replied on: 23 May 2011 19:18:02
Message:

quote:
Originally posted by jwoegerbauer

quote:
Originally posted by John Dough

Shouting is very rude jwoegerbauer please refrain as the mods can sort any illegalities .


Software piracy worldwide is treated as a criminal act (perhaps in China not). Animating people to use such cracked software .... I'm glad MOD intervened.



Nobody is disputing that it was the shouting that annoyed us.


Reply author: piowal
Replied on: 26 May 2011 04:42:49
Message:

quote:
Originally posted by jwoegerbauer

quote:
Originally posted by John Dough

Shouting is very rude jwoegerbauer please refrain as the mods can sort any illegalities .


Software piracy worldwide is treated as a criminal act (perhaps in China not). Animating people to use such cracked software .... I'm glad MOD intervened.



jwoegerbauer you are surely rights,the licence rights should be protected. But at the same time you should take account of behaviour of some GPS producers. I am thinking in particular of Nokia. They made GPS Nokia 500 and promised they will update at least maps. In their info was also mentioned that it have TMC. Few months later after buying I learned that Nokia stop interesting in PND and did not react to any request from unfortunate users. Thanks to people like AHMHeeren users of Nokia 500 may keep a hope that one day they will also take advantage of gps functions for which they have paid. Thx AHMHeeren


Reply author: Supremo
Replied on: 26 May 2011 06:30:07
Message:

We're getting a bit off topic here, so I'll have the final word. The only thing you buy when you purchase a GPS or other widget is what's in it. "Promises" are marketing gimmicks, lots of examples in the real world (Microsoft, Mio, etc. etc. etc.). The fact of the matter is that whatever you might personally think or anger you have towards a vendor, discussion of hints for, distribution of, links to, etc. pirated software are not allowed in this forum. End of discussion.

Now let's get back on topic.


Reply author: John Dough
Replied on: 26 May 2011 13:07:41
Message:

The Boss has spoken so lets get on with it.

We need reports from people who have this working on any Moov models and don't just say works on model xxxx give proper details of port used baud rates dlls used and any other relevent info.

Also in the new utility there are 3 BT programs TMC.exe and a wi-fi exe plus the mapchanger prog so if anyone has any or all of these options working please post here.Tnx


Reply author: b.breum
Replied on: 03 Jun 2011 21:26:29
Message:

if i may
I've looked at the reg file in that hated package - and if seeing past the package and look what they have done
this is it?
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SW_TMC]
"Protocol"=dword:00000001
[HKEY_LOCAL_MACHINE\init]
"Launch80"="\\Storage Card\\Primo1.2\\utility\\TMC-REG\\Primo.exe"

Changed a protocol dword to :0000001 prob from 00000000
since i dont have that line in my mio moov 370 / I dont have the software in hkey..
then it doesnt work for me.
I find it more than fair not to support piracy products.
But also when we have paid money for igo and our mio, we should be allowed to use TMC function.


Reply author: lopac42
Replied on: 03 Jun 2011 21:58:37
Message:

then use the reg file and it will work for you


Reply author: miomapman
Replied on: 08 Jun 2011 11:26:02
Message:

Hi,
So, is there anywhere I can find a clear instructions of how to use Primo + TMC on my mio moov s505?
Thanks in advance


Reply author: b.breum
Replied on: 08 Jun 2011 11:29:25
Message:

i am sorry i have yet to figure out how to get it to work
i tried with the reg and the tmc folder (tmc is free in my country so ought to work without licenses)
tried it with every single combination of skin i have on.
But cant get it to work as of yet..


Reply author: miomapman
Replied on: 08 Jun 2011 12:05:39
Message:

ok, thanks.
I`ll wait...


Reply author: AHMHeeren
Replied on: 18 Jun 2011 18:37:56
Message:

A more generic way to make use of your built in tmc receiver on you mio moov in combination with other navigation software you may find here at post # 183:
http://www.mobilepassion.org/viewtopic.php?f=85&t=2355&start=180
R/Ton


Reply author: miomapman
Replied on: 19 Jun 2011 21:58:59
Message:

Hi,
Did you try it on the mio s505 TMC enabled device?


Reply author: AHMHeeren
Replied on: 20 Jun 2011 07:37:43
Message:

@ miomapman,
no, I did not try it myself, as I used the package I mentioned in my post dated 20th May 2011. As we learned this was not appropriate, I just follow the issue and try to direct users with the same problem I used to have to other solutions.
R/Ton


Reply author: John Dough
Replied on: 24 Jun 2011 17:03:24
Message:

This reputedly works on S555/V735/V705 moovs but only on these models for some reason.
add to auto.mscr in Cobia/sunseeker folder

Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 1)
EndIf
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf

I have tried this on M400 370 and 580 and it will NOT work for me perhaps someone could enlighten us who has it working on these models plus S505 as to what we are doing wrong. Tnx
Found a slighly different on this registry entry 23092011 see below

UPDATE on moov 580 I now have in tmc panel with dimkas skin "testing" and a green signal shooting back and forward with default freq 87.5 in the lower panel so out on the road tomorrow or sunday for a test run and in the meantime I have to look for manual frequencies that I can key in.


Reply author: John Dough
Replied on: 30 Jun 2011 15:48:03
Message:

@harryhilft

Please help moov owners who can not get TMC to work with Igo 8 models affected M400 m370 m330 m580 as I hear you have a fix for V505 models.
thanks


Reply author: b.breum
Replied on: 30 Jun 2011 20:20:06
Message:

I support that suggestion harry :)
it would be nice to get tmc to work on moov370 model.
As for know i've tried the reg patch and soft reset and the tmc still isnt found. TMC is free in my country so should be no problem receiving it if it can be found.


Reply author: miomapman
Replied on: 08 Jul 2011 09:33:08
Message:

Hi AHMHeeren,
I am looking forward as you to find a solution for the Mio Moov S505 (TMC Enabled).
I tried all the solutions that were suggested around here with no success.


Reply author: John Dough
Replied on: 08 Jul 2011 12:38:41
Message:

quote:
Originally posted by lopac42

then use the reg file and it will work for you



Apparently not as this reg file is for spirit models only.


Reply author: AHMHeeren
Replied on: 08 Aug 2011 07:55:41
Message:

@miomapman
as you can read in earlier posts, I am not allowed to post where you can find the package. I tried to send you a pm, but it seems you have not provided contact information.
R/Ton


Reply author: jwoegerbauer
Replied on: 08 Aug 2011 16:13:24
Message:

It's widely known TMC works well on any Moov S505, if original "MioMap" is present and found by AppStartPri.exe (and of course correct power cable is used), because it's this exe which initialises the device and all its components, among others also TMC. This fact I've already pointed out here 4 months ago. Hence I'm really surprised noone respects this fact, but someones eagerly try to fiddle around with registry entries, what, if you would think about, in any case must miserably fail, no ifs and buts. IMO, the only chance to get TMC working, is to let AppStartPri.exe do its job, means simply run it when device starts - always assumed a (shrinked) version of original "MioMap" (for example only the Andorra map is left over) besides the version really wanted is installed - and kill it if it has done its job. BTW: I'm pretty sure that's the logic @haryhilft also uses in his unlock-package "Bluefish".


Reply author: AHMHeeren
Replied on: 08 Aug 2011 18:50:04
Message:

@jwoegerbauer
I recognize the problem for many Moov S505 users trying to get the TMC working with other navigation software has been discussed in the past and directions of how to make this happen have been given.
However ... it seems to remain a hard nut to crack for those with limited knowledge (like myself). Maybe a sort of 'step-to-step guidance for dummies' written by an expert (like yourself and prehaps others) could bring some relief here and prevent Moov S505 owners to look for (illegal) cracked versions in order to achieve their goal.
Speaking for myself: I'm happy driving around with an illegal cracked version, but I would be interested in such guidance for better understanding and improving my own knowledge.
R/Ton


Reply author: jwoegerbauer
Replied on: 08 Aug 2011 20:48:43
Message:

@AHMHeeren,

THAT'S HOW WOULD DO IT: BE AWARE THIS ISN'T TESTED AT ALL, BECAUSE I DON'T OWN A MIO Moov S505, IT'S ON YOU TO DO THE TEST.

First of all, reset device to factory state. In device's registry the key HKEY_LOCAL_MACHINE\init probably then looks similar this

Launch20 device.exe
Launch30 gwes.exe
Depend30 1400
Launch60 services.exe
Depend60 1400
Launch80 AppStartupPri.exe
Depend80 14001E00

but may differ, don't know.

Secondly, assumed this folders/files exist at the device

\My Flash Disk\Program Files\Navman\SmartST_CE\SmartST_CE.exe
\My Flash Disk\Program Files\MioMap\AppStartPri.exe
\My Flash Disk\Program Files\MioMap\AppStartPri.ini
\Storage Card\iGO\iGo.exe

and AppStartPri.ini file looks similar like

[Process1]
RelativePath=TRUE
ProcessFile=SmartST_CE.exe
ProcessCmdLine=
ProcessDbgFile=SmartST_CEDbg.exe
ProcessDbgCmdLine=
MaxRestarts=3
Major=TRUE
WindowName=SmartST_CE
MaxCloseMessages=10


then you

A: Using TULL ( freeware, by Dack ) - ONLY POSSIBLE IF NO FILE Smart_CE.ini EXISTS!!!

a. create in folder \My Flash Disk\Program Files\Navman\SmartST_CE text file Smart_CE.ini which contains a few lines as following

L "\My Flash Disk\Program Files\Navman\SmartST_CE\Original-SmartST_CE.exe"
; wait 5 seconds
D 5000
Z "AppStartupPri.exe"
Z "Original-SmartST_CE.exe"
Z "MioMap.exe"
Z "Spirit.exe"
; wait 1 second
D 1000
; run iGO
L "\Storage Card\iGO\iGo.exe"


b. copy to folder \My Flash Disk\Program Files\Navman\SmartST_CE executable TULL.exe

c. rename in folder \My Flash Disk\Program Files\Navman\SmartST_CE
1) file SmartST_CE.exe to Original-SmartST_CE.exe
2) file TULL.exe to SmartST_CE.exe


B: Using MortScript ( freeware, by Mirko Schenk )

a. create in folder \My Flash Disk\Program Files\Navman\SmartST_CE script file Smart_CE.mscr which contains a few lines as following

ErrorLevel("off")
Run(SystemPath("ScriptPath")\"Original-SmartST_CE.exe")
While(NOT WndExists("SmartST_CE"))
Sleep 250
EndWhile
Sleep 4000
Kill("AppStartupPri.exe")
Kill("Original-SmartST_CE.exe")
Kill("MioMap.exe")
Kill("Spirit.exe")
Sleep 1000
Run("\Storage Card\iGO\iGo.exe")


b. copy to folder \My Flash Disk\Program Files\Navman\SmartST_CE
1) MortScript.exe
2) AutoRun.exe

c. rename in folder \My Flash Disk\Program Files\Navman\SmartST_CE
1) file SmartST_CE.exe to Original-SmartST_CE.exe
2) file AutoRun.exe to SmartST_CE.exe

Thirdly, reset device; iGO should start instead of MioMap, TMC should work.

BE AWARE THIS ISN'T TESTED AT ALL, BECAUSE I DON'T OWN A MIO Moov S505, IT'S ON YOU TO DO THE TEST.


Reply author: gilshl
Replied on: 10 Aug 2011 08:08:45
Message:

i have a mio spirit s505 and im having this file:
\Program Files\System\ProcessMgr.exe
and an ini file that this is the content
[GEN]
config1 = 0,3000,99443,
heartbeat = 500,5,,,
apcall00 = \My Flash Disk\Program Files\MioMap\PLUGINS\FMT\Bin\FMtransmitter.exe,-h,0,1,1,1000,
apcall01 = \My Flash Disk\Program Files\MioMap\spirit.exe,,0,0,0,2000,
scrsavconf = 31,2000,,,

[WM_MESSAGE]
msg00 = 0,1046,0,0,\Windows\USBScreen.exe,,0:3317::,196896,
msg01 = 0,1058,0,0,,500,0:3309::,512,
msg02 = 0,1048,0,0,,500,,20,


and all the "patches" here didnt work


Reply author: jwoegerbauer
Replied on: 10 Aug 2011 19:56:15
Message:

@gilshl,

1) So what happens when you run \My Flash Disk\Program Files\MioMap\PLUGINS\FMT\Bin\FMtransmitter.exe from i.e. CE commander?

2) So all the "patches" here didnt work and surprises you? If I remember well all the stuff I've read in several forums, there at least are four versions of "Mio", each version uses a different exe file / location:

Mireo - \My Flash Disk\Program Files\MioMap\MioMap.exe
Moov - ????
Navman - \My Flash Disk\Program Files\Navman\SmartST_CE\SmartST_CE.exe
Spirit - \My Flash Disk\Program Files\MioMap\spirit.exe
DigiWalker - \My Flash Disk\MIOMAP\MIOMAP\MioMap.exe

As long as nobody provides here both the device's original [HKEY_LOCAL_MACHINE\init] and the device's complete directory structure, for me - because I don't own a Mio - everything is covered of fog.


Reply author: gilshl
Replied on: 10 Aug 2011 20:09:38
Message:

so u need a beta tester so i will be ...
p.s. i have download the spirit m 6.2 edition and the tmc is detected (in spirit you cant see the scanning) abd no traffic,
be 3.1 & miomap scans but no traffic i can see that he detect the tmc channel but no trafic messages...
ok so how can i help you help us...

1st start by tell me how to unlock it, becaus i cant see all of the content inside the CE commander


Reply author: jwoegerbauer
Replied on: 12 Aug 2011 14:59:09
Message:

@gilshl,
Though being somehow involved in the MioPocket project, my honest answer: There are many simple unlockers around, query Mio related threads at GpsPasSion or do a Google-search. EDIT: You might also visit this thread: http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=121168



EDIT#2:
Costas now offers here a "SystemInformation" based unlocker which contains MortScript based launcher script as following

sleep 5000
Kill("AppStartupSec.exe")
Kill("SmartST_CE.exe")
Kill("Spirit.exe")
Kill("CLMApp.exe")

what's the same logic I showed above. Good luck, I retire.


Reply author: gilshl
Replied on: 20 Aug 2011 06:55:44
Message:

first of all thank you jwoegerbauer.
i have been unlock my device.
i can run any gps program i want.
so i tried to see if i can see the " \My Flash Disk\Program Files\MioMap\PLUGINS\FMT" folder and i dont.


Reply author: jwoegerbauer
Replied on: 20 Aug 2011 13:08:22
Message:

Remember it was you who provided this excerpt of file \My Flash Disk\Program Files\System\ProcessMgr.ini

quote:

i have a mio spirit s505 and im having this file:
\Program Files\System\ProcessMgr.exe
and an ini file that this is the content
[GEN]
config1 = 0,3000,99443,
heartbeat = 500,5,,,
apcall00 = \My Flash Disk\Program Files\MioMap\PLUGINS\FMT\Bin\FMtransmitter.exe,-h,0,1,1,1000,
apcall01 = \My Flash Disk\Program Files\MioMap\spirit.exe,,0,0,0,2000,
scrsavconf = 31,2000,,,


IMO, if (you forced explorer to show all files/folders, system and hidden ones included) folder \My Flash Disk\Program Files\MioMap\PLUGINS\FMT doesn't exist, your installation probably is corrupted.

P.S. I'm really a little bit confused: what has FM transmitter to do with TMC?


Reply author: jwoegerbauer
Replied on: 20 Aug 2011 15:26:40
Message:


FYI:

The amusing TMC Baud rate of 14400 of the MIOs (Spirit) is hardcoded in Spirit.exe, as the attached hexeditor snapshot shows. In accompanying config file Spirit.ini you find section

[TMC]
UseGns=1
LogRds=0
TmcTimeout=5

where UseGns defines the COM-Port of external TMC-receiver, if such one connected via Bluetooth (1 = COM-Port 1, 2 = COM-Port 2, ...)







Reply author: Baloe
Replied on: 16 Sep 2011 21:16:11
Message:

For working Primo with working TMC for Mio Spirit, look for:
"IGo Primo TMC voor Mio Spirit 683 685 TMC" on newsservers.
e.g. search tag "iGo_Primo" on binsearch.info ;-)


Reply author: miomapman
Replied on: 23 Sep 2011 15:22:30
Message:

Hi...
How are you?
I am looking for help in trying to disable the tmc in my miomap in order to enable it on my primo. I have Mio moov s505 with the latest version of primo installed on it. My hack program is MioPocket 4.0 Release 68.
Thanks in advanced...


Reply author: John Dough
Replied on: 23 Sep 2011 18:19:05
Message:

Have you tried the registry change posted earlier?


Reply author: AHMHeeren
Replied on: 23 Sep 2011 19:14:51
Message:

It seems often easier to ask a question than to browse threats and find anweres and options yourself ... I deeply respect all members who reply to messages from those who do not look for themselves for the answeres allready present ...


Reply author: miomapman
Replied on: 24 Sep 2011 20:30:06
Message:

About the last unpleasant comment, I did try all of the solutions suggested here with no luck. In addition, AHMHeeren, I sent you a PM the other day with no reply. So, I am in to it for about 3 months in order to find a solution once and for all. I still think that there are no easy "step by step" guide for this issue.
Sorry if I sound a bit irritated, but the last post wasn`t so comfortable if you take into account that I check about each day about any progress.

Cheers...


Reply author: AHMHeeren
Replied on: 24 Sep 2011 21:03:21
Message:

@ miomapman,
no personal offence meant here, just an observation.
I didn't receive a PM from you the other day by the way.
I just tried to sent you a PM with a solution for you that was earlier not appreciated by the moderators on this board, but for some reason the message could not be sent and I got an error message.


Reply author: Baloe
Replied on: 24 Sep 2011 22:26:40
Message:

quote:
Originally posted by miomapman

Hi...
How are you?
I am looking for help in trying to disable the tmc in my miomap in order to enable it on my primo. I have Mio moov s505 with the latest version of primo installed on it. My hack program is MioPocket 4.0 Release 68.
Thanks in advanced...




Solution on newsgroups. Look for "iGo_Primo_TMC_voor_Mio_Spirit_685_683"
This solution is also for s505


Reply author: miomapman
Replied on: 24 Sep 2011 23:49:13
Message:

1. Baloe, I saw your post earlier. Didn`t find what you are talking about or where to look. Where are those newsgroups? If I type it on google, I found only French sites that I can`t understand. Can you send an English URL?
2. AHMHeeren, it`s OK. Probably there is a problem in sending PMs. I do have a valid email registered.
3. Can I uninstall the miopocket 4 and install my device with Costas`s way? My only wish is to use the Primo + working TMC without any use of the mio features (Primo should work as soon as I turn on the device).
4. I have instead of the SmartST_CE.exe - \Program Files\MioMap\spirit.exe. In addition, I don`t have the AppStartPri(exe or ini) from those lines :
\My Flash Disk\Program Files\Navman\SmartST_CE\SmartST_CE.exe
\My Flash Disk\Program Files\MioMap\AppStartPri.exe
\My Flash Disk\Program Files\MioMap\AppStartPri.ini

Any other option?

Thank you very much... :)


Reply author: John Dough
Replied on: 26 Sep 2011 11:58:37
Message:

I am using harryhilts registry change for the Moovs and I can confirm after a lot of testing during the last 12 months I have finally cracked it.
Basically download Tmc pro (google it) and put it on your card then add harryhilts change to the registry in your magic folder (auto .mscr) in my case and bobs your uncle.
Tested and working on Moov 370/580/V505 also works perfect on C710 great!!!!


Reply author: Baloe
Replied on: 26 Sep 2011 21:30:15
Message:

quote:
Originally posted by miomapman

1. Baloe, I saw your post earlier. Didn`t find what you are talking about or where to look. Where are those newsgroups? If I type it on google, I found only French sites that I can`t understand. Can you send an English URL?
2. AHMHeeren, it`s OK. Probably there is a problem in sending PMs. I do have a valid email registered.
3. Can I uninstall the miopocket 4 and install my device with Costas`s way? My only wish is to use the Primo + working TMC without any use of the mio features (Primo should work as soon as I turn on the device).
4. I have instead of the SmartST_CE.exe - \Program Files\MioMap\spirit.exe. In addition, I don`t have the AppStartPri(exe or ini) from those lines :
\My Flash Disk\Program Files\Navman\SmartST_CE\SmartST_CE.exe
\My Flash Disk\Program Files\MioMap\AppStartPri.exe
\My Flash Disk\Program Files\MioMap\AppStartPri.ini

Any other option?

Thank you very much... :)



In Moov and Spirits devices in the Windows Register the reg value of the TMC protocol is default set on 0. For other navigation software with TMC, it should be set on 1 and after that a "soft" reset is necessary before you start the navigation. Therefor you have to run a selfmade program.

In the file AppStartupSec.ini you can change the file that runs first. Or remove originonal Spirit.exe Change that into a "mortscript runner-file" that you give the name Spirit.exe and wich changes the regedit settings, like many examples given in this forum e.g.

Kill("AppStartupSec.exe")
Kill("AppStartupPri.exe")
Run "\My Flash Disk\Menu\TOOLS\PowerButton.exe"
SetVolume(70)
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 1)
Playsound ("\My Flash Disk\Sounds\alert001.wav")
Run "\My Flash Disk\Primo\Primo.exe
EndIf
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Sleep(100)
Reset
Endif


You need 3 files:
1. A Mortrunner (default named Autorun.exe but you can give that any name you like e.g. Spirit.exe and place it anywere in the same folder as the next two files),
2 a mortscript (this is a .txt file wich you give the same name as the .exe with the script text above in it.
3. finaly mortscript.exe
You can find the mortscript files here:
http://handheld.softpedia.com/progDownload/MortScript-Download-32952.html And select version 4.2
Secondly you need a iGo Primo version and a with DIMKA skin 131 fr night and day or a specific Gurjon skin.
Finaly you need the next txt in the sys.txt of the iGo

[tmc]
source="GNSPORT"
port="COM,1"
baud=14400
internal_tmc_name="gnsport"
tuner_alg_search_force_on=1
tuner_alg_search_timeout=10000
tuneralg_rds_packet_timeout=6000
tuneralg_8a_packet_timeout=6000
tuneralg_3a_packet_timeout=20000
tuneralg_last_8a_packet_timeout=10000

[keybind]
xC4="MAINMENU" ; MIO Hardware knop naar Hoofdmenu Primo
1058="off" ; activeert power knop bovenzijde
1058="poweroff"

Hopefully this helps.


Reply author: John Dough
Replied on: 27 Sep 2011 16:54:49
Message:

It is simpler to use Miopocket and the CORRECT tmc pro file for your unit and just change .mscr file in you magic(default) folder. All the correct files (inc tmc)and folders will be on your card so just put your map.buildings,pois etc. in to them.


Reply author: b.breum
Replied on: 27 Sep 2011 19:08:32
Message:

john we've tried this on many forums and it seems like you've finally succeeded. Can you copy and paste what you have en your mscr to get it to work on your moov 370?
We both use miopocked on our moov 370 but somehow i cant get it to work after soft reset but you can, so I must be doing it wrong.
I can copy what i have in my auto mscr but since yours is working - that might be better to look at for all of us so we can see how its done!.


Reply author: John Dough
Replied on: 27 Sep 2011 20:27:21
Message:

quote:
Originally posted by b.breum

john we've tried this on many forums and it seems like you've finally succeeded. Can you copy and paste what you have en your mscr to get it to work on your moov 370?
We both use miopocked on our moov 370 but somehow i cant get it to work after soft reset but you can, so I must be doing it wrong.
I can copy what i have in my auto mscr but since yours is working - that might be better to look at for all of us so we can see how its done!.



Check your email mate.


Reply author: miomapman
Replied on: 30 Sep 2011 11:11:02
Message:

Hi to you all.
After a few days of trying to find the best way to disable the mio prog and to load the primo with the TMC, I still have some problems. John Dough, Baloe, AHMHeeren and jwoegerbauer, I still have the same problems I had earlier.
This is how my main important directories look like:
1.\My Flash Disk\Program Files\MioMap\spirit.exe
2.I uninstalled my MioPocket 4.0 Release 68 because I want to use the lightest unlocker program with no fancy features. I only want my Pirmo to load without any process I should do.
I don`t have these files \ directories mentioned above:
1.\My Flash Disk\Program Files\MioMap\AppStartPri.exe
2.\My Flash Disk\Program Files\MioMap\AppStartPri.ini
3.\My Flash Disk\Program Files\MioMap\AppStartupSec.exe
4.\My Flash Disk\Program Files\MioMap\AppStartupSec.ini
5.\My Flash Disk\Menu\TOOLS\PowerButton.exe
6.\My Flash Disk\Sounds\alert001.wav
7.\My Flash Disk\Program Files\MioMap\PLUGINS\FMT (The same problem that gilshl had)
8.\Storage Card\default\disclaimer.exe
9.SmartST_CE.exe
10.CLMapp.exe
11.DataManager.exe

Please help me. I know I am a bit stubborn about this issue but it makes me frustrated...
Thank you very very much for your effort,
Miomapman


Reply author: jwoegerbauer
Replied on: 30 Sep 2011 14:23:18
Message:

@miomapman,

You said it: it's frustrating. The reason herfore is, since this thread was started, noone here, you included, is willing to post here (or even better there, of course only if not already present there) contents of his device's registry entry [HKLM\init] which is absolutely necessary to get an idea what programs are loaded at boot-up. BTW: If neither AppStartPri.exe nor AppStartupSec.exe is listet in [HKLM\init], you of course don't have to search for those. And, as I already said: FMT ("FM-Transmitter", with means of a FM-Transmitters you simply direct sound produced at your PDA/GPS to the car's radio ...) has nothing to do with TMC ("Traffic Message Channel"), hence you must not care of existence of a folder ...\FMT.

Finally, only to clarify things, executable
1) SmartST_CE.exe on some MiTACs is device's default navigation application - casually also called Miomap, but I believe in your case it's not SmartST_CE.exe but Spirit.exe, but don't really know this
2) Disclaimer.exe in folder \Storage Card\Auto is nothing else but a renamed Explorer.exe
3) CLMapp.exe is the GPS-module driver, it only is present on a device if GPS-module is a SiRF star II/III/IV chip
4) DataManager.exe, I don't know its functionality, probably its presence depends on the device's model - a Mio Spirit isn't a Mio Moov Spirit, and reverse


Reply author: AHMHeeren
Replied on: 30 Sep 2011 14:57:57
Message:

When I started this topic, my goal was to get TMC working on my mio moov spirit 505 with iGO Primo.
After several well-meant complicated suggestions to get it done, I was happy to find the solution by means of a package I mentioned in earlier posts in this thread which was not appreciated when I posted it, as it directed to a cracked version of iGO that came with it.
I respect all efforts I read about to get the trick done, and follow them with great interest, but for me: I am since I use the package a very happy user and do not try to invent the wheel again and do not put effort anymore in looking for and experimenting with other ways to get the job done.
If I can be helpful to post (parts of) certain files or registry-entries that are allowed on this forum, please let know because I'm more than happy to share the joy of a working tmc-feature on a mio moov spirit 505 in combination with iGO Primo with others.


Reply author: Baloe
Replied on: 01 Oct 2011 21:56:58
Message:

quote:
Originally posted by miomapman

Hi to you all.
After a few days of trying to find the best way to disable the mio prog and to load the primo with the TMC, I still have some problems. John Dough, Baloe, AHMHeeren and jwoegerbauer, I still have the same problems I had earlier.
This is how my main important directories look like:
1.\My Flash Disk\Program Files\MioMap\spirit.exe
2.I uninstalled my MioPocket 4.0 Release 68 because I want to use the lightest unlocker program with no fancy features. I only want my Pirmo to load without any process I should do.
I don`t have these files \ directories mentioned above:
1.\My Flash Disk\Program Files\MioMap\AppStartPri.exe
2.\My Flash Disk\Program Files\MioMap\AppStartPri.ini
3.\My Flash Disk\Program Files\MioMap\AppStartupSec.exe
4.\My Flash Disk\Program Files\MioMap\AppStartupSec.ini
5.\My Flash Disk\Menu\TOOLS\PowerButton.exe
6.\My Flash Disk\Sounds\alert001.wav
7.\My Flash Disk\Program Files\MioMap\PLUGINS\FMT (The same problem that gilshl had)
8.\Storage Card\default\disclaimer.exe
9.SmartST_CE.exe
10.CLMapp.exe
11.DataManager.exe

Please help me. I know I am a bit stubborn about this issue but it makes me frustrated...
Thank you very very much for your effort,
Miomapman



In your case try the next startup script. Give the script runner (default name is staru.exe) the name Mio.exe and put it instead of the original Miomap.exe

Create .txt file (with notepad = kladblok) and name this txt file Miomap.mscr and put that in the same folder as the Miomap.exe that you just named. Finally put the program Mortscript.exe also in this folder (so 3 files togehter, 2 .exe en 1 .mscr)

In Miomap.mscr you write:

Kill("miomap.exe")
SetVolume(70)
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 1)
Run "\My Flash Disk\Primo\Primo.exe
EndIf
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Sleep(100)
Reset
Endif

Be shure to put the right iGo Primo 1.2 software in the folder ...PrimoYou also need DIMKA skin: diMkaWA_day131 a.zip and diMkaWA_night131 a.zip

Without the program Powerbutton, you can only switch off bij hard reset (switch on top to the righ), wich is no problem. Get used to the fact that after switching on you get an extra reboot before Primo Starts.

If this doesn't work it means that I can't help you any further.


Reply author: jwoegerbauer
Replied on: 02 Oct 2011 10:57:23
Message:

TMC stands for "Traffic Message Channel". TMC transmits traffic information to "piggyback" on the radio program of (public) radio stations in particular, non-audible data packets. Maximum of ten messages per minute are possible. If TMC-enabled (ie a TMC-chip is present), the navigation device receives the messages with a built-in radio receiver. If the navigation software - it really doesn't matter whether it's MioMap, or it's NavNGo, iGO Primo, GoPal, TomTom, etc, pp - also is TMC-enabled, it reads these incoming traffic messages and translates the codes (GNS protocol) to viewable text messages and sometimes if it's worth, a detour is calculated. What I will say is, if a Sat Nav device has a built-in TMC receiver, as for example this is the case with Moov Spirit 300 Traffic, Moov Spirit 500 Traffic & H-F Traffic, Moov Spirit Flat - BTW note that you always can determine whether this feature is present or not by investigating Sat Nav's registry (HKLM, Drivers\BuiltIn), you basically have nothing to do, except to tell the navigation application the correct TMC parameters if it can't figure out those itself.

TMC Mio Moov Spirit specific:
Mio Moov Spirit Manual, see chapter How do I receive current traffic information via TMC?
Reading this manual you get informed, that Traffic information is not available on all models and is only available in selected countries. Furthermore, here you can see which devices in which countries can do TMC.

EDIT:

If you don't disturb the default boot-up process of a TMC enabled Mio Sat Nav, for example doing so if you use MioPocket - adopting its default pre-configuration - as an unlocker, TMC must work in any case.


Reply author: AHMHeeren
Replied on: 02 Oct 2011 12:20:46
Message:

In addition to what joegerbauer writes, you may have a look here as well: http://www.navigatiehosting.nl/tmc/zenders/index/index.php
R/Ton


Reply author: megan
Replied on: 08 Oct 2011 13:26:43
Message:

Hi guys,
I hope not going off topic. Only I want thank you for this very interesting discussion. I own a very appreciable mio S578 (Spirit Flat). If you need to make some test on this device please let me know. Otherwise I will follow the thread My goal is to use TMC premium built in in my device whit Igo Primo 1.2.


Reply author: Baloe
Replied on: 08 Oct 2011 14:02:17
Message:

quote:
Originally posted by megan

Hi guys,
I hope not going off topic. Only I want thank you for this very interesting discussion. I own a very appreciable mio S578 (Spirit Flat). If you need to make some test on this device please let me know. Otherwise I will follow the thread My goal is to use TMC premium built in in my device whit Igo Primo 1.2.


Look on newsgroups (via ftd-online) for standard solution for Spirits.


Reply author: jwoegerbauer
Replied on: 08 Oct 2011 22:10:25
Message:

This is definitly my last contribution here: to complete things here is freeware utility TMC Scan. HTH


Reply author: miomapman
Replied on: 10 Oct 2011 19:31:47
Message:

jwoegerbauer, as one of the big contributors here, it is sad that your last post is the last one. COME BACK :)
Well guys, I am on the last phase of breaking my device.
I succeeded searching for TMC channels (still didn`t find appropriate one. It asks for a license and I don`t have it...)
Anyhow, the thing is the every one minute or so the screen saver of my mio loads up. I need a way to disable it.
Thanks mates,


Reply author: Baloe
Replied on: 10 Oct 2011 21:13:19
Message:

quote:
Originally posted by miomapman

jwoegerbauer, as one of the big contributors here, it is sad that your last post is the last one. COME BACK :)
Well guys, I am on the last phase of breaking my device.
I succeeded searching for TMC channels (still didn`t find appropriate one. It asks for a license and I don`t have it...)
Anyhow, the thing is the every one minute or so the screen saver of my mio loads up. I need a way to disable it.
Thanks mates,



Look in newsgroups (via ftd-online) for standard solution for Spirits or search for "iGo_Primo_TMC" on www.binsearch.info
There you find Menu Program that starts iGo Primo with a script that kills some running processes and activates TMC for Primo or Mio Navman whatever you choose. You must use the DIMKA skin (all is included). Go to TMC menu and select "auto scan (list) mode" and add some radiofrequencies that support TMC. Don't forget connecting car-adapter and be shure there are messages!
(if you dont have a newsserver, maybe a friend has or leave an email adress here then I can send you the package by "wetransfer" .
Don't throw away your device !!!!!


Reply author: costas
Replied on: 11 Oct 2011 10:05:20
Message:

Hi Baloe.
Could you please upload somewhere, from your kit only files
- sys.txt
- scripts that are starting Primo
Thanks in advance.


Reply author: miomapman
Replied on: 11 Oct 2011 16:12:30
Message:

Hey Baloe.
I don`t have a newsserver...
Could you please send me the package?
I promise I won`t throw my device... :-)
john_tale@ymail.com
cheers


Reply author: Baloe
Replied on: 11 Oct 2011 22:17:07
Message:

quote:
Originally posted by costas

Hi Baloe.
Could you please upload somewhere, from your kit only files
- sys.txt
- scripts that are starting Primo
Thanks in advance.


It is far more than just the script. Script txt depends on type mio you have
You 'll also need the right device.ini file in the data.zip,
Dimka-skin version P.1.3.7, 1.3.1 or 1.3.5
changes in startupsec.ini, to start up the first script (mortscript)
so you need mortscript and mortscriptrunner (mostly named startup.exe)
a little program called power.exe with power.ini to make the hardware button work to switch the divice of
finally. I don't know how to get this all to you!


Reply author: costas
Replied on: 12 Oct 2011 12:17:22
Message:

Thanks Baloe for your reply.
The main problem on my Mio S 605 is that I can't get AutoScan .
I manually entered an FM frequency and received station name (by RDS), as you see below :



The images with TMC signal were obtained by a hpcnr, through manual entry of frequency.
Also I test the TMC receiver, it's seem OK .


Reply author: John Dough
Replied on: 12 Oct 2011 14:25:16
Message:

@Costas

You should set it to Automatic + List and it will autoscan.
You could also create your own list of local FM stations and place it in the utility folder. Works fine for me. This only applies to Dimkas skin so there might be a problem with your Gurjon skin and compatability.


Reply author: Baloe
Replied on: 12 Oct 2011 19:46:10
Message:

Do you already run this script before you start up iGo Primo?

Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 1)
Playsound ("\My Flash Disk\Menu\Smart_Menu\alert001.wav")
Run "\My Flash Disk\Primo\Primo.exe
EndIf
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Sleep(100)
Reset
Endif


p.s
On my device it also doesnt work with GJ, only with DIMKA 1.3.7, 1.3.5 or 1.3.1.


Reply author: Baloe
Replied on: 12 Oct 2011 19:49:50
Message:

p.s 2 when using DIMKA select "auto tuner(list)" and add stations using the lower button


Reply author: costas
Replied on: 13 Oct 2011 08:39:02
Message:

My unlock (http://www.multiupload.com/77KM4UE59N) already have in Auto.mscr that lines .


Reply author: John Dough
Replied on: 13 Oct 2011 13:02:38
Message:

Link is dead but you have not told us if you are using Dimkas skin???

Correct script is below:

Kill("AppStartupSec.exe")
Kill("AppStartupPri.exe")
Kill("SmartST_CE.exe")
Run "\Storage Card\Apps\PowerButton\PowerButton.exe"
sleep 1000
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 1)
Run "\Storage Card\Skorka\StartUp.exe"
EndIf
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf


Reply author: costas
Replied on: 13 Oct 2011 22:24:36
Message:

Sorry,
http://www.multiupload.com/VZTNMTO2RE


Reply author: John Dough
Replied on: 14 Oct 2011 12:04:09
Message:

On your script you have # before the lines so have you tried removing this?


Reply author: costas
Replied on: 14 Oct 2011 15:50:27
Message:

Yep, but not for this line :
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1

These lines are a ancient legacy from my old Moov 500 unlock :
#XCopy(Drive\"MioAutoRun\Unlock\*.*", "\Windows")
#RunWait(Drive\"MioAutoRun\Apps\Regedit.exe", "-s " & """" & Drive\"MioAutoRun\Unlock\Registry\launch.reg" & """")


Reply author: John Dough
Replied on: 17 Oct 2011 14:08:08
Message:

Baloe Don't see any way to download those rar files on bin search???


Reply author: Baloe
Replied on: 17 Oct 2011 19:52:19
Message:

[quote]Originally posted by costas

Thanks Baloe for your reply.
The main problem on my Mio S 605 is that I can't get AutoScan .



Try auto(list)tuner mode (be sure to add some frequencies with TMC),

But first do the next:

Put in data.zip\config\divices the following scriptfile and call it SPIRIT.INI

#Customized MIO V505TV.ini for all other Mio spirits

[device]
info_names="HAMMER_VT500"

[gps]
port=2
baud=57600

[map]
poi_grouping_distance=0

[tmc]
source="GNSPORT"
port="COM,1"
baud=14400
internal_tmc_name="gnsport"
tuner_alg_search_force_on=1
tuner_alg_search_timeout=10000
tuneralg_rds_packet_timeout=6000
tuneralg_8a_packet_timeout=6000
tuneralg_3a_packet_timeout=20000
tuneralg_last_8a_packet_timeout=10000

[power]
backlight_status="0"

[Interface]
clearcity=1
extra_settings=1
show_detailed_posinfo=1
has_secondary_root=0

[network]
available="0"

[debug]
show_hnr=1
earth=1
skip_eula=1
experimental_features=1

[warning]
speedcam_warning=1
speedcam_soundtype=2
speedcam_visualtype=1
overspeed_sound="!alert4"
section_beep_sound="!alert4"
approach_beep_sound="!alert3"
warn_distances=130:500,120:400,100:400,80:300,70:300,60:250,50:200,30:150
approach_beep_distances="-1"
speedcam_max_angle=45
approach_beep_sound="!radar"

[rawdisplay]
screen_x=480
screen_y=272

[keybind]
xC4="MAINMENU" ; MIO Hardware knop naar Hoofdmenu Primo
x7A="OFF" ; this button??

[sound]
csv_voice_enabled=1
ding=0


Then add to your sys.txt next 2 lines:

[device]
type="SPIRIT"


Reply author: Baloe
Replied on: 17 Oct 2011 20:21:42
Message:

quote:
Originally posted by John Dough

Baloe Don't see any way to download those rar files on bin search???



Information about how to work with Newsgroups see:
www.binaries4all.nl

For scripts optimized for Spirit devices with SmartST_CE download here http://www.multiupload.com/ZC5NEN2UU8. Its home-made software. !!! you have to add your own legitimed iGo-Primo software to the folder Primo and you must call your executable file: Primo.exe. Manual included.
For those who don't have the correct skin (also freeware) here it is: www.multiupload.com/GOQR4WPQMV
Bon Voyage!


Reply author: costas
Replied on: 18 Oct 2011 05:48:46
Message:

Thx for you reply, and, as you said, Bon Voyage!


Reply author: robertone
Replied on: 21 Jan 2012 21:43:23
Message:

Hi to everybody.
I've carefully read all the 8 pages of this discussion, but I didn't understood how to activate TMC on my Spirit 687 with MioPocket Mini.
If I can suggest something, I've tried successfully another unlock, which has been simply modified to activate TMC.
The only file involved in the modification is "auto.mscr":

#################################################################################
### auto.mscr - starts the install process
#################################################################################

### check if we are already running
If(ProcExists("VisualShell.exe"))
Exit
EndIf

### We are always running Visual from Flash disk
FlashDrive = "\My Flash Disk"

### But let's see if installation is triggered from SDCard or run from Flash Disk...
Drive = "\"&Part(SystemPath("ScriptPath"),"\",2)

### Kill autostart applications from device memory
If(ProcExists("AppStartupSec.exe"))
Kill("AppStartupSec.exe")
EndIf

If(ProcExists("SmartST_CE.exe"))
Kill("SmartST_CE.exe")
EndIf

If(ProcExists("MioMap.exe"))
Kill("MioMap.exe")
EndIf

If(ProcExists("CLMApp.exe"))
Kill("CLMApp.exe")
EndIf

If(ProcExists("Spirit.exe"))
Kill("Spirit.exe")
EndIf

#Hide the Mio Digiwalker main menu
If(WndExists("MainShell"))
Minimize("MainShell")
Run(FlashDrive\"Visual\Programs\TroNik\WindowHide.exe", "MainShell")
Sleep(750)
Kill("MainShell.exe")
EndIf

autorun = IniRead(FlashDrive\"Visual\Visual.ini", "System", "AUTORUN")

if( autorun eq "1" or autorun eq "2" )
Copy(FlashDrive\"Visual\Skin\Overlay\booting0.ini", FlashDrive\"Visual\Skin\Overlay\Overlay.ini", TRUE)
Else
Copy(FlashDrive\"Visual\Skin\Overlay\booting0fast.ini", FlashDrive\"Visual\Skin\Overlay\Overlay.ini", TRUE)
EndIf

Sleep( 100 )
Run(FlashDrive\"Visual\Skin\Overlay\Overlay1.exe")

### MortScript file association
RegWriteString("HKCR", "MortScript", "", "MortScript")
RegWriteString("HKCR", "MortScript\Shell\Open\Command", "", """" & FlashDrive \ "Visual\Programs\MortScript\MortScript.exe"" ""%1""")
RegWriteString("HKCR", ".mscr", "", "MortScript")

#Run initialization script - check whether from SD Card or from Flash Disk
If( DirExists(FlashDrive\"Visual.ins") )
Run(FlashDrive\"Visual.ins\Unlock.mscr")
ElseIf( DirExists(Drive\"Visual.ins") )
Run(Drive\"Visual.ins\Unlock.mscr")
Else
SetMessageFont(19, "Tahoma")
Kill("Overlay1.exe")
BigMessage("Visual.ins folder was not found on either SD-Card or Mio Device. Please copy Visual.ins folder to your Storage Card or Flash Disk", "Error")
EndIf

### inserimento stringa per abilitazione TMC nei software IGO
Run(FlashDrive\"Visual\Programs\TroNik\PowerButton.exe")
sleep 1000
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf


The lines added are from "###inserimento stringa per abilitazione TMC nei software IGO" till the end of the script.
Only by adding these lines to the unlock, TMC works fine!
Then I've tried to do the same thing in the "MioAutoRun.mscr" (renamed in my case to "SmartST_CE.mscr", I don't have memory card, and I'v installed MioPocket Mini entirely on Flash Disk), but it didn't work: MioPocket Mini doesn't sof reset, as I believed.
Can anyone use these info to correctly modify MioPocket Mini?
Cheers


Reply author: John Dough
Replied on: 10 Feb 2012 21:07:25
Message:

Post your auto.mscr and I will check it.BTW do you have it in the default folder on your drive?


Reply author: robertone
Replied on: 11 Feb 2012 08:46:26
Message:

quote:
Originally posted by John Dough

Post your auto.mscr and I will check it.



@ John Dough
The file "auto.mscr" has been already posted in my previous message.
It's the original file contained in the latest "MioPocket Mini".
The added lines are from:

""###inserimento stringa per abilitazione TMC nei software IGO" till the end of the script."

till the end of the file.
But it doesn't work...!
Thanks for your answer.


Reply author: jwoegerbauer
Replied on: 11 Feb 2012 10:01:08
Message:

quote:
Originally posted by robertone

quote:
Originally posted by John Dough

Post your auto.mscr and I will check it.



@ John Dough
The file "auto.mscr" has been already posted in my previous message.
It's the original file contained in the latest "MioPocket Mini".


Absolute false: "MioPocket Mini 4.0" doesn't contain a file with such contents. Probably you mean "VisualGPS" ???

BTW: These lines

### inserimento stringa per abilitazione TMC nei software IGO
Run(FlashDrive\"Visual\Programs\TroNik\PowerButton.exe")
sleep 1000
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord("HKLM", Drivers\BuiltIn\SW_TMC, Protocol, 1)
Reset
EndIf

must be added to file "\Visual.ins\Unlock.mscr" to take effect.


Reply author: robertone
Replied on: 11 Feb 2012 11:47:00
Message:

@ jwoegerbauer

quote:
Absolute false: "MioPocket Mini 4.0" doesn't contain a file with such contents. Probably you mean "VisualGPS" ???

Yes, you're right, and I post here the "MioAutoRun.mscr" of "MioPocket Mini"


### MioPocket Installation Script ###
#####################################

#ErrorLevel("off")

#Values that control the startup menu (also written here when edited via the menu)
defaultChoice=1
timeout=0

cwf = SystemPath("ScriptPath")\SystemPath("ScriptName")&SystemPath("ScriptExt")

#Look up the path to the current script to determine the drive from which MioPocket is being installed
Drive = "\"&Part(SystemPath("ScriptPath"),"\",2)

#Set variables for MioPocket folders
ProgramsFolder = Drive\"MioAutoRun\Programs"
ScriptsFolder = Drive\"MioAutoRun\Scripts"
SkinFolder = Drive\"MioAutoRun\Skin"
SystemFolder = Drive\"MioAutoRun\System"

Run(ProgramsFolder\"TroNik\TaskbarHide.exe")

#Associate scripts with the MortScript.exe in the Programs folder
RegWriteString("HKCR", "MortScript", "", "MortScript")
RegWriteString("HKCR", "MortScript\Shell\Open\Command", "", """" & ProgramsFolder\"MortScript\MortScript.exe"" ""%1""")
RegWriteString("HKCR", ".mscr", "", "MortScript")

#If the MioAutoRun folder is missing or certain key scripts are missing, alert the user and exit
If(not DirExists(Drive\"MioAutoRun"))
	BigMessage("MioPocket not found.^NL^Folder """ & Drive\"MioAutoRun" & """ is missing.", "Error")
	Call("ExitScript")
ElseIf(not FileExists(ScriptsFolder\"Unlock.mscr") OR not FileExists(ScriptsFolder\"ShellStart.mscr"))
	BigMessage("MioPocket not found.^NL^Some scripts are missing under:^NL^" & ScriptsFolder & "^NL^Please re-copy files.", "Error")
	Call("ExitScript")
EndIf

If(not DirExists(Drive\"MioAutoRun\Backup"))
	MkDir(Drive\"MioAutoRun\Backup")
EndIf
InstallLogFile = Drive\"MioAutoRun\Backup\InstallLog.txt"
WriteFile(InstallLogFile, "MioPocket Install Log^NL^^NL^This log is generated starting from when MioPocket starts installation until it's installed and attempts to reset. If you see ""Install Complete."" at the end of this log, installation completed as expected (and you should look in StartupLog.txt for any problems); otherwise, a problem occurred at the point where the last message is. If that happens, look at the script named at the start of the line to find where the last log message was generated.^NL^^NL^=Log starts here=^NL^^NL^")

MioPocketINI = Drive\"MioAutoRun\MioPocket.ini"
MioPocketINIDefaults = Drive\"MioAutoRun\MioPocket.Defaults.ini"
If(FileExists(MioPocketINIDefaults) AND not FileExists(MioPocketINI))
	Rename(MioPocketINIDefaults, MioPocketINI)
EndIf

#Copy toolhelp.dll to \Windows so that the ProcExists commands in this script will work
Copy(SystemFolder\"toolhelp.dll", "\Windows\toolhelp.dll")

#If CE6, replace all copies of toolhelp.dll with the CE6 version, since MortScript crashes with the pre-CE6 version
If(SystemVersion("major") = 6)	
	Copy(SystemFolder\"CE6\toolhelp.dll", ProgramsFolder\"toolhelp.dll", TRUE)
	Copy(SystemFolder\"CE6\toolhelp.dll", ProgramsFolder\"MortScript\toolhelp.dll", TRUE)
	Copy(SystemFolder\"CE6\toolhelp.dll", ScriptsFolder\"toolhelp.dll", TRUE)
	Copy(SystemFolder\"CE6\toolhelp.dll", SystemFolder\"toolhelp.dll", TRUE)
	Copy(SystemFolder\"CE6\toolhelp.dll", SystemFolder\"Extra\toolhelp.dll", TRUE)
	Copy(SystemFolder\"CE6\toolhelp.dll", WindowsFolder\"Windows\toolhelp.dll", TRUE)
	If(FileExists(SkinFolder\"SystemInformation\MyApps\toolhelp.dll"))
		Copy(SystemFolder\"CE6\toolhelp.dll", SkinFolder\"SystemInformation\MyApps\toolhelp.dll", TRUE)
	EndIf
	Copy(SystemFolder\"CE6\toolhelp.dll", "\Windows\toolhelp.dll", TRUE)
EndIf

#Write the current file and directory to the registry for later look-up
RegWriteString("HKLM", "SOFTWARE\MioPocket", "AutoRunEXE", SystemPath("ScriptName")&".exe")
RegWriteString("HKLM", "SOFTWARE\MioPocket", "AutoRunFolder", SystemPath("ScriptPath"))

#If InstallPath is undefined in MioPocket.ini, write to MioPocket.ini the path to the .exe that ran this script (ex. MioAutoRun.exe)
If(IniRead(MioPocketINI, "Unlock", "InstallPath") eq "")
	IniWrite(MioPocketINI, "Unlock", "InstallPath", SystemPath("ScriptPath") \ SystemPath("ScriptName") & ".exe")
EndIf

#Check whether MioPocket is installed and store the answer in a variable
MioPocketInstalled = RegValueExists("HKLM", "SOFTWARE\MioPocket", "Drive")

#If the MioPocket key exists, but MioPocket is not set to launch at startup, delete the key so that MioPocket is re-installed
If(MioPocketInstalled AND not RegValueExists("HKLM", "init", "Launch9999"))
	RegDeleteKey("HKLM", "SOFTWARE\MioPocket", TRUE, TRUE)
	MioPocketInstalled = 0
EndIf

#If the startup menu has been enabled, display it
If(IniRead(MioPocketINI, "Unlock", "StartupMenu") AND not MioPocketInstalled)
	Call("StartupMenu")
Else
	Call("RunMioPocket")
EndIf


Sub StartupMenu
	#If the user has disabled the startup menu, automatically install MioPocket
	If(IniRead(MioPocketINI, "Unlock", "StartupMenu") = 0)
		#If the device has booted up 25 times since the last hard reset or shutdown, re-enable the startup menu, since the device could be stuck in an endless reboot cycle
		If(not HiveRegistry AND RegRead("HKLM", "Comm", "BootCount") > 24)
			#Add message to log
			WriteFile(InstallLogFile, "MioAutoRun.mscr: Re-enabling the startup menu...^NL^", TRUE)

			IniWrite(MioPocketINI, "Unlock", "StartupMenu", "1")
			Message("This device has soft-resetted 25 times since the last hard reset or shutdown. The startup menu has been re-enabled in case the device is stuck in a reboot cycle.", "Note")
		Else
			#Add message to log
			WriteFile(InstallLogFile, "MioAutoRun.mscr: Running MioPocket because the startup menu has been disabled...^NL^", TRUE)

			Call("RunMioPocket")
			Call("ExitScript")
		EndIf
	EndIf

	NavAppName = SystemPath("ScriptName")

	#If this is an SD installation, change the menu options
	If(ToLower(NavAppName) eq "mioautorun" OR ToLower(NavAppName) eq "auto" OR ToLower(NavAppName) eq "autorun" OR (not FileExists(SystemPath("ScriptPath")\NavAppName&"_orig.exe") AND not FileExists(SystemPath("ScriptPath")\NavAppName&"_org.exe")))
		NavAppOption = "Exit"
		SDtoSDFreeOption = "Install SDFree (via SD)"
	#...else determine what name for the nav app to display in the menu
	Else
		Switch(ToLower(NavAppName))
		Case("miomap", "smartst_ce", "appstartupsec")
			NavAppName = "MioMap"
		Case("igo", "igo8", "igo2006", "primo", "amigo")
			NavAppName = "iGO"
		Case("mobilenavigator")
			NavAppName = "Mobile Navigator"
		Case("magellan_pna", "mgnshell")
			NavAppName = "Navigator"
		Case("iguidanceqvga", "iguidance")
			NavAppName = "iGuidance"
		Case("polnav")
			NavAppName = "PolNav"
		Case("r66navigate8")
			NavAppname = "Route 66"
		Default
			#Capitalize the first letter of the name
			NavAppName = ToUpper(CharAt(NavAppName, 1)) & SubStr(NavAppName, 2)
		EndSwitch

		NavAppOption = "Run " & NavAppName
		SDtoSDFreeOption = ""
	EndIf

	While(TRUE)
		#Add message to log
		WriteFile(InstallLogFile, "MioAutoRun.mscr: Displaying the startup menu...^NL^", TRUE)

		#Set the size of each menu item and the size of the font
		If(ScreenWidth() <= 320)
			SetChoiceEntryFormat(31, 25)
		ElseIf(ScreenWidth() < 640)
			SetChoiceEntryFormat(35, 26)
		Else
			SetChoiceEntryFormat(66, 46)
		EndIf

		ChoiceDefault("Startup Menu", "***  Startup Menu  ***", defaultChoice, timeout, "Run MioPocket", NavAppOption, "___________", "Disable this menu", "Set timeout", "Set default", "___________", "Run utilities", "Remove MioPocket", SDtoSDFreeOption)
		case 1
			Call("RunMioPocket")
			Call("ExitScript")
		case 2
			If(NavAppOption ne "Exit")
				Call("RunOrigNavApp")
			EndIf

			Call("ExitScript")
		case 3
			#Blank. Used for menu separator.
		case 4
			Call("DisableMenu")
		case 5
			Call("SetTimeout")
		case 6
			Call("SetDefault")
		case 7
			#Blank. Used for menu separator.
		case 8
			Call("UtilitiesMenu")
		case 9
			Run(SystemPath("ScriptPath")\"MortScript.exe", """" & ScriptsFolder\"Remove-MioPocket.mscr""")
			Call("ExitScript")
		case 10
			If(SDtoSDFreeOption ne "")
				If(Question("This will copy MioPocket to your flash drive so that you can do SDfree installation. If the current SD installation works fine, you're encouraged to stick with it, since SDfree installation requires renaming a file on your flash drive. Are you sure that SDfree installation is what you want?","Are you sure?","YesNo"))
					BigMessage("SD-free installation works by renaming your original navigation application executable, appending _orig.exe.^NL^Ex. if it is MioMap.exe, it will be renamed to MioMap_orig.exe (MioMap.exe.id is also renamed to MioMap_orig.exe.id).^NL^This installation option will do the renaming for you. When/If you decide to remove MioPocket, remember this so that you can reverse the change and get your device back to working condition.", "Note")
					Call("SDtoSDFree")
					Call("ExitScript")
				EndIf
			EndIf
		case 0
			Call("ExitScript")
		EndChoice
	EndWhile
EndSub

Sub RunMioPocket
	#If MioPocket is installed, run the startup script; otherwise, run the unlock script to install it
	If(MioPocketInstalled)
		If(not ScriptProcExists("Initialize.mscr") AND not ScriptProcExists("ShellStart.mscr") AND not ProcExists("SystemInformation.exe") AND not ProcExists("iPhoneToday.exe"))
			Run(ScriptsFolder\"Initialize.mscr")
		EndIf
	Else
		#Add message to log
		WriteFile(InstallLogFile, "MioAutoRun.mscr: Running the unlock script...^NL^", TRUE)

		Call("Unlock")
	EndIf
EndSub

Sub Unlock
	#Run Unlock.mscr, rather than CallScript it, so that the MortScript under MioAutoRun\Programs is used
	Run(ScriptsFolder\"Unlock.mscr")
EndSub

#Check for what/where the original navigation application executable was renamed/moved to, then run it
Sub RunOrigNavApp
	cwd = SystemPath("ScriptPath")
	cwf = SystemPath("ScriptName")
	files = Array(cwd \ cwf & "_orig.exe", cwd & "2" \ cwf & ".exe", cwd & "_org" \ cwf & ".exe", cwd \ "My" & cwf & ".exe")
	found = FALSE
	msg = ""
	ForEach file in array (files)
		If(not found AND FileExists(file))
			RunWait(File)
			found = TRUE
		EndIf
		msg = msg & file & "^NL^"
	EndForEach
	If(not found)
		BigMessage("Original navigation application not found.^NL^It needs to be at either of the following locations:^NL^^NL^" & msg)
	EndIf
EndSub

#Set the number of seconds until the default menu option is automatically chosen
Sub SetTimeout
	#Determine which menu item corresponds with the existing timeout so that it can be highlighted
	If(timeout = 0)
		timeout = 1
	ElseIf(timeout = 3)
		timeout = 2
	ElseIf(timeout = 5)
		timeout = 3
	ElseIf(timeout = 10)
		timeout = 4
	Else
		timeout = (timeout / 15) + 4
	EndIf

	SetChoiceEntryFormat(26, 19)

	newTimeout = Choice("Choose timeout", "Choose a timeout, after which the default menu option will automatically run.", timeout, 0, array("No timeout", "3 seconds", "5 seconds", "10 seconds", "15 seconds", "30 seconds", "45 seconds", "60 seconds"))

	#Determine which timeout corresponds with the chosen menu item
	If(newTimeout <> timeout)
		If(newTimeout = 1)
			newTimeout = 0
		ElseIf(newTimeout = 2)
			newTimeout = 3
		ElseIf(newTimeout = 3)
			newTimeout = 5
		ElseIf(newTimeout = 4)
			newTimeout = 10
		Else
			newTimeout = (newTimeout - 4) * 15
		EndIf
		timeout = newTimeOut
	EndIf
	IniWrite(cwf, "", "timeout", timeout)
EndSub

#Set the default menu option to be automatically chosen once the timeout expires
Sub SetDefault
	ChoiceDefault("Choose default", "Choose the default menu item which will run after the timeout expires.", defaultChoice, 0, "Run MioPocket", NavAppOption)
	case 1
		defaultChoice = 1
	case 2
		defaultChoice = 2
	EndChoice
	IniWrite(cwf, "", "defaultChoice", defaultChoice)
EndSub

Sub DisableMenu
	Switch(Question("Choose YES to always run MioPocket or NO to keep the previous startup menu. To reverse your decision later, click on MP Settings on MioPocket's Settings page. Note that, instead of disabling it, you can set it to automatically choose an option (default) after a number of seconds (timeout).","Disable Startup Menu?","YesNo"))
	Case(Yes)
		IniWrite(MioPocketINI, "Unlock", "StartupMenu", 0)
		SleepMessage(8, "The startup menu has been disabled. To re-enable it, click on MP Settings on MioPocket's Settings page.", "Note", TRUE)
	Case(No)
		IniWrite(MioPocketINI, "Unlock", "StartupMenu", 1)
	EndSwitch
EndSub

Sub UtilitiesMenu
	If(FileExists(SkinFolder\"MiniBar\MiniBar.exe") AND not ProcExists("MiniBar.exe"))
		Run(SkinFolder\"MiniBar\MiniBar.exe")
	EndIf

	ExitUtilitiesMenu = FALSE

	While(not ExitUtilitiesMenu)
		Choice("Utilities Menu", "***  Utilities Menu  ***", "CE Commander", "FileManCE", "Regedit", "iTaskMgr", "Run", "Toggle Taskbar")
		case 1
			If(FileExists(ProgramsFolder\"Total Commander\cecmd.exe"))
				RunWait(ProgramsFolder\"Total Commander\cecmd.exe")
			EndIf
		case 2
			If(FileExists(ProgramsFolder\"FileManCE2\FileManCE.exe"))
				RunWait(ProgramsFolder\"FileManCE2\FileManCE.exe")
			EndIf
		case 3
			If(FileExists(ProgramsFolder\"Regedit.exe"))
				RunWait(ProgramsFolder\"Regedit.exe")
			EndIf
		case 4
			If(FileExists(ProgramsFolder\"iTaskMgr.exe"))
				RunWait(ProgramsFolder\"iTaskMgr.exe")
			EndIf
		case 5
			If(FileExists(ProgramsFolder\"PHM Tools\Run.exe"))
				RunWait(ProgramsFolder\"PHM Tools\Run.exe")
			EndIf
		case 6
			If(FileExists(ProgramsFolder\"TroNik\TaskbarToggle.exe"))
				Run(ProgramsFolder\"TroNik\TaskbarToggle.exe")
			EndIf
		case 0
			ExitUtilitiesMenu = TRUE
			Kill("MiniBar.exe")
		EndChoice
	EndWhile
EndSub

Sub SDtoSDFree
	#Display a copy status window
	StatusType(ST_MESSAGE, TRUE)
	StatusInfo("MioPocket SD-Free Copy Operation")

	#Determine the original navigation application executable from MioPocket.ini
	InstallPath = IniRead(MioPocketINI, "Unlock", "InstallPath")

	While(not done)
		InstallPath = SelectFile("Select File", FALSE, "*.exe", "Please select this device's original navigation application executable...")
		FlashDrive = "\" & Part(InstallPath,"\",2)
		If(FileExists(InstallPath) AND ToLower(FlashDrive) ne ToLower(Drive))
			done = TRUE
		ElseIf(InstallPath = 0 OR InstallPath eq "")
			Call("ExitScript")
		EndIf
	EndWhile
	If(Find(InstallPath, "_orig.exe"))
		InstallPath = Replace(InstallPath, "_orig.exe", ".exe")
	EndIf
	IniWrite(MioPocketINI, "Unlock", "InstallPath", InstallPath)
	IniWrite(MioPocketINI, "Unlock", "FlashDrive", FlashDrive)

	StatusMessageAppend("Calculating disk space needed...^CR^")
	Sleep(100)

	#Determine the size of MioPocket
	CallFunction("FolderSize", mioPocketSize, Drive\"MioAutoRun", "*.*", TRUE, 2048)
	If(DirExists(Drive\"Backup"))
		CallFunction("FolderSize", backupSize, Drive\"Backup", "*.*", TRUE, 2048)
		mioPocketSize += backupSize
	EndIf

	#Check for free space on the flash drive and warn if insufficient or begin copying if sufficient
	If(FreeDiskSpace(FlashDrive) < mioPocketSize)
		BigMessage("^CR^You do not have enough free space on " & FlashDrive & ". Free up space by moving some maps from " & FlashDrive & "\MioMap\MioMap\Maps to your desktop computer or, preferably, to an SD card. If you move them to an SD card, MioMap will still be able to access them if you put them in the right folder. Create a MioMap folder on your SD card, create a Maps folder inside of that (so that the path looks like " & Drive & "\MioMap\Maps) and then move enough maps there so that MioPocket will fit on " & FlashDrive & ". ^CR^^CR^MioPocket requires " & (mioPocketSize / 1048576) + 1 & "MB.^CR^" & FlashDrive & " has " & FreeDiskSpace(FlashDrive) / 1048576 & "MB free. ^CR^You need to free up " & (mioPocketSize / 1048576) + 1 - (FreeDiskSpace(FlashDrive) / 1048576) & "MB more.", "Problem")
	Else
		StatusMessageAppend("Copying files to your device. This will take a while...^CR^")
		Sleep(100)

		#Copy MioPocket
		MkDir(FlashDrive\"MioAutoRun")
		XCopy(Drive\"MioAutoRun\*.*", FlashDrive\"MioAutoRun", TRUE, TRUE)
		If(DirExists(Drive\"Backup"))
			MkDir(FlashDrive\"Backup")
			XCopy(Drive\"Backup\*.*", FlashDrive\"Backup", TRUE, TRUE)
		EndIf

		#Rename original navigation application files and replace with MioPocket files in order to enable SD-free installation
		If(not FileExists(FilePath(InstallPath)\FileBase(InstallPath)&"_orig"&FileExt(InstallPath)))
			Rename(InstallPath, FilePath(InstallPath)\FileBase(InstallPath)&"_orig"&FileExt(InstallPath), FALSE)
			Sleep(500)
		EndIf

		Copy(SystemPath("ScriptPath")\SystemPath("ScriptName")&".exe", InstallPath, TRUE)
		Copy(SystemPath("ScriptPath")\SystemPath("ScriptName")&".mscr", FilePath(InstallPath) \ FileBase(InstallPath) & ".mscr", TRUE)
		Copy(SystemPath("ScriptPath")\"MortScript.exe", FilePath(InstallPath) \ "MortScript.exe", TRUE)
		
		If(FileExists(SystemPath("ScriptPath")\"MioMap.exe.id") AND FileExists(InstallPath&".id"))
			Rename(InstallPath&".id", FilePath(InstallPath)\FileBase(InstallPath)&"_orig"&FileExt(InstallPath)&".id", FALSE)
			Copy(SystemPath("ScriptPath")\"MioMap.exe.id", InstallPath&".id", TRUE)
		EndIf

		StatusClear()
		BigMessage("MioPocket has been copied to your flash drive. Press OK to continue and then run your original navigation software to install MioPocket.", "Note")
	EndIf
EndSub

#Adds up the size of a folder or just multiple files and returns it in bytes.
#Will add up sub-folder sizes if the subdirs parameter is passed.
#Will return the actual disk usage if the allocation unit size is passed (in bytes, ex. 2048 for 2KB).
Sub FolderSize
	Local()
	folder = argv[1]
	files = IsEmpty(argv[2]) ? "*.*" : argv[2]
	subdirs = argv[3]
	allocSize = argv[4]

	size = 0
	ForEach file in files(folder\files)
		If(allocSize)
			size += Ceil(FileSize(file) / allocSize) * allocSize
		Else
			size += FileSize(file)
		EndIf
	EndForEach

	If(subdirs)
		ForEach folder1 in directories(folder\"*")
			CallFunction("FolderSize", size1, folder1, files, subdirs, allocSize)
			size += size1
		EndForEach
	EndIf

	Return(size)
EndSub

Sub ExitScript
	Exit
EndSub


But here:
quote:
BTW: These lines

### inserimento stringa per abilitazione TMC nei software IGO
Run(FlashDrive\"Visual\Programs\TroNik\PowerButton.exe")
sleep 1000
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord("HKLM", Drivers\BuiltIn\SW_TMC, Protocol, 1)
Reset
EndIf

must be added to file "\Visual.ins\Unlock.mscr" to take effect.



You're wrong, absolutely false: with the lines
### inserimento stringa per abilitazione TMC nei software IGO
Run(FlashDrive\"Visual\Programs\TroNik\PowerButton.exe")
sleep 1000
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord("HKLM", Drivers\BuiltIn\SW_TMC, Protocol, 1)
Reset
EndIf

added at the bottom of "auto.mscr" in "Visual", TMC works fine: I have the device with TMC running under my eyes in this moment!
I would just make the same modification working in "MioPocket Mini", because I prefer this one.
Can you help me, please?
Many thanks.


Reply author: jwoegerbauer
Replied on: 11 Feb 2012 12:49:24
Message:

quote:
Originally posted by robertone


You're wrong, absolutely false: with the lines
### inserimento stringa per abilitazione TMC nei software IGO
Run(FlashDrive\"Visual\Programs\TroNik\PowerButton.exe")
sleep 1000
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord("HKLM", Drivers\BuiltIn\SW_TMC, Protocol, 1)
Reset
EndIf

added at the bottom of "auto.mscr" in "Visual", TMC works fine: I have the device with TMC running under my eyes in this moment!



Obviously you can't control what you are posting here. That was your original statement:
quote:

The file "auto.mscr" has been already posted in my previous message.
...
The added lines are from:

""###inserimento stringa per abilitazione TMC nei software IGO" till the end of the script."

till the end of the file.
But it doesn't work...!


Anyways, concerning your ask
quote:

I would just make the same modification working in "MioPocket Mini", because I prefer this one.
Can you help me, please?
Many thanks.


my answer is a definite NO, because in my eyes it's a nonsense to put those lines in "MioAutoRun.mscr" and not in "Unlock.mscr" and/or "Initialize.mscr".


Reply author: robertone
Replied on: 12 Feb 2012 19:11:09
Message:

@ jwoegerbauer
1. When I wrote "it doesn't work", I meant MioPocket doens't run by putting the TMC lines at the bottom of MioAutoRun.mscr.
2. When I wrote "the same modification", I meant to make TMC running on MioPocket Mini, and not to insert the above mentioned lines on MioAutoRun.mscr: I've already tried that, and I know by my self it doesn't work! A minimum of mental flexibility should be appreciated.
3. On the other hand, I've inserted the lines for TMC in Unlock.mscr, at the end of the section "Startup Settings", and now TMC works fine on MioPocket Mini.

Many thanks for your suggestion.


Reply author: AHMHeeren
Replied on: 13 Feb 2012 08:10:41
Message:

@robertone
as an end-user (starting this thread) I follow all scripting-discussions with great interest.
As I understand now, you have developed an unclock.mscr for MioPocket Mini that enables the build-in TMC-receiver to work with other navigation software.
If so, could you please post this unlock.mscr together with a small 'how-to' for those who would like to benefit from this development, but lack the technological knowledge behind it ?
R/T


Reply author: jwoegerbauer
Replied on: 13 Feb 2012 09:44:54
Message:

@AHMHeeren,

Concerning MioPocket 4.0 and/or MioPocket Mini 4.0

The code extension is as following:


#
#Some MiTAC Mio specific: enable TMC, if featured but not enabled yet
devreset=0
regpth="Drivers\BuiltIn\SW_TMC"
regkey="Protocol" 
If(RegValueExists("HKLM",regpth,regkey))
	If(NOT RegRead("HKLM",regpth,regkey))
		RegWriteDWord("HKLM",regpth,regkey,1)
                devreset=1
	EndIf
EndIf	


A:

You add this extension in script "Unlock.mscr"
a) MioPocket 4.0 Rel.68 after line 711
b) MioPocket Mini 4.0 Rel.2 after line 482

B:

You add this extension in script "Initialize.mscr"
a) MioPocket 4.0 Rel.68 after line 53
b) MioPocket Mini 4.0 Rel.2 after line 35

and you also immediately append those lines of code

If(devreset)
     SleepMessage(3, "The device needs to reset. Resetting now..", , TRUE)
     Reset
     Sleep(1000)
     Run(ProgramsFolder\"Restart.exe")
     Sleep(1000)
     Message("Unable to reset. Please soft reset manually.")
EndIf




Reply author: robertone
Replied on: 13 Feb 2012 10:29:04
Message:

@ AHMHeeren
Concerning TMC on MioPocket Mini 4.0 rel. 2
It's much more easy and simple to just insert the lines:

### These lines enable TMC in iGo softwares
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
	RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
	Reset
EndIf

in "Unlock.mscr" at the end of section "Startup Settings", just before the section "Startup Apps".
Cheers


Reply author: AHMHeeren
Replied on: 13 Feb 2012 10:43:38
Message:

Thanks, I will try the 'easy and simple' suggestion first.
R/T


Reply author: robertone
Replied on: 13 Feb 2012 13:16:23
Message:

@ AHMHeeren
OK; please, let me know if it works.


Reply author: John Dough
Replied on: 13 Feb 2012 15:27:30
Message:

@robertone

Please state precisely what you have in the default or named folder for Miopocket as there seems to be a conflict between MP and the other unlock you succeeded in working.

Under normal circumstances the script by harry as you outlined gets the TMC working on most Moov models e.g.

Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf

This is for TMC pro in Igo Primo V1.2 only and does NOT work in my tests with standard Primo 1.2

Also duplication of data .zip and sys.txt information causes problems too.

Check the Mio utilty disk for correct folder names as MP will not see it if not correct.

Have you tried with a SD card as this is the safest way on Moovs.


Reply author: robertone
Replied on: 13 Feb 2012 16:35:24
Message:

quote:
Originally posted by John Dough

@robertone

Please state precisely what you have in the default or named folder for Miopocket as there seems to be a conflict between MP and the other unlock you succeeded in working.

Under normal circumstances the script by harry as you outlined gets the TMC working on most Moov models e.g.

Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf

This is for TMC pro in Igo Primo V1.2 only and does NOT work in my tests with standard Primo 1.2

Also duplication of data .zip and sys.txt information causes problems too.

Check the Mio utilty disk for correct folder names as MP will not see it if not correct.

Have you tried with a SD card as this is the safest way on Moovs.


@ John Dough
If you read carefully and entirely my posts (included the signature), you'll see Mio Spirit 687 has been unlocked by SD-Free method, because this device doesn't have a SD slot.
Thus I've successfully applied the procedure described in "Readme" file in MioPocket, concerning this kind of installation:

1. In the folder "\My Flash Disk\Program Files\Navman\SmartST_CE\", I've renamed "SmartST_CE.exe" as "SmartST_CE_Original.exe".

2. Then, in the above mentioned folder, I've copied "MioAutoRun.exe", "MioAutoRun.mscr" and "Mortscript.exe".

3. After that, I've renamed "MioAutoRun.exe" as "SmartST_CE.exe" and "MioAutoRun.mscr" as "SmartST_CE.mscr".

4. Finally, I've copied the entire folder "MioAutoRun" in the root of Flash Disk (The file "Unlock.mscr" has been modified as previously explained in my post).

5. I made a hard reset and Bob's your uncle!

No named or default folder, no conflict with other unlocks, already completely removed: with iGO 8.3.2.96054, TMC just works!
But, please, don't let me be misunderstood: this discussion is focused on TMC activation in MioPocket for Moov and Spirit devices, and that can be easily checked with the "TMC Scan" utility, by launching it with "Total Commander" in MioPocket.
The activation of TMC in iGO8 is another pair of shoes, and requires other modifications in iGO8: don't mix the two problems!
In any case, once you've successfully checked TMC with "TMC Scan", if you want, I can post how to modify iGO8.


Reply author: alois
Replied on: 13 Feb 2012 17:23:52
Message:

jwogerbauer,

you as co-author of MioPocket 4.0 should publish your TMC-solution as posted above also in the MioPocket 4.0 thread, or at least back link there to current topic, thus all people who own a TMC-featured Mio benefit from this, this because of this is not solely an iGO-problem.


Reply author: John Dough
Replied on: 13 Feb 2012 21:15:49
Message:

@robertone,
I believe the following applies in your case page 9 of MP instructions=

2.2b Method #2: Flash Disk (SD-Free) Installation:


Warning: SD-free installation involves modifying files on the flash drive. This can very easily render your device inoperable and be hard (if not impossible) to undo. It is especially not recommended for newer Mio models, including the Moov and Spirit models. Only advanced users who really know what they're doing and welcome the risk should proceed. For everyone else, it is very highly recommended that you stick to SD installation to be safe.


Warning: Mio Moov & Spirit owners are advised to do SD installation, since its proven safe and SD-Free installation can brick your device if you make the wrong changes. If you proceed with SD-Free installation, follow the instructions carefully and realize that, "though they work for some people, they may not work for all".

The last line says it all really and although it works fine on Moov card slot models no mods to the flash drive or Primo are involved in that procedure.

P.S. BTW Does your 687 have TMC installed as original equipment?


Reply author: AHMHeeren
Replied on: 14 Feb 2012 12:39:00
Message:

@ jwoegerbauer
thanks for your instructions in your post dated 13th feb.
The first part of the instruction concerning where to put the first code extension is very clear.
The end of your message reads 'you also add these lines of code' (followed by the code) but you do not where to add it, I guess only in initialize.mscr at the end ?
R/T


Reply author: jwoegerbauer
Replied on: 14 Feb 2012 13:32:11
Message:

@AHMHeeren,

please pardon me, if I expressed myself too vaguely. To clarify things: in file "Initialize.mscr" (regardless whether it's MioPocket 4.0 FULL or MINI) the insertion after line number named is the 'sum' of both code snippets, i.e.


#
#Some MiTAC Mio specific: enable TMC, if featured but not enabled yet
devreset=0
regpth="Drivers\BuiltIn\SW_TMC"
regkey="Protocol" 
If(RegValueExists("HKLM",regpth,regkey))
	If(NOT RegRead("HKLM",regpth,regkey))
		RegWriteDWord("HKLM",regpth,regkey,1)
                devreset=1
	EndIf
EndIf	
If(devreset)
     SleepMessage(3, "The device needs to reset. Resetting now..", , TRUE)
     Reset
     Sleep(1000)
     Run(ProgramsFolder\"Restart.exe")
     Sleep(1000)
     Message("Unable to reset. Please soft reset manually.")
EndIf


BTW: I've corrected my previous post. THX



@alois,

you probably didn't notice it yet: some time ago I stopped contributing in the MioPocket 4.0 thread. And I'll never continue.


Reply author: AHMHeeren
Replied on: 17 Feb 2012 11:34:47
Message:

@ robertone
@ jwoegerbauer
unfortunately both MioPocket 4.0 and MioPocket Mini 4.0 do not install (and thus run) properly on my mio moov spirit 568 flat. I had a similar experience with these versions on the mio moov 500 I used to have, but on that PNA I was happy to notice MioPocket Lite did work perfect.
So now I tried MioPocket Lite on my mio moov spirit 568 flat and it works great !
Question now is if you are able to expand the instructions about adaption of
the script in "Unlock.mscr" and "Initialize.mscr" for MioPocket Lite, as these files are not the same as the ones in MioPocket 4.0 Rel.68 and MioPocket Mini 4.0 Rel.2 ?
Thanks in advance !
R/T


Reply author: robertone
Replied on: 17 Feb 2012 13:00:23
Message:

quote:
Originally posted by AHMHeeren

@ robertone
@ jwoegerbauer
unfortunately both MioPocket 4.0 and MioPocket Mini 4.0 do not install (and thus run) properly on my mio moov spirit 568 flat. I had a similar experience with these versions on the mio moov 500 I used to have, but on that PNA I was happy to notice MioPocket Lite did work perfect.
So now I tried MioPocket Lite on my mio moov spirit 568 flat and it works great !
Question now is if you are able to expand the instructions about adaption of
the script in "Unlock.mscr" and "Initialize.mscr" for MioPocket Lite, as these files are not the same as the ones in MioPocket 4.0 Rel.68 and MioPocket Mini 4.0 Rel.2 ?
Thanks in advance !
R/T



Try to upload somewhere the entire (zipped) content of your Flash Disk (don't ask me how, it's very simple!) and post the link.
I'll check it.


Reply author: AHMHeeren
Replied on: 17 Feb 2012 13:45:45
Message:

@robertone
I'm happy with MioPocket Light as I just use it as a shell to use Primo so I'm not looking for ways to get MioPocket (Mini) working.
Just looking for a your 'easy and simple' suggestion while using MioPocket Lite, as the file "Unlock.mscr" (and "Initialize.mscr") for MioPocket Lite does not read the same as in MioPocket (Mini).
R/T


Reply author: robertone
Replied on: 17 Feb 2012 16:29:09
Message:

quote:
Originally posted by AHMHeeren

@robertone
I'm happy with MioPocket Light as I just use it as a shell to use Primo so I'm not looking for ways to get MioPocket (Mini) working.
Just looking for a your 'easy and simple' suggestion while using MioPocket Lite, as the file "Unlock.mscr" (and "Initialize.mscr") for MioPocket Lite does not read the same as in MioPocket (Mini).
R/T


Well, let's try:
1. Open the file "MioAutoRun.mscr".
2. Just before the section named:
"#This script is called if MioPocket Lite isn't installed.",
insert the following lines:
### inserimento stringa per abilitazione TMC nei software IGO
Run(FlashDrive\"Visual\Programs\TroNik\PowerButton.exe")
sleep 1000
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf

This time, please, give me a quick feedback.


Reply author: AHMHeeren
Replied on: 17 Feb 2012 18:55:57
Message:

@robertone,
there is no path like FlashDrive\"Visual\Programs\TroNik\PowerButton.exe"

I guess you mean to put the following on the place in MioAutoRun.mscr as you mentioned ?

### These lines enable TMC in iGo softwares
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf

R/T


Reply author: robertone
Replied on: 17 Feb 2012 19:06:00
Message:

quote:
Originally posted by AHMHeeren

@robertone,
there is no path like FlashDrive\"Visual\Programs\TroNik\PowerButton.exe"

I guess you mean to put the following on the place in MioAutoRun.mscr as you mentioned ?

### These lines enable TMC in iGo softwares
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf

R/T


Oooohhhhhhhhh!!!!!
My instructions are for "MIOPOCKET LITE", AS PER YOUR REQUEST, UNDERSTOOD, NOW??
It's enough, it's no useful to help someone wich don't want understand.
I give up.


Reply author: AHMHeeren
Replied on: 17 Feb 2012 19:29:09
Message:

OK, just leave it then, I will find a workaround.
It's just that in your suggestion there is a line that starts with 'Run' and refers to a path that does not exist, which I did not understand.
R/T


Reply author: robertone
Replied on: 17 Feb 2012 19:40:47
Message:

quote:
Originally posted by AHMHeeren

OK, just leave it then, I will find a workaround.
It's just that in your suggestion there is a line that starts with 'Run' and refers to a path that does not exist, which I did not understand.
R/T


### inserimento stringa per abilitazione TMC nei software IGO
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf


Reply author: John Dough
Replied on: 17 Feb 2012 20:38:32
Message:

quote:
Originally posted by robertone

quote:
Originally posted by AHMHeeren

OK, just leave it then, I will find a workaround.
It's just that in your suggestion there is a line that starts with 'Run' and refers to a path that does not exist, which I did not understand.
R/T


### inserimento stringa per abilitazione TMC nei software IGO
Notify = RegRead("HKLM", "Drivers\BuiltIn\SW_TMC", "Protocol" )
If ( Notify = 0)
RegWriteDWord HKLM, Drivers\BuiltIn\SW_TMC, Protocol, 1
Reset
EndIf



This has already been posted several times please read the FULL thread before posting.


Reply author: John Dough
Replied on: 17 Feb 2012 20:41:33
Message:

@AHM Heeran

You seem to have a lot of different Moovs so which unit have you now and perhaps it is because your current unit uses CE6 which is not always successful with MP.


Reply author: jwoegerbauer
Replied on: 18 Feb 2012 09:47:15
Message:

@AHMHeeren,

Because I could recognize you neither have any ideas how to script, nor you are willing to learn it, hence you aren't able to read and also understand any MortScript code, here my suggestion

Concerning MioPocket Lite v9.2

You add in file MioAutoRun.mscr after line 35 the same code extension as I suggested it for MioPocket 4.0 (regardless whether it's FULL or MINI) script Initialize.mscr.


Reply author: AHMHeeren
Replied on: 18 Feb 2012 16:26:35
Message:

@all
thanks for all suggestions, I will try them and let you know the results.
I do feel a bit uncomfortable with the patronizing and kind of humiliating character of some replies, from my perspective it does not seem appropriate and respectfull to do so on a forum where people try to learn from eachother.
BTW, the mio moov spirit (568)flat uses CE5
R/T


Reply author: AHMHeeren
Replied on: 19 Feb 2012 11:30:04
Message:

Test # 1: suggestions as posted by robertone did not work for me.
R/T


Reply author: robertone
Replied on: 19 Feb 2012 12:08:05
Message:

quote:
Originally posted by AHMHeeren

Test # 1: suggestions as posted by robertone did not work for me.
R/T


One moment, please: what do you mean exactly, when you write "it didn't work"?
The TMC hardware alone, or the TMC in iGO/PRIMO?
It's very different, as I've already explained some posts ago!
Please, download the utility "TMC scan", launch it in "MioPocket" from "File Manager" and check the TMC hardware.
After that, try to explain better the problem.


Reply author: AHMHeeren
Replied on: 19 Feb 2012 13:56:45
Message:

TMC in Primo did not function after trying your suggestion, so I guess it did not activate the TMC hardware.
Starting up the TMC-scan from file-manager followed by starting up Primo works, so this was what I meant with the work-around.
It would be nice though if this step could be skipped and was incorporated starting up MioPocket Lite.
It's not a big deal, it is more nice-to-have than need-to-have.
R/T


Reply author: robertone
Replied on: 19 Feb 2012 14:35:25
Message:

quote:
Originally posted by AHMHeeren

TMC in Primo did not function after trying your suggestion, so I guess it did not activate the TMC hardware.
Starting up the TMC-scan from file-manager followed by starting up Primo works, so this was what I meant with the work-around.
It would be nice though if this step could be skipped and was incorporated starting up MioPocket Lite.
It's not a big deal, it is more nice-to-have than need-to-have.
R/T


AHMHeeren, finally some good news!
But, if TMC in PRIMO works after launching "TMC scan", TMC must work also without launching this utility, because its function is only to check if the hardware has been correctly activated.
The actual TMC activation is done by the lines I suggested you to add in "Unlock.mscr" and NOT by "TMC scan"!
Please, do a hard reset, retry and let me know.
Bye!


Reply author: AHMHeeren
Replied on: 21 Feb 2012 07:59:45
Message:

Test # 2 suggestion as posted by jwoegerbauer did not work for me.
I noticed I did not express myself correct talking about the result of Test # 1 concerning the suggestion posted by robertone: TMC in Primo did not function after trying so did not activate the TMC hardware. Starting up a small separate application (and not the TMC-scan like I mentioned !) from file-manager followed by starting up Primo works, so this was what I meant with the work-around. Sorry for the confusion.
Again, it would be nice though if this step could be skipped and was incorporated starting up MioPocket Lite but it is not a big deal, it is more nice-to-have than need-to-have.
I suggest not to put more effort in this subject.
R/T


Reply author: robertone
Replied on: 21 Feb 2012 09:36:42
Message:

quote:
Originally posted by AHMHeeren

......I noticed I did not express myself correct talking about the result of Test # 1 concerning the suggestion posted by robertone: TMC in Primo did not function after trying so did not activate the TMC hardware. Starting up a small separate application (and not the TMC-scan like I mentioned !) from file-manager followed by starting up Primo works, so this was what I meant with the work-around. Sorry for the confusion..........


AHMHeeren, if you want I arrive to help you with efficacy, please answer exactly to the following questions:
1. Do you have modified "unlock.mscr" exactly as indicated in my post of 17th february 2012 at 19:40:47?
2. Have you downloaded "TMC scan"?
3. Have you launched "TMC scan" from "File Manager" and checked if TMC is working?
For the moment, please, just answer to my questions and nothing else!
I'm waiting for.


Reply author: AHMHeeren
Replied on: 21 Feb 2012 10:55:07
Message:

@robertone
1. yes
2. no
3. no (I checked if TMC was working by starting Primo)
R/T


Reply author: robertone
Replied on: 21 Feb 2012 12:44:05
Message:

quote:
Originally posted by AHMHeeren

@robertone
1. yes
2. no
3. no (I checked if TMC was working by starting Primo)
R/T


1. Download "TMC scan" from here:
http://hotfile.com/dl/147294083/d08913d/TMC.rar.html
2. Then copy "TMC scan" on your device (no matter if SD or Flash Disk).
3. Connect the battery charger to device; isn't necessary the device is in charge, simply connect the charger to GPS.
4. Launch "TMC scan" from "File Manager" and tap the button "Version" to verify the hardware version.
5. Try to click on the arrows right and left, to search any station with RDS. If you arrive to do that without MioPocket freezing, TMC is running.
Let me know ASAP.


Reply author: AHMHeeren
Replied on: 21 Feb 2012 18:31:38
Message:

1. done, it says however tmc.rar and unpacket tmc.exe
2. done
3. done
4. not done: 'tmc.exe is not a valid wince application'
5. not done

TMC does not seem to be running, as when I start Primo, it does not show scanning activity.

R/T


Reply author: robertone
Replied on: 21 Feb 2012 19:18:35
Message:

quote:
Originally posted by AHMHeeren

4. not done: 'tmc.exe is not a valid wince application'
R/T


This is very strange.
Tell me:
1. Which version of MioPocket are you running?
2. Does your device run under WINCE5.0 or 6.0? To know that, click on the WIN logo at the left bottom of display, "Control Panel", and downward arrow up to "System".
3. Where have you copied "TMC.exe"?

Try to newly download "TMC.exe" and copy it in the root of Flash Disk (if not already done).
If it doesn't work yet, copy this "dll":
http://hotfile.com/dl/147331267/375c6f8/aygshell.dll.html
in the same folder of "TMC.exe".


Reply author: AHMHeeren
Replied on: 22 Feb 2012 07:28:27
Message:

1. MioPocketLite v9.2
2. WINCE 5.0
3. the place you pointed me to in your post 21 feb 12.44

I will try again with the aygshell.dll added and let you know.

R/T


Reply author: robertone
Replied on: 22 Feb 2012 10:08:43
Message:

quote:
Originally posted by AHMHeeren

1. MioPocketLite v9.2
2. WINCE 5.0
3. the place you pointed me to in your post 21 feb 12.44

I will try again with the aygshell.dll added and let you know.

R/T


Ah, MioPocket Lite...
Ok, now:
1. Revert "Unlock.mscr" to the original one.
2. Open "MioAutoRun.mscr".
3. Just before the section named:
"#This script is called if MioPocket Lite isn't installed.",
insert the lines in my post of 17 febr. 2012 : 19:40:47.
4. Follow now the final instructions in my post of 21 febr. 2012 : 9:18:35 (after the pointed list).
Let me know.


Reply author: AHMHeeren
Replied on: 22 Feb 2012 18:45:36
Message:

@robertone,
no luck with the adapted MioAutoRun.mscr nor with the effort to get TMC-scan running.
Despite all efforts I suggest we stop here and just learn to live with the situation.
R/T


Reply author: robertone
Replied on: 22 Feb 2012 20:58:08
Message:

quote:
Originally posted by AHMHeeren

@robertone,
no luck with the adapted MioAutoRun.mscr nor with the effort to get TMC-scan running.
Despite all efforts I suggest we stop here and just learn to live with the situation.
R/T


You surrender too easily.
What does mean "no luck"?
Do you arrived to run "TMC.exe"?
What happens, when you try to launch it?
Unfortunaley, I can't test MioPocket Lite on my device, because Mio S687 doesn't have a SD slot to run installation.


Reply author: AHMHeeren
Replied on: 23 Feb 2012 07:33:30
Message:

No luck means built in TMC receiver is not activated while launching MioPocket Lite with the additions in MioAutoRun.mscr as suggested. This is my conclusion because if I start up Primo, it does not search for stations (stays on 0,0 MHz) and does not come up with any messages.
No luck also means TMC-exe still does not run even after adding aygshell.dll, it does not run from SD-Card nor from flash disk and reports that tmc.exe is not a wince application and cannot be run.

My proposal to leave things rest from here is not about surrender, but more about the (in)balance between efforts and benefits.

R/T


Reply author: jwoegerbauer
Replied on: 23 Feb 2012 08:43:14
Message:

@AHMHeeren,

only to clarify things: TMC-Scan.exe doesn't make use of "AYGSHELL.DLL", but only of "COMMCTRL.DLL" and "COREDLL.DLL".


Reply author: AHMHeeren
Replied on: 23 Feb 2012 09:18:02
Message:

@jwoegerbauer
hmm, that's not what robertone recommended in his post dated 21 feb 2012 19:18:35, also the file robertone pointed me to is TMC.exe and not TMC-Scan.exe ?
R/T


Reply author: jwoegerbauer
Replied on: 23 Feb 2012 09:32:27
Message:

@AHMHeeren,

Why do you think I brought this into your attention? Do you really think I'm insane? And, why don't read carefully posts addressed to you? This is was @robertone wrote (excerpt)

quote:

1. Download "TMC scan" ...
2. Then copy "TMC scan"...
4. Launch "TMC scan"...



Inbetween thanks to your help the discussion here became a tragedy!!!


Reply author: AHMHeeren
Replied on: 25 Feb 2012 13:58:38
Message:

... and again that nasty undertone I mentioned in my post - 18 fťvr. 2012 : 16:26:35 after three times editing your own post jwoegerbauer ... you don't have to ban me, I will not be found on this forum anymore thanks to you ... and please edit or remove this post if you like ...


Reply author: alois
Replied on: 27 Feb 2012 13:03:10
Message:

a) TMC-scan works without any hassles
b) You add to your unlocker an icon that points to TMCEnabler.exe (a renamed autorun.exe) which executes script TMCEnabler.mscr

If(RegValueExists("HKLM","Drivers\BuiltIn\SW_TMC","Protocol")&&(NOT RegRead("HKLM","Drivers\BuiltIn\SW_TMC","Protocol"))
RegWriteDword("HKLM","Drivers\BuiltIn\SW_TMC","Protocol",1)
Sleep 5000
Reset
EndIf


Reply author: Kevinjansen
Replied on: 16 Apr 2012 14:11:28
Message:

I am verry sorry to post this out of the blue. But I have read the forum several times and I really can't figure out a few things.
I needed a few days to read everything out and to reinsure for myself that I am not a total idiot but the fact now is that I have a problem that I can't get fixed.
I tried to unlock my mio Moov s505 using the mio pocket v4.0 but that didn't work out.
I have unlocked the mio before and put visual unlock on the mio but I can't get the mio pocket to work.
I know that this is the wrong topic to post this, and I know that this is against the rules but I really need to get this fixed.
AHMHeeren is Dutch and has the same Mio so I hope he could help me with this problem, and since the PM system is unavailable to use I thought that I could try to contact him this way.
Also if the unlock works then I would like to install Igo and then I would encounter the same problem as already discussed here.
Please I am desperate and really want to have everything up and running.
AHMHeeren is dutch and has the same Mio so i hope he could help me with this problem, and since the PM system is unavaideble to use i tohougt that i could try to contact him this way.
Also if the unlock works then i would like to install Igo and then i would encounter the same problem as already discused here.
Please i am desperite and realy want to have everything up and running.

Kind regards,

Kevin Jansen


Reply author: John Dough
Replied on: 16 Apr 2012 20:28:50
Message:

Have you tried Costas unlock for Moovs in the spirit thread?


Reply author: John Dough
Replied on: 16 Apr 2012 20:30:58
Message:

quote:
Originally posted by alois

a) TMC-scan works without any hassles
b) You add to your unlocker an icon that points to TMCEnabler.exe (a renamed autorun.exe) which executes script TMCEnabler.mscr

If(RegValueExists("HKLM","Drivers\BuiltIn\SW_TMC","Protocol")&&(NOT RegRead("HKLM","Drivers\BuiltIn\SW_TMC","Protocol"))
RegWriteDword("HKLM","Drivers\BuiltIn\SW_TMC","Protocol",1)
Sleep 5000
Reset
EndIf


Alois you will have to be more specific as to how to do this as a lot of members are newbies.


Reply author: Kevinjansen
Replied on: 18 Apr 2012 19:29:58
Message:

Dear John Dough,
thank you for your replay!
I didn't expect a replay and I am so happy that I got one from you!
Okay first things first, where refers the quote to?
I don't really have a clear idea where it refers to,
But I think it is a little app that scans for TMC channels and enables the TMC port.
I presume that the above 'if reg value' is a script/command thingy sort kind of thing.

I already thank you so much for your help! I am just so excited that you are willing to help me!
The things I will do now are:
Deleting MioPocket 4.0 (I did manage to install MioPocket 4.0 but the GPS com 5 happened to disappear.)
Install Costas unlock
Try if GPS com 5 is reachable again. (Thatís the most important for me else Mio Tom-tom and Igo wouldn't work)
Wait for further explanation about the TMC problem (I am very sorry but I really don't know how to solve this problem)

I'll keep you informed on further progress.

Thanks in advance and thank you already for your great help!

Kind regards,

Kevin Jansen.


Reply author: John Dough
Replied on: 18 Apr 2012 21:07:30
Message:

You will have to be more specific it is of no use saying "installed Miopocket unlock and gps is gone" or install Costas unlock and the same thing.
What happened when you installed Miopocket did it load and reset your unit correctly and have you CE desktop on your unit. What type of unlock SD or flash drive and if SD did you try different cards.
These are the basics we must know to help you and send your reply to the Miopocket thread as it is off topic here.


Reply author: costas
Replied on: 18 Apr 2012 22:14:07
Message:

My unlock is 99,99 % TMC Ready.
It has in start script line :
RegWriteDword("HKLM","Drivers\BuiltIn\SW_TMC","Protocol",1)
We don't have TMC service, but my Mio S 605 understand RDS from FM radio.


Reply author: Kevinjansen
Replied on: 19 Apr 2012 13:41:04
Message:

Thanks for everyoneís help I made a new topic to further discuss my problem!


Reply author: kunter
Replied on: 18 May 2012 14:09:40
Message:

Hi All!
I have finaly runned TMC builtin receiver working with Igo primo 1.2 on my Mio Navman Sirit s505. Now I try to run it with Igo Primo 2.0 and ahve a problem. Igo is still searching on 87.7 MHz alternately with 0.0 MHz

sys.txt

[tmc]
source="GNSPORT"
port="COM,1"
baud=14400
saved_config_available="1"
saved_config_classname="NMEA_GPSTMC_GNSPORT"
saved_config_port="1"
saved_config_portname="COM"
#saved_last_frequency=100.1
tuner_alg_search_force_on=1
tuner_alg_searchtimeout=10000
tuneralg_rds_packet_timeout=6000
tuneralg_8a_packet_timeout=6000
tuneralg_3a_packet_timeout=20000
tuneralg_last_8a_packet_timeout=10000
show_all_provider_list="1"
auto_band_search_up="1"
auto_tuning="1"

Any ideas what to do?

Ok, it works after intallation of Dimka skin but does not recive tmc information unless I'll put frequency manually. I have to work on it a bit more.


Reply author: ellian
Replied on: 21 May 2012 10:45:20
Message:

Using the registry trick i managed to have the tmc on my mio 685 with primo 2
the issue is that it is very unstable i have the tmc only if i don't move the gps for 1 minute
this is difficult when you consider driving your car
What could i do to increase the tmc receiving capability ?
Is there some settings to do in the sys.txt ?
Thanks in advance


Reply author: John Dough
Replied on: 21 May 2012 17:59:50
Message:

Do you have the aerial connected and is tmc being transmitted?


Reply author: kunter
Replied on: 22 May 2012 03:14:41
Message:

I Give up. Do you know how to force Igo primo to scan automaticaly? If I put frequency manually Igo recives Tmc but when I choose auto scan mode nothing happens it stuckes on the same, one frequency forever. Good news is that it can read list of stations from tmc_stations.txt but I want to auto scan to be working. Thanks in advance for every sugestion.


Reply author: ellian
Replied on: 22 May 2012 06:14:04
Message:

@john, yes my cable is plugged when I drive
Yesterday I managed to get some stations using the list mode of primo
As explained by kunter, primo in this mode is switching between the station in a predefined list
It is good if you stay in your city but it is useless when you are traveling
Does somebody managed to make the auto scan working ?


Reply author: John Dough
Replied on: 22 May 2012 15:57:34
Message:

quote:
Originally posted by kunter

I Give up. Do you know how to force Igo primo to scan automaticaly? If I put frequency manually Igo recives Tmc but when I choose auto scan mode nothing happens it stuckes on the same, one frequency forever. Good news is that it can read list of stations from tmc_stations.txt but I want to auto scan to be working. Thanks in advance for every sugestion.



Auto scan is a nuisance as it stops at every radio station not just TMC ones so most people use a list and set it to list view when tuning. I tried auto scan in Europe and it does not work there either.


Reply author: costas
Replied on: 22 May 2012 16:50:29
Message:

If you use Dimka skin, 2 useful lines to put in sys.txt

[tmc]
test_station_time=3 ; waiting time in seconds the signal TMS before continue the search
hold_station_time=15 ; waiting time in seconds at a frequency of the station, after the loss of signal

Also, Leinad make a list (with step of 0.1 MHz) that forced Primo to autoscan with step of 0.1 MHz .
Of course, Primo scans using a list, but as the list is the step of 0.1 MHz, primo will scan all frequencies.

Just copy that list into folder save\PROFILES\01\userlists
Al credits go to Leinad !!!

Take a look : http://www.youtube.com/watch?v=-U0SCYgxvEE&feature=youtu.be


Reply author: John Dough
Replied on: 22 May 2012 22:39:50
Message:

Excellent I have it in save/userlists folder and will test later.

Ok tested with primo 2 and not detecting any TMC while with 1.2 no problems strange?? is something else needed for Primo 2??


Reply author: John Dough
Replied on: 24 May 2012 21:57:57
Message:

quote:
Originally posted by kunter

Hi All!
I have finaly runned TMC builtin receiver working with Igo primo 1.2 on my Mio Navman Sirit s505. Now I try to run it with Igo Primo 2.0 and ahve a problem. Igo is still searching on 87.7 MHz alternately with 0.0 MHz

sys.txt

[tmc]
source="GNSPORT"
port="COM,1"
baud=14400
saved_config_available="1"
saved_config_classname="NMEA_GPSTMC_GNSPORT"
saved_config_port="1"
saved_config_portname="COM"
#saved_last_frequency=100.1
tuner_alg_search_force_on=1
tuner_alg_searchtimeout=10000
tuneralg_rds_packet_timeout=6000
tuneralg_8a_packet_timeout=6000
tuneralg_3a_packet_timeout=20000
tuneralg_last_8a_packet_timeout=10000
show_all_provider_list="1"
auto_band_search_up="1"
auto_tuning="1"

Any ideas what to do?

Ok, it works after intallation of Dimka skin but does not recive tmc information unless I'll put frequency manually. I have to work on it a bit more.



Do you have a link to dmkas skin for primo 2 ?


Reply author: costas
Replied on: 24 May 2012 22:46:23
Message:

diMkaWA_P153 (320x240, 480x234, 480x272, 800x480
diMkaWA_P153_pt_ls (wvga(480_800, 800_480), wqvga(240_400, 400_240), vga(480_640, 640_480), qvga(240_320, 320_240))

Dimka TomSoft

Do you test your TMC device ?
Plug the original cable from the battery supply ( which containing TMC antenna ) and Try that program :



If you manually entered an FM frequency and received station name (by RDS), as you see above.

In primo, if you manually entered an FM frequency do you receive station name (by RDS) ?


Reply author: piens
Replied on: 26 May 2012 14:38:40
Message:

With the CheckTMC prog I get stationname as in your picture. In Primo 2 I can't find a place to input a frequency manually. In iGO8 I get TMC-hardware not found. What am I missing? (In the registry I set the Protocol to 1)


Reply author: John Dough
Replied on: 28 May 2012 18:35:56
Message:

quote:
Originally posted by costas

diMkaWA_P153 (320x240, 480x234, 480x272, 800x480
diMkaWA_P153_pt_ls (wvga(480_800, 800_480), wqvga(240_400, 400_240), vga(480_640, 640_480), qvga(240_320, 320_240))

Dimka TomSoft

Do you test your TMC device ?
Plug the original cable from the battery supply ( which containing TMC antenna ) and Try that program :



If you manually entered an FM frequency and received station name (by RDS), as you see above.

In primo, if you manually entered an FM frequency do you receive station name (by RDS) ?




I will test it with Dimkas skin and report back.


Reply author: steventje
Replied on: 11 Jun 2012 13:24:36
Message:

I have also the same problem. I have a Mio Moov S505 with Igo 1.2.
TMC is working but not just very fine.
I have a list with radio stations and when I put manual mode, he finds TMC. But I want the program to scan all frequencies. The strange thing is that he's always scanning from 86.3 to 87.5 (or something like that). Inspite of scanning up. He's in a sort of loop.


Reply author: John Dough
Replied on: 11 Jun 2012 16:26:38
Message:

quote:
Originally posted by John Dough

quote:
Originally posted by costas

diMkaWA_P153 (320x240, 480x234, 480x272, 800x480
diMkaWA_P153_pt_ls (wvga(480_800, 800_480), wqvga(240_400, 400_240), vga(480_640, 640_480), qvga(240_320, 320_240))

Dimka TomSoft

Do you test your TMC device ?
Plug the original cable from the battery supply ( which containing TMC antenna ) and Try that program :



If you manually entered an FM frequency and received station name (by RDS), as you see above.

In primo, if you manually entered an FM frequency do you receive station name (by RDS) ?




I will test it with Dimkas skin and report back.



Yes it works fine now with new skin. cheers.


Reply author: jwoegerbauer
Replied on: 11 Jun 2012 18:44:48
Message:

Another nifty tool you should know of: MixSerTester
Allows testing TMC COM-ports.


Reply author: alois
Replied on: 12 Jun 2012 18:27:43
Message:

Nice find, thx.


Reply author: costas
Replied on: 13 Jun 2012 11:46:49
Message:

John Dough, does autoscan work ?
And it stop when find TMC station ?


Reply author: jacko5
Replied on: 21 Feb 2013 13:02:56
Message:

Hi can some one send me an email with the link to get TMC working on my Mio 500 spirit with aftermarket software.
jackoatuk@yahoo.co.uk
Thanks.


Reply author: shadow0188
Replied on: 20 Apr 2013 23:06:10
Message:

Hello to all,

I have a moov s555 and i have strong software problem for the device.
I have upgrade my device bat only s505 firmware have i found. Now can i my pmd recover not to run, while its not showing the device. The s505 Recovery prog working fine, but now i haven't BT and i think no TMC too.
If you can me an windows ce img and cks file make or can all files from the windows dir copying and sending to me that helped me.
Thank you and sorry for my bad english.


Reply author: m_maier
Replied on: 09 May 2013 09:32:00
Message:

Hello,

I achivied to activate TMC on my S505. I tested it with that FMx-Receiver tool, tuning to a certain frequency shows me the correct sender station name and also that a TMC signal is beeing received.
So from hardware perspective everything should be working properly.

But running IGO Primo 2.4 I see the traffic sign in main menu and when I click on it I come to the TMC page but there is only 0.00 MHz shown.

Tried it with COM1 and 38400 Baud as often posted in the boards. What's wrong? I have a lot of differnt tmc.dlls in my IGO root folder.

Thanks in advance,

Michael


Reply author: m_maier
Replied on: 11 May 2013 19:20:06
Message:

Hi folks,

I'm trying to get TMC working on my Mio Spirit 500. I'm stuck trying around different things but without success at the moment. I wanna tell all the fellows out there what I achived and what's the problem at the moment.

Unlock

I tried different unlock methods (dalanik, slide, bluefish, ...) but now am staying at dalaniks. I'm using the trigger by sd-card method because I modifed the auto.mscr to set the registry key for the TMC and doing a soft reset after this. After the soft reset all those mio stock apps are killed and the installation of the unlock is done.

Navigation

I use different navigation software and those are working properly from sd-card, so far: Everything fine!

TMC

TMC is working because when I start that FMx-Receiver app you find in different boards (TMC.exe or GNS TMC.exe) it shows me on COM1 the availability and receiption of a TMC signal on differnet radio frequences (it shows "TMC available").

MN7.7.5

With port 1 and different baud rates in block <TMC> in usersettings.xml I only get a red TMC symbol next to the GPS symbol. Manually tuning to a frequency where a tmc signal should be received does not work. I also tried MixSerDrv to pass the signal from COM1 to a virtual COM7 port and have set mn to listen to this port (and set drvprefix to COM as recommended) but without success.

IGO Primo 2.4

I also tried to get TMC working with primo but also without success. Tried all available gpstmc.dll versions but always shows 0.0 MHZ in the traffic overview page.

Conclusion

After a lot of days of googeling and trying around I have a good pna but without working tmc.


Reply author: m_maier
Replied on: 14 May 2013 20:46:52
Message:

quote:
Originally posted by m_maier
IGO Primo 2.4
I also tried to get TMC working with primo but also without success. Tried all available gpstmc.dll versions but always shows 0.0 MHZ in the traffic overview page.



Played around a little with sys.txt, profiles and different gpstmc.dlls and now the TMC-page shows me "87.5 MHz" instead of "00.0 MHz", but no tmc messages at all and no autoscanning.


Reply author: John Dough
Replied on: 18 Sep 2013 15:43:43
Message:

quote:
Originally posted by costas

John Dough, does autoscan work ?
And it stop when find TMC station ?




Sorry been away for a while yes autoscan works fine make sure you have it in correct folder.


GpsPasSion Forums : http://www.gpspassion.com/forumsen/

© 2002-2014_GpsPasSion/Manzanite

Close Window