Assign Another Unlock Button on HTC Desire
If you are one of the many XDA forum members frustrated with only being able to display your Desire lockscreen using the power on/off button, then good news await.
XDA forum member RedDragCZ has posted a little tweak, which allows you to force your device to assign another button such as the MENU button to show the lockscreen and what’s more, double tapping it unlocks the device!
You will need to use the Android Debug Bridge in recovery mode in order to have full rw access to the system partition to pull a copy of the /system/usr/keylayout/bravo-keypad.kl file, then edit according to RedDragCZ’s code and push it back to the same location.
The only requirement is that the device must be rooted for this tweak to work.
To view kingchris’s mods and download his files, visit his post in the same forum thread.