Flashlight turning on constantly. All gestures turned off. - Google Pixel 3a Questions & Answers

At least 5 times a day I take my phone out of my pocket and the flashlight is on. I also accidentally turn it on a lot while pressing the power button. 8 have disabled every gesture in the menu, but can't figure out how to disable the flashlight from turning on when I long press the power button.
I'm rooted on the latest update. I'm willing to remove the flashlight completely if that's the only answer, but I was hoping there was a way to remap the power button long press. I've tried a few button remapping apps, but they haven't detected power button long press.

Danksh said:
At least 5 times a day I take my phone out of my pocket and the flashlight is on. I also accidentally turn it on a lot while pressing the power button. 8 have disabled every gesture in the menu, but can't figure out how to disable the flashlight from turning on when I long press the power button.
I'm rooted on the latest update. I'm willing to remove the flashlight completely if that's the only answer, but I was hoping there was a way to remap the power button long press. I've tried a few button remapping apps, but they haven't detected power button long press.
Click to expand...
Click to collapse
Sounds like you may have the active edge magisk module installed? That is not typical behavior for the power button. What rom are you running?
Sent from my Pixel 3a using Tapatalk

Thank you very much jmtjr278. Your reply lead me to the right direction. It was the Dark Tricks Xposed module. I had installed a few modules as soon as I got the phone, but never went through their settings, and completely forgot they were even there. Much appreciated.

Related

Turn on the phone from sleep without pressing power button

Ok, the story is, my phone goes to sleep every 30 secs to save battery. And since I'm still very excited about it, I turn it on quite often, just to check . And the only way to turn on from sleep (as far as I know) is pressing the power button. Well, that means that button will be pressed a lot! I'm just worrying that it will soon have problems. It would be much cooler if we can touch some Android button down there, Home button for example, to turn on the phone. Do you know anyway to do that?
PS: I tried to google as well as search through out this forum, but the keywords are pretty common, so it's really hard though.
I wouldn't want the capacitive buttons activating my phone, think of all the butt-dialing
I think Widget Locker allows for any hardware button to wake up the device, so then you'd be able to distribute the fun between your volume rocker and the power button.
Widget locker does allow the use of the volume rocker to wake up the phone.
a short term fix or you might be to got o settings-->Applications-->Development-->Stay awake....
so as long as you are charging the screen will not sleep. dont forget to change the setting back if you walk away for a bit... or go to bed
Thanks guy. I think the volume button is good enough
Rumur said:
Widget locker does allow the use of the volume rocker to wake up the phone.
Click to expand...
Click to collapse
thanks rumur, i going to give widget locker a try.
i hate it must reach for power button to wakeup!
i like "Simply Lockscreen", it also turns on cappy with volume buttons.
give it a try
On a similar note, do you all have any app tips that will allow me to do something special with the volume button while the screen is off (maybe long press or double click, or press both volume buttons at once) that will in turn toggle silent/vibrate on and off?

Nexus S 4g - Disable broken power button?

I've already read through this thread: http://forum.xda-developers.com/showthread.php?t=1596085 and used this thread http://forum.xda-developers.com/show....php?t=1524858 for remapping my search button to my power button, along with using volume for wake. I have done both of these, and that works just fine.
But, my problem is a little different.
My original power button didn't just stop working, it is actually malfunctioning. Meaning that the power button is being hit at random times, even when I don't press it (or the search button which is now my power button). It is extremely annoying and difficult to use the phone.
Does anyone know of a way to disable the power button completely? I'll settle to using search for off and volume buttons for wake, but I need a way to disable the original power button. The button remapper app from the thread above includes a way to remap or disable every button, except the original power button.
Thanks for your help
It says it all in the second link you posted. Read it all.
Sent from my Galaxy Nexus using xda app-developers app
No.
Like I said, I want to DISABLE the power button completely, because it's malfunctioning. I have ALREADY remapped it to the search key, but the original power button keeps pressing itself, turning the screen on and off, bringing up the boot menu, etc.
The button remapper app allows you remap or disable every button EXCEPT the power button. So while you can remap search to be power, you couldn't remap power to be search (or in my case, disable power completely).
Anyone?
You would have to physically disable the button yourself.
I don't think its possible to fully power off your phone, but what you can do is map the volume up or down buttons as a wake key. I myself want to do this and am still searching for the solution, but if you want to take a crack at it:
The file buttons you want to edit should be in here. somewhere(system/user/keylayout) Root explorer can help you edit the layout without changing the format. That's as far as I can take you for now
Sent from THE JUGGERNAUT 5.0 sgh t989
Try open your nexus..using small screwdriver..
Just pinched it..make it seperate with motherboard..
Sent from my GT-I9100 using Tapatalk 2

How to disable power button

yesterday my power button died, but I was able to turn on my N5 somehow. after, I've enabled the double tap to sleep on the statusbar and on the lockscreen and volume buttons now wake the device, but I wasn't able to remap the power button and if I accidentaly press it, I don't know what will happen. So, there's any method to completely disable the power button? I've tried with gravity box but there isn't any option to do this.
someone knows how to disable the power button from the .kl files in system/usr/keylaout?
And then, can I use the volume buttons to turn on the device when it's off or I have to keep it on forever?
Here some stuff you may interest:
Nexus 5 Power Button Broken - Here's what to do
Nexus 5 power button rattle fix....
Good luck
thanks, but I don't know when I can repair it, so anyone knows a solution that temporaly disable the power button?

Camera launches on SINGLE power button press.

Already drives me crazy. About 10% of all times when I tried to simply lock or unlock phone (without double press for camera) — camera launches with long vibration. Appeared about a week ago. Stock Android 6.0.1, latest camera app.
Derped power button. Use volume button to unlock or go to service center to get it fixed.
P.S Have the same problem. I use volume button
Remember iPhone 4 and update who enabled multitasking double pressing home button. That update made some home buttons to die faster, cuz they werent made for fast double tap.
Same for Nexus 5. This will kill your power button fast. Mine is dead too. Using dt2w and a navbar button to goto sleep.
Stop using that feature, it kill power button.

Remap hardware buttons? Can i make the camera button become a power button?

The power button on my Z3 is practicaully dead. If the phone turns off it takes a good 10 minutes of trying to get the power button to work. Is there a way i can remap it so i can turn it on from completely off using another button? Or is there some trick I can do with a USB cable to force it to boot? Thanks
https://www.youtube.com/watch?v=ynaTZa9dVJk

Categories

Resources