Remove All Ads from XDA
Honor View 10

Enable On-Screen Btn and Disable hw Btn

553 posts
Thanks Meter: 136
By dong2007, Senior Member on 19th June 2014, 03:42 PM
Post Reply Email Thread
First of all, root is required to edit these files.

Basically, all you have to enable the software buttons, is add 'qemu.hw.mainkeys=0' to the build.prop in /system and reboot.

Deactivate the hardware keys.
Go to /system/usr/keylayout and open 'Generic.kl' in a text editor and find the lines that say 'key 139 MENU WAKE_DROPPED', 'key 158 BACK WAKE_DROPPED', and 'key 172 HOME' and place a # at the start of each line like:
key 172 HOME (I would not recommend and disable home)

Take care here because if you add a # to the wrong line, you won

And last, navigate to system>usr>keylayout. We will be looking for a file called "sec_touchkey.kl".
Out the keys you don't want to work with a #.
So if you are like me and think the home button is fine, it will look like this.

#key 139 MENU
#key 158 BACK
key 102 HOME
key 217 SEARCH

UPDATE: For Customize Navbar Go to Settings-->Buttons
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-06-19-18-10-06.png
Views:	401
Size:	105.5 KB
ID:	2807044   Click image for larger version

Name:	Screenshot_2014-06-19-18-10-18.png
Views:	351
Size:	64.5 KB
ID:	2807045   Click image for larger version

Name:	Screenshot_2014-06-19-18-10-27.png
Views:	334
Size:	59.3 KB
ID:	2807046   Click image for larger version

Name:	Screenshot_2014-06-19-18-13-19.png
Views:	287
Size:	32.9 KB
ID:	2807047   Click image for larger version

Name:	Screenshot_2014-06-19-18-15-28.png
Views:	266
Size:	82.9 KB
ID:	2807048  
4th August 2014, 01:59 PM |#2  
dong2007's Avatar
OP Senior Member
Flag subsurface
Thanks Meter: 136
Just remember to remove the # - before you update the Cyanogenmod version to a newer.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes