[How To] Disable volume button when screen lock - Touch HD General

Dear all,
I am not sure if this is being shared. Anyway i found this solution myself and wishes to share with anyone who is running WM6.1 and wish to keep their volume button lock when screen lock. Below are the steps.
Step 1) Make a backup of HTCVolumeControl.dll in your windows folder
Step 2))REGEDIT HLCU\Software\HTC\Bootlauncher\Services\HTCVOLUME\Module, change value from "Windows\HTCVolumeControl.dll" to "Windows\HTCVolumeControl.dll.bak" and RESTART
Step 3) Copy attached HTCVolumeControl.dll to windows folder and replace the existing one using Total Commander or other file explorer
Step 4) REGEDIT HLCU\Software\HTC\Bootlauncher\Services\HTCVOLUME, change value from "Windows\HTCVolumeControl.dll.bak" back to "Windows\HTCVolumeControl.dll"
Step 5) REGEDIT HKEY_LOCAL_MACHINE\Software\HTC\VolumeOverlay, set "LoadIconFromResDLL"=dword:00000001, and RESTART

WOW! I've been looking for something like this for a while now! Thanks!

yes i know because i came across some thread regarding accidentally activating the volume button while screen is lock. I personally is facing this problem until i found this solution.
glad that it works for you. =)

Related

How To Replace Long Press Power Button Shutdown App With PsShutXP

Orig title:How Do I Remap Power To An App On My Mogul
I want to replace my long press power button application with psshutxp. I tried to edit the registry, rename the link to long_press etc..., map key 00EC and nothing.. Need help...
I did download aebplus but it fights with the default shutdown app..
i'm running WM6.1 on my sprint mogul
Eazy
http://forum.xda-developers.com/showthread.php?t=398571
NotLutzik said:
http://forum.xda-developers.com/showthread.php?t=398571
Click to expand...
Click to collapse
Don’t do that to me.. Because I do contribute when I can.. and I actually have a fix.......
If you didn’t know you could have posted that.. Well here it is..
You need to do two things..
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
NOTE: the only reason I choose to do it on long press is because I sometimes quickly want to turn off my screen when putting the phone back into the case. I don’t want to worry or wait for the app to come up and choose an option.
I have attached the two files and they came from a Mogul running WM6.1. If you use these files please backup your device first.
Eazy
maybe someone can create a cab for me please ;-)
mm with diamond don't go.. any ideas?
Great idea Eazy. I'll be waiting for a cab too...
On my hermes, there is no poweroffwarning.exe, so your solution will not work on all devices.
Just had a quick look at the running tasks, and the warning comes from gwes.exe, which is the 'Graphics, Windowing and Events Subsystem'
eazy2001x said:
Don’t do that to me.. Because I do contribute when I can.. and I actually have a fix.......
If you didn’t know you could have posted that.. Well here it is..
You need to do two things..
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
NOTE: the only reason I choose to do it on long press is because I sometimes quickly want to turn off my screen when putting the phone back into the case. I don’t want to worry or wait for the app to come up and choose an option.
I have attached the two files and they came from a Mogul running WM6.1. If you use these files please backup your device first.
Eazy
Click to expand...
Click to collapse
Works fine on my Touch Pro.
And, if you use program like Resco Explorer, you can pass the ZIP routine, and go directly to overwriting the .exe .
works on my Trinity 6.1
very nice thank you!!!
jez83uk said:
On my hermes, there is no poweroffwarning.exe, so your solution will not work on all devices.
Just had a quick look at the running tasks, and the warning comes from gwes.exe, which is the 'Graphics, Windowing and Events Subsystem'
Click to expand...
Click to collapse
seems like you know your problem.. so run the app and make sure its the same app to shut down your phone then replace it following the process.. i never said that it will work on all devices hence the reason that i posted what phone i was using.. i am using it on my diamond as well..
if you need any more help let me know.. all i did was post a process that worked for me. if you need to use a diff exe please feel free to do so..
eazy2001x said:
seems like you know your problem.. so run the app and make sure its the same app to shut down your phone then replace it following the process.. i never said that it will work on all devices hence the reason that i posted what phone i was using.. i am using it on my diamond as well..
if you need any more help let me know.. all i did was post a process that worked for me. if you need to use a diff exe please feel free to do so..
Click to expand...
Click to collapse
I'm sorry, I certainly didn't intend to imply any criticism of your work.
For anyone else in my situation, unfortunately the gwes.exe is a vital process, which is always running, and does more than just the power off warning. As there is no standalone app for this warning in my rom, there is no exe which can be replaced.
I made a cab for the method stated.
PsShutXP_Replace.cab is just an automated way of Eazys method on the first page so check that first.
PsShutXP_Diamond.cab is the same method but with the VGA version and a diamond skin from lesteryh
Can this be undone if it doesn't work?
I think there's still the issue where it doesn't work right if you also use S2U2. not sure which ones at fault there.
Works fine on my Vogue running NSFAN's 6.1 Rom. I'm also running S2U2.
I dought the uninstall will work. If you want to go back then read Eazys post on page one and backup the file first.
eazy2001x said:
Don’t do that to me.. Because I do contribute when I can.. and I actually have a fix.......
If you didn’t know you could have posted that.. Well here it is..
You need to do two things..
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
NOTE: the only reason I choose to do it on long press is because I sometimes quickly want to turn off my screen when putting the phone back into the case. I don’t want to worry or wait for the app to come up and choose an option.
I have attached the two files and they came from a Mogul running WM6.1. If you use these files please backup your device first.
Eazy
Click to expand...
Click to collapse
It works!
Many thanks!
Anthony2oo5 said:
I made a cab for the method stated.
PsShutXP_Replace.cab is just an automated way of Eazys method on the first page so check that first.
PsShutXP_Diamond.cab is the same method but with the VGA version and a diamond skin from lesteryh
Click to expand...
Click to collapse
Hey.. Can I ask you to change up how your cab works.. Just to make things easy.. I have not ventured into how to make cab's yet but will soon..
User:
Install PsShutXP (QVGA/VGA)then run the (not yet created) cab
Your cab:
create a directory under \program files\PsShutXP called Backup
create a directory under \program files\PsShutXP called modfile
copy \Windows\PowerOffWarning.exe to \program files\PsShutXP\backup
copy \program files\PsShutXP\PsShutXP.exe to \program files\PsShutXP\modfile\PowerOffWarning.exe
copy program files\PsShutXP\modfile\PowerOffWarning.exe to Windows\PowerOffWarning.exe and overwrite the file.
copy \program files\PsShutXP\*.gif to \Windows\
and on your uninstall
copy \program files\PsShutXP\Backup\PowerOffWarning.exe to \Windows
This will allow the user to uninstall the program if needed.
I am also using that skin on My Touch pro but removed the text up top that says Touch Diamond.
If you could create that cab it would be greatly appreciated. Until then everyone can just follow the manual process..
Working Devices so far:
Mogul 6.1
Touch 6.1
Touch Pro 6.1
Touch Diamond 6.1
Vogue 6.1
Trinity 6.1
jez83uk said:
I'm sorry, I certainly didn't intend to imply any criticism of your work.
For anyone else in my situation, unfortunately the gwes.exe is a vital process, which is always running, and does more than just the power off warning. As there is no standalone app for this warning in my rom, there is no exe which can be replaced.
Click to expand...
Click to collapse
I'll help you out.. I don’t think gwes.exe is the right file for you to be looking at.. How about this.. It seems that when you hold down your power button you get the same type of power off warning box that we do.. How about you go into your windows directors and sort by exe. Then start clicking on each exe until you see the warning box pop up and then you will know which file shuts down your phone. That’s how I found the PowerOffWarning.exe file. Please report back...
There's a thread over at ppcgeeks that I can't find right now, but it said to just copy the psshutxp.exe and paste a .lnk in \Windows\. Then you rename the "psshutxp.lnk" to "Long_Power.lnk". This method doesn't overwrite any exe's and works like a charm on my Touch Pro.
at the time that did not work on my mogul.. if it is working for you then your good.. if it works for anyone else then they dont need to use this process.. i have not tested that on my diamond pro since this worked for me.

PS ShutXp

Hi Guys,
Need a little help.
I flashed my Diamond, and I'm just restoring my software and I can't remember how I done it before but I had PS shutxp set-up and mapped to the power button when held down.
I tried searching but I can't find the thread that I used to do this.
Any help would be greatly appreciated =)
Thanks,
Steve.
here you are!
Credit goes to "easy2001x"
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
Do it on your own risk, j havent test it, and it come from Mogu's forum..
Thanks Guys!
Ever so grateful for your quick response!
Steve
xenkato said:
Credit goes to "easy2001x"
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
Do it on your own risk, j havent test it, and it come from Mogu's forum..
Click to expand...
Click to collapse
Eazy2001 not easy ;-)
Blazeitup123 said:
here you are!
Click to expand...
Click to collapse
Hi - I'm using this cab in lieu of the normal psShutXP.cab and am pleased to see that this actually powers the device off properly as opposed to sleeping.
Being very picky on the cosmetics (!), I noticed the latest psShutXP.cab fades down the background when the window launches - as per desktop XP/Vista etc - yet this version here doesn't. Perhaps an edit of an older version?
I'll take functionality over cosmetics any day.. however both would be just perfect!!
Any ideas guys?
xenkato said:
Credit goes to "easy2001x"
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
Do it on your own risk, j havent test it, and it come from Mogu's forum..
Click to expand...
Click to collapse
I installed this cab file called poweroff-diamond.cab from andrewloh, which is basically ShutXP, but once it's installed, it automatically mapped to the long-press power button.
just install the standard psshutxp and use advanced config tool to map it to long press power key
hi guys
how can I mapping on/off button with advanced config?
Here is onother that works with Power Button
ShutXP in the Start Menu
Is there any possibility or option to have this programme (shutxp) in the start menu, instead of pressing long the power button, for powering off the diamond?
toful said:
Is there any possibility or option to have this programme (shutxp) in the start menu, instead of pressing long the power button, for powering off the diamond?
Click to expand...
Click to collapse
You can accomplish that by installing one of the official cab files for psShutXP that I have attached below.
And of course, you can simply go to Settings > Personal > Menu to add it to your list of frequent applications in the start menu.
NOTE: This version doesn't include a custom skin, it uses the default WinXP skin.
cerebralgenius said:
You can accomplish that by installing one of the official cab files for psShutXP that I have attached below.
And of course, you can simply go to Settings > Personal > Menu to add it to your list of frequent applications in the start menu.
NOTE: This version doesn't include a custom skin, it uses the default WinXP skin.
Click to expand...
Click to collapse
Thank you for your reply, cerebralgenius.
The point is that I've already looked to the settings you mention but I don't have map this programme for selecting it. I have it installed together with a ROM pack so I can not select it to view it on the start menu.
I will try the new cab you posted.
Thanks

Changing Quicklinks on homescreen

This ist probably a stupid question, but I just couldn't find a solution.
How do I change an already existing Quickling on the homescreen? The same question is also valid for the contacts screen.
Once I have defined a Quicklink on the Homescreen there doesn't seem to be a method to change it to something else, I couldn't find it anywhere in the settings. And touch-and-hold doesn't do anything eighter.
So if anyone knows the solution please post it here.
Thanks
chuelibrueder
Remove quick links
Try "Menu" (lower right corner) -> Remove quick links ->tap on the one you want to remove -> Done -> you're done
found solution (sorry)
Okay that works.
Thank for your help.
I'm also having Quicklinks problems.
I can delete/change the ones that point to programs but the last row of my Quicklinks point to my top websites (ie; Bookmarks/Favourites) and if I use the normal method to delete them it doesn't work! Has anyone else found this, or a solution?
What might be the issue is that I've installed a cab to increase the number of Quicklinks from 9 (3x3) to 16 (4x4). Could that be causing this, as in a stock HD2 that last row wouldn't even be there...?
Many thanks!
You may certainly use a *.cab which has modified the number of quicklinks on home tab, and which doesn't work properly, isn't ?
You can :
- uninstall this cab
- sof reset
- delete quick links
- install back the cab
- soft reset
Then it's ok.
I realise that this is an old thread but I am a new owner of an HD2 and still finding my way. I have done a search and this is the closest thread to my issue.
Just like ugotamesij I have 16 quick links on my home page. My probem is that I cannot remove an unwanted quick link by using the menu button option to get rid of it. The link that I am trying to remove is to the Excel Mobile program.
I would like to remove the .cab file that gave me the 16 links and then re-install it but I do not know how to remove the .cab file from the SD card.
I have located the particular file using the file explorer and deleted it from the list on my SD card but the 16 quick links still appear on my phone after a soft reset.
Can someone assist please?
the_rascal said:
I realise that this is an old thread but I am a new owner of an HD2 and still finding my way. I have done a search and this is the closest thread to my issue.
Just like ugotamesij I have 16 quick links on my home page. My probem is that I cannot remove an unwanted quick link by using the menu button option to get rid of it. The link that I am trying to remove is to the Excel Mobile program.
I would like to remove the .cab file that gave me the 16 links and then re-install it but I do not know how to remove the .cab file from the SD card.
I have located the particular file using the file explorer and deleted it from the list on my SD card but the 16 quick links still appear on my phone after a soft reset.
Can someone assist please?
Click to expand...
Click to collapse
you can use the registry editor to remove the links -
HKLM\Software\HTC\Manila\Home
There are keys marked with 0..9 (or 0..n)
each item is a shortcut on the home page.
there is a value called "IsExist" set it to 0,
and set all the other tring values to empty.
If you only want to re-order the links -
you can use the app in the following link
http://forum.xda-developers.com/showpost.php?p=5166930&postcount=6
Som30ne, thank you for the reply and link.
I am sorry to reveal my ignorance but I do not know what your instructions mean. I have never had a windows mobile phone before and have never attempted any tweaks.
This registry editor business sounds very interesting but sadly, it's like a foreign language to me.
If you have the time can you break it right down for me or point me to a "how to..." guide?
the_rascal said:
Som30ne, thank you for the reply and link.
I am sorry to reveal my ignorance but I do not know what your instructions mean. I have never had a windows mobile phone before and have never attempted any tweaks.
This registry editor business sounds very interesting but sadly, it's like a foreign language to me.
If you have the time can you break it right down for me or point me to a "how to..." guide?
Click to expand...
Click to collapse
To edit the registry I use TotalCommanderCE,
it's free, just google it.
After you install it, run it, and click on the [\] button (top right of the screen)
double click "Plugins"
double click "Registry"
and then go to the path specified (HKLM\Software\HTC\Manila\Home\. . . .)
go to each of the number folders and double click the values to edit them.
After editing - exit the TotalCommander,
and hold the power button, and select "power off", than turn the device back on,
so the new values would be loaded on bootup.
I hope it's clear enough.
Enjoy.
(BTW: if you are not sure - write down any o the value you changed,
just in case you need to restore the values to what they were before)
I feel as though I'm on the right path but require a little more help.
After a little further research I installed PHM RegEdit and using the directions provided by Som30ne have found the entry in the registry that relates to the offending quick link (Excel Mobile). It is next to a folder with the number 9.
The path is HKLM\Software\HTC\Manila\Home\9
What do I do to simply remove Excel Mobile as a quick link?
the_rascal said:
I feel as though I'm on the right path but require a little more help.
After a little further research I installed PHM RegEdit and using the directions provided by Som30ne have found the entry in the registry that relates to the offending quick link (Excel Mobile). It is next to a folder with the number 9.
The path is HKLM\Software\HTC\Manila\Home\9
What do I do to simply remove Excel Mobile as a quick link?
Click to expand...
Click to collapse
No
there is a value called "IsExist" set it to 0,
Then click save Then reboot
I don't have a value named, IsExist". I can see;
IsNeedRefresh
IsReadOnly
IsSet
IsSet is the only one of these that has a value other than 0 (the value is 1).
Any ideas?
Can anyone help?
the_rascal said:
I don't have a value named, IsExist". I can see;
IsNeedRefresh
IsReadOnly
IsSet
IsSet is the only one of these that has a value other than 0 (the value is 1).
Any ideas?
Click to expand...
Click to collapse
I dont understand - what do you mean it is near the 9 folder ?
There cannot/shouldnt/isnt any quick links near the folders.
The quick links are defined inside the folders.
Inside each of the folders (0 . . N) there are several entries - one of the entried is called "IsExist", and the others contain a path to a program link, and a path to the program icon.
Thanks for you patience.
I finally found the value IsExist and changed it from 1 to 0. I saved my change and then did a soft reset. Sadly, The quick link is still there and resolutely defies any attempts to remove it.
Is there something that I have missed or is there another way? If all else fails I can see only two choices;
1. Perform a hard reset and start again from scratch or,
2. Leave the quick link where it is and learn to live with it.
Any other ideas - PLEASE?
I am fairly new to this registry editing myself, but I also had this problem.
Using the good advice from this thread so far I have managed to get rid of the quick link from my 4x4 quick link grid.
I just looked at the registry values for an empty link and entered the same values for the one I wanted to remove. I then did a soft reset and it seems to have worked.
Thanks for the support speaky05 but I managed to get the required result by simply un-installing the .cab file that gave me the 4x4 grid and then re-installing it.
I don't know why it didn't occur to me sooner.

[Guide] Change the user buttons to home and back

I was looking to change the user configurable buttons on my Desire Z but couldn't find a easy guide or simple solution. I started to experiment a bit. This is what I found out:
To change the layout you only need to things:
1. a rooted phone
2. A program like Root explorer with R/W permissions
Then do the following:
Go to system/usr/keylayout and open the file for the layout you are using in a text editor (in my case this was the WWE version)
I then changed 'user 1' to 'HOME' and 'user 2' to 'BACK'.
I did a soft reset and I now use the user 1 button to go to the home screen and the user 2 button to go back
note 1:I allso made the above changes to vision-keypad.kl and the wwe-bopomo.kl files, maybe someone can confirm if this is really nessacary
note 2: This guide is problably written a 1000 times but I couldn't find it so I hope it's my first real (small) contribution
Grtz

[TUT] making volume and home button viberate when pressed

firstly thanks to kenjilucas19 for finding this
CAUTION:- 1. the button you will make virtual can not be used on lockscreen
2. do not use this for power button else you will not be able to wake up your screen
you will need root for this
1. open any file manager with root access
2. go to /system/usr/keylayout
3. open aries-keypad.kl with text editor
4. change the word WAKE with VIRTUAL
5. save the file and reboot
you are done
it was done originally on galaxy mini, thread link:- http://forum.xda-developers.com/showthread.php?t=1667694
Its usr, not use .
sorry my keyboard app auto correct words

Categories

Resources