xdashutdown and long press power button - XPERIA X2 General

I would like to use xdashutdown with my xperia x2 but the Long_power.lnk file in the /windows directory doesn't work.
Should I edit something in the registry to use this long press power button with xdashutdown?
Thx

same problem

Perhaps it a specific hardware issue? The xdashutdown tool was written with HTC devices in mind.
I don't use it with my X2, but it would be interesting to hear if anyone else has it installed and working.

Related

Lost Comm Manager Button

Can some help me with this for some strange reason when I press my Comm Manager button on my Wizard the app doesn't open
does anyone know how to remap this button as I use this feature a lot I can't find the way to remap this button anywhere, its not listed in the button menu
I hope someone can help me as I don't want to hard reset my phone
FOZZER said:
Can some help me with this for some strange reason when I press my Comm Manager button on my Wizard the app doesn't open
does anyone know how to remap this button as I use this feature a lot I can't find the way to remap this button anywhere, its not listed in the button menu
I hope someone can help me as I don't want to hard reset my phone
Click to expand...
Click to collapse
Under settings buttons... always worth switching off and restarting then if that does not hard reset.
Terran
same problem here........................probably you installed another key mapper too? (AEBPlus).
It seems a hard reset is the only solution, or somebody could post the registry entry where this key map is defined!?
TIA
Yep put AEBPlus in didnt like so i uninstalled it now no comm manager Ahhh!!!!
After uninstalling AEBPlus, you keep stuck with only "4 buttons", at least in the System Settings. Happily everything keeps working...............expect the CommMgr button.
Either somebody posts the correct reg-entries for this key, or you have to do a hard reset.
I think it might be solved if you place the original files back into: \Windows\AppButtons
Maybe somebody can post a RAR file of that folder?
Second thing, I found the keys in the register. They can be found here:
Mobile device\HEKY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys
You will see that the 4 keys are there left by AEBPlus. The missing keys should be here when you have a working Wizard
Hope someone can post the keys and values aswell?
I had the same problem. The registry values in this post will restore function:
http://forum.xda-developers.com/viewtopic.php?t=33795&highlight=hw+keys+remapping
Christian
TnX!! The best forum there is! 8)
Ok now how the hell do i add the reg value for the com manager I ve got reg edit
Please instructions for idiots
Ok now how the hell do i add the reg value for the com manager I ve got reg edit
Please instructions for idiots
You have to add a string to the register. Then give that string the right name and value
AEBPlus was completely rewritten recently. New version will not harm any application buttons ever, compatible with almost any WM 2003/2003SE/2005 device and has a lot of new features
http://ae.inc.ru/aebplus

remapping the 'internet explorer key' to 'ok key'

I find the ''internet explorer key' quite useless for me. On the other hand I need to be able to send 'ok' command to my touch dual through the sliding keyboard so what about remapping the 'internet explorer key'? Does anyone know how to do that?
coool idea. very convenient and practical. comparing a samsung sgh-i780 to the touch dual, the fact that the i780 had an OK button was one of the very few advantages that the samsung had over my htc. hope someone can reply to this with a solution......
I would like to make the internet button a return key which enters moves the cursor to a new line when typing messages etc, I can't find an easy way of entering a line return when writing using the 16 key keypad.
have you tried AE-Buttons?
AE Button Plus works not as good as I hoped: it's starting another application when I remap it but the Internet Explorer is still started afterwards!
I think the solution could be found in the keyboard driver itself ...!
yap i hope someone could make this, i don't use the internet explorer button changing/remapping it to ok/close button is a very good idea. as for now i change the camera button to ok/close but quite hard to push because in the side corner.
Is there still no solution for this?
i never use the "internet" and "messaging" keys from my keyboard and it would be nice to change them to "OK" and an other program..
bump! i hope someone finds a solution for this..
I found following Registry:
HKLM/Software/Microsoft/internet explorer/KeyMaps
Does anybody know if this has anything to do with what we're looking for???
I think I was able to find a workaround for this:
1) make a copy of iexplore.exe in the windows folder to iexplore2.exe (can anyone upload a copy of original iexplore.exe, i can't seem to make a copy of it)
2) Download http://www.vijay555.com/?Releases:VJOkButt
3) from program files of vjokbutt, find the exe and rename it to iexplore.exe
4) copy the vjokbutt that was renamed to iexplore.exe to \windows and overwrite the original iexplore
optional: open a registry editor and replace all iexplore.exe to iexplore2.exe, otherwise, internet explorer might not work..
It would be better if anyone can transform the Messaging and Internet Explorer key into Hardware Softkeys ...! It would be much better because of increasing usability in some fullscreen programs!
I really miss these Hardware Softkeys in Esmertec Jbed!

APP Request - Hard key mapping

Hi all, is there a program that will help me map my hard keys on my omnia. I want to change a few default presses to other stuff.
I have searched and searched but no programs come up, this must be relatively easy??
Cheers
http://tinyurl.com/cnqr67
please, learn how to search..better
i've looked but still can't find a decent program? any help
Did you click his link? It's all there(AEbutton Plus) But I am pretty sure no2chem is woring on a better solution
I don't know anything about the omnia, but on every htc phone I have had there are .exes for power off button and usually others.
The power button has a .exe called 'powerOffWarning.exe' in the windows folder, just rename the .exe of the program you want, such as-
where 'deviceLock.exe' is the program you want to run, and you want to run it from the power button, rename it to 'powerOffWarning.exe', then put it in the windows folder.
There are often other keys such as 'endkey.exe'. Generally if a key has a long hold function, it can be changed, on my diamond on the send key is available to configure in \start\settings\buttons, but i have changed the send, end, and power keys
questions don't belong here.
please refer to the Q&A section
thank you

[APP] (24/08/09) DPBv1.1 - Power Button Options With Keyboard Open (Any Key Power On)

LATEST UPDATE - 24/08/2009
Version 1.1 Uploaded - Now included the option to turn on the power with any key when the keyboard is open.
You need MortScript installed you can find the CAB in \Program Files\DPB\MortScript.
--------------------------------------------------------------------------
Update - 18/08/09
All four options have now been wrapped up into one CAB.
Install the CAB and Run DPB in Programs and you can select which option you wish to enable.
Also, you can Reset the Device to it's default state.
You will need Mortscript installed on your device - the next version will include it.
***Delete DisablePowerBtn.mscr from \Windows\StartUp if you have previously manually copied the file from the zip OR Uninstall the CAB made by MONX before you install this version.
You can also delete the directory: \My Documents\Mortscript
The CAB is at the end of this post.
Cheers,
Andy
--------------------------------------------------------------------------
Previous Release Notes....
Quick update :
http://forum.xda-developers.com/showpost.php?p=4337281&postcount=13
Now the device should never turn off when the keyboard is open.
**Now also disables the Long Key Press of the Power Button
I know the issue of hitting the power button when the hardware keyboard is open is an issue for some people and has certainly been annoying me.
I am no programmer or expert but through trial and error I have written a script that senses when the keyboard is open that creates 2 links in \windows called 'Short_Power.lnk' & 'Long_Power.lnk'- These links runs another script that does nothing but now the power button does not respond when pressed. When the keyboard is closed the script deletes the shortcuts from windows and the power button returns to normal.
In the zip there are four files.
DisablePowerBtn.mscr - unzip and move to \Windows\Startup
Short_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Long_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Sleep.mscr - unzip and place in \My Documents\Mortscript
As I said I am no programmer but maybe there is an expert that could improve this or make a cab to automatically put the files in the right places.
You have to have Mortscript installed for this to work !
Note of caution - because I am no expert and this is running in the background I am not sure what system speed or resource issues this may create.
All I can say I have it on my TP2 and it works like a charm.
Any form of feedback would be appreciated - negative included.
dahoarty said:
I know the issue of hitting the power button when the hardware keyboard is open is an issue for some people and has certainly been annoying me.
I am no programmer or expert but through trial and error I have written a script that senses when the keyboard is open that creates a link in \windows called 'Short_Power.lnk' - This links runs another script that does nothing but now the power button does not respond when pressed. When the keyboard is closed the script deletes the shortcut from windows and the power button returns to normal.
In the zip there are three files.
DisablePowerBtn.mscr - unzip and move to \Windows\Startup
Short_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Sleep.mscr - unzip and place in \My Documents\Mortscript
As I said I am no programmer but maybe there is an expert that could improve this or make a cab to automatically put the files in the right places.
You have to have Mortscript installed for this to work !
Note of caution - because I am no expert and this is running in the background I am not sure what system speed or resource issues this may create.
All I can say I have it on my TP2 and it works like a charm.
Any form of feedback would be appreciated - negative included.
Click to expand...
Click to collapse
see my answer in the mortscript thread
egoist6 said:
see my answer in the mortscript thread
Click to expand...
Click to collapse
Hi, thanks for the advice as I said I am no expert.
I tried your suggestion.
What it seems to do is disable the power button with the keyboard shut and you then have to open the keyboard to turn the power on.
Maybe I didn't explain properly what I am trying to do. On the TP2 when you are typing on the HW Keyboard you can inadvertantly touch the power button which turns off the screen. The script I have written watches for the keyboard to open then copies the Short_Power.lnk to \Windows. This link points to the Sleep.mscr which just contains one line - 'Sleep(1000)'. When you close the keyboard the link is deleted therefore renabling the power button to normal.
I admit it is complicated but I only want to disable the power button when the keyboard is open.
I am sure there is a better way of doing this but with my level of expertise this is all I can achieve. However, it works.
Thanks
Just installed it, restarted device, and it works! thank you very much, i love it!
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Info: (attachment details from top) This cab contains script to disable power button when kb is slide out by dahoarty.
-MortScript + dahoarty disable short power button
-dahoarty disable short power button only (MortScript not included)
-dahoarty disable short and long power button (MortScript not included)
-MortScript + dahoarty disable short and long power button
-dahoarty disable short and long power button and disable device suspend timeout (ref:#13) (MortScript not included)
-MortScript + dahoarty disable short and long power button and disable device suspend timeout (ref:#13)
Cabs are updateable after installation.
monx® said:
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Click to expand...
Click to collapse
Thanks Monx for creating the cab it will now be easier for anyone wishing to use the script.
Cheers mate.
Wow, that was really anoying me! Thanks for this. Installed the cab and after a reboot, no more switching off in mid writing.
I wonder if there is a similar thing which can be done for the long press power button, to suppress the 'Power Off' message? Rarely occurs so no biggie but would be nice.
This is genius!
vigilante_xix said:
Wow, that was really anoying me! Thanks for this. Installed the cab and after a reboot, no more switching off in mid writing.
I wonder if there is a similar thing which can be done for the long press power button, to suppress the 'Power Off' message? Rarely occurs so no biggie but would be nice.
Click to expand...
Click to collapse
I have updated the files to also disable the long key press
Thanks!
This certainly works brilliantly but I have another suggestion...
Would it be possible to only have the button disabled while the device is powered on? If the device powers off by itself after the timeout, you have to close the keyboard, power on and then re-open the keyboard to carry on where you left off.
Again, not a major issue so no biggie if it isn't possible but I think that would be the final touch to this great fix!
+1: Great little tool.
vigilante_xix said:
Thanks!
This certainly works brilliantly but I have another suggestion...
Would it be possible to only have the button disabled while the device is powered on? If the device powers off by itself after the timeout, you have to close the keyboard, power on and then re-open the keyboard to carry on where you left off.
Again, not a major issue so no biggie if it isn't possible but I think that would be the final touch to this great fix!
Click to expand...
Click to collapse
This with another twist:
I realize that you have done a new version, which disables the "long press power off" function. How about making "long press power button" turn the device on when the keyboard is open?
monx® said:
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Click to expand...
Click to collapse
Cheers Monx thany you very much.
Andy
TorbenKB said:
+1: Great little tool.
This with another twist:
I realize that you have done a new version, which disables the "long press power off" function. How about making "long press power button" turn the device on when the keyboard is open?
Click to expand...
Click to collapse
I am still working on your suggestion. However, I have created a new version which reads your current power settings on battery power. When you open the keyboard the suspend timeput is disabled. When you close the keyboard the suspend timeout returns to the setting you had previously chosen (I hope ).
In other words when the keyboard is open on battery power the device never turns off.
Just unzip the file and copy it to \windows\startup - then reset your device.
dahoarty said:
I am still working on your suggestion.
Click to expand...
Click to collapse
Ok. Thanks.
dahoarty said:
However, I have created a new version which reads your current power settings on battery power. When you open the keyboard the suspend timeput is disabled. When you close the keyboard the suspend timeout returns to the setting you had previously chosen (I hope ).
In other words when the keyboard is open on battery power the device never turns off.
Just unzip the file and copy it to \windows\startup - then reset your device.
Click to expand...
Click to collapse
Sounds interesting. Thanks. Will test that.
is there a way to wrap all four of these into one cab? BTW, once you install a cab file, do you have to keep it?
Chevy-n-Yamaha said:
is there a way to wrap all four of these into one cab? BTW, once you install a cab file, do you have to keep it?
Click to expand...
Click to collapse
See Post 5 - http://forum.xda-developers.com/showpost.php?p=4300628&postcount=5
I quite like my device auto switching off after 1 min to help conserve battery life.
Does this mean it's not possible to have the power button operate only when the device is switched off, while the keyboard is still open?
If not, how about creating a keyboard combination to switch the device back on, since the keyboard is already open. For example, press Ctrl+Shft+O to power on?
vigilante_xix said:
I quite like my device auto switching off after 1 min to help conserve battery life.
Does this mean it's not possible to have the power button operate only when the device is switched off, while the keyboard is still open?
If not, how about creating a keyboard combination to switch the device back on, since the keyboard is already open. For example, press Ctrl+Shft+O to power on?
Click to expand...
Click to collapse
I am working on a solution to this.
However, I have worked on the principal that I only ever have the keyboard open when I am typing something. When I've finished I close the keyboard and the power options return to normal.
New Version Available with All Options if One File - See Post #1
dahoarty said:
New Version Available with All Options if One File - See Post #1
Click to expand...
Click to collapse
I installed that 1 .cab file but it doesn't work... Shows up in the Remove Programs list but Power button still functions when the keyboard is open.
-- EDIT --
Actually it was my bad. Didn't have mort script installed... RTFM!!!
Everything is now working fine. Thanks again for this great release... Hitting the power button was a huge annoyance for me when using the keyboard...
- ReDz

Assign HD2 Task Manager to Hardware Send Key

Hi, This is my First Post to XDA. After using TP2 for 2 months, I just got my new HD2. Its a great piece of Hardware but I immediately notice following things:
1. The Standard Task Manager that used to sit at Top Right Corner is no longer there.
2. All Settings->Personal->Buttons does not have any Button Listed. So, I cannot assign a Task Manager to Hardware Key.
After investigating, I could find that the Task Manager that find from "Settings"->"Other"->"Task Manager" is located in \windows\taskmgr.exe
This is not a Bad Task Manager but I needed to assign this to a Hardware Key.
Following Registry entries will allow you to bring up the "taskmgr.exe" when you perform a Long Press to Send Key (Left Most Hardware Key on HD2):
Go to in registry:
HKLM\Software\Microsoft\Shell\
Create a new Key: Keys
Inside "Keys" create another Key: 40C6
Inside "40C6" create following Registry values:
1. Name= Name value= Send key(Hold) type=string
2. Name= Icon value= \windows\SendKeyIcon.exe, 0 Type=string
3. Name= Flags value= 0 Type=dword
4. Name= default value=\windows\taskmgr.exe Type=string
Now restart. This is working great for me.
or just use Duttys Task Manager for Leo which adds back the task manager to the top right of home screen and very nice it is too
snapworx said:
or just use Duttys Task Manager for Leo which adds back the task manager to the top right of home screen and very nice it is too
Click to expand...
Click to collapse
I used Dutty as well. It gives back the Lost Task Manager from TP2. However, I also need a ATL-TAB type task switcher.
rezaulkabir said:
I used Dutty as well. It gives back the Lost Task Manager from TP2. However, I also need a ATL-TAB type task switcher.
Click to expand...
Click to collapse
Try this
http://forum.xda-developers.com/showthread.php?p=1700898
I don't know about assigning it to keys though. May be something in the registry to assign buttons?
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Hi all,
I'd like to map another key for a long press. For example the Windows logo hardware key. What is the code for this ? I only know 40C6 for the call key.
Thanks.
johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
Man, that is brilliant! I thought I was going to have to install AE buttons to achieve this! thanks heaps.
johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
If "long_send" exists, I cannot answer incoming call with this key.
Is it possible to assign a long press action to "home" or "Windows" key? What will be the right filename? It seems not possible with HD2 after seraching the forum.
Thanks.
Thanks!! This registry tweak works like a charm!
Trick with long_send.lnk doesnt work for me...
Another keycode is 40C7 for Endkey.
Does anyone know how to make this work on a bluetooth headset?
I'm trying to get cybertron Voice Commander to fire up on a long press of the send button on my bluetooth headset.
I've put a link to the app in /windows and named it long_send. The send key on my HD2 opens the app but the headset key doesn't?
Any idea why?
Regards
Clive
johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
That is great!
Any other shortcuts for at least one of the HD2 keys (Home, Back, Win)?
Since I just ran into a problem with the long_send way of doing things, I thought I would add what I encountered.
I have just bought pocketshield, and wanted to have a task manager on a long send key function. Changing copying a shortcut to \windows and renaming it long_send worked great, until I power cycled. At that point the long_send disappeared, and I had to redo the shortcut trick.
I figured something was deleting it, so I used total commander to change the shortcut properties to a system read only file. This worked for the long_send function, but it broke my task manager...
So, I deleted the long_send shortcut, rebooted, and the task manager worked again, so it seems there is a conflict. I ended up using the registry hack from the first post to get it working.
Cheers!
An easier approach... You can assign any volume key long-press to the task manager(or to any program), with Volumex software
Volume keys are easier to reach as they are always next to your thumb(left hand) or next to your index (right hand). Especially on the HD2 which is big and HW keys too far below...
any solution for the win key?
sorry. duplicate..
slayerns said:
any solution for the win key?
Click to expand...
Click to collapse
+1
I would like to map this to the win hard button too.
Hello,
How to change the function to the button "Back" HTC HD2?
Merci
cliver said:
Does anyone know how to make this work on a bluetooth headset?
I'm trying to get cybertron Voice Commander to fire up on a long press of the send button on my bluetooth headset.
I've put a link to the app in /windows and named it long_send. The send key on my HD2 opens the app but the headset key doesn't?
Any idea why?
Regards
Clive
Click to expand...
Click to collapse
Well, I wonder how HTC could miss this point about assigning buttons and bluetooth stuff as flixibility is probably the most important thing that wm users want.
For me, I have tried the long_send.lnk trick with MSVC, which works , but I can't receive call with send button. Now my main problem is the call button on my headset that when I long press it, it doesn't start any application, but after I install Cyberon VSD, it starts. There should be somewhere that we can configure the file location in which this long press function triggers, but still can't find it. I even can't find the Cyberon exe files.
Any idea, guys? Thanks in advance..
rezaulkabir said:
Hi, This is my First Post to XDA. After using TP2 for 2 months, I just got my new HD2. Its a great piece of Hardware but I immediately notice following things:
1. The Standard Task Manager that used to sit at Top Right Corner is no longer there.
2. All Settings->Personal->Buttons does not have any Button Listed. So, I cannot assign a Task Manager to Hardware Key.
After investigating, I could find that the Task Manager that find from "Settings"->"Other"->"Task Manager" is located in \windows\taskmgr.exe
This is not a Bad Task Manager but I needed to assign this to a Hardware Key.
Following Registry entries will allow you to bring up the "taskmgr.exe" when you perform a Long Press to Send Key (Left Most Hardware Key on HD2):
Go to in registry:
HKLM\Software\Microsoft\Shell\
Create a new Key: Keys
Inside "Keys" create another Key: 40C6
Inside "40C6" create following Registry values:
1. Name= Name value= Send key(Hold) type=string
2. Name= Icon value= \windows\SendKeyIcon.exe, 0 Type=string
3. Name= Flags value= 0 Type=dword
4. Name= default value=\windows\taskmgr.exe Type=string
Now restart. This is working great for me.
Click to expand...
Click to collapse
I am not shure what goes into Name field and what into String field, i have tried to put Name value= Send key(Hold) into Name field, also Name value into Name, Send key(Hold) into string, and it didn't work for me. Can u tell me please what goes into what field. thanks
Here is the ready complete registry key
http://www.megaupload.com/?d=OLB5RHLE
Put in the phone and start, soft reset after that.
Go to settings\personal\buttons and assign program for the list that appears below.

Categories

Resources