So if the phone is locked, anyone without the password or proper authentication can turn on the phone then hold the power button and shut it down.
Other phones ask you to unlock the phone in order to do that so that unauthorized people can't mess with your phone.
Any help on how I can secure my device?
Thanks
It's very standard behaviour in Android phones, long press of the power button shows up the power menu with the usual "Power off" , "Reboot" and "Emergency" even if the phone is locked.
Double press the power button also usually open the default cam app (and anyone can take pics without even unlocking the phone)
If you want to disable this you can go to the settings and disable the long press power off option and the double press option
: Settings -> Advanced -> Smart Key : Disable double press and Disable press&hold
But be aware if you disable the press&hold option the only way to reboot the Zenfone 9 will be from Power icon located in the bottom right of the completely expanded notifications panel
Also if you hold power + vol down for 12s (short is screenshot) it will do a force reboot. There is a combination for almost all android phones to do this
Related
I want to change how the power button functions and I need some help on where to start or for someone to tell me it's not possible.
The power key works like this,
press -> Turn screen off
long press -> Tablet options menu appears
20 sec press -> Turn off tablet
And I want to flip the press and long press functions so the power key works like this,
press -> Tablet options menu appears
long press -> Turn screen off
20 sec press -> Turn off tablet
I was looking at files in /system/usr/keylayout but don't know if I'm on the right track or how to find out key codes for long presses.
Any help is appreciated.
One of the things I love about AOSP ROMs as opposed to LG ROMs is that the power menu activates a lot quicker. I recently found a way to replicate this effect using Xposed.
1. Install Xposed (make sure you're on Dalvik)
2. Install Xposed additions, then activate it and reboot. There appears to be a pro version, though you won't be needing it for this.
3. Go to Buttons, Long Press Delay = whatever you want. 100 is the lowest, 250 feels about right. Too low and your risk activating the power menu when trying to lock the phone.
4. Tap "Add new Key", then press the Power button to detect it. Press OK and then enter the newly created "Power" option
5. Tap "Add New Condition", then tap "Screen On". Optionally add "Lock Screen" as well. No need to add "Screen Off", I don't mind the long delay when the screen is off as it prevents against accidental activation.
6. Inside the Condition, check Long Press, then configure it to open the Power Menu. Make sure to do this for each condition.
Ta-da, instantaneous Power Menu.
Thanks ? What you think about module for additional apps in Quick Window on stock KitKat? ?
Wysłane z mojego LG-D802
Not sure, I don't have one of those quickview cases
Fantastic! Great find mate!
Power Button hold response after 10 sec
Hello guys please help me as I'm frustrated now.
Because when i hold my power button the menu pops up after 10 sec please suggest how to fix it.
Thanks in advance.
Got the some problem as papuruth. Anybody know how to undo changes?
Hello all... long time XDA user, not enough time poster... Ok I had the (now to me) infamous power button issue this past weekend. I was able to get my phone going after beating the bejeezus out of it. With that said, I figured I would keep to using the power button to a minimal dosage. What I have is the following- S4 rooted, with ES File explorer installed with the root option enabled, quick boot, wanam, and mylock. The easiest stuff- I set a quick boot widget for power off and one for reboot (so no power buttons for that), I use mylock for locking the phone, wanam- added screenshot to power menu (among other mods that don't pertain to this), and home button for turning phone on (or Volume button- details coming).
I am going to attach a couple of screenshots too...
With ES File Explorer (going for forward, will be labeled ES) go to Device level / scroll down to system, go to usr, and then keylayout, in there go to Generic.kl. Once in there, scroll down to Key 116. Tap the little pencil in the upper screen of ES. Copy the contents of Key 116 - POWER WAKE (I recommend copying so you have all the spaces needed), delete out the key 114 option (I chose Volume Down) and paste that in there. Now you can leave both at POWER WAKE, or you can change 116 to the VOLUME_DOWN if you want to use the power button to turn down the audio. If you blank it out or add other characters it seems to kill the back button and menu button- SO I RECOMMEND TO HAVE SOMETHING THERE. OK good... so moving on-
Hit the back button and click to save the file.
Next-
in the same level as the Generic file, go to gpio-keys.kl).. Scroll down to Key 114 and replace the VOLUME_DOWN with the POWER WAKE that you should still have on your clipboard. Hit the back button and save text.
Final, you will have to reboot your phone in order for the changes to take effect.
Going forward, if you chose to use the power button for volume down, you will no longer be able able to use the power button while the phone is on for power purposes... it will be a volume down button now. Your volume down button will act like the power, so you can bring up the power menu for shut down/screenshots/etc.
To turn the phone one (if it is off), you have a few options... if the power button still works it will power the phone on (it doesn't matter that you have made this mod, it will not allow the volume down to turn a phone on from power off. If the button is shot shot, you can use the micro usb trick to turn it on ( hold down volume down and power, plug it in, then when download comes on put volume down to restart). Or you can use a jig...
Anyway, I hope this helps someone out. Thank you for checking this out.
https://www.flickr.com/photos/[email protected]/shares/2i5mPz
Hello. On every phone, if i hold the powrr button long inought, it will pop up a power menu. But on meizu, there is only 2 options (power off, reatart) and i found app, that have more options (recovery, turn off sounds, etc). So is possible to somehowe stop the menu function and replace it with open app function? I know that it sounds like an idiot idea, but for me it would be great. Thanks for your time and answers.
P.S.: i was thinnking about macrodroid, but it have only power button toggle (3-5 times) but every device i know lock screen after 1 time pushing power button. Sr for my english
The title says all, fact is that I find pretty irritating that the power button doesn't do the only thing it should do, any way to fix it? Maybe I'm missing something in the settings?
I use it for "ok google".
To turning off the phone instead, I resolved using Macrodroid app ((( https://play .google. com/store/apps/details?id=com.arlosoft.macrodroid&hl=en_GB ))) and set a button widjet on screen (or on the collapse title o wherever you want) with when I trigger it star action "power options". Working without root certified.
Done
Settings > Additional Settings > Power Button > Press and hold power button > Power Menu