Sony Xperia Z3 Lollipop Framework Ported to CM12

Android 5.0 for Xperia has a unique look and feel. You don’t have to get a Sony … more

Do You Use Recents as a Task Switcher?

Google introduced a revamped Recents interface with Lollipop in the hopes of making it easier for … more

YU Yureka All-in-One ToolBox (CM12S Only)

This packed toolbox by XDA Senior Member gohel.vishal makes many useful tweaks … more

Sony Xperia Z4 Forum Now Available

Sony’s Xperia line has seen plenty of development on XDA, and now that the Xperia Z4 has been … more
Post Reply Subscribe to Thread Email Thread

This is how to disable capacitive buttons & Add on-screen softkeys

21st March 2014, 11:22 PM |#1  
OP Member
Thanks Meter: 25
92 posts
Join Date:Joined: Nov 2012
In another thread, I nonchalantly posted that I was able to disable the capacitive buttons on my 8.4 and enable on-screen softkey menu buttons. This, surprisingly, has garnered a lot of PMs and requests for how I was able to achieve this, so I've decided to write up a quick guide on how I was able to do it.

*Root required*

1.) Download & install LMT launcher HERE. This allows you to use the PIE on-screen menu navigation softkeys. I love it even moreso than the stock Android softkeys. Here's what my 8.4 looks like with LMT enabled:

(The PIE navigation only show up if you swipe your finger from the side of the screen)

2.) Configure LMT as you deem necessary. It works right off the bat, but you'll probably want to mess around with the settings to your taste preference.

Now to disabling your capacitive buttons:

3.) Download a file explorer/manager (I used Root Explorer)

4.) Using Root Explorer, navigate to System > usr > keylayout, and open Generic.kl in Text Editor. Say "Yes" when asked if you'd like to remount the file as read-write.

5.) Once the file has been opened, navigate to key 158 (back) and key 254 (app_switch), and put a "#" sign in front of each line. Save the file. After rebooting, your back and appswitch capacitive keys will no longer function. I personally left the home button enabled, but you can find the home button key in that same Generic.kl file and disable it if that's what you'd like to do.

6.) Next up is disabling the backlight on your capacitive keys, which was waayyy easier than I ever thought it would be. Simply navigate to Settings > Device > Display > Touch key light duration, and switch the setting to "Always off". Wah lah! Now your capacitive keys are disabled and their backlights no longer light up.

That's it! You are now all set to go with disabled capacitive buttons/backlights and have a handy on-screen PIE navigation menu. No more accidentally bumping the back button in the middle of a game. No more distracting backlights annoying you when you're trying to watch Netflix.

There's also a way to add the stock android style soft-menu buttons, but I was only able to make it work in portrait mode, not landscape. I prefer LMT anyways. However, if anyone wants to add the stock android soft-menu buttons, let me know. I can always add it to this guide.
Last edited by digitalrelic; 22nd March 2014 at 02:46 AM.
The Following 9 Users Say Thank You to digitalrelic For This Useful Post: [ View ]
22nd March 2014, 12:01 AM |#2  
Junior Member
Thanks Meter: 1
5 posts
Join Date:Joined: Mar 2014
Thumbs up Awesome
Thank you soo much for this thread!

I was looking on how to do it on this tablet safely

I messaged you :3

Thank you.
I will post my results
The Following User Says Thank You to fdrferny33 For This Useful Post: [ View ]
22nd March 2014, 01:24 AM |#3  
Junior Member
Thanks Meter: 1
5 posts
Join Date:Joined: Mar 2014
It did worked on my tab pro 8.4!

Thanks Op
22nd March 2014, 09:40 AM |#4  
Junior Member
Thanks Meter: 2
14 posts
Join Date:Joined: Sep 2007
How about stock launcher and the softkeys from android ?

Just found a way for the S4 here at xda.

I come from the LG G Pad, in all points the Pro 8.4 is much better, but ill missing alot the software buttons and the option to change them.
23rd March 2014, 05:14 AM |#5  
Junior Member
Thanks Meter: 1
11 posts
Join Date:Joined: Oct 2013
Thanks, nice
23rd March 2014, 01:23 PM |#6  
Junior Member
Thanks Meter: 0
4 posts
Join Date:Joined: Oct 2008
Hi for disable buttons and add soft key buttons try Gravity box work like a charm I use on note 3 and G.Tab pro 12,2"
23rd March 2014, 01:24 PM |#7  
Senior Member
Thanks Meter: 18
169 posts
Join Date:Joined: May 2007
Gravity box will work with touchwiz?

Sent from my SM-T320 using Tapatalk
23rd March 2014, 01:26 PM |#8  
JaylanPHNX's Avatar
Senior Member
Thanks Meter: 2,147
3,037 posts
Join Date:Joined: Nov 2010
It doesn't seem to be the same running CM 11. Key 158 is there, but 254 is missing. It goes straight from 224 to 256. No app_switch.

From my Pro Tab 8.4
24th March 2014, 05:30 AM |#9  
conan1600's Avatar
Senior Member
Thanks Meter: 206
602 posts
Join Date:Joined: Jan 2011
Donate to Me
Originally Posted by laestrella

Gravity box will work with touchwiz?

Sent from my SM-T320 using Tapatalk

Some features work fine. Pie controls work well and it will disable home, back, and recent cap buttons. Enabling nav bar only works in portrait. I use the pie controls from gravity box on mine with system info disabled and have them set to bottom and left side activation as enabling right side interferes with multi window pull out set to 2 px activation. I use the capacitive button disable from this tutorial so that my home button will work.
Last edited by conan1600; 24th March 2014 at 05:38 AM.
The Following User Says Thank You to conan1600 For This Useful Post: [ View ]
24th March 2014, 06:13 AM |#10  
Junior Member
Thanks Meter: 1
11 posts
Join Date:Joined: Oct 2013
I'm curious as to why one would want to disable the capacitve buttons?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes