Has anyone already found a way to display the lockscreen using another button then the power on/off button? I can't get used to the new unlocking method. On my Hero, I just had to press a button to see the lockscreen and I even could press a button twice to unlock it.
I guess it should be possible with rooted phones? But I don't know how ofc...
Solution:
You need to edit the file bravo-keypad.kl in /system/usr/keylayout
Open the file in a text editor, you'll see something like this:
You'll have to put the string 'WAKE_DROPPED' behind the button you wish to use to unlock. It has been set on POWER and ENDCALL by default.
You need to pull the file first via recovery, edit it, then push it back to your phone. You can only do this via the recovery, not via programs like Root Explorer!
Go into recovery, then type in the following commands:
Windows:
Mac:
many thanks to RedDragCZ and ritdaw!
I guess it should be possible with rooted phones? But I don't know how ofc...
Solution:
You need to edit the file bravo-keypad.kl in /system/usr/keylayout
Open the file in a text editor, you'll see something like this:
Code:
key 102 HOME
key 139 MENU
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
key 116 POWER WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
You'll have to put the string 'WAKE_DROPPED' behind the button you wish to use to unlock. It has been set on POWER and ENDCALL by default.
You need to pull the file first via recovery, edit it, then push it back to your phone. You can only do this via the recovery, not via programs like Root Explorer!
Go into recovery, then type in the following commands:
Windows:
- adb-nilezon shell mount /system
- adb-nilezon pull /system/usr/keylayout/bravo-keypad.kl c:\
- edit bravo-keypad.kl to your liking
- adb-nilezon push c:\bravo-keypad.kl /system/usr/keylayout/bravo-keypad.kl
- adb-nilezon shell reboot
Mac:
- ./adb-mac shell mount /system
- ./adb-mac pull /system/usr/keylayout/bravo-keypad.kl
- edit bravo-keypad.kl to your liking
- ./adb-mac push bravo-keypad.kl /system/usr/keylayout/bravo-keypad.kl
- ./adb-mac shell reboot
many thanks to RedDragCZ and ritdaw!
Last edited: