Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Alex1123
Old
#1  
Alex1123's Avatar
Senior Member - OP
Thanks Meter 64
Posts: 332
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 2994
Posts: 2,840
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 3162
Posts: 5,879
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 ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...