Remove All Ads from XDA
Honor View 10

[SOLVED]Enable On-Screen btn and disable hw btn???[/SOLVED]

553 posts
Thanks Meter: 136
By dong2007, Senior Member on 13th June 2014, 10:36 AM
Post Reply Email Thread
Is it possible to get this settings to CM 11 (S4 Mini LTE)?
Enable On-Screen button & Disable HW button.

The screenshot is from Oneplus one settings.

EDIT: I found a manual solution.

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

For Customize Navbar Go to Settings-->Interface

Attached Thumbnails
Click image for larger version

Name:	oneplus_disable_b2.jpg
Views:	81
Size:	132.2 KB
ID:	2795569  
16th June 2014, 07:34 PM |#2  
dong2007's Avatar
OP Senior Member
Flag subsurface
Thanks Meter: 136
HereĀ“s a demonstrated video from Oneplus One
19th June 2014, 01:55 PM |#3  
dong2007's Avatar
OP Senior Member
Flag subsurface
Thanks Meter: 136
I found a solution - look at the first post...
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