Tuesday, June 28, 2016

To Disable volume up/down buttons

Posting this because it took me a while to get it done. Why do it? Because the placement of the physical buttons straight-across each other on opposite side of the phone makes it awkward and annoying to use the power/wake button without also hitting/squeezing the vol up/down button. And because volume can be adjusted otherwise using touchscreen in Settings.

Root phone. Install root-enabled file manager app (I use Total Commander, various others work, too.) Go to /system/usr/keylayout/gpio-keys.kl
Mount read/write, open file in editor, etc

Comment-out the two lines:

key 115 VOLUME_UP
key 116 VOLUME_DOWN

...so they look like this:

#key 115 VOLUME_UP
#key 116 VOLUME_DOWN

Save file. Reboot. Volume button basic functions are deactivated.


from xda-developers http://ift.tt/292a7xT
via IFTTT

No comments:

Post a Comment