[Q] Is there a way to remove the option to shut down? - Android Apps and Games

Is there a way to at least "freeze" the option to power off?
Here's a bit of backstory, so you won't think I'm insane: My phone is the only alarm I have, and I'm prone to just turning off my phone when it goes off. So if I can't shut down my phone, then I have the perfect alarm. (And I already taped the battery cover you clever sneak)
Does anyone know if this can be done? Or if it has been done?

Get another alarm

Well, putting the option in the menu to reboot is made by modifying framework_res.apk. So you could probably do that also (I'm not really about this. Just guessing.). If you're asking to TOTALLY disable shutdown (like when long pressing the power button) I have no idea how to do that, unless there is a way to hijack that physical button.
My real suggestion would be to use Gentle Alarm. I had the same problem as you have, tried Gentle Alarm and haven't had the same problem since. Plus, I wake up feeling I had a good night's sleep.

leftAlone said:
Well, putting the option in the menu to reboot is made by modifying framework_res.apk. So you could probably do that also (I'm not really about this. Just guessing.). If you're asking to TOTALLY disable shutdown (like when long pressing the power button) I have no idea how to do that, unless there is a way to hijack that physical button.
My real suggestion would be to use Gentle Alarm. I had the same problem as you have, tried Gentle Alarm and haven't had the same problem since. Plus, I wake up feeling I had a good night's sleep.
Click to expand...
Click to collapse
its not possible without physically disabling the power button itself making the button inoperable but in turn you wont be able to wake from sleep or faded screen.
I think you need to just get yourself about 3 alarm clocks....or lay off the boos at night

Try the app button remapper, its on the market but I think it was also released for free on the internet
Sent from my DROID2 GLOBAL using XDA Premium App

Related

Tapping the screen to wake up from standby.

Hello all, I'm new here and I'm also new to the xda world. I just had my Atom few days ago.
I used to use Symbian where I would only need to tap the screen to wake the device so, is it possible to make Xda Atom to wake from standby mode by tapping the screen, instead pressing the "power button"?
Pressing the "power button" few times a day to wake the device could and might wear the button and it won't take long to make it unusable.
I have done my home work as a noob by searching the forum. Here: http://forum.xda-developers.com/showthread.php?t=307481
I do not really mind with the power drop. So, is there any solution to make this possible?
Thank you in advance and any help would be appreciated.
Go to Start>Settings>System>Power >Advanced and untick Turn of device if not used for X minutes.
Now your device will be always on, unless you use the power button, and the screen should just dim when you dont use it after a minute or 2, and come back on when you touch it.
Let us know how it works out.
Surur
Thank you for the hint, Surur. It works, however it's not exactly what I had in mind. By letting it to show the today view all the time, it would take too much.
I was thinking to let the screen to go completely off, but the screen is still active (touch only), or only part of the screen. So, when the device goes to blank or standby, it would wake when I tap on the screen... or some part of the screen if it could help to preserve some power.
In Symbian, I could set the time for the screen to go completely off. And when the screen is completely off, each time I tap on the screen, the screen would go on. And if no input from user, it would go off again, according to the time I set before.
Note: the device does automatic lock, so even if it gets tap by something, the display would show or awake but would not open an app or do something unwanted, until user unlocked it using combination. So, I never need to touch any button with Symbian, completely using screen only.
Is there an application that able to do something similar or better than what Symbian does? I'm even willing to pay for someone to make this kind of program.
I don't know if it's allowed to double posts or not, if not please let me know.
Here is a testimony to back up my point of view regarding the power button:
"Naturally I set it to the power button, but after a while, that button got worn down and stopped "working" so I naturally set it to recognize any other button.
This experience has taught me the hard way, that its a good choice to have (or maybe even a necessity in some cases) that other buttons to wake the unit up in case of situations like this."
Taken from http://forum.xda-developers.com/showthread.php?t=315329
So, please someone create an application to allow user to use screen to wake from standby.
Here is what I had in mind:
1. Lock the screen if standby
2. On standby mode. If I tap some part of the screen (some part of screen only to save some batt power), then it would show option to unlock.
3. If I tap but do nothing or do not unlock, it would goes to standby again.
Again, I would pay the good person who's willing to make this kind of application. Or maybe it's already available?
MDCT said:
Hello all, I'm new here and I'm also new to the xda world. I just had my Atom few days ago.
I used to use Symbian where I would only need to tap the screen to wake the device so, is it possible to make Xda Atom to wake from standby mode by tapping the screen, instead pressing the "power button"?
Pressing the "power button" few times a day to wake the device could and might wear the button and it won't take long to make it unusable.
I have done my home work as a noob by searching the forum. Here: http://forum.xda-developers.com/showthread.php?t=307481
I do not really mind with the power drop. So, is there any solution to make this possible?
Thank you in advance and any help would be appreciated.
Click to expand...
Click to collapse
You can try the keylock in the settings, that will not wake your device by tapping the screen, but it will wake up by pressing any key...
Thanks for trying to help, ai6908. Unfortunately, I couldn't find the keylock in the settings, and it still needs button to be pressed.
I do not feel comfortable pressing button. I used p800, using it, Symbian was able to be operated without the need of any button.
Depending on button, it could decrease the value of the mobile, I mean pressing button(s) few times a day would surely wear the button(s) over time. Movable parts are more easily to get broken or wear. And It would decrease the value if the mobile is going to be sold later on. With p800, I could keep the state like new for many years, thanks to the UI that allows us to fully control from the touchscreen alone.
It seems like a Microsoft and mobile manufactures scheme to make user to buy another device when the button goes wear from waking up from standby. I can't believe Windows Mobile depends on the need of button to be operated. I even have to use button to take picture with Atom.
I know many also like to use button, but I believe there are other who do not like or like me. I hope MS is flexible about this like Symbian. Someone could help me on this issue?
Keylock is under settings/system...you can try it, but it is not like the symbian one that you mentioned...
I couldn't find Keylock in the settings/system, maybe it's a separate application. Thanks ai6908 for trying to help me, unfortunately it's not like what I had in mind. If I couldn't find the solution that I want, I would surely use your advice.
Someone told me that the display panel is "connected" with the touch. So when the display is off, the touch capability will be off too.
Because of that, I was thinking maybe an application that would set the backlight to very minimal (so it would make the screen to go blank) after a defined period of time could do the job.
Has someone tried this before? Or is it also not possible?

[Q] NS4G - power button stuck

Last night I noticed that pressing the power button on my phone no longer did anything. Thinking that maybe the phone had somehow become frozen, I pulled the battery and put it back in. Much to my surprise, the phone came on all by itself without me having to do anything. It seems that somehow the power button got stuck in the "pushed" position even though I can still push it like normal.
I have managed to work around the issues for now thanks to some features of Cyanogenmod (I can now wake the phone up using the volume keys and lock by tapping a widget in the notification area), but I'm wondering what caused this and if it's something that could be easily fixed.
Has anyone else ever experienced something like this or does anyone know how I could go about fixing the issue?
Oldiesmann said:
Last night I noticed that pressing the power button on my phone no longer did anything. Thinking that maybe the phone had somehow become frozen, I pulled the battery and put it back in. Much to my surprise, the phone came on all by itself without me having to do anything. It seems that somehow the power button got stuck in the "pushed" position even though I can still push it like normal.
I have managed to work around the issues for now thanks to some features of Cyanogenmod (I can now wake the phone up using the volume keys and lock by tapping a widget in the notification area), but I'm wondering what caused this and if it's something that could be easily fixed.
Has anyone else ever experienced something like this or does anyone know how I could go about fixing the issue?
Click to expand...
Click to collapse
Hi, take a look here:
http://forum.xda-developers.com/showthread.php?t=1524858&highlight=power+button
and here
http://forum.xda-developers.com/showthread.php?t=1504501&highlight=power+button
Anyway, someone solve this problem opening the nexus s and manually cleaning the power button. Here a guide to open your device if you want to try:
http://www.ifixit.com/Teardown/Nexus+S+Teardown/4365/1
Opening my ns and cleaning it did the trick for me. Worth a try, your warranty is void now anyway
Sent from my Nexus S using xda app-developers app
Thanks for the info. I'll give it a shot when I get a chance.

[Q] Sleep of death on Nexus S

Hi,
My girlfriend accidentally dropped her nexus s in the water recently. I was quick to pull the battery out and put the phone in rice for a good 12 hours. The phone still works as before, except for one thing : whenever it goes to sleep (by pressing the button or by itself) it's over, need a reboot (usually reboots by itself).
Is there something I can do, or do you think it's caused by water damage and therefore can't be fixed? I tried going back with a factory reset, but still the same.
I'm asking this because other than the SoD, the phone works just as before. If I put the screen timeout to 30 minutes it will work just as good before. Maybe can I change the sleep level when screen turns off? Or flashing Jelly Bean / CM10.1 would be enough? (It's not rooted for now, and it's a replacement phone, if I could let it unrooted it would be cool, but if not, I'll try that way).
Thanks!
PS : I can't return it for a replacement, because the little moisture detector is now partly pink. And anyway it's already a replacement for her Galaxy S3 (the power button was not working anymore).
Have you tried flashing other ROM? Seems a software failur to me.
I guess Flashing Stock firmware again or another rom may fix the problem.
Yea download CM10 then in settings under display scroll down & check off the option to wake the device with volume rocker then go to system in settings look for notification draw go in there make sure power widgets is checked then select some widget shortcut option pick the first one which is go to sleep & there your good now you can wake up the phone with volume button & instead of pressing power to shut it off you press go to sleep option in your notification .
Sent from my Nexus S 4G using xda premium
A XDA user, ptr347 says he fixed power button of his nexus s with an electrical cleaner.
Check his thread:
http://forum.xda-developers.com/showthread.php?t=2164535

An app to turn off the screen WITHOUT locking.

Hi All,
I was hoping you guy might be able to help me out.
The LG G3 is awesome, i love being able to turn the screen on and off without using any buttons.
One bit that i think could use some work is that currently, when the screen is on, you can tap the notification bar twice to turn the screen off, however, i find that this doesnt work so well all the time.
I have Nova launcher and i wanted to link a two finger swipe gesture with an app to turn the screen off however...
All the apps on the store only seem to offer you the option to turn the screen off and lock the phone immediately at the same time. Does anyone know of an app that will let me turn the screen off, but NOT lock the phone immediately, and just leave the lock settings to the system defaults.
It seems pretty straight forward but i've tried about 30 apps on the store and all of them only screen off and lock, none allow you to do it without locking the phone immediately.
Any help would be really appreciated!
Ums
umar_akhtar786 said:
Hi All,
I was hoping you guy might be able to help me out.
The LG G3 is awesome, i love being able to turn the screen on and off without using any buttons.
One bit that i think could use some work is that currently, when the screen is on, you can tap the notification bar twice to turn the screen off, however, i find that this doesnt work so well all the time.
I have Nova launcher and i wanted to link a two finger swipe gesture with an app to turn the screen off however...
All the apps on the store only seem to offer you the option to turn the screen off and lock the phone immediately at the same time. Does anyone know of an app that will let me turn the screen off, but NOT lock the phone immediately, and just leave the lock settings to the system defaults.
It seems pretty straight forward but i've tried about 30 apps on the store and all of them only screen off and lock, none allow you to do it without locking the phone immediately.
Any help would be really appreciated!
Ums
Click to expand...
Click to collapse
Maybe try a tasker profile?
bradleyw801 said:
Maybe try a tasker profile?
Click to expand...
Click to collapse
Thanks for the idea. I just tried and had no joy. It can trigger an action when i turn the screen off myself, but it wont turn the screen off for me.
Any other ideas?
I feel like this is so straight forward and that i'm just being super dense - im hoping someone points something so obvious and straight forward out that i missed!
umar_akhtar786 said:
Thanks for the idea. I just tried and had no joy. It can trigger an action when i turn the screen off myself, but it wont turn the screen off for me.
Any other ideas?
I feel like this is so straight forward and that i'm just being super dense - im hoping someone points something so obvious and straight forward out that i missed!
Click to expand...
Click to collapse
You could try an app like Button Savior. https://play.google.com/store/apps/details?id=com.smart.swkey.nonroot
It has the option to swipe from the side to bring up the buttons, and from what I understand, the power button on it is exactly the same action as pressing the power button on your phone. You could tweak it to try and get it to the solution you want, but I think at least the button should be what you are looking for.
bradleyw801 said:
You could try an app like Button Savior. https://play.google.com/store/apps/details?id=com.smart.swkey.nonroot
It has the option to swipe from the side to bring up the buttons, and from what I understand, the power button on it is exactly the same action as pressing the power button on your phone. You could tweak it to try and get it to the solution you want, but I think at least the button should be what you are looking for.
Click to expand...
Click to collapse
Thanks - just tried it and it is suffers from the same thing - it automatically locks the phone when you press the power button.
umar_akhtar786 said:
Thanks - just tried it and it is suffers from the same thing - it automatically locks the phone when you press the power button.
Click to expand...
Click to collapse
My phone seems to do the same action either way. I think I know what you are talking about. It seems that on previous roms, the screen could go dark, but if I woke the phone back up it wasn't actually locked. What about this app? It seems to distinguish between the two.
https://play.google.com/store/apps/details?id=com.katecca.screenofflock
---------- Post added at 06:49 PM ---------- Previous post was at 06:46 PM ----------
Here is another one you could potentially try. https://play.google.com/store/apps/details?id=com.ericlpchow.screentrigger
Tried both of the above... Neither seem to work!
Sent from my LG-D855 using XDA Free mobile app
I use "No Lock" when I want to switch off the phone but bypass lock settings when I turn it on. Is that what you mean?
https://play.google.com/store/apps/details?id=org.jraf.android.nolock&hl=en
Hi, Thanks for the suggestion... The problem with that app is that the phone won't lock until I go back in and disable it... I want the phone to use the same system timeout so if I do leave my phone lying around it will lock after 3 or 5 minutes on its own.
Sent from my LG-D855 using XDA Free mobile app
umar_akhtar786 said:
Hi All,
I was hoping you guy might be able to help me out.
The LG G3 is awesome, i love being able to turn the screen on and off without using any buttons.
One bit that i think could use some work is that currently, when the screen is on, you can tap the notification bar twice to turn the screen off, however, i find that this doesnt work so well all the time.
I have Nova launcher and i wanted to link a two finger swipe gesture with an app to turn the screen off however...
All the apps on the store only seem to offer you the option to turn the screen off and lock the phone immediately at the same time. Does anyone know of an app that will let me turn the screen off, but NOT lock the phone immediately, and just leave the lock settings to the system defaults.
It seems pretty straight forward but i've tried about 30 apps on the store and all of them only screen off and lock, none allow you to do it without locking the phone immediately.
Any help would be really appreciated!
Ums
Click to expand...
Click to collapse
Take this.
Note: Needs Root
Not sure it it covers your needs, but I'm using SkipLock combined with Gravity Screen
SkipLock let's you bypass the lockscreen (and pincode) when your phone is connected to either a trusted WIFI network or a trusted BT-device (carkit!).
As soon as you get home you'll turn on your screen and you the lockscreen as usual, but from that point on it's lockscreen free until it disconnects with your wifi network.
So when you turn off the screen the screen goes black, but as soon as you turn it on again you'll see either the homescreen or your last opened app.
It works really GREAT!
Gravity screen is not needed but makes it even easier. It automatically turns your screen on when you pick up the phone, and turns it off when you place it down (configurable). It also features Pocket Mode so it will turn the screen off when you put it in your pocket and on again when you take it out. Worst part was getting used to NOT press the power-button anymore
v_singh said:
Take this.
Note: Needs Root
Click to expand...
Click to collapse
Hi, Thanks for the suggestion - i just tried the app and it has a non-root version, but that just basically turns the screen black, leaves the notification bar and navi buttons and doesnt actuall replicate pressing the power button.
I cant root my phone either as i need to use banking apps and these dont work with root.
Any other ideas?
latino147 said:
Not sure it it covers your needs, but I'm using SkipLock combined with Gravity Screen
SkipLock let's you bypass the lockscreen (and pincode) when your phone is connected to either a trusted WIFI network or a trusted BT-device (carkit!).
As soon as you get home you'll turn on your screen and you the lockscreen as usual, but from that point on it's lockscreen free until it disconnects with your wifi network.
So when you turn off the screen the screen goes black, but as soon as you turn it on again you'll see either the homescreen or your last opened app.
It works really GREAT!
Gravity screen is not needed but makes it even easier. It automatically turns your screen on when you pick up the phone, and turns it off when you place it down (configurable). It also features Pocket Mode so it will turn the screen off when you put it in your pocket and on again when you take it out. Worst part was getting used to NOT press the power-button anymore
Click to expand...
Click to collapse
This sounds like a cool set of apps, but I'm quite pedantic about my phone and the way it uses battery and with all the sensors working. I'm not sure its right for me, but its cool none-the-less.
umar_akhtar786 said:
This sounds like a cool set of apps, but I'm quite pedantic about my phone and the way it uses battery and with all the sensors working. I'm not sure its right for me, but its cool none-the-less.
Click to expand...
Click to collapse
Skiplock doesn't use up any battery. Gravity MIGHT, but there are options to choose that use up more or less battery.
Don't know about needing root though...
Hi, I have been looking for this too....no solution? I use the trusted places and devices to keep my phone unlocked when i am home, and when in the car (connected to bluetooth) but of course turning off the screen also locks it.
SkipLock isn't compatible with my Lollipop G3 - any solutions that work on Lollipop? I've been using Tasker but somethings it messes up things a bit so I would like to try something else

Help - My new SM-G930W8 S7 hangs on wake

Now this doesn't happen all the time every time, but usually around a notification and the screen is off, I go to hit a button to turn on the phone and it doesn't respond but the touch-keys are backlit. If Always-on Display is on, the screen is black regardless, not even showing the time or notifications. The only fix is waiting ~10 seconds for the phone to respond, which in some cases can be the difference between a missed call.
Now, seeing Always On Display off like that while it should be on made me think back to when I saw some sort of Nougat optimization setting that allowed me to select Always On Display, and as far as I remember, I did. That makes me think this process is killing AoD and it is taking that long to start back up, where the phone won't unlock until AoD (is back on and) can confirm that it's trying to wake up out of that state.
However, I don't believe this is the issue. I have turned off AoD and the issue still happened directly afterward, after a Messenger notification. This is stock firmware, however it is not factory firmware. I believe I downloaded it from Sam-Mobile, and they had the 7.0 Nougat upgrade that I would have gotten OTA with the factory firmware anyway.
Somehow I don't think it's the flashed firmware that is the problem, however please let me know if that's a possibility.
While the phone (or whatever) is hanging, I can still hold down the power button and I will feel haptic feedback as if the power menu has opened, and when the phone responds the power menu will be open, so the phone does still receive input. It just doesn't seem to act upon it or wake the screen properly. Is this perhaps merely a known Nougat bug or is it a glitch with my flashed stock firmware?
I'm sorry I don't have much more information. I do have Greenify, but I don't think that can or is set to disrupt anything that would affect the phone waking, or that would hang the OS, homescreen or whatever it is.
I haven't done other troubleshooting because I don't know what direction to attack this from, and that is why I have come here.
Help please!
Thanks in advance. :good:
UPDATE: It seems to happen directly after my screen shuts off from being on. So, if a notification wakes my phone but I don't interact with it in time and the screen goes off, when I press the power button it won't respond for ~10-15s. That's all I've really noticed... Anyone else have this problem??
BUMP.
Also, the same thing happens if I press the power button on my phone (by accident) and then go to turn it back on almost immediately - it won't respond for a while.
Cleared cache from recovery?
Got any settings enabled like "Keep screen off" which stops the screen coming on in your pocket, try disabling it in case that's causing it
Different gestures, disable them all in case they're messing with it
Last resort, factory reset
*Detection* said:
Cleared cache from recovery?
Got any settings enabled like "Keep screen off" which stops the screen coming on in your pocket, try disabling it in case that's causing it
Different gestures, disable them all in case they're messing with it
Last resort, factory reset
Click to expand...
Click to collapse
Won't be factory resetting unless I plan to root or something. I'll fiddle with the keep screen off setting that I do have on, and I highly doubt gestures would affect it but regardless I haven't enabled or used any. Thanks for the reply.
So the "Keep screen off" setting didn't affect anything. I turned Always On Display back on and I see the same issues. However, now sometimes I notice when I lock my screen or it shuts off, sometimes the AOD will appear and then quickly disappear, and stay in this hanging state for 10-15s. Then, if I haven't touched it during that time, the AOD will reappear. Any ideas? :/
So nobody else has this issue? This is still a problem, even if I press the power button and sometimes I'll want to turn it back on again as I just remember something to do before putting the phone away, it hangs on black for too long to be useful in that moment. The only potential solution is a factory reset?
Even if I lock the screen... If I try to turn it back on too soon, and I think it's specific timing... I have to wait 10-20 seconds. Sounds and vibrations still work.
UPDATE: This is still an issue. I've noticed a few more things, it does really seem like timing and as if there's some function in my phone literally not allowing me to turn on my screen - and I have never timed it but I think pressing buttons (power button) makes it take longer before it will respond again.
Kilva said:
UPDATE: This is still an issue. I've noticed a few more things, it does really seem like timing and as if there's some function in my phone literally not allowing me to turn on my screen - and I have never timed it but I think pressing buttons (power button) makes it take longer before it will respond again.
Click to expand...
Click to collapse
This happens for me also as a point of interest.
I am hoping that O solves it, since the monthly updates have never helped.
I haven't had this happen since upgrading to Oreo a week ago, so far so good!

Categories

Resources