Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,210 Members 49,294 Now Online
XDA Developers Android and Mobile Development Forum

Disable hardware button

Tip us?
 
roccovite
Old
#1  
Member - OP
Thanks Meter 1
Posts: 48
Join Date: Jul 2012
Default Disable hardware button

Hi,i have some problem with the power button,i have some random reboots.I wanted to know if there is a way to disable the power button.
Thanks
 
arj8
Old
#2  
arj8's Avatar
Senior Member
Thanks Meter 14
Posts: 110
Join Date: Dec 2013
Quote:
Originally Posted by roccovite View Post
Hi,i have some problem with the power button,i have some random reboots.I wanted to know if there is a way to disable the power button.
Thanks
R u Sure that random reboots are due to power button?
Then May b u can try looking this thread
http://forum.xda-developers.com/show....php?t=2302169

Samsung Galaxy S3 I9300
Rom: Archidroid v2.4.6
Philz recovery
Boeffla kernel 2.3b6
Viper4android powered sound
The Following User Says Thank You to arj8 For This Useful Post: [ Click to Expand ]
 
roccovite
Old
#3  
Member - OP
Thanks Meter 1
Posts: 48
Join Date: Jul 2012
i've found a way to disable the power button.
with root explorer go to system/urs/keylayout...here open "Generic.kl",search "power" and replace "WAKE" with "NONE".Do the same with "gpio-keys.kl" and "qwerty.kl"
But doing this neither the home button works
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes