Question Remap powerbutton - Google Pixel 7

Hello,
is it possible to remap long press power button after root?
I want to turn flashlight on after holding down the power button for while.
Thanks!

ok, AOSP mods solved it

Related

Change power button toa different one?

I was wondering if there was a way to re-map the power button to the OK button so when i want to turn on my x1 screen instead of pressing the power button i press the Ok button or maybe another button?
would this be possible? thanks,
Not sure about the re-mapping, but there's a setting under settings>system>key lock that lets you wake up the device by pressing any hardware key.
I need this too!
Have you tried with one of the several button/key mapping tools available?
Did you tried long pressing end call button? Mine locks screen...
Cheers!
Edit: Try AE Button Plus to map your keys.

Power Button Malfunction... Any way to remap and disable?

Hello,
I have a Telus Milestone and the power button seems to have malfunctioned. It seems to be randomly sending presses to the phone. The screen will randomly turn on and off and bring the power button hold menu.
When booted into recovery at the exclamation mark screen, the phone will randomly turn off as if the power button was pressed.
Is there any way to remap the power button in android to do nothing, and then remap the camera button to act as the power button? Thanks!
petard said:
Is there any way to remap the power button in android to do nothing, and then remap the camera button to act as the power button?
Click to expand...
Click to collapse
AFAIK a simple remap of the power button could not be done in software.
The power button is not like the other buttons.
It is physically connected to special signal on PMU to suspend and resume the CPU.
If you got some technical skill, it might be physically replaced by soldering.
Also have a look at your flex cable which is connected to the outter buttons, maybe there's some physical damage.
Regards,
scholbert

[Q] Turn on device with vol- button

Hello,
I've a problem with power button, it is damaged, and turn it on is very difficult so I've thought that the best way to do it is remapping vol- button to behave as power button and I've already found how to do it.
Could this fix work???
Is there another way to turn it on without power button???
Thanks for help

My Volume up button has became the power button

Hello, i'm recently experiencing issue. I'm unable to turn on my screen with the help of physical power button, only by using power up button! Even to shutdown i've to hold my power up button so that the pop up come. please help me what should i do?
what you done flashed custom rom ?
if then flash another it would help or use xposed module to remap your buttons and functions http://dl-xda.xposed.info/modules/com.spazedog.xposed.additionsgb_v75_03be42.apk use this module

Issue with flashlight and power button on stock rom

Hello everyone,
following issue:
When the flashlight is turned on and the screen is turned off, pressing the power button will turn off the flashlight. You then have to press the power button again to wake the phone.
Is there any solution/workaround/mod to just have the power button not affect the flashlight at all?
I go running in the dark sometimes and this is really an annoying issue since I sometimes accidentally press the power button.
Thanks already for reading this!
Cheers

Categories

Resources