Assign Another Unlock Button on HTC Desire

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.

Alternatively, XDA forum member kingchris has also provided his own modifications, in the form of an update.zip file, for those of you who are not so familiar with adb commands.

The only requirement is that the device must be rooted for this tweak to work.

To view RedDragCZ’s tweak, check out his post in the forum thread.

To view kingchris’s mods and download his files, visit his post in the same forum thread.

About author

mic_888
mic_888

I've been around XDA since 2007 when I bought the HTC Touch, well things have moved on a lot since then, and I've tried my hand at developing for WM and Android (still learning), but wanted to contribute more by becoming a News Writer for XDA.I write mainly Android articles, and some Windows Mobile. We're always sifting through the masses of threads for front page news, but do let me or the other guys know if you think anything is newsworthy including any breaking news!