How To Disable Hardware keys on Stock / CM / RR Rom on Zenfone 2 Laser

Hi Everyone,
Some users requested me to find a way to disable hardware keys( Capacitive ) on the Zenfone 2 Laser.
As many ROMS like RR already inlude the software navigation bar, Here I present you a simple method of disabling the keys.


Pre-Requirements

1.)Rooted Zenfone 2 Laser
2.)Any text editor for android.
3.)A usable mind ofcourse !

Make sure you have enabled the navigation keys before you follow this, otherwise you will not be able to navigate after a reboot because of non functional keys.

Procedure
1.)Use any root browser/file explorer to navigate to /system/usr/keylayout/
2.)Open the file named ft5x06_ts.l
3.)It would look similar to this

Code:
key 158     BACK                      VIRTUAL
key 102     HOME                      VIRTUAL
key 580     APP_SWITCH                VIRTUAL
key 143     WAKEUP                    VIRTUAL
# key 46      GESTURE_C                 VIRTUAL
# key 18      GESTURE_E                 VIRTUAL
# key 31      GESTURE_S                 VIRTUAL
# key 47      GESTURE_V                 VIRTUAL
# key 17      GESTURE_W                 VIRTUAL
# key 44      GESTURE_Z                 VIRTUAL

4.)Add a ‘ # ‘ on the lines saying BACK,HOME & APP_SWITCH so that it looks like below.

Code:
# key 158     BACK                      VIRTUAL
# key 102     HOME                      VIRTUAL
# key 580     APP_SWITCH                VIRTUAL
key 143     WAKEUP                    VIRTUAL
# key 46      GESTURE_C                 VIRTUAL
# key 18      GESTURE_E                 VIRTUAL
# key 31      GESTURE_S                 VIRTUAL
# key 47      GESTURE_V                 VIRTUAL
# key 17      GESTURE_W                 VIRTUAL
# key 44      GESTURE_Z                 VIRTUAL

5.)Save and Close
6.)Reboot your phone, Tadaaaa
7.)In case you wish to re-enable the keys, just remove the ‘#’ you put there.

Source: XDA (Posted by me over there)

Liked This Post ?

Think how much you can learn with more such posts..Get updated in your inbox right away.

Thank you for subscribing.

Something went wrong.

LEAVE A REPLY