[MOD] How to disable onboard mainkeys

smohanv

Senior Member
Nov 5, 2006
2,108
639
183
Slough
I always use use gesture menus for Back, Menu, Home and Recents (mainly using the edge swipes via GMD Gesture Control). I feel onboard softkeys are hindrance....

Here what I did which worked for me and this disables all softkey functions.

All you need is to modify the file Generic.kl under system/usr/keylayout as below. I have modified file attached if anyone wants to copy to the folder mentioned above. Take a copy of your original Generic.kl file in case you mess it up.

Obviously needless to say that you need root access hence your phone should be rooted.

The mod is basically adding # in front of command line and also add " before and afterhttp://cloud.tapatalk.com/s/59907b614f6c8/Generic.zip
the button action.

Original Lines:
key 158 BACK
key 580 APP_SWITCH

Modify as:
# key 158 "BACK"
# key 580 "APP_SWITCH"

As a generic disclaimer I am not responsible if you break your device.
 

Attachments

Last edited: