disabling hardware buttons - Android Software/Hacking General [Developers Only]

My HTC Polaris wakes up when I softly touch its ring manipulator (it has almost no threshold). So I would like to stop that buttons from waking up the whole phone.
Is disabling the hw buttons completely the only way to solve my problem?
If yes, Is there a way to disable those hardware buttons without recompiling the kernel? What should I change in kernel, if there is no way?

Related

Any extra hardware buttons

I am currently using a Hermes and have a hardware button setup with one press to start a voice recorder. This enables me to start recording with the device still in my pocket. Does the raphael have any extra hardware buttons or a way to start a program with one press and without having to use the screen??
It looks like a perfect device, but without hardware buttons might not be.

Disable certain hw buttons

how do I disable certain hardware buttons?
At least so, that it doesn't wake up backlight ...

Volume lock

No matter who's ROM that's 23569 based I have tried, and a few earlier ones, the volume up and down keys do not lock when you lock the screen. So I keep finding that my Fuze volume status will change from speaker on to vibrate or vibrate to silent. Anyone know of a ROM that locks this, a software patch or is there some kind of registry fix to prevent this?
Moved as not ROM Development.
I use Tarkim's modified keyboard driver http://forum.xda-developers.com/showthread.php?t=521786 it offers to remap keys even when screen is locked. I change my volume keys to a long press to set volume and a short press does nothing. This keeps from accidentally changing volume while holding phone.

[Q] Hardware touch keys with screen off

The power button of my i9023 completely died so I remapped the search button as power button by modifying the key layout file in /system/usr/keylayouts/ but it seems that hardware touch keys are inactive when the screen is off.
Is there a way to enable them? I already tried adding the WAKE flag but it doesn't work.
Ansa93 said:
The power button of my i9023 completely died so I remapped the search button as power button by modifying the key layout file in /system/usr/keylayouts/ but it seems that hardware touch keys are inactive when the screen is off.
Is there a way to enable them? I already tried adding the WAKE flag but it doesn't work.
Click to expand...
Click to collapse
These keys are not kept on when the screen is off. You'd be better using something such a volume wake (wake phone by pressing vol + or -) instead. Lots of roms have it in their options.
polobunny said:
These keys are not kept on when the screen is off. You'd be better using something such a volume wake (wake phone by pressing vol + or -) instead. Lots of roms have it in their options.
Click to expand...
Click to collapse
I already have the volume wake but it doesn't work when listening to music so I installed Tap Tap to unlock also with the proximity sensor; this thread was more for curiosity and aesthetic reasons than for real need.
So, from what I understand, that behaviour is hardware related thus impossible to be changed by software.
Hm, I have one question, is something like this:[KERNEL]Slide 2 Wake possible on our device?
Ansa93 said:
I already have the volume wake but it doesn't work when listening to music so I installed Tap Tap to unlock also with the proximity sensor; this thread was more for curiosity and aesthetic reasons than for real need.
So, from what I understand, that behaviour is hardware related thus impossible to be changed by software.
Click to expand...
Click to collapse
Ted Mosby said:
Hm, I have one question, is something like this:[KERNEL]Slide 2 Wake possible on our device?
Click to expand...
Click to collapse
I believe it would need to be implemented in the kernel. I don't think anybody took the time to check deep enough to do that for our Nexus.
Kinda wish we had it too.

Home Button NOT WORKING

The home button (off-screen navigation button) does not seem to be working for me. It does not respond when I click it. I can confirm that my navigation settings are set to it. I am also not seeing any option in the settings for the fingerprint ID. Gonna assume this is a software issue.
Try to factory reset, but it seems a Hardware issue
My problem is that my home button works too well.
Any way I can stop it from waking up the phone when it is touched? I can't help to touch it when removing it from my pocket, but I don't always want it to wake up. I may just want to move it from pocket to desk. It is much more sensitive than the (proper) power button. There is a reason why power buttons are made the way they are.

Categories

Resources