[Q] Short Cut for Quick Boot Power Off - ONE Q&A, Help & Troubleshooting

Hi,
I'm looking for a way to power off the One without using the power button (I don't want to wear it out!). I expected there to be a tile I could add to quick settings but I can't find one.
I've tried installing a shutdown/reboot app but as I'm using quick boot, these apps do a 'full' shutdown which is not what I want.
Have I missed something or is this functionality missing?
Thanks.

You could use terminal emulator or tasker to make a script/task to shutdown and make a shortcut on your home screen.
Sent from my One Plus One

Double tapping the notification bar will turn the screen off. Don't know if that's what your wanting thought .
Sent from my A0001

Quick boot is a setting in dev options that is sort of like hibernate. When you power off the phone, it can be booted back up in 2 seconds.
Sent from my A0001 using XDA Free mobile app

If I knew what the command was to put the device into quick boot hibernation then yes I could write a script.
Yes I know about double tapping the notification bar to put it to sleep (turn off the screen), and yes I also have the double tap to wake. But I'm still having to press the power button to 'power off' (I realise most people don't do this very often!).
Thanks...

pda1ey said:
If I knew what the command was to put the device into quick boot hibernation then yes I could write a script.
Yes I know about double tapping the notification bar to put it to sleep (turn off the screen), and yes I also have the double tap to wake. But I'm still having to press the power button to 'power off' (I realise most people don't do this very often!).
Thanks...
Click to expand...
Click to collapse
Which ROM are you one? Im using liquid smooth and I have that option if I long press on the go to sleep tile
sent from my amazingly awesome OnePlus One
don't forget to hit thanks!

abhi08638 said:
Which ROM are you one? Im using liquid smooth and I have that option if I long press on the go to sleep tile
sent from my amazingly awesome OnePlus One
don't forget to hit thanks!
Click to expand...
Click to collapse
I'm using the standard CM11S. I tried adding that sleep tile but long pressing it just takes me to the display settings page. I'd have been happy if that had worked!
Thanks anyway.

I use nova launcher. I use a gesture. double tap associated with screenoff app to turn off the screen. Double tap wake double tap in the home turn off the screen.

Related

[Q] iPhone double tap sleep button flashlight

Hello all! There's a cool feature called springflash in iPhone that consists on double tapping the lock button and the flashlight turns automatically on, if you doubletap again flashlight goes off
I love this feature and have been searching for a similar thing or a "gesture maker" to turn flashlight on (or unless open the torch app)
can someone tell me any app they know either to do this or to enable small gestures to open apps like torch or directly turn on the flashlight? thanks in advance
I'm using last miui rom so the option of using the search button as a launcher of the app torch is not possible!
for the miui rom i believe if i remember correctly all you have to do is hold the home button and the torch will turn on for you. i was on the miui rom just about 2 days ago and did work. if not there are other apps that you can use as widgets and they automatically turn on the torch for you
javi422 said:
for the miui rom i believe if i remember correctly all you have to do is hold the home button and the torch will turn on for you. i was on the miui rom just about 2 days ago and did work. if not there are other apps that you can use as widgets and they automatically turn on the torch for you
Click to expand...
Click to collapse
I'm using MIUI ROM and holding down Home brings up "Recent Apps" screen, just like CM7.
On cm7 you can change what long press on home does, under cm settings
Sent from my MB525 using XDA App
I thinks this is possible ONLY in custom ROM, Android System does not permit to any user's app to override Home or Power button,
bye,
mariosanoguera said:
can someone tell me any app they know either to do this or to enable small gestures to open apps like torch or directly turn on the flashlight? thanks in advance !
Click to expand...
Click to collapse
You may have luck with the app called "Tasker" - Check it out
With CM7 you can define lockscreen gestures which can be used to toggle the flashlight.
I have setup a very simple gesture (looks like an upside down "L") for that. That makes the flashlight very accessible, though i does not engage accidently.
I used the built in powermanagement widget for the notification area to toggle the flashlight before i found that solution and this is a lot less of a hassle as i dont have to unlock the phone or pull down the notification area.
thanks for the replies! the torch thing of miui works sometimes but other times you mantain home button and it just flash 1 sec and goes off
If I can't find any solution and the problem of miui isn't solved I will go back to the cm7 and notification bar flashlight which is quite cool
hirano said:
I'm using MIUI ROM and holding down Home brings up "Recent Apps" screen, just like CM7.
Click to expand...
Click to collapse
well for me it specifically said once i opened the torch app that came with it miui a message came up and said i no longer needed to open the app just to long press the home and the torch would light and indeed it did light

Lockscreen torch work around

One thing I missed coming to the G2 from AOSP ROMs on my DNA were torch quick toggles, with the screen on-- long pressing a nav key, or off--long pressing a hardware button. Don't know if the devs have these going on any ROMs around here, but I've come up with a little work-around that should work regardless of what you're running.
You'll need:
Tasker
Tesla LED
G2 Xposed settings
Secure Settings (or another app that turns off your screen)
For screen on
In Tasker, go to the Tasks tab and create a new task. Call it "toggle torch" or something. Add action-->third party-->Tesla LED-->Set: toggle. Hit Back. Long Press the task you just created, then hit the three-dot menu on the top right. Export-->As App. Name it something. After it creates the app, hit the little Android button to install the app.
Fire up G2 Xposed and under the Nav bar settings, set your "toggle torch" on one of the buttons' long press actions.
For screen off
Follow the above instructions, but add an additional action to the task to lock/turn off the screen. Name the task and app something different than the first, like "toggle torch lock."
I have this one set to my Volume Up in G2 Xposed settings. It turns on the screen for a second when toggling the torch on or off, but you don't have to unlock or anything and it works with the pin enabled.
I also hid the toggle apps in my app drawer with Nova just because.
Hope this helps somebody!
calbruc said:
One thing I missed coming to the G2 from AOSP ROMs on my DNA were torch quick toggles, with the screen on-- long pressing a nav key, or off--long pressing a hardware button. Don't know if the devs have these going on any ROMs around here, but I've come up with a little work-around that should work regardless of what you're running.
You'll need:
Tasker
Tesla LED
G2 Xposed settings
Secure Settings (or another app that turns off your screen)
For screen on
In Tasker, go to the Tasks tab and create a new task. Call it "toggle torch" or something. Add action-->third party-->Tesla LED-->Set: toggle. Hit Back. Long Press the task you just created, then hit the three-dot menu on the top right. Export-->As App. Name it something. After it creates the app, hit the little Android button to install the app.
Fire up G2 Xposed and under the Nav bar settings, set your "toggle torch" on one of the buttons' long press actions.
For screen off
Follow the above instructions, but add an additional action to the task to lock/turn off the screen. Name the task and app something different than the first, like "toggle torch lock."
I have this one set to my Volume Up in G2 Xposed settings. It turns on the screen for a second when toggling the torch on or off, but you don't have to unlock or anything and it works with the pin enabled.
I also hid the toggle apps in my app drawer with Nova just because.
Hope this helps somebody!
Click to expand...
Click to collapse
Clever thinking, thanks!
This is awesome! Thank you
Sent from my VS980 4G using Tapatalk
calbruc said:
One thing I missed coming to the G2 from AOSP ROMs on my DNA were torch quick toggles, with the screen on-- long pressing a nav key, or off--long pressing a hardware button. Don't know if the devs have these going on any ROMs around here, but I've come up with a little work-around that should work regardless of what you're running.
You'll need:
Tasker
Tesla LED
G2 Xposed settings
Secure Settings (or another app that turns off your screen)
For screen on
In Tasker, go to the Tasks tab and create a new task. Call it "toggle torch" or something. Add action-->third party-->Tesla LED-->Set: toggle. Hit Back. Long Press the task you just created, then hit the three-dot menu on the top right. Export-->As App. Name it something. After it creates the app, hit the little Android button to install the app.
Fire up G2 Xposed and under the Nav bar settings, set your "toggle torch" on one of the buttons' long press actions.
For screen off
Follow the above instructions, but add an additional action to the task to lock/turn off the screen. Name the task and app something different than the first, like "toggle torch lock."
I have this one set to my Volume Up in G2 Xposed settings. It turns on the screen for a second when toggling the torch on or off, but you don't have to unlock or anything and it works with the pin enabled.
I also hid the toggle apps in my app drawer with Nova just because.
Hope this helps somebody!
Click to expand...
Click to collapse
helped me, thanks!
ribby18 said:
helped me, thanks!
Click to expand...
Click to collapse
I have the same setup i think , but it doesn't work for me ?
Lg g2 , rooted + xposed + G2 xposed + nova launcher prime + secure settings + tasker
My created app works fine when launched Manually.
I think it might be a bug in G2 xposed,
since the only option that actually works Is putting it to stock function ...
Thanks for the walkthrough, I was just thinking the same .
In CM11 ROM the torch works fine , but it isn't stable enough for daily use
calbruc said:
One thing I missed coming to the G2 from AOSP ROMs on my DNA were torch quick toggles, with the screen on-- long pressing a nav key, or off--long pressing a hardware button. Don't know if the devs have these going on any ROMs around here, but I've come up with a little work-around that should work regardless of what you're running.
I used g2 xposed to enable aosp lock screen then used gravity box to long press lock icon for torch.
Also used g2 xposed and using volume key for torch when screen is off.
And last I have notification toggle app and have torch as a one of the toggles.
Sent from my VS980 4G using xda app-developers app
Click to expand...
Click to collapse
The culprit was gravitybox. Even without configuration , having it enabled was enough to block G2 xposed .
The good news : there is a torch function built into G2 xposed to use with the volume keys
Verstuurd van mijn LG-D802 met Tapatalk
Using an app called Torchie, just press both 'volume buttons' together to turn on/off torch anytime. It runs as a background service and just works anytime, screen on, lock screen and even when screen off (if enabled from Torchie Settings). It kinda make your phone feel like a conventional battery operated torch. No root required.
https://play.google.com/store/apps/details?id=in.blogspot.anselmbros.torchie
XDA Thread here: http://forum.xda-developers.com/android/apps-games/app-torchie-torch-volume-buttons-anytime-t3270230

[Q] Shortcut Shutdown Screen

Hi,
I'm currently using Nova Launcher which has a settings to remap the home button when on the homescreen.
You can map it to a Nova settings, an app or a shortcut.
I currently have it mapped to a Secure Settings shortcut that lock my phone.
The issue I'm having with this settings, it's that it does not respect the delay locking option I have set on my security settings (5 min).
I'm looking for a way to map the home button to something that would shutdown the screen but respect the locking delay like the real power button does.
Any suggestions ?
Thanks.
Its because you're locking the phone in secure settings. Power button turns of the screen. So its a different action.
Which are you using by the way? Dev admin action > lock device or root actions > power button lock?
Not sure how different they are. Essentially you need to look to turn off screen not lock device
Sent from my Nexus 5 using Tapatalk
rootSU said:
Its because you're locking the phone in secure settings. Power button turns of the screen. So its a different action.
Which are you using by the way? Dev admin action > lock device or root actions > power button lock?
Not sure how different they are. Essentially you need to look to turn off screen not lock device
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hi haven't payed for the Pro Upgrade so Power button lock is not available to me.
I know it's because I'm using the Lock Device feature, that because I cannot find another option that simply simulates the power button press.
Can someone confirm to me that "Power button lock" in Secure Settings would provide me with the right feature ?
Thanks.
I don't have pro. You're rooted though I guess? Dalvik or ART?
Can use xposed + gravitybox in nova as a shortcut to set device to sleep. This allows the delay to work
Sent from my Nexus 5 using Tapatalk
rootSU said:
I don't have pro. You're rooted though I guess? Dalvik or ART?
Can use xposed + gravitybox in nova as a shortcut to set device to sleep. This allows the delay to work
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes ! Thanks a lot !

Screen Wake Issue

Hi All,
So I have a very odd issue. I have googled and searched the threads, but I cannot find any mention of the same issue from anyone else. Here is my problem:
When the screen is completely off (I have "Always On" turned off), sometimes when I push the power button the lock screen does not come up. Instead, I can barely make out tiny white text at the very bottom of the display that is half cut off. Obviously I cannot take a screenshot to show you. So I push the power button a couple of times and then it works.
Anybody have a clue what is going on?
Thanks in advance!
Dave
dmmoroney said:
Hi All,
So I have a very odd issue. I have googled and searched the threads, but I cannot find any mention of the same issue from anyone else. Here is my problem:
When the screen is completely off (I have "Always On" turned off), sometimes when I push the power button the lock screen does not come up. Instead, I can barely make out tiny white text at the very bottom of the display that is half cut off. Obviously I cannot take a screenshot to show you. So I push the power button a couple of times and then it works.
Anybody have a clue what is going on?
Thanks in advance!
Dave
Click to expand...
Click to collapse
Do u use greenify?
Sent from my Samsung SM-G955U using XDA Labs
I do! What setting can I change to resolve this?
dmmoroney said:
I do! What setting can I change to resolve this?
Click to expand...
Click to collapse
Auto hibernate. Just make a home screen shortcut and tap it B4 u lock your device
Sent from my Samsung SM-G955U using XDA Labs
I must be an idiot. Can you clarify? That sounds like an annoying extra step to have to tap an app prior to each time I lock my phone. Maybe I'm misunderstanding?
that text is greenify is working sign ..
when you press power button when it's working, you won't get screen wake. Need to wait until it's finished,
or press power once (to stop greenify process) then wait a little while until text disappears.
dmmoroney said:
I must be an idiot. Can you clarify? That sounds like an annoying extra step to have to tap an app prior to each time I lock my phone. Maybe I'm misunderstanding?
Click to expand...
Click to collapse
No it's a hibernate shortcut you don't actually open the app. just tap it and it'll put everything to sleep then just lock your phone. I don't use auto hide unless I have root. On nonrooted phones it takes forever to do it when you go to lock your phone and in my case it would take forever for me to be able to unlock my phone so I find it easier to just tap the shortcut then lock
Note the lil icon in the bottom right. It just puts stuff to sleep, doesn't open the app
Sent from my Samsung SM-G955U using XDA Labs
crayonyes said:
that text is greenify is working sign ..
when you press power button when it's working, you won't get screen wake. Need to wait until it's finished,
or press power once (to stop greenify process) then wait a little while until text disappears.
Click to expand...
Click to collapse
Also what he said, it's normal but slow
Sent from my Samsung SM-G955U using XDA Labs
buttsak said:
No it's a hibernate shortcut you don't actually open the app. just tap it and it'll put everything to sleep then just lock your phone. I don't use auto hide unless I have root. On nonrooted phones it takes forever to do it when you go to lock your phone and in my case it would take forever for me to be able to unlock my phone so I find it easier to just tap the shortcut then lock
Note the lil icon in the bottom right. It just puts stuff to sleep, doesn't open the app
Sent from my Samsung SM-G955U using XDA Labs
Click to expand...
Click to collapse
this!
I'm also using the hibernate&sleep shortcut widget,
and disable auto hibernate because of this long wait time.

Locking screen without pressing power button

As title, there is any way to lock the screen without pressing the power button?
I used to lock the screen with fingerprint sensor on my old Moto G5 Plus but on this Zenfone 6 i still couldn't figure out a way to lock it without pressing the on/off button. Besides not being so practical it will wear the button faster and we all know how things are made today... to not last.
You can set double tap on status bar to sleep. Works good enough.
aleksander002 said:
You can set double tap on status bar to sleep. Works good enough.
Click to expand...
Click to collapse
Thanks, i had a new look and i found the setting under gestures. I was missing it because i think theres a issue with the translation to Portuguese. On the quick description it says something like "Double tap to activate LCD".
aleksander002 said:
You can set double tap on status bar to sleep. Works good enough.
Click to expand...
Click to collapse
How can i set double tap on status bar to sleep? Can't seem to find this options. Thanks in advance
It's enabled by default, there is no dedicated settings. Once enabled double tap in settings, double tapping on status bar will turn off the screen.
You can double tap anywhere to lock your device, not only on status bar. The area you tap must be empty (icon free). I keep the center of the home screen empty for convenience.
maxsterling said:
How can i set double tap on status bar to sleep? Can't seem to find this options. Thanks in advance
Click to expand...
Click to collapse
Mine wasn't enabled by default so i had to go to Settings>Advanced>Gestures>Touch Gesture>Double Tap to turn off screen needs to be enabled

Categories

Resources