Google Confirms “Android Lollipop Day” for November 3rd

A little over a week ago, Google announced the latest iteration of … more

Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more

Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more
Post Reply

Disable HTC M7 capacitive buttons?

OP ShaheenXE

4th May 2014, 12:48 AM   |  #1  
OP Member
London
Thanks Meter: 15
 
74 posts
Join Date:Joined: Mar 2013
More
Hey guys, is there any easy way to disable the M7s capacitive buttons? As I'm using the onscreen keys. P.S I'm using ViperOne 6.1.0.

Sent from my HTC One using XDA Free mobile app
Attached Thumbnails
Click image for larger version

Name:	1399160890440.jpg
Views:	131
Size:	52.3 KB
ID:	2724230  
4th May 2014, 10:59 AM   |  #2  
ZeroInfinity's Avatar
Senior Member
Flag Brighton & Hove
Thanks Meter: 8,144
 
3,513 posts
Join Date:Joined: Dec 2011
Donate to Me
More
So you want to completely disable all function of capacitive buttons?

If so, using a file explorer (I recommend ES File Explorer), navigate to /system/usr/keylayout and find two files named "himax-touchscreen.kl" and "snyaptics-rmi-touchscreen.kl"

open up those files as text and put a hash symbol (#) to every line of those files

Example, in himax-touchscreen.kl, it should look like this in the end:

Code:
#key 102 HOME
#key 158 BACK
Save it and do the same for the other file. Reboot and the capacitive buttons should stop functioning now. If you want to get the capacitive buttons back, just remove the # symbols on those files and reboot
The Following User Says Thank You to ZeroInfinity For This Useful Post: [ View ]
4th May 2014, 01:07 PM   |  #3  
OP Member
London
Thanks Meter: 15
 
74 posts
Join Date:Joined: Mar 2013
More
Hey, I tried to do this method but, it just wouldn't save and also I couldn't find the himax file, I have enabled show hidden files, help would be appreciated

Sent from my HTC One using XDA Free mobile app
4th May 2014, 01:16 PM   |  #4  
OP Member
London
Thanks Meter: 15
 
74 posts
Join Date:Joined: Mar 2013
More
Sent from my HTC One using XDA Free mobile app
Attached Thumbnails
Click image for larger version

Name:	1399205755431.jpg
Views:	112
Size:	93.2 KB
ID:	2724928  
4th May 2014, 01:17 PM   |  #5  
ZeroInfinity's Avatar
Senior Member
Flag Brighton & Hove
Thanks Meter: 8,144
 
3,513 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Did you mount system?

Enable root mode in ES File Explorer and mount system first, then do the edits

EDIT: What ROM are you on? If you can't find himax-touchscreen, skip that and just do the synaptics one and report back if it worked

Also, is that what your snyaptics-rmi-touchscreen.kl shows by default? It looks like you just copied and pasted the stuff I written before If so, you don't need to copy/paste, just add the "#" symbol in front of every line
Last edited by ZeroInfinity; 4th May 2014 at 01:37 PM.
The Following 2 Users Say Thank You to ZeroInfinity For This Useful Post: [ View ]
4th May 2014, 08:41 PM   |  #6  
OP Member
London
Thanks Meter: 15
 
74 posts
Join Date:Joined: Mar 2013
More
It worked thanks for the help

Sent from my HTC One using XDA Free mobile app
25th May 2014, 11:40 PM   |  #7  
gordonpn's Avatar
Senior Member
Flag Montreal, QC
Thanks Meter: 78
 
261 posts
Join Date:Joined: Apr 2013
More
Quote:
Originally Posted by ShaheenXE

Hey guys, is there any easy way to disable the M7s capacitive buttons? As I'm using the onscreen keys. P.S I'm using ViperOne 6.1.0.

Sent from my HTC One using XDA Free mobile app

Are the onscreen buttons a feature of ViperOne? Do they work well?

Edit: Nevermind, I answered my own question by trying it out myself.
Last edited by gordonpn; 26th May 2014 at 01:55 AM.
18th September 2014, 07:36 PM   |  #8  
xdracco's Avatar
Senior Member
Flag Long Beach
Thanks Meter: 32
 
170 posts
Join Date:Joined: Nov 2012
Quote:
Originally Posted by ZeroInfinity

EDIT: What ROM are you on? If you can't find himax-touchscreen, skip that and just do the synaptics one and report back if it worked

running google play edition. the only file that exists is snyaptics-rmi-touchscreen.kl and commenting out the two keys does the trick.

thanks!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes