[How To] Disable Capacitative Keys and Enable Soft Keys

steevaavoo

New member
May 14, 2014
2
0
0
Visit site
Just in case anyone might find this useful, I've put together the instructions I found whilst trying to do this.

Finally I can take photos without accidentally bringing up the Menu or closing the Camera App!

First time I've ever posted here, so be kind!

This works in CM11 M6 on Samsung Galaxy S4 (jflte) i9505 - I have not tested with other versions or on other devices.

Make copies of the files you will modify prior to doing this. I'm not responsible for any bricking or faults!

Give File Manager Root Access.

Open the File Manager App, then tap the Menu button (capacitative or onscreen), and tap Settings.

Go to General Settings, scroll down to and tap Access Mode

Switch to either "Prompt User Mode" or "Root Access Mode"

Then...


To add Soft Keys:

Open the build.prop file in ./system/

Add the following line to the end:

qemu.hw.mainkeys=0

Close, saving changes


To disable Capacitative Keys:

Open the sec_touchkey.kl file in ./system/usr/keylayout/

Put a # symbol before the both the following lines:

key 139 MENU VIRTUAL
key 158 BACK VIRTUAL

Close, saving changes


To turn off the Capacitative Key lights:

Go to Settings, Buttons, Backlight

Remove the tick from "Illuminate Buttons"


Reboot and enjoy!
 

bernatman

New member
Mar 10, 2015
1
0
0
Visit site
I always searched for this and never found A working Tutorial.
Until you wrote this beautiful instruction.
Thanks A Lot!! I it works like a charm!!
Proved to be working with GT-S7560M / Galaxy Ace II x / Koodo :)
 

Ck_asdf

New member
Aug 14, 2014
4
0
0
Visit site
I've got a Verizon Galaxy S4 on rooted Hyperdrive ROM RLS20 (4.4.2). I tried adding the mainkeys line, but after restarting, every couple seconds, it complained the UI had closed. Removing the line and rebooting caused the errors to cease.

I had tried out a ROM called KitPop, which had working soft keys, but it didn't work for some other things I needed. Suggestions on what to do, to enable the soft keys?
 
Last edited:

chrisody

New member
Jul 13, 2016
1
0
0
Visit site
qemu.hw.mainkeys=0
if this doesn't work for you,
try this one :
same thing do this at the end of your build prop.

"ro.show.navigationbar=yes"

(without the quotes)
save changes, before you close.
Reboot.
to disable, just type "no" in stead of yes.
(without the quotes, again.)

hope it works. ;)

or try this :
https://apk-dl.com/[root]-soft-buttons/net.alviano.android.softbuttons
install as apk. this will enable and disable your virtual keys, no build prop editing, this app will do it for you. always reboot after each time you use this app.
hope that helps. :confused:
 

Kishore 4110

New member
Nov 24, 2016
1
0
0
Visit site
Power and volume down button not working

I have lenova 6000+ rooted to miui 8 and all were running smooth but I installed ultimate nav bar app and from it my power and volume down button not working.It works for switch on the phone but when phone power ons it does not work at all pls help
 

Trending Posts

Forum statistics

Threads
942,956
Messages
6,916,658
Members
3,158,749
Latest member
sandersc