Hello People
I've trying to make a new action with the CommManager. I want to add an option in the CommManager to execute "Poweroffwarning.exe"
How to make that an option execute this exe?
I've tried this:
Attempt 1: (i'm trying with the cell of the Data Disconection)
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\DataDisconnection]
@="Poweroffwarnig.exe"
Attempt 2: (i'm trying with the cell of the Data Disconection)
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\5]
"Execute"="\\Windows\\Poweroffwarnig.exe"
But nothing worked. Does anybody know how to do that?
Thaks a lot!
Pool.
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\DataDisconnection]
@="Poweroffwarning.exe"
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\5]
@="Power Off"
"Execute"="\\Windows\\Poweroffwarning.exe"
"ExecuteCommand"=""
Edit, it should work. Haven't tested it.
danny_and_2 said:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\DataDisconnection]
@="Poweroffwarning.exe"
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\5]
@="Power Off"
"Execute"="\\Windows\\Poweroffwarning.exe"
"ExecuteCommand"=""
Edit, it should work. Haven't tested it.
Click to expand...
Click to collapse
I'll try it and I'll tell you if it works
It doesn't work. I did a softreset before the instalation and when I open the CommManager it shows me an error:
Code:
Comm Manager doesn't support "Power Off"
poool__13 said:
It doesn't work. I did a softreset before the instalation and when I open the CommManager it shows me an error:
Code:
Comm Manager doesn't support "Power Off"
Click to expand...
Click to collapse
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\PowerOff]
@="Poweroffwarning.exe"
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\5]
@="PowerOff"
"Execute"="\\Windows\\Poweroffwarning.exe"
"ExecuteCommand"=""
Lets try this instead.
danny_and_2 said:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\PowerOff]
@="Poweroffwarning.exe"
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\5]
@="PowerOff"
"Execute"="\\Windows\\Poweroffwarning.exe"
"ExecuteCommand"=""
Lets try this instead.
Click to expand...
Click to collapse
Like before... Comm Manager doesn't support "Power Off"
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\5]
@="DataDisconnection"
"Execute"="\\Windows\\PowerOffWarning.exe"
Should work..
Install stock first then the other.
This should run it.
No one work... but this time there's no errors.
thanks also!
Nobody more can help me? Please, it's important
Related
Hey everyone - hopefully someone here can help me fix my problem. I am trying to create an OEM package that will install a shortcut for "new sms" and then I am trying to map it to the left softkey of my Kaiser.
I have the shortcut, the dsm, the .rgu, initflashes, and option.xml in the package folder. Everything works fine except for my .rgu file.
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Today\Keys\112]
"Default"="New SMS"
"Open"="\windows\newsms.lnk"
Click to expand...
Click to collapse
BuildOS really doesn't like that last line where I change the "Open" key, but I can't for the life of me figure out why. When I delete that line, build the ROM, and enter the line manually after flashing it works just fine.
Any ideas?
Replace with...
Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Today\Keys\112]
"Default"="New SMS"
"Open"="\\windows\\newsms.lnk"
You should escape the slashs...
holy crap! Thank you so much!!
I've been banging my head against the wall for like three days on that one!
Worked perfectly!
Oke,
I wanted to create a program that enables wifi when Internet Explorer is opened.
I found the mortscript scripts page, and I tried that program
Didn't work
I made myself one, with vjvolubilis, but that doesn't work either...
This are my codes:
Code:
While (1)
If WndExists "Internet Explorer"
Run "\Storage Card\Program Files\vijay555\VJVolubilis\VJVolubilis.exe" -wifion
Sleep 2000
If not WndExists "Internet Explorer"
Run "\Storage Card\Program Files\vijay555\VJVolubilis\VJVolubilis.exe" -wifioff
EndIf
EndIf
Sleep 2000
EndWhile
I tried to place -wifion between the ", but that didn't work either..
Now I made 2 shortcuts
pointing at "\Storage Card\Program Files\vijay555\VJVolubilis\VJVolubilis.exe" -wifioff
and
"\Storage Card\Program Files\vijay555\VJVolubilis\VJVolubilis.exe" -wifion
I called them WifiOn and WifiOff
They don't work either
I have a Qtek9100 with windows mobile 5.
Thanks!
try AEButton plus to switch wifi on and off
http://ae.inc.ru/aebpluscline.php
Do the VJVolublis wifi functions work normally, without mortscript?
It hasn't been updated for a LONG time, so I thought they didn't work these days.
V
Unzip and place the little app, you see as attachment, in "\device"...
Then this should work:
Code:
Runwait( "\Wifi.exe" )
Runwait( "\Windows\iexplore.exe" )
Runwait( "\Wifi.exe" )
thanks for helping me out
HTC TyTn II WM6
vijay555 said:
Do the VJVolublis wifi functions work normally, without mortscript?
It hasn't been updated for a LONG time, so I thought they didn't work these days.
V
Click to expand...
Click to collapse
Hello.
What would a script for WM6?
flaviopac said:
Unzip and place the little app, you see as attachment, in "\device"...
Then this should work:
Code:
Runwait( "\Wifi.exe" )
Runwait( "\Windows\iexplore.exe" )
Runwait( "\Wifi.exe" )
Click to expand...
Click to collapse
[off topic]
How made that exe?
I want to make it for another app like Opera, QuickGPS etc.
I tried to open it with ResHacker but it didn't worked.
Code:
#-----------------------------------------------------
# TouchFlo3D to SPBMobileShell Switch v1.2 by Firefox®
#-----------------------------------------------------
AlertSound="\Windows\2000Hz-80ms.wav"
TFRegKey="\Software\Microsoft\Today\Items\TouchFLO 3D"
SpbRegKey ="SOFTWARE\Spb Software House 2\Spb Mobile Shell"
SpbPath=RegRead("HKLM",SpbRegKey,"InstallDir")
WMStartUpFolder=RegRead("HKLM","\System\Explorer\Shell Folders","StartUp")
SpbStartUplnk=WMStartUpFolder \ "\SpbMobileShell.lnk"
SpbStartupBak=SpbPath \ "\SpbMobileShell.lnk"
If(FileExists(AlertSound))
PlaySound(AlertSound)
EndIf
If(Not FileExists(SpbStartupBak))
Copy(SpbStartUplnk, SpbStartupBak)
EndIf
if(ProcExists("Manila.exe"))
If(Question("Switch to SPB Mobile Shell?","Shell Switch v1.2","YesNo")=1)
RegWriteDWord("HKLM",TF3DToday,"Enabled",0)
Kill("Manila.exe")
if(Not FileExists(SpbStartUplnk))
Copy(SpbStartupBak, SpbStartUplnk)
EndIf
Run(SpbStartUplnk)
EndIf
Else
If(Question("Switch to TouchFlo3D Shell?","Shell Switch v1.2","YesNo")=1)
Run(SpbPath \ "\MenuLauncher.exe","-stop")
RegWriteDWord("HKLM",TF3DToday,"Enabled",1)
if(FileExists(SpbStartUplnk))
Delete(SpbStartUplnk)
EndIf
Run("\Windows\Manila.exe")
EndIf
EndIf
Copy this code into text file and save it as "Shell Switch.mscr" into a folder of your device.
If you like a beep alert extract the .wav file from .zip attached and copy it into \Windows folder (only 3,5 Kb).
Add a schortct to this script into TouchFlo Programs and into SPB Mobile Shell shortcut for fast switch between two shell.
Remember, to run this script you must install Mortscript, a very great freeware by Mirko Schenk http://www.sto-helit.de.
Enjoy
Thanks for this. Might come in handy.
Create a shortcut with icon
A simple way to create a shortcut (with icon) to my script is:
1) create a new text file on the desktop of your PC with Notepad
2) copy the next row and paste it into the text file:
\Windows\Shell Switch.mscr?shellres.dll,-13902
(if you put the script in \Windows folder, else modify the path according your script path)
3) save the text file in .txt format (eg. Shell Switch.txt)
4) copy it into \Windows\Start Menu\Programs folder of your device
5) rename the .txt file as Shell Script.lnk
6) select it in the Menu applet of Windows Mobile Settings
Bye
Note: the icon numer 13902 can be changed as you like.
Thank you,
very useful, try it
question
how do I know which icon corresponds to changing the numbers?
Tks
not working 4 me...
Great script, thank you..
Do you have a script also for going to Windows Mobile default desktop from TouchFlo3D?
hknklbk said:
Great script, thank you..
Do you have a script also for going to Windows Mobile default desktop from TouchFlo3D?
Click to expand...
Click to collapse
You can check http://forum.xda-developers.com/showthread.php?p=3292482 if you want a cab that does that.
addeswe said:
You can check http://forum.xda-developers.com/showthread.php?p=3292482 if you want a cab that does that.
Click to expand...
Click to collapse
But this one is only 4 WM 6.1 not 4 WM 6.5....
addeswe said:
You can check http://forum.xda-developers.com/showthread.php?p=3292482 if you want a cab that does that.
Click to expand...
Click to collapse
matt_jackson said:
But this one is only 4 WM 6.1 not 4 WM 6.5....
Click to expand...
Click to collapse
& what about for WM 6.5.1 + HTC Sense-v2.5b1920.2525 ???
Great job on this script, Firefox®
With a few minor modifications, I got it working in WM6.5 with Sense UI..
Code:
#-----------------------------------------------------
# TouchFlo3D to SPBMobileShell Switch v1.2 by Firefox®
# minor edit by Christophocles for use with Sense UI
#-----------------------------------------------------
AlertSound="\Windows\2000Hz-80ms.wav"
TFRegKey="Software\Microsoft\Today\Items\HTC Sense"
SpbRegKey ="Software\Spb Software House 2\Spb Mobile Shell"
SpbPath=RegRead("HKLM",SpbRegKey,"InstallDir")
WMStartUpFolder=RegRead("HKLM","System\Explorer\Shell Folders","StartUp")
SpbStartUplnk=WMStartUpFolder \ "\SpbMobileShell.lnk"
SpbStartupBak=SpbPath \ "\SpbMobileShell.lnk"
If(FileExists(AlertSound))
PlaySound(AlertSound)
EndIf
If(Not FileExists(SpbStartupBak))
Copy(SpbStartUplnk, SpbStartupBak)
EndIf
if(ProcExists("Manila.exe"))
If(Question("Switch to SPB Mobile Shell?","Shell Switch v1.2","YesNo")=1)
RegWriteDWord("HKLM",TFRegKey,"Enabled",0)
Kill("Manila.exe")
if(Not FileExists(SpbStartUplnk))
Copy(SpbStartupBak, SpbStartUplnk)
EndIf
Run(SpbStartUplnk)
EndIf
Else
If(Question("Switch to TouchFlo3D Shell?","Shell Switch v1.2","YesNo")=1)
Run(SpbPath \ "\MenuLauncher.exe","-stop")
RegWriteDWord("HKLM",TFRegKey,"Enabled",1)
if(FileExists(SpbStartUplnk))
Delete(SpbStartUplnk)
EndIf
Run("\Windows\Manila.exe")
EndIf
EndIf
Or you can just simply use Touch Flo 3D, Titanium & SPB Shell Switcher.
Hmmmmmmmmm nice work guys ...... lets try it out
Create ROM is complete, the "\windows\" can be found under their own OEM package files, but not in the "Start Menu" in finding a shortcut to the program,
Pre-production, OEM package has been established "lnk" and "initflashfiles.txt" file,But it seems that "initflashfiles.txt" can not be "EVK" Load
"initflashfiles.txt"
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\"Start Menu\Programs"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
Thanks for all help
I am a novice
badangel900 said:
Create ROM is complete, the "\windows\" can be found under their own OEM package files, but not in the "Start Menu" in finding a shortcut to the program,
Pre-production, OEM package has been established "lnk" and "initflashfiles.txt" file,But it seems that "initflashfiles.txt" can not be "EVK" Load
"initflashfiles.txt"
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\"Start Menu\Programs"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
Thanks for all help
I am a novice
Click to expand...
Click to collapse
It should be like this
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\Start Menu\Programs"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
Sergio76 said:
It should be like this
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\Start Menu\Programs"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
Click to expand...
Click to collapse
Sorry! Is my typo
I use the Chinese language
In Chinese, "Start Menu" format ("Start" menu), so I played more than a (")
Chinese "iniflashfiles.txt"
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\"开始"菜单\程序"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
PS:
In other places to see ("ROM Kitchen") case "iniflashfiles.txt" within the package in OEM
The new "EVK" 1.8.2 version is not needed to do to anything else
If the "iniflashfiles.txt" renamed "app.dat" and "RGU" to "REG"
EXT package is not on, "EVK" that the program can create "lnk" to start the menu
Meanwhile, thank you very much busy, find time to help me
I think you should insert character code for non-English letters.
For example, letter ą has code 0105, so you substitute it with \x0105
So its not
Code:
Directory("\Windows\Help"):-File("Exąmple.lnk","\Windows\Exąmple.lnk")
but
Code:
Directory("\Windows\Help"):-File("Ex\x0105mple.lnk","\Windows\Ex\x0105mple.lnk")
kosherpig said:
I think you should insert character code for non-English letters.
For example, letter ą has code 0105, so you substitute it with \x0105
So its not
Code:
Directory("\Windows\Help"):-File("Exąmple.lnk","\Windows\Exąmple.lnk")
but
Code:
Directory("\Windows\Help"):-File("Ex\x0105mple.lnk","\Windows\Ex\x0105mple.lnk")
Click to expand...
Click to collapse
Problem has been solved!
"Lnk" name, does not support Chinese
"Iniflashfile.txt" in the "" and "" is not the same as
Like this
Code:
Directory("\Windows\“开始”菜单\程序"):-File("远程桌面 Mobile.lnk", "\Windows\wpctsc.lnk")
OEM package can also use the "EVK" Import into EXT package
Until not found!
Thanks for all help
about"nk.exe"Active protection
I modify the "NK.EXE" time to see "[K] Active protection packed" so a piece of code
I would like to know how to skip it?
Another is to use "EVK" the "XIPPORTER" tool to generate new "NK.exe" The S000
When packing
I saw "EVK" log, there is time to lock a record lift
Produced when prompted "doesn't need Timebomb Fix!!!"
This is not the limit no longer
If I make the ROM PHONE brush to another area where
There will be restrictions?
Thanks for all the help!
Thanks to denominator77 we now know how to recmod some modules
denominator77 said:
1. FixRecMod.exe your_dll_folder
2. LordPE -> PE Editor -> choose the recmoded dll -> get ImageBase value -> add the value to BaseOfCode and BaseOfData -> Save&OK
Sometimes ImageBase is not properly restored by FixRecMod.exe. If IDA has not identified any imported function, then try the following steps to fix the addresses:
1. Go to .pdata segment
2. There will be a list of "Function start" and "Function end" definitions
3. Take the first "DCD 0xNNNNZZZZ ; Function start"
4. In the most cases ImageBase will be 0xNNNN0000
5. Run LordPE and update ImageBase, BaseOfCode, and BaseOfData
download to fixrecmod
View attachment 487836
Click to expand...
Click to collapse
Link to LordPE
http://www.woodmann.com/collaborative/tools/index.php/LordPE
to get you all starting I did some modules .
http://dl.dropbox.com/u/5011238/Data/SecurityCore.7z
http://dl.dropbox.com/u/5011238/Data/MSXIPKERNEL.7z
http://dl.dropbox.com/u/5011238/Data/Phone.7z
http://dl.dropbox.com/u/5011238/Data/Start.7z
http://dl.dropbox.com/u/5011238/Data/APPPLATFORM.7z
if a file isn't working then use the above steps (quoted)
edit: updated the DL links.
I'm sorry to bumb such an old thread, but please could you try recmodding the SystemInfo exes and dlls from the ShellDogfood package? They are really old, but there is a possibility that they could run on current version of WP. And if they don't run, is there a way to debug them?