| Versions |
 |
|
| Author |
Topic  |
|
gpsgator
211 Posts |
Posted - 03 janv. 2007 : 06:45:04
|
3/11/2007 5th release now available here http://www.gpspassion.com/upload/C310Auto.zip
Only change in 5th release is Time.reg which is updated for new daylight savings time rules.
Edited subject as search function only searches subject.
When the Mio boots it starts a program called ST.EXE. One of the first things this does is run the program \Storage Card\C310Auto.EXE if found. If not found it will continue with the normal Mio startup which in the end run MainShell.exe. ST.EXE is the program responsible for check if the Menu Key and Volume + is being held down to not start the MainShell.EXE and enable the taskbar.
Well I wrote a little scripting program that if called C310Auto.Exe and placed in \Storage Card will run when the Mio is booted. I use it to automatically unlock my Mio from a Hard Reset. It runs only after a Hard Reset since I change the StartUp of the Mio so subsequent resets don't even bother running ST.EXE. I'll be posting more details and releasing the program when I get it ready for others. Here are the commands I have so far with the command followed by any parameters it needs: Message p1 Display Message p1 in popup box and wait for ok to be clicked Restart Restart Mio Run p1 p2 Run Program p1 with arguments p2 waiting for it to finish Copy p1 p2 Copy files p1 to p2. p1 can have wildcard. Regedit p1 Load registry from registry file p1. p1 can have wildcard. Currently this requires an external program, but when I get time I'd like to this internal. Desktop p1 p2 Create shortcut called \Windows\Desktop\p1.lnk for p2. Favorites p1 p2 Create shortcut called \Windows\Favorites\p1.lnk for p2. Programs p1 p2 Create shortcut called \Windows\Programs\p1.lnk with p2 program. Exit Done with script file. # Comments no action taken.
Others I plan to implement are: DelTree. So far these do everything I need. If you have an ideas for other commands that might be useful let me know.
See ReadMe.txt inside of zip for more details and the latest information. |
Edited by - gpsgator on 11 mars 2007 20:14:03
|
|
|
Ads
|
|
|
gpsgator
211 Posts |
Posted - 03 janv. 2007 : 06:47:40
|
Here is the script I am currently running:
#Mio Setup #Run \Windows\MioUtility.Exe -SelLang #Run \Windows\MioUtility.Exe -SelTimezone Copy "\Storage Card\Unlock\Windows\*.*" \Windows Copy "\Storage Card\Unlock\Desktop\*.lnk" \Windows\Desktop Copy "\Storage Card\Unlock\Favorites\*.lnk" \Windows\Favorites RegEdit "\Storage Card\Unlock\Registry\*.reg" Favorites ApMemo "\Storage Card\Programs\Notes\apMemo.exe" Programs GasUp "\Storage Card\Programs\GasUp\GasUpLogger.exe" Restart
I will post details on some of these. |
 |
|
|
gpsgator
211 Posts |
Posted - 03 janv. 2007 : 06:57:20
|
Copy "\Storage Card\Unlock\Windows\*.*" \Windows
I have in my Unlock\Windows directory the DLL's that other programs might need to run. I got most of these out of the unlock ******** cab we use to have to run to unlock the Mio. Here is what I have: aygshell.dll, celib.dll, cellcore.dll, DocList.dll, gsgetfile.dll, gx.dll, imgdecmp.dll, mfcce211.dll, mfcce200.dll, mscoree.dll, note_prj.dll, olece211.dll, olece300.dll, taskbar.exe, Xcefobj.dll, zlib.dll.
|
 |
|
|
gpsgator
211 Posts |
Posted - 03 janv. 2007 : 07:03:14
|
RegEdit "\Storage Card\Unlock\Registry\*.reg"
This does all the registry entries needed. This is the main for unlock the Mio. [HKEY_LOCAL_MACHINE\init] "Depend80"=hex: 32,00 "Launch80"="taskbar.exe"
There is where the Mio was told to run ST.EXE. I change it to run TaskBar.Exe. Since ST.EXE is not running resets will no longer try to C310Auto and MainShell will never run and also the screen that says you are connected to USB will no longer popup.
So the mimimal changes to unlock the Mio is the TaskBar.Exe program and the above registry change. |
 |
|
|
gpsgator
211 Posts |
Posted - 03 janv. 2007 : 07:06:19
|
Below are some other registry changes I do.
To turn on AutoHide of the taskbar: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\AutoHide] @=dword:00000001
To setup Owner information: [HKEY_CURRENT_USER\ControlPanel\Owner] "Owner"=hex: 47,00,61,00,74,00,6f,00,72,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00
|
 |
|
|
gpsgator
211 Posts |
Posted - 03 janv. 2007 : 07:13:21
|
One thing I am not sure is what else ST.EXE is doing. I know that it runs Run MioUtility.Exe with the -SelLang and again with the -SelTimezone. This is where we are prompted for the Language and Timezone. However when I run the language there are no selections. What that means is ST must be reading the language directory and populating the list first. To make a long story short since I didn't want to have to answer these questions anyway I just captured my registry before and after these were run normally from ST.EXE and capture the changes. I then don't even ask the questions and just set the registry enties. For me for english language and eastern timezone they are:
[HKEY_LOCAL_MACHINE\SOFTWARE\MiTAC] [HKEY_LOCAL_MACHINE\SOFTWARE\MiTAC\SupportedVoice] "TatolSupport"=dword:00000010 "VoiceID16"=dword:00000c0a "VoiceID15"=dword:00000816 "VoiceID14"=dword:00000814 "VoiceID13"=dword:00000813 "VoiceID12"=dword:00000409 "VoiceID11"=dword:0000041f "VoiceID10"=dword:0000041d "VoiceID9"=dword:00000415 "VoiceID8"=dword:00000413 "VoiceID7"=dword:00000410 "VoiceID6"=dword:0000040c "VoiceID5"=dword:0000040b "VoiceID4"=dword:00000408 "VoiceID3"=dword:00000407 "VoiceID2"=dword:00000406 "VoiceID1"=dword:00000405
[HKEY_LOCAL_MACHINE\SOFTWARE\MiTAC\MultiLang] "TatolSupport"=dword:00000010 "LangID16"=dword:00000c0a "LangID15"=dword:00000816 "LangID14"=dword:00000814 "LangID13"=dword:00000813 "LangID12"=dword:00000409 "LangID11"=dword:0000041f "LangID10"=dword:0000041d "LangID9"=dword:00000415 "LangID8"=dword:00000413 "LangID7"=dword:00000410 "LangID6"=dword:0000040c "LangID5"=dword:0000040b "LangID4"=dword:00000408 "LangID3"=dword:00000407 "LangID2"=dword:00000406 "LangID1"=dword:00000405 [HKEY_LOCAL_MACHINE\SOFTWARE\MiTAC\CurrentVoice] "VoiceID"=dword:00000409 [HKEY_LOCAL_MACHINE\SOFTWARE\MiTAC\TimeZoneInformation] "ZoneListLoc"=dword:0000000c [HKEY_LOCAL_MACHINE\Time] "TimeZoneInformation"=hex: 2c,01,00,00,45,00,61,00,73,00,74,00,65,00,72,00,6e,00,20,00,53,00,74,00,61, 00,6e,00,64,00,61,00,72,00,64,00,20,00,54,00,69,00,6d,00,65,00,00,00,69,00, 6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,05, 00,02,00,00,00,00,00,00,00,00,00,00,00,45,00,61,00,73,00,74,00,65,00,72,00, 6e,00,20,00,44,00,61,00,79,00,6c,00,69,00,67,00,68,00,74,00,20,00,54,00,69, 00,6d,00,65,00,00,00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00,c4,ff,ff,ff
|
 |
|
|
Hans23
USA
85 Posts |
Posted - 03 janv. 2007 : 08:28:51
|
GPSgator, Great Job. Keep it up. If only Mio had sriptors or programmers and software designers like you.
|
 |
|
|
gpsgator
211 Posts |
Posted - 06 janv. 2007 : 20:35:44
|
Okay I think I have it ready if anyone wants to try it out. How do you make the files available for download here? |
 |
|
|
mickey1987
USA
195 Posts |
Posted - 06 janv. 2007 : 21:23:20
|
| Some people use rapidshare.com to upload their files |
 |
|
|
gpsgator
211 Posts |
|
|
logic26
92 Posts |
|
|
chuka
67 Posts |
Posted - 06 janv. 2007 : 23:30:15
|
Instead of changing the st.exe not to run you could do teh following. Place an empty file under /windows or someplace that will disapear only during hard reset. When running you file auto.exe check if the empty file is present, if yes do not do anything, if not continue with hard rest condition. |
 |
|
|
gpsgator
211 Posts |
Posted - 07 janv. 2007 : 00:25:42
|
logic: You need c310auto.exe and c310auto.scr in the root of the SD card. For my sample .scr file you need the rest of the files there as well, but you can change the script to get them from anywhere.
chuka: ST.EXE starts the MainShell.exe which is what you don't want for an unlocked Mio. Since ST.EXE is the one running C310Auto.exe if found it is only run once since ST.EXE does not run any more with my sample script. |
 |
|
|
icehome
44 Posts |
Posted - 07 janv. 2007 : 02:28:28
|
@gpsgator,
Could you post the source as well so that we can learn some windows programming as well? Thanks for putting effort into creating this nice tool!!! |
 |
|
|
chuka
67 Posts |
Posted - 07 janv. 2007 : 14:06:41
|
GPSgator
What other commands are supported? I created a list of all the needed files / direcory structor, I do not want to copy one by one. xcopy? Can we zip everytning and unzip?
|
Edited by - chuka on 07 janv. 2007 14:14:18 |
 |
|
|
gpsgator
211 Posts |
Posted - 07 janv. 2007 : 22:43:21
|
There is a file in the zip with all the commands.
rCopy will recurse down directories doing a copy and creating the directories if they don't exist.
No zip built in, but you can call/run any program. |
 |
|
Topic  |
|
|
|
| This page was generated in 4,08 seconds. |
 |
|