Lift to Wake without double-tap - OnePlus 5 Questions & Answers

On my Pixel XL, the screen turns on as soon as I lift the phone and I can just swipe to unlock. On the OP5, it requires you to double tap the screen before you can unlock. The lift-to-wake part works fine and I get that they did it this way to prevent accidental unlocks in your pocket, but the proximity sensor can do that anyway.
I prefer the way it used to work, the way the Pixel works. I have never had a problem with my phone waking in my pocket. Is there any way to get it back to where it will unlock with a swipe after you lift it up? It would be nice if it was at least an option you could toggle. I can see why some people would prefer it this way to prevent accidental pocket unlocks.

Use Tasker. Make a Gesture event context. Your task only needs one action, Run Shell:
input keyevent 6
Make sure Use Root is checked and an the following condition:
If %SCREEN ~ off
Sent from my SM-G955F using Tapatalk

RuggedHunter said:
Use Tasker. Make a Gesture event context. Your task only needs one action, Run Shell:
input keyevent 6
Make sure Use Root is checked and an the following condition:
If %SCREEN ~ off
Sent from my SM-G955F using Tapatalk
Click to expand...
Click to collapse
I'm trying this out now. Thanks for the tips here. How are you getting Tasker to recognize root? Mine is not prompting me. I'm using Magisk.

xgerryx said:
I'm trying this out now. Thanks for the tips here. How are you getting Tasker to recognize root? Mine is not prompting me. I'm using Magisk.
Click to expand...
Click to collapse
Uncheck Use Root and change the Run Shell like this:
su
input keyevent 6
Or you can install the supersu apk.... even though you don't use it tasker will see that you're rooted.
Sent from my SM-G955F using Tapatalk

RuggedHunter said:
Uncheck Use Root and change the Run Shell like this:
su
input keyevent 6
Or you can install the supersu apk.... even though you don't use it tasker will see that you're rooted.
Sent from my SM-G955F using Tapatalk
Click to expand...
Click to collapse
Something still isn't working it seems. Do I need to create a gesture event and record the lifting of the phone? The screen off IF function is red also. I dunno, maybe a little over my head. Tasker always kinda confused me.

xgerryx said:
Something still isn't working it seems. Do I need to create a gesture event and record the lifting of the phone? The screen off IF function is red also. I dunno, maybe a little over my head. Tasker always kinda confused me.
Click to expand...
Click to collapse
Yes, exactly. When creating the gesture, lay your phone on a flat surface. Longpress a volume key to start recording and immediately pick your phone up, then longpress volume again to stop recording. Make the gesture. Then link it to a task containing a Run Shell action with this code:
su
input keyevent 6
You should also go to Tasker Preferences > Monitor tab > Accelerometer > Yes
Edit: Also, your If condition is checking if the screen is off.... so it should be red any time you look at it in tasker, since obviously the screen is on while you're looking at it.
Sent from my SM-G955F using Tapatalk

RuggedHunter said:
Yes, exactly. When creating the gesture, lay your phone on a flat surface. Longpress a volume key to start recording and immediately pick your phone up, then longpress volume again to stop recording. Make the gesture. Then link it to a task containing a Run Shell action with this code:
su
input keyevent 6
You should also go to Tasker Preferences > Monitor tab > Accelerometer > Yes
Edit: Also, your If condition is checking if the screen is off.... so it should be red any time you look at it in tasker, since obviously the screen is on while you're looking at it.
Sent from my SM-G955F using Tapatalk
Click to expand...
Click to collapse
I think I have it all correct now but this red bar next to the linked task seems to be causing no profile to be active. Or root still is not working.

Looks perfect. Check the Run long and see of the profile is firing.
Sent from my SM-G955F using Tapatalk

Related

*NOVA LAUNCHER* Double tap to lock

Here is a work around to the popular double tap to lock when using Nova Launcher.
All you need to do is to download "screen off and lock" from the Google Play store, then go into Nova's "gestures and buttons" settings menu and tie double tap to the screen off and lock app.
Then it should work as it does with the standard launcher.
Thank for the tip
Or if you have greenify you can tie the double tap to hibernate and it does exactly he same. Actually I prefer since, I use greenify on my phone anyways.
Sent from my iPad using Tapatalk
Hgneto said:
Or if you have greenify you can tie the double tap to hibernate and it does exactly he same. Actually I prefer since, I use greenify on my phone anyways.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Nice tip! Thanks!
What shortcut you use on Greenify? Hibernate or Hibernate+Lock Screen?
Or you can just double tap the top of the status bar works with any launcher
Thanks for that dude
tallman43 said:
Or you can just double tap the top of the status bar works with any launcher
Click to expand...
Click to collapse
No it doesn't.
stevemiddie said:
No it doesn't.
Click to expand...
Click to collapse
Or yes it does you are doing it wrong! Do you think I would post a tip if it didnt work! Tap the status bar twice anywhere along the top near the battery/wifi icons etc
tallman43 said:
Or yes it does you are doing it wrong! Do you think I would post a tip if it didnt work! Tap the status bar twice anywhere along the top near the battery/wifi icons etc
Click to expand...
Click to collapse
Apex Launcher Pro.............Galaxy Note 4 and it definitely does NOT.
stevemiddie said:
Apex Launcher Pro.............Galaxy Note 4 and it definitely does NOT.
Click to expand...
Click to collapse
Lol This is LG G3 Thread my friend how was I to know you had a Galaxy note 4 i'm not psychic It works perfectly on the LG G3. . . . .Post in the right thread next time here is a link in case you are lost >> http://forum.xda-developers.com/note-4 <<
tallman43 said:
Lol This is LG G3 Thread my friend how was I to know you had a Galaxy note 4 i'm not psychic It works perfectly on the LG G3. . . . .Post in the right thread next time here is a link in case you are lost >> http://forum.xda-developers.com/note-4 <<
Click to expand...
Click to collapse
Oooops! :crying:
I have the Note 4 and the LG G3 and was switching between forums.
My sincere apologies.
Scrren Off app + Nova Launcher Pro with the gesture option (double tap executing the screen off)
Just works! :good:
With 3rd party lock apps I had issues with the keylock activating even though i had smartlock set to deactivate my pin when my phone is connected to my pebble watch. So i now use tasker to double tap off with nova from anywhere on the screen.
In tasker set up a new task to mimic a press of the power button:
New task>code > run shell> Command> input keyevent 26
Tick use root access.
Then point novas double tap gesture to the task. Because its mimicking the power button press it doesn't interfere with smartlock.
Sent from my LG-D855 using xda premium
jimsey said:
With 3rd party lock apps I had issues with the keylock activating even though i had smartlock set to deactivate my pin when my phone is connected to my pebble watch. So i now use tasker to double tap off with nova from anywhere on the screen.
In tasker set up a new task to mimic a press of the power button:
New task>code > run shell> Command> input keyevent 26
Tick use root access.
Then point novas double tap gesture to the task. Because its mimicking the power button press it doesn't interfere with smartlock.
Sent from my LG-D855 using xda premium
Click to expand...
Click to collapse
Can you please explain how to "point novas double tap gesture to the task"? Thank you very much!
Hi
In nova settings > gestures> double tap> shortcuts> task shortcuts> select the name you gave to the task you created.
Sent from my LG-D855 using xda premium
jimsey said:
Hi
In nova settings > gestures> double tap> shortcuts> task shortcuts> select the name you gave to the task you created.
Sent from my LG-D855 using xda premium
Click to expand...
Click to collapse
Hi and thank you. I did that and it interacts with tasker on double tap, as i see the message from super su. I guess i didn't set up tasker as it should.. Any ideas?
Not sure but you might need to give the task in tasker an icon for it to work?
Sent from my LG-D855 using xda premium
jimsey said:
Not sure but you might need to give the task in tasker an icon for it to work?
Sent from my LG-D855 using xda premium
Click to expand...
Click to collapse
Did that also
Awesome Tip...!!!!!
Awesome Tip dude...!!!!!
Really helped.:good:
You can even use Greenify for this trick.

Nova Launcher Screen Off/On Requires pin on print unlock. Any help?

So I usually can figure out just about anything. But I can't find an app to turn my screen off without using the power button to save it without it requiring me to enter a pin after I use my finger print.
I am currently using Nova Launcher with the Double Tap to turn the screen off and it too requires a pin on unlock. Is there any work around this?
I'm using Stock+ by Tupac4u, not the N Preview.
Thanks!
Gytole said:
So I usually can figure out just about anything. But I can't find an app to turn my screen off without using the power button to save it without it requiring me to enter a pin after I use my finger print.
I am currently using Nova Launcher with the Double Tap to turn the screen off and it too requires a pin on unlock. Is there any work around this?
I'm using Stock+ by Tupac4u, not the N Preview.
Thanks!
Click to expand...
Click to collapse
I went through that too. Greenify has a setting that allows holding the home button to shut the screen off that works without a PIN to unlock. Some kernels have a swipe navbar feature that can be turned on with ex kernel manager. But currently I am using Ressurection Remix which allows programming long presses on the navbar. I believe Pure Nexus has a built in setting like this also.
GMD GestureControl (play store) works fine (root)
You guys are the BEST! Thanks a Lot!
Gytole said:
I am currently using Nova Launcher with the Double Tap to turn the screen off and it too requires a pin on unlock. Is there any work around this?
Click to expand...
Click to collapse
Use the root option built into Nova. It will turn the screen off without locking it.
I'm using Nova's double tap to run a Tasker task to run a shell command "input key event 26" to turn the screen off. Then Franco Kernel's double tap to wake option to turn the screen back on.
Sent from my Nexus 6P using XDA Labs
Why just why the complications... in Nova launcher you got double tap to screen lock option and once you do the same first time.. it asks for the normal method and root.. with root you don't see the pin or pattern screen.. with normal you do...
If you are rooted you should be good to go with that..
Sent from my Nexus 6P using XDA-Developers mobile app

Fingerprint scanner emulate home button?

Is there any way to make my fingerprint scanner into a capacitive button when the phone is already unlocked? Google turned up some options that say there are apps for Samsung devices, but anything for the axon?
Yes you can. There is an app here on xda apps called Fingerprint quick action. I already have it installed and default action is to toggle notification bar. Home is also an option.
Sent from my ZTE A2017G using Tapatalk
razorsbk said:
Yes you can. There is an app here on xda apps called Fingerprint quick action. I already have it installed and default action is to toggle notification bar. Home is also an option.
Sent from my ZTE A2017G using Tapatalk
Click to expand...
Click to collapse
What's your hit to battery life?
None, I still get more than 6hrs of screen time (2 days of use).
Sent from my ZTE A2017G using Tapatalk
That app works beautifully, thank you!
Just to throw my own thread off topic, is anyone else surprised that we're creaming the pixel for onscreen time?
razorsbk said:
Yes you can. There is an app here on xda apps called Fingerprint quick action. I already have it installed and default action is to toggle notification bar. Home is also an option.
Sent from my ZTE A2017G using Tapatalk
Click to expand...
Click to collapse
Amazing app. I hope in the future it can be set to Back button functionality so it'd be easier to use the Axon at night. I'm still having a hard time pressing Back or Recent capacitive buttons in the dark.
jlomein said:
Amazing app. I hope in the future it can be set to Back button functionality so it'd be easier to use the Axon at night. I'm still having a hard time pressing Back or Recent capacitive buttons in the dark.
Click to expand...
Click to collapse
I'm using the Pie Control app for that - so I don't even have to stretch my thumb down to the bottom of the screen, just swipe in from either bezel. I'm gonna try the Fingerprint Quick Action app - but what happens when you accidentally brush the sensor as your fingers are fumbling around the back of the phone like my fingers often do?
rEVOLVE said:
I'm using the Pie Control app for that - so I don't even have to stretch my thumb down to the bottom of the screen, just swipe in from either bezel. I'm gonna try the Fingerprint Quick Action app - but what happens when you accidentally brush the sensor as your fingers are fumbling around the back of the phone like my fingers often do?
Click to expand...
Click to collapse
This doesn't require root privileges and teaches dexterous disciprine.
BableMan said:
This doesn't require root privileges and teaches dexterous disciprine.
Click to expand...
Click to collapse
The Pie Control app from the Play store only needs root if you're using some of the special functions (menu) - it works just fine without root.
Also I set this app to turn off with the scanner and don't have problems until I play games and have to move my hands around the back of the phone a bunch. Was frustrating to keep having my screen turn off in the middle of Asphalt 8. Maybe there's a way to make a quick toggle widget for gaming mode?

Double tap to sleep?

It works fine when I use one of lg's launchers. Using nova launcher it does not work. I can force it to work, or I can use greenify to hibernate and lock screen but both methods require device admin privileges. No biggie, but then you're forced to use patter unlock, and I would venture whatever other method you use as back to the fingerprint scanner. I am using pattern. It requires I use it because I gave those two other methods to lock phone development admin privileges thus making fingerprint scanner a lot less useful. It wakes phone but I have to use pattern like I would if I rebooted. Anybody using nova having same problems or found a workaround? Bugging the hell out of me as I finally have a nice finger scanner, coming from the note4 and it was almost useless with a case on, and I love unlocking my phone as I take it out of my pocket. If others using nova are having same problem let's brainstorm and figure this out. It is nice double tapping to lock phone also.
Double tap the notification bar works anywhere.
Sent from my LG V20
@rbiter said:
It works fine when I use one of lg's launchers. Using nova launcher it does not work. I can force it to work, or I can use greenify to hibernate and lock screen but both methods require device admin privileges. No biggie, but then you're forced to use patter unlock, and I would venture whatever other method you use as back to the fingerprint scanner. I am using pattern. It requires I use it because I gave those two other methods to lock phone development admin privileges thus making fingerprint scanner a lot less useful. It wakes phone but I have to use pattern like I would if I rebooted. Anybody using nova having same problems or found a workaround? Bugging the hell out of me as I finally have a nice finger scanner, coming from the note4 and it was almost useless with a case on, and I love unlocking my phone as I take it out of my pocket. If others using nova are having same problem let's brainstorm and figure this out. It is nice double tapping to lock phone also.
Click to expand...
Click to collapse
I already covered this in another thread - it's a known issue since Android 6. In 6 there was a workaround but with 7, there has been changes and the workaround doesn't work.
I spoke with Nova and there is a root workaround for it but we don't have root yet.
david279 said:
Double tap the notification bar works anywhere.
Sent from my LG V20
Click to expand...
Click to collapse
Thanks dude. You're my hero today.
david279 said:
Double tap the notification bar works anywhere.
Sent from my LG V20
Click to expand...
Click to collapse
This doesn't work for me at all... No matter where I 'double tap', the screen never turns off. I can only get it to turn on...
HikariNoKitsune said:
This doesn't work for me at all... No matter where I 'double tap', the screen never turns off. I can only get it to turn on...
Click to expand...
Click to collapse
Double tap the notification bar for screen off. It works
HikariNoKitsune said:
This doesn't work for me at all... No matter where I 'double tap', the screen never turns off. I can only get it to turn on...
Click to expand...
Click to collapse
It works. Might have to practice a little bit. Speed and accuracy helps.
Skripka said:
Double tap the notification bar for screen off. It works
Click to expand...
Click to collapse
@rbiter said:
It works. Might have to practice a little bit. Speed and accuracy helps.
Click to expand...
Click to collapse
I've used the G3 for quite a while... I learned how the double tap works for it quite well lol. I know where at in the notification bar you should tap for it work. Unless its dramatically different on the V20's implementation of it, it just simply does not work for me...
@rbiter said:
It works fine when I use one of lg's launchers. Using nova launcher it does not work. I can force it to work, or I can use greenify to hibernate and lock screen but both methods require device admin privileges. No biggie, but then you're forced to use patter unlock, and I would venture whatever other method you use as back to the fingerprint scanner. I am using pattern. It requires I use it because I gave those two other methods to lock phone development admin privileges thus making fingerprint scanner a lot less useful. It wakes phone but I have to use pattern like I would if I rebooted. Anybody using nova having same problems or found a workaround? Bugging the hell out of me as I finally have a nice finger scanner, coming from the note4 and it was almost useless with a case on, and I love unlocking my phone as I take it out of my pocket. If others using nova are having same problem let's brainstorm and figure this out. It is nice double tapping to lock phone also.
Click to expand...
Click to collapse
I use nova and it works for me...Did you go into the nova config and enable it? I can dbl tap to sleep and wake...
Good luck
Bleeds
HikariNoKitsune said:
I've used the G3 for quite a while... I learned how the double tap works for it quite well lol. I know where at in the notification bar you should tap for it work. Unless its dramatically different on the V20's implementation of it, it just simply does not work for me...
Click to expand...
Click to collapse
It's a PITA and will take some getting used to. I had the LG G3 and the OPPO Find 7 which both had dttw. But with nova you have to hit the tiny notification bar, which as someone said will take some practice. Just make sure you have it turned on in nova's settings.
Sent from my SM-T810 using Tapatalk

Lock Screen Button

HI all,
I am a new user of MI A1 device. i purchased it a week back and started using the stock android interface.
My question to forum is as follows:
Is there any app which locks the screen without using the power button?
Most of the app present in play store asks for the administrative rights which makes the finger print scanner to stop functioning.
Kindly suggest one good app which does the lock screen functionality without asking for administrative rights and which is light in size.
thanks in advance
Shri
Why would you want that?
I am using Nova launcher with gesture up for this. For using it with fingerprint unlock you have to have root and enable "root screen off method" in Nova launcher. Then it works flawlessly and you don't have to reach for power button anymore.
If you don't want to use Nova launcher, you can achieve same result with Tasker or similar app with shell command run as root "input keyevent 26".
Roykooiman said:
Why would you want that?
Click to expand...
Click to collapse
To minimize the usage of power button..

Categories

Resources