Remap the Hardware Buttons On Your Android Phone
Suppose you want to make volume keys in Android device as power key, then perform following steps :
Note : Please make sure your device is rooted.
to
key 115 POWER WAKE
key 114 VOLUME_DOWN
to
key 115 POWER WAKE
Suppose you want to make volume keys in Android device as power key, then perform following steps :
Note : Please make sure your device is rooted.
- In Android, hardware key mapping details are present under /system/usr/keylayout/keypad.kl.
- Pull keypad.kl and change VOLUME_DOWN or VOLUME_UP to POWER and add WAKE, like below (Make sure device is rooted)
- For Volume UP key
to
key 115 POWER WAKE
- For Volume Down key
key 114 VOLUME_DOWN
to
key 115 POWER WAKE
- Push keypad.kl, now you can see that VOLUME keys will perform as power key
0 comments:
Post a Comment