Power Button / No lock - Galaxy S II Q&A, Help & Troubleshooting

Dears,
I configured the screen to switch off after 30 seconds and the phone to automatically lock after 5 minutes.
This works but when I press the power button to immediately shut down the screen, it also locks the phone.
Is it possible to avoid locking?
I want the Power button to only shut down the screen.
Then the phone will be locked after 5 minutes.
Thanks everybody!

ultradj83 said:
Dears,
I configured the screen to switch off after 30 seconds and the phone to automatically lock after 5 minutes.
This works but when I press the power button to immediately shut down the screen, it also locks the phone.
Is it possible to avoid locking?
I want the Power button to only shut down the screen.
Then the phone will be locked after 5 minutes.
Thanks everybody!
Click to expand...
Click to collapse
Give more details,what rom you are running?
Stock custom and which one?

Stock ICS 4.0.3 XXLPH.
Thanks!

ultradj83 said:
Stock ICS 4.0.3 XXLPH.
Thanks!
Click to expand...
Click to collapse
Is not possible.
Only with JKay mod(when he release it for ICS) you'll have this option

Ok, I'll search infos about it.
Thanks you so much.

Related

[Q] Disable power button menu in lock screen

Is there a way to disable the menu option when long pressing the power button when the phone is in lock mode?
My phone is switching its self off sometimes while in my pocket.
I have tried widget locker but that does the same as the stock screen and still offers this menu while the phone is locked.
I'm using Redmi Note 8 pro Miui 12 Global Rom Android 10 i not found the option sec_key.kl
I can't answer your question directly other than to say you may be blaming the wrong thing - is it really possible that you can keep sustained preasure on the switch for about 8 seconds?
Is it possible that your phone may be rebooting / hanging / freezing in your pocket like mine and many others are?
Have a look here and here to start
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
prodygee said:
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
Click to expand...
Click to collapse
I agree. For me, it's just under a second. I mean come on. Really?
prodygee said:
Two seconds is enough in my stock lockscreen. So it's very much possible.
Stupid how the shutdown-window is accessible through the lockscreen. Takes away the whole function of this so called lockscreen..
Click to expand...
Click to collapse
But you then have to select "Power off" and then click "OK". Are you suggesting that's happening in your pocket?
naddie said:
I agree. For me, it's just under a second. I mean come on. Really?
Click to expand...
Click to collapse
Tapping or pressing thepower button will bring the swipe screen / lock screen back but this does not stitch off the phone!
From OFF, if I press and hold the power switch, the lock screen comes on, then goes off after 5 seconds. At this point, the phone has not shut down.
From OFF, if I hold the button down for about 9 seconds, it does shut down.
As I said, I don't think this is all that easy to do by accident - maybe even impossible! BTW, my phone is stock.
I'd still say it's the dreaded phantom rebooter
johncmolyneux said:
But you then have to select "Power off" and then click "OK". Are you suggesting that's happening in your pocket?
Click to expand...
Click to collapse
Never mind, you're right about that. I stand corrected. It takes a lot of effort to shut your phone off with the power button, so that can't be the reason OP's phone is shutting off.
http://forum.xda-developers.com/showthread.php?t=1098981
.hide said:
http://forum.xda-developers.com/showthread.php?t=1098981
Click to expand...
Click to collapse
Thanks very much for this
Just removed the wake option from the power button.
To answer a few other posts. The few times it has switched off it has only been while in my jacket pocket. Carrying my niece, seat belt on/off etc. I know it appears difficult to replicate but I have not had any other issues like mentioned in the other forums linked in post 2.
The reason I think its the power button is because I have taken my phone out of my pocket recently and noticed that the menu to shut down has been visable on the screen. I haven't had an issue of it turning off while on a desk etc which is why I think its the power button.
I may be wrong and if it carries on turning off I will look at other options but I do think its silly (how ever hard to replicate) that an option to access the shut down menu while in lock mode is stupid.
By removing the option to wake from the power button and setting widgetlocker to block homehelper there is no way to access the menu the power button had until the phone is unlocked. Which is how the lock screen should work regardless of if it solves my problem or not.
For SGS2 users, I used Root Explorer to edit:
Code:
/System/usr/keylayout/sec_key.kl
I found the following line:
Code:
key 116 POWER WAKE
To disable the Power button from waking up your device, simple delete the word 'WAKE', save the file, and reboot.
Cheers to the others in the HD2 thread for the tip.
same problem with galaxy w
jonamafun said:
For SGS2 users, I used Root Explorer to edit:
Code:
/System/usr/keylayout/sec_key.kl
I found the following line:
Code:
key 116 POWER WAKE
To disable the Power button from waking up your device, simple delete the word 'WAKE', save the file, and reboot.
Cheers to the others in the HD2 thread for the tip.
Click to expand...
Click to collapse
i have the same phantom restart problem......but i cant access the phone to use the root explorer ....wat should i do????
Hi all i made an app to avoid this, blocking power menu on lockscreen no need of root working on 2.2+ and you can set up a custom menu (power and reboot need root) so you should take a look and if you like please leave a 5 stars, or let me know any issues
Play Store Link
zen kun said:
Hi all i made an app to avoid this, blocking power menu on lockscreen no need of root working on 2.2+ and you can set up a custom menu (power and reboot need root) so you should take a look and if you like please leave a 5 stars, or let me know any issues
Play Store Link
Click to expand...
Click to collapse
Nice, this was exactly what I was looking for on my Nexus 4 running 4.3 and Cerberus. Unfortunately only the power off menu is disabled (it just flashes for a millisecond) but long pressing the power button still shuts off the phone...
Sent from my Nexus 4 using Tapatalk 2
itenos said:
Nice, this was exactly what I was looking for on my Nexus 4 running 4.3 and Cerberus. Unfortunately only the power off menu is disabled (it just flashes for a millisecond) but long pressing the power button still shuts off the phone...
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
yeah, i cant do anything without change whole rom :/ its just a workaround :/

[Q] Unlock by pressing capacitive buttons/trackpoint?

Hi guys, I got the HTC Legend, and I'm finding it a pain to have to press on the lock button every time to wake it from sleep and so I want to be able to wake it by pressing on the optical trackpoint or any of the capacitive buttons as well.
It really frustrates me sometimes if I forget I've turned it off already and I try to wake it, so I press the power button, and it boots up instead and I have to wait for it to turn on only to turn it off again.
If anyone knows any solution please help me. It's driving me insane. On the iPhone I could just press the home button to wake and it wouldn't turn on the phone if it's off. I'm on stock Froyo 2.2 with sense UI, not rooted. Would prefer not to root and definitely not install a new ROM as it is not my phone and I don't want to mess with it too much. Thanks.
you could use an app like widgetlocker to achieve this. link to market
I'm curious, how the phone turns off when u press the power button to unlock the screen.
Do you have the lock screen setup? It should not be able to turn off untill screen is unlocked then the power button pressed and held again.
sent from my legend, currently using extream legend fuse™
jellymelly said:
Hi guys, I got the HTC Legend, and I'm finding it a pain to have to press on the lock button every time to wake it from sleep and so I want to be able to wake it by pressing on the optical trackpoint or any of the capacitive buttons as well.
It really frustrates me sometimes if I forget I've turned it off already and I try to wake it, so I press the power button, and it boots up instead and I have to wait for it to turn on only to turn it off again.
If anyone knows any solution please help me. It's driving me insane. On the iPhone I could just press the home button to wake and it wouldn't turn on the phone if it's off. I'm on stock Froyo 2.2 with sense UI, not rooted. Would prefer not to root and definitely not install a new ROM as it is not my phone and I don't want to mess with it too much. Thanks.
Click to expand...
Click to collapse
Trackball waking cannot be done via froyo sense! If you are willing to root your phone then flash Cm 7.1 as your rom. Then you can go to settings to activate trackball waking.
Other than that you can look around the market for apps that allow this.
Sent from my Legend using xda premium
ranger4740 said:
I'm curious, how the phone turns off when u press the power button to unlock the screen.
Do you have the lock screen setup? It should not be able to turn off untill screen is unlocked then the power button pressed and held again.
sent from my legend, currently using extream legend fuse™
Click to expand...
Click to collapse
what I meant was to unlock the screen while the phone is on by pressing any button apart from the power button, because at night I turn off my phone (the normal way), then I forget if I've turned it off or not, so I press the power button again, and then the startup screen appears - Sh*t! so I have to wait for it to turn on again so I can turn it off.
So essentially I want to press the capacitive buttons or trackpoint so that
1. It will unlock the phone if it is on.
2. It will not turn on the phone if it is off
ranger4740 said:
I'm curious, how the phone turns off when u press the power button to unlock the screen.
Do you have the lock screen setup? It should not be able to turn off untill screen is unlocked then the power button pressed and held again.
Click to expand...
Click to collapse
what I meant was to unlock the screen while the phone is on by pressing any button apart from the power button, because at night I turn off my phone, then I forget if I've turned it off or not, so I press the power button again, and then the startup screen appears - Sh*t! so I have to wait for it to turn on again so I can turn it off.
mph_aut said:
you could use an app like widgetlocker to achieve this. link to market
Click to expand...
Click to collapse
hmm thanks. But when I looked through the comments everyone finds it a huge battery drain... So I'd rather not.
Thanks for the suggestions guys but if anyone knows an app that can does this it'd be great! So frustrating!
So stock rom in locked mode only reacts to pwr? Hmm
Sent from my Legend using Tapatalk
MarkInDaPark said:
So stock rom in locked mode only reacts to pwr? Hmm
Sent from my Legend using Tapatalk
Click to expand...
Click to collapse
Yep. Not good.
Anyone has solution?
jellymelly said:
Yep. Not good.
Anyone has solution?
Click to expand...
Click to collapse
Currently no app except for widget locker and some launchers allow this. The only other way is to root and flash.
Sent from my Legend using xda premium
ranger4740 said:
I'm curious, how the phone turns off when u press the power button to unlock the screen.
Do you have the lock screen setup? It should not be able to turn off untill screen is unlocked then the power button pressed and held again.
sent from my legend, currently using extream legend fuse™
Click to expand...
Click to collapse
I think what he is saying is that he can't check if the phone is off or not.
Why you don´t use the rom from blay0 (http://forum.xda-developers.com/showthread.php?t=866849)? It is based on HTC stock version and has several extensions and wake on trackpad. It is very stable and i had no problems with this rom in the last months.

[Q] Home button randomly activates torch?

Running 3 mobiles SII with Foxhound sniper wolf and Siyah kernel 3.2.6.3
Occasionally when I go to unlock my phone with the home button, the torch turns on instead and the screen remains unresponsive. The torch stays on for as long as I hold the button down for, and after a period of responding like this for 10 or so seconds the home button does what it should do again. Using the side lock button gets it out of this most of the time. Any have any ideas why this might be happening ?
TIA

Lock screen on 4.3

Can someone on JB 4.3 confirm if the screen locks by pressing the power button during a phone call ?
I'm guessing we are all on L....
there is a setting in assistance that can use power button to end call. so it depends on that setting on or off
With the setting off because if its on it would end the calls
The reason I'm asking is because my phone calls get discocenected accidentally when I put my phone in my pocket while using a Bluetooth. Since the phone doesn't lock when I press the power button, the proximity sensor turns the screen on while in my pcoket and the end button gets pressed accidentally.
I remember "not" having this problem on JB
pucherto123 said:
Can someone on JB 4.3 confirm if the screen locks by pressing the power button during a phone call ?
Click to expand...
Click to collapse
Yes, the screen turns off, but the call is still there.
But does it lock? Do you have to swipe to unlock it?
pucherto123 said:
But does it lock? Do you have to swipe to unlock it?
Click to expand...
Click to collapse
No, just press the power button again, the screen turns back on, and the call screen is still there. Repeat cycle.

GS9+ shutdown after unlock the screen

I am on stock ATT rom. Since this morning, every time I unlock the device (I didn't enable pin or fingerprint, just swipe to unlock), it will suddenly turn off within few seconds.
As long as I stay at lock screen, it will not turn off at all. otherwise it will just turn off by itself. There is no notice saying the phone is turning off, It just go directly to black. I can still go to stock android recovery, I can charge it.
Any idea?
ksj0823 said:
I am on stock ATT rom. Since this morning, every time I unlock the device (I didn't enable pin or fingerprint, just swipe to unlock), it will suddenly turn off within few seconds.
As long as I stay at lock screen, it will not turn off at all. otherwise it will just turn off by itself. There is no notice saying the phone is turning off, It just go directly to black. I can still go to stock android recovery, I can charge it.
Any idea?
Click to expand...
Click to collapse
The phone actually powers down? Where as you have to hold in the power button to turn it back on?
Scott said:
The phone actually powers down? Where as you have to hold in the power button to turn it back on?
Click to expand...
Click to collapse
yes, all I have to do is hold the power button for like 3 second, it will boot up

Categories

Resources