Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

My Nexus S has a broken power button that some days works fine, some days doesn't work at all, but most days just acts up and will randomly turn my phone on, even when it's sitting on the table.

I'm running a CyanogenMod 10.1 nightly on it. Through ButtonRemapper, I've mapped the soft search button to act as a power button, and enabled the volume buttons to turn the phone on. Thus, I have no need to use the power button anymore, and it is just annoying.

Is there a way I can disable (without hardware modifications) the power button? ButtonRemapper doesn't have in its options the ability to change it, and I've had no luck trying to modify the keymap files.

Any help is appreciated!

share|improve this question

1 Answer 1

There is no way to disable the power button thru software

Because power button signals is hardwired to the phone's internals. Hardware modding is the only option for this happen

I suggest getting that button repaired. Its not really expensive (250Php equivalent to 6$ USD), and can be done quite fast. Not sure about official service centers though

share|improve this answer
It is hard wired to the phone's internals, but the software still decides what to do when it receives that signal. I.e. when in clockwork mod, pressing the power selects an option, not shutting the screen down as when booted into android. I just want a way for android to ignore presses from the power button, if that makes sense. –  penguinrob Mar 13 '13 at 20:32
All buttons are 'hard-wired' - that's how the phone knows whether the button is pressed or not. But it's just a button. –  Poldie Jun 15 '13 at 11:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.