Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 7 of 7
Like Tree1Likes
  • 2 Post By steevaavoo
  1. Thread Author  Thread Author    #1  

    Default [How To] Disable Capacitative Keys and Enable Soft Keys

    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 and Pops alot like this.
  2. #2  
    Golfdriver97's Avatar

    Posts
    30,828 Posts
    Global Posts
    31,319 Global Posts
    Carrier
    Pure Nexus/Franco Kernel

    Default Re: [How To] Disable Capacitative Keys and Enable Soft Keys

    Welcome to the forums.
    Nice write up.
  3. Thread Author  Thread Author    #3  

    Default Re: [How To] Disable Capacitative Keys and Enable Soft Keys

    Hi there

    Thanks very much - I hope it proves useful :-)
  4. #4  

    Thumbs up Re: [How To] Disable Capacitative Keys and Enable Soft Keys

    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
  5. #5  

    Default Re: [How To] Disable Capacitative Keys and Enable Soft Keys

    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?
  6. #6  

    Question Re: [How To] Disable Capacitative Keys and Enable Soft Keys

    This method is not working on Lenovo Vibe X3 (X3a40). Can you help please?
  7. #7  

    Default Re: [How To] Disable Capacitative Keys and Enable Soft Keys

    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.

Similar Threads

  1. Blue screens and shutdown after flashing a ROM
    By elmismodesi in forum Sony Xperia TL
    Replies: 1
    Last Post: 06-29-2014, 05:19 PM
  2. Camera problem since upgrading to 4.3
    By Gareth Jones2 in forum Android 4.1 / 4.2 / 4.3 Jelly Bean
    Replies: 0
    Last Post: 05-14-2014, 07:42 AM
  3. google and youtube
    By daddyd302 in forum HTC One M8
    Replies: 0
    Last Post: 05-14-2014, 05:11 AM

Posting Permissions