Key Re-Map Vol- to Power (Requires Root)
This is a Low Level Hack-of-a-solution but it works for now. It is based off of
Decad3nce's Keymap how to. And Most of the instructions are from his work.
How it works is I've swapped the Volume down button and the Power button. I'ts not sophisticated and I'd like to do more like a double tap volume- or long-pressing it while the phone is asleep but I think this will work for most users who don't like the power button placement. This does not take place until the phone boots so powering it up and getting into recovery uses the original buttons.
If you add team douche's Menu Unlock then you get a real easy entry to the phone while still having some fault protection, unlike using NoLock.
Instructions:
unzip the file attached below.
navigate your command prompt to where the file was extracted to.
Reboot your phone into toast's custom recovery.
Code:
adb shell
# mount -a
# cd /system/usr/keylayout/
# mv supersonic-keypad.kl supersonic-keypad.kl.bak
# exit
adb push supersonic-keypad.kl /system/usr/keylayout/supersonic-keypad.kl
adb reboot
Once your phone reboots you should find the volume down button acts as the power and the power acts as volume down. If you argue that you now can not quickly silence your phone I'll point out that if you press the volume down then swipe/menu to unlock then long press volume down you get the silence option. If you wish to push the volume up to the top and the volume down to the volume up button and the power to the volume down, feel free. You can edit the .kl as a word pad file before pushing it to your phone. Make sure you push it as supersonic-keypad.kl and not supersonic-keypad.kl.txt or something.
|