i would like to password protect my phone when someone tries to shut it down, Is this possible?
Or maybe using Tasker? i have that installed with the secure settings plugin, Thanks!
Bump
I don't think it will work with the Nexus 4 since they can hold the Power button for 7 seconds and the device will turn itself off anyway.
I know that if you go to /system/usr/keylayout/, there are several *.kl files that map the hardware keys. KEY 116 is always mapped to POWER. I guess you could edit all of the kl files and unmap key 116 so it won't do anything. I highly doubt it would work though, and obviously it would create other issues like turning the screen back on and I doubt it would skip the "hold 7 seconds power off method".
If you are concerned about theft, try Cerberus. With root, it can survive in a phone even after factory reset.
Just found this app: https://play.google.com/store/apps/details?id=com.nezdroid.lockscreenprotector
Doesn't work with CyanogenMod, but it does with stock. Apparently it causes the Power menu to disappear immediately when triggered.
Related
Hello all,
I am new to the forums but I have been using the HTC Touch for a few months now, and would like some guidance about a few problems i'm having. First off, I am using the official 6.1 rom with sprint....
I am running S2U2 and am having a problem with my phone turning off while in my pocket. It seems the power off menu can be brought up if you hold the power button, even if S2U2 is running. This is very frustrating, is there anyway to lock the power button when S2U2 is running, or any other option?
Is there any edits that can be done to make S2U2 call the factory device lock? I couldnt find anything related to the lock in the registry. If there is, is there anyway to assign the factory device lock to the power button, so that when you blank the screen it auto-locks? I love this feature with s2u2, and with stock device lock it takes 3 buttons to do this...
Thanks!
honduh said:
Hello all,
I am new to the forums but I have been using the HTC Touch for a few months now, and would like some guidance about a few problems i'm having. First off, I am using the official 6.1 rom with sprint....
I am running S2U2 and am having a problem with my phone turning off while in my pocket. It seems the power off menu can be brought up if you hold the power button, even if S2U2 is running. This is very frustrating, is there anyway to lock the power button when S2U2 is running, or any other option?
Is there any edits that can be done to make S2U2 call the factory device lock? I couldnt find anything related to the lock in the registry. If there is, is there anyway to assign the factory device lock to the power button, so that when you blank the screen it auto-locks? I love this feature with s2u2, and with stock device lock it takes 3 buttons to do this...
Thanks!
Click to expand...
Click to collapse
The only thing that I could suggest that might help is to get yourself a good case for your phone that would protect the button from being accidentally pushed. I have never had this problem with my phone. The button actually has to be pressed and held to bring up the power off menu. Even when not in it's case, I have never had this happen; however, the phone is only out of it's case, when I am using it. In the case, there is even less chance of powering off the device.
Rod.
The default device lock works just like S2U2, as it leaves only the power button unlocked. If you locked all buttons, how would you turn your phone back on??
TheChampJT said:
The default device lock works just like S2U2, as it leaves only the power button unlocked. If you locked all buttons, how would you turn your phone back on??
Click to expand...
Click to collapse
The problem i'm having is that the phone actually powers off while in my pocket somehow....what i'm saying is that the phone not only "wakes up" from the standby mode, but also calls the shut down window and you can press the "yes its ok to shut down" button while s2u2 is running, something the stock device lock will not do.
It would be really nice if there was a slide type lock that was based off the code of the stock device lock.
Thanks for the replys
Find what the application is that launches when pressing the button and add it to the S2U exclusions list.
I have a verizon and my power button toggles screen off and on, so im not entirely sure, Is this a stock popup or a program you installed ? There is probably a registry entry somewhere that defines how the power button functions jsut as the button manager does for other buttons.
honduh said:
The problem i'm having is that the phone actually powers off while in my pocket somehow....what i'm saying is that the phone not only "wakes up" from the standby mode, but also calls the shut down window and you can press the "yes its ok to shut down" button while s2u2 is running, something the stock device lock will not do.
It would be really nice if there was a slide type lock that was based off the code of the stock device lock.
Thanks for the replys
Click to expand...
Click to collapse
I understand your point, and am still wondering what it is you keep in your pocket with your phone that shuts it off!? Anyways, why do you keep referring back to the default device lock? S2U2 performs the same way, as it locks everything besides the power button. If the power button is locked, how would you wake up the device to unlock it ???
the power button has two functions, it blanks the screen if you press it, or it brings up the power off menu when you long press it. The problem i'm having is s2u2 doesnt prevent the power off menu from coming up, where as the stock device lock does. Thus, it is possible to completely power off the phone while the keys are locked.... of course I want to be able to wake the phone up with the power button, but i dont want to be able to turn it completely off.
And i'm not sure how it turns off in my pocket, except i usually carry it with the power button face down (phone upside down) and it must press against the bottom of my pocket...
The application that it is calling is the stock shut down menu, i'm not sure how I could add this to the exception list, as I dont know how to call it remotely....
Thanks again for the replies!
The title of this caught my attention.
It would be very nice to have a registry edit that will lock the device when powered off or on device wake up.
I use S2U2 and I am really not liking it personally, but it is better then the default setup currently I feel.
Hi there
I seemed to have got myself into trouble. My HD Touch has locked itself.
I restored a backup from SPB Backup, it has asked for a password and I have tried both passwords which I had on the system and without any result.
I have also tried to perform a hard reset using the power keys and the pressing the two volume buttons but I held onto them for over 5 minutes without any result.
Has anyone got any other ideas how I can get back into the phone?
Thanks
Kaid
A hard reset is press and hold power to turn off.
Then press and hold both volume buttons, whilst holding the volume buttons press and release the power button.
Once the boot screen is visible release the volume buttons and follow the on-screen instructions.
Thank You - Relief
Mild panic was beginning to set in here as I thought I had f**ked up a very expensive phone.
Back in business!
Cause of lock..
Hi,
Any idea on what the cause of the lock was?
If you use pushmail you're pushmail provider (mostly work) may have a policy which requires a password. They can remotely activate this..
If this was the case, google for "Zenyee Stay Unlock" works great for me..
Regards.
BSmart said:
They can remotely activate this..
Click to expand...
Click to collapse
So a push-mail provider is able to totally lock my device? Another reason not to make use of this service .
I asked this in another thread but then thought it should have its own as it is relevant to more than one problem. Apologies if this has been asked, I couldn't find it.
So as the title says, is there any way to soft reset without removing the battery cover, such as some button combination presses a la the iphone (in which you hold the power button and home button down).
The reason I ask is that on my old HD2 the battery cover was loose on one corner and was never flush and was in a constantly 'popped out' position which really really annoyed me and made the phone creak when in my hands. I don't want to keep putting the cover on and off so a button combination would be very useful.
If there is no button combination, would the AE button mapping program ( http://ae.inc.ru/aebplus.php) work if you assigned for example a reset with a triple press of the back key? Although if the phone has crashed then I doubt any programs would respond, but worth a shot if it happens to anyone to try it
Thanks for your help!
If the device is freezed, any attempt to softreset with a button will be vain, no program will run and softreset the device; Open the cover and remove the battery (it's way easyer than find something to soft-reset, damn htc, once I've removed the back cover, it's all useless!)
If you want to soft-reset when the device is still running fine (or semi-fine) you can use any program you like, such as XDA Shutdown, or keep pressed the end jey to shut down
Yes, if the device hasn't frozen altogether, you just press long on the 'off' button and select 'power off'. When you switch on again, the device will soft reset.
I use PHM Reset. It does just what it says: soft reset! Of course, you can use only if the phone is not completely frozen but it's very helpful when your phone is becoming sluggish or other crappy behaviour we are familiar with...
As the title says, is there any way to set the function of, let say, the back key or the search key to wake the screen?
I know that the ICS port has this function natively but i'm using stock.
i tried Button Remapper and NoLock without success.
any ideas?
note: the reason being is that i need to replace the camera pcb since the power is busted.
it works.... if i pressed on the button with extreme force (yes, i've attempted to rectify the issue myself, but screwed up to the point where i can't undo and fix.)
SOLVED: I edited key 248 (rotation key) with "POWER WAKE".
so now that key can turn off the tablet or wake it.
Makes things with tablet much more bearable until i get the front camera pcb ]replaced.
Hello!
I bought a EP online, but the power button its damaged,it press it self. I managed to root the device and deactivate the press power option by putting a # before the number of the key.
That worked now the phone is not pressing the key multiple times(it does but the action its null)
The problem its that the continuos Hold of the power key its making the phone to be rebooted, even after the power key its "DEACTIVATED" Is there any name for the action of reset that i can deactivate by doing the # thing?
please help!! this is driven me crazy..
OscarUchiha said:
Hello!
I bought a EP online, but the power button its damaged,it press it self. I managed to root the device and deactivate the press power option by putting a # before the number of the key.
That worked now the phone is not pressing the key multiple times(it does but the action its null)
The problem its that the continuos Hold of the power key its making the phone to be rebooted, even after the power key its "DEACTIVATED" Is there any name for the action of reset that i can deactivate by doing the # thing?
please help!! this is driven me crazy..
Click to expand...
Click to collapse
if you blocked the long press also how would you turn it back on?
It sounds like the button might be highly sensitive so if you could protect it from the slightest pressure it might stop turning off, try modifying a thick heavy duty case like this one (eg remove button on case so phone button is recessed)
https://www.amazon.com/Essential-Poetic-Resistant-Protection-Full-Body/dp/B078T3N1S7
some old Samsung phones had power button problems, some people were able to fix by banging phone on table. The ph1 buttons are all on a single strip subassembly, so might not work like old Samsungs & they would have a seal also. But banging the edge on a table you'd have to be very careful if you tried that with this phone as glass & ceramic right up to the edge, so could easily crack screen, they are about USD70, and probably not easy to remove, judging from the iFixit video, though fixez got it off without delamination.
But your best bet is probably a repair shop.
I've done key remapping on samsung, maybe here is same.
There is generic.kl file and you can remap there any key.
Don't forget to set same permissions back.