Hi all, wanting to make my phone completely thief-proof here, and one of the things I'm wanting to disable is the ability to force-shutdown the phone by pressing and holding the power button.
Is there an Xposed or anything that can negate this? or is it, as I fear, just a hardware configuration that cannot be stopped? If this is the case, can a tasker task that disables the power button when my phone disconnects from my Smartwatch be a solution? I use a OnePlus One so not having the power button functioning when I don't have my Smartwatch is not an issue because I can double-tap the screen to wake it.
Anyways, simply want to disable someone from being able to power off the phone if they take it and don't know my passcode (I already have a fake power-off popup when the phone is locked, so all that is left is to make it so that a thief can't force the phone off).
OR, failing this, worst case scenario, can I put a password on TWRP recovery so that my phone can't be reset if it is powered off?
Thanks,
Michael
(Device: OnePlus One - ROOTED)
Related
My power button does not work at all. It doesn't put the phone to sleep nor can it wake it up. Holding it down doesn't even give me an option to shut it down and presumably it can't turn the phone on either.
So basically I think I just wore the button down. Now in spite of that, is there a way to reflash a new ROM without being able to turn it on using the button? I mean, if I remember the procedure correction, you just have to turn it off to take the sim card out and to put it back in. Can I forgo this step?
I mean, I am just sliding out my keyboard to wake it up but I fear if my battery ever fully runs down.
Try to Hard reset your device..
To perform a hard reset
1. Pull out the stylus.
2. With the device turned on, press and hold the VOLUME DOWN and ENTER buttons, then press the RESET button with the stylus tip.
3. Release the RESET button, but continue pressing the VOLUME DOWN and ENTER buttons until you see this message on the screen:
This operation will delete all your personal data, and reset all settings to manufacturer default. Press VolUp to restore manufacturer default, or press other keys to cancel.
4. Release the VOLUME DOWN and ENTER buttons, then press the VOLUME UP button to perform the hard reset, or press any other button to cancel the reset.
Yup, didn't work. Am I boned if my phone ever turns off? Jeez, and I just received that extra battery too.
Is there a way to remap the sleep button to the PTT key?
you dont have to pull out the stylus or have the device on to do a hard reset. just turn on the device and immediately hit volume down and center. once the screen lights up you can let go then wait for the reset message and press volume up.
anyways, if you have a att fuze, take it in, its under warrenty, theyll replace it. in any case you need it fixed. you cant live your live hoping your battery will never die. you cant turn it on or flash a new rom or anything without a working power button. if you dont have att im sure you can call htc and tell them you want it fixed and theyll mail you the supplies to get it shipped. just hope you can live without it for a couple days. its youre only options if you want it working.
I came back here all excited to post that it suddenly started working but it is back to the way it was.
The phone is really old so it's just of warranty and I don't think it is worth it to have it fixed when so many other problems are wrong with it. I guess it's time to be looking at new phones.
And now the power button is working. This phone just boggles the mind, people. I'm sure it'll stop working in a couple of hours though. Does anyone have any ideas what could be causing this? Maybe a short due to rain or something? Worn down contacts?
Same power button over here.
Sorry for reply on an old article but Google won't help me. I'm havin' the same problem. Na responds on the power button neither can i do a hard reset.
Anyone has a sollution. Phone is out of warranty ...
Is it a hadware problem of something with the software. Still has the (updated) stock rom. I've tried to reflash it with this latest rom but this didn't solved the problem.
Solved (for the time being..) The button seemed to be stuck. With my fingernail I managed to 'lift' it.
Hey guy !
I am not quite sure I am in the right forum, so sorry if I am wrong in choosing this one.
I have an issue with my Nexus 5 where my power button does not work anymore. I have opened and tried to replace the button, with no real success... I was able to power it on by hand and I am wondering if there is any way to map the button (the one that are still working...) of my nexus 5 to custom actions.
Right now I have downloaded an Apps that let me use the volume down to wake up the phone. I have also changed the mapping in the keylayout file to wake the phone. But I am pretty sure if my phone dies or if I turn it off, I will not be able to turn it on. I was wondering if there is any way to map the volume button permanently to the power button, so that I can close and turn on the phone. (mimic the exact behavior of the power button) I am not yet familiar with custom roms (cyanogenmod and stuff), but I have heard that my solution might be somewhere in those custom roms. I have done quite bit of research, but only found solution to wake up the phone, not turn it on or off.
I really need your help with this one.
Thanks a lot in advance !!
No.
Remapping keys requires software
Phone off = no software running = no key remapping.
Mmh ok,
I thought there would be a way to modify something at a lower level than the OS that would allow me to do it.
Another idea then... Is it possible to send a boot message by USB to the phone ? There must be some kind of software running because when it is pugged, an image is shown with the battery charging, so is there any command I could send to boot it up ?
Thanks again !
EDIT : I found a kind of solution to my problem. It does not map the power button to the volume button, but I guess it is the same thing as sending a boot message by USB. By setting the variable oem off-mode-charge to 0 with fastboot, if the phone is powered off, it will boot it up if connected by USB. In case anyone stumble on this post...
Hi,
is it possible to disable the reboot when power button is pressed for 10 seconds?
i rebooted my phone twice accidentally when it was locked because the power button was pressed for 10 seconds in my trousers pocket...
thx for info...
As far as I'm aware that feature is hard coded into all android devices and can't be disabled. Its especially important for devices with non-removable removable batteries since if the device freezes you have no other way to force a reboot. I stand to be corrected though.
I'm assuming you don't keep other items in the same pocket as your phone? But perhaps you may want to look into a cover/case that makes it a little more difficult to press the button in your pocket.
This option plus "volume up + power button" is a one stop thief reset of the phone no matter what tracking app you have. Unless of course rooted. I would rather be able to disable this option as I have more chances having phone stolen than frozen.
On other Android devices I had, you needed to press at least two buttons at once for a reboot, so it would not happen accidentally. With Mate 8, I reboot it with the power button weekly...
My primary phone has met its maker but my brother has given me an older/busted up Nexus 5 to use as a replacement.
The screen on the phone is broken up pretty good but I put a screen protector on it to stop from it shedding glass or getting any worse.
The biggest issue i'm having is with disabling the power button.
The button itself sticks frequently, and while I can find lots of solutions to waking the phone up, I can't find many solutions for disabling the power button.
The phone is currently unlocked and using TWRP. Just need to figure out how to disable the power button without bricking the phone.
In the same boat with a sticking power button.
I am using the "gravity screen" app to avoid having to use the power button.
I have been able to get through without using the power button for the last 6 months.
key things.
never let the phone power down.
restart the phone once every day . (use twrp restart or tasker for scheduled restart)
hope that helps.
Enjoy the Nexus 5
P.S. : I am close to the 3 year mark on my Nexus 5 after ordering it the day it was launched.
First of all I appreciate any and all help on this matter. My problem is simple yet the solution escapes me. My phone starts up fine works fine and there are no problems....until I wake it up from sleep. The phone itself comes on and I can tell that the screen wakes up, but there's no blacklight, just a very dark home screen. So far the only annoying thing i have to do is reset it and it works fine again....until it goes back to sleep. I guess my question is, is this an issue that can be resolved (software). Or is it unfixable without screen replacement (hardware).
You need to test a few things beforehand.
Does it only produce this issue if the screen times out, or by manually pressing the power key to turn the screen off, or both?
Does the screen appear dim when you wake it up via the power button, hard pressing the home button to wake, or using your fingerprint scanner to turn on and unlock your device or a combination of those listed?
I would try safe mode.
You can boot into safe mode by following the below instructions:
1. Power off your device in question
2. Press and hold the power button to turn on the phone
3. When the Samsung logo disappears, release the power key and press and hold the volume down key
4. Continue holding the volume down key until the phone has finished restarting
5. You should now be in safe mode and can verify by looking in the bottom left of the screen for text that states you're in safe mode
After you have successfully booted into safe mode you need to allow your screen to turn off manually, automatically, or both(whichever results in a dim screen when normally booted up) when testing the below steps.
Turn your screen on via the power button and see if the issue remains.
Turn your screen on via the hard press to wake home button (not sure if this is available from safe mode, but worth a try) and see if the issue remains.
Turn your screen on via the fingerprint sensor (not sure if this works from safe mode either) and see if the issue remains.
If all successfully turn on the screen with normal brightness then I would say it's more than likely NOT a hardware issue. If one or the other does not produce normal screen brightness then it's more than likely hardware. If all result in a dim screen then it could be either hardware or corrupt software.
Outbreak444 said:
You need to test a few things beforehand.
Does it only produce this issue if the screen times out, or by manually pressing the power key to turn the screen off, or both?
Does the screen appear dim when you wake it up via the power button, hard pressing the home button to wake, or using your fingerprint scanner to turn on and unlock your device or a combination of those listed?
I would try safe mode.
You can boot into safe mode by following the below instructions:
1. Power off your device in question
2. Press and hold the power button to turn on the phone
3. When the Samsung logo disappears, release the power key and press and hold the volume down key
4. Continue holding the volume down key until the phone has finished restarting
5. You should now be in safe mode and can verify by looking in the bottom left of the screen for text that states you're in safe mode
After you have successfully booted into safe mode you need to allow your screen to turn off manually, automatically, or both(whichever results in a dim screen when normally booted up) when testing the below steps.
Turn your screen on via the power button and see if the issue remains.
Turn your screen on via the hard press to wake home button (not sure if this is available from safe mode, but worth a try) and see if the issue remains.
Turn your screen on via the fingerprint sensor (not sure if this works from safe mode either) and see if the issue remains.
If all successfully turn on the screen with normal brightness then I would say it's more than likely NOT a hardware issue. If one or the other does not produce normal screen brightness then it's more than likely hardware. If all result in a dim screen then it could be either hardware or corrupt software.
Click to expand...
Click to collapse
The problem is reproduced irregardless of the method used to put the phone to sleep. I will give it a try in safe mode tonight. I also wanted to add that randomly the screen will power on normally but never on the first wake attempt.
[email protected] said:
The problem is reproduced irregardless of the method used to put the phone to sleep. I will give it a try in safe mode tonight. I also wanted to add that randomly the screen will power on normally but never on the first wake attempt.
Click to expand...
Click to collapse
Let me know the results of safe mode once you have tried that.
Outbreak444 said:
Let me know the results of safe mode once you have tried that.
Click to expand...
Click to collapse
It still reproduces the problem in safe mode. i tried to wake it with the power button, home buttonand the fingerprint sensor... also under forced sleep mode and letting it time out itself.
[email protected] said:
It still reproduces the problem in safe mode. i tried to wake it with the power button, home buttonand the fingerprint sensor... also under forced sleep mode and letting it time out itself.
Click to expand...
Click to collapse
At this point, it's more than likely hardware but because it's intermittent you could try using Odin to flash firmware. I would advise you to look to the appropriate forum for instructions. And as always, if you have the ability then backup the data you wish to keep, do it prior to flashing the software.
Outbreak444 said:
At this point, it's more than likely hardware but because it's intermittent you could try using Odin to flash firmware. I would advise you to look to the appropriate forum for instructions. And as always, if you have the ability then backup the data you wish to keep, do it prior to flashing the software.
Click to expand...
Click to collapse
Well I figured it out. there was damage to the sensor that determines how light or dark it is. If I cover the top part of the screen with my finger then wake the device, it comes on every time. I hope this helps other people out in the future.
[email protected] said:
Well I figured it out. there was damage to the sensor that determines how light or dark it is. If I cover the top part of the screen with my finger then wake the device, it comes on every time. I hope this helps other people out in the future.
Click to expand...
Click to collapse
Try this then:
Under display settings turn off "Block accidental touches"
See if that results in not having to block your sensor every time.
**Edit**
By the way, glad you figured it out.