Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,802,998 Members 39,078 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Does anyone know a way to disable the hardware buttons?

Tip us?
 
Alex1123
Old
#1  
Alex1123's Avatar
Senior Member - OP
Thanks Meter 146
Posts: 610
Join Date: Sep 2010
Question [Q] Does anyone know a way to disable the hardware buttons?

Does anyone know a way to disable the hardware buttons so their unusable? i want to use the on screen buttons on AOKP. any help is appreciated
 
sniper
Old
#2  
sniper's Avatar
Senior Member
Thanks Meter 3,487
Posts: 3,008
Join Date: Jan 2012
Location: San Diego

 
DONATE TO ME
You mean just the bottom capacitive buttons?
 
-EViL-KoNCEPTz-
Old
#3  
-EViL-KoNCEPTz-'s Avatar
Senior Member
Thanks Meter 3,495
Posts: 6,230
Join Date: Nov 2011
Location: Tampa Bay area

 
DONATE TO ME
What rom? On aokp, using a root file explorer, go to /system/usr/keylayout/sec_touchkey.kl open it with a text editor, delete the text inside and then save the file. Make sure your nav bar is enabled and then reboot. Once rebooted the keys will no longer work but may light up, to turn off lights, go to settings > display > backlight > custom settings, check use custom settings, go to edit other levels, in the buttons column set all levels to 0 click save and they will turn off, you may need to reboot for the settings to stick. Once both of those are done the capacitives will be fully disabled, no lights and pressing them does nothing. Using es explorer to delete the text in sec_touchkey.kl will automatically create a .bak for the file so if you decide to reenable them you just delete the .kl and delete .bak from the backup and reboot and the touch function will work and reverse the settings under custom backlight to get the lights back.

Sent from my SPH-D710 using xda premium
The Following 2 Users Say Thank You to -EViL-KoNCEPTz- For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes