Unlock screen with Tasker [Autoinput not working] - Tasker Tips & Tricks

Hi,
I'm looking for a way to unlock my screen to toggle VPN (Android default VPN since there doesn't seem any decent third-party app out there, which supports IPsec-VPNs) on while on specific wifi network. Everything is working fine except the screen unlock, since Autoinput doesn't work with screen off/locked.
I tried of course the Autoinput-Action "Screen unlock" but this doesn't seem to work on a rooted 7.1: Screen just gets turnd on, Notifications jumping a littl ebit up but then the srceen tunrs of again.
Also tried Secure Setting, but this app seems to be long dead...
Any ide, how to accomplish this? And no, Open-VPN is no option, since the target doesn't support it (it would make things so much easier of course since there is a real tasker integration available).
Thanks!

any idea how to get auto input working?
the unlock action can't be configured, so how should this ever work?

so if I understand correctly you want to turn on the screen and unlock it.
you have managed to turn it on, how about turning off screen lock, and then turn it on? then you should be being straight to home screen.
since you are already using Joao's apps, there is something about disabling lock screen in his Autosettings app I think.

alienyd said:
so if I understand correctly you want to turn on the screen and unlock it.
you have managed to turn it on, how about turning off screen lock, and then turn it on? then you should be being straight to home screen.
since you are already using Joao's apps, there is something about disabling lock screen in his Autosettings app I think.
Click to expand...
Click to collapse
thanks for your answer! you are right about what I'm trying to archiv and I guess the Unlock-Action from AutoInput does soemthing similar since it disables the lock screen completely and I have to set it active again after using this task. The disableing works, but the screen doesn't stay on long enough for AutoInput to perform the intended task – the unlock action doesn't have any configuration options, so basically I have to add something, which ensures the screen is on for a certain amount of time

Related

Lock screen during a call?

How do you lock the screen during a call?
Is there a setting where the screen will automatically lock while I am on the phone?
amot said:
How do you lock the screen during a call?
Is there a setting where the screen will automatically lock while I am on the phone?
Click to expand...
Click to collapse
search the market for "procsimity sensor" that does it automatically. there are a few bugs that need to be worked out with it becuase it uses the light sensor it doesnt work real well in the dark but from what I have seem other than that its a pretty good app.
wtphoto said:
search the market for "procsimity sensor" that does it automatically. there are a few bugs that need to be worked out with it becuase it uses the light sensor it doesnt work real well in the dark but from what I have seem other than that its a pretty good app.
Click to expand...
Click to collapse
I uninstalled it because I hate auto backlight. It stays dim even when browsing.
chococrazy said:
I uninstalled it because I hate auto backlight. It stays dim even when browsing.
Click to expand...
Click to collapse
i personally dont use it but thought he might want it
The lock replacement app, LockBot Pro, as a setting to lock the screen during a call. Not sure about the free version but it's worth a dollar or two.
amot said:
How do you lock the screen during a call?
Is there a setting where the screen will automatically lock while I am on the phone?
Click to expand...
Click to collapse
The screen does automatically lock. The timeout is adjustable, but I don't think there's anything in the Settings menu for it.
I use a program called Quick Settings that puts a shortcut on my home screen to a list of modes - each mode can include custom screen timeout values, ringer volumes, etc. One of them is in-call screen timeout.
OK now, I have tried them all now:
Quick Settings
Call Light
Call Daddy
Lockbot
Proximity Sensor
Screebl
Power Manager
and I still can't figure out how to time out the screen duing a call. It's driving me nuts because I hang up on people all the time. Why can't I get any of the above to work on fresh 1.1 + Gumbo kernel?
For all the people out there on a Sprint Hero, what app are you using and what are your settings in Settings> Sound & display> Disable auto backlight and your screen timeout settings.
TIA.
I'm in the same boot and wish I could find an answer. Sprint really screwed up not putting a proximity sensor on the phone.
I have tried "Proximity Sensor" app but it's buggy and I don't like using auto brightness. Just tried "Quick Settings" but can not find any adjustment for time out during call? only the general screen time out.
Does anyone know where this setting is? Could it be only for 1.6 and up?
bubi73 said:
OK now, I have tried them all now:
Quick Settings
Call Light
Call Daddy
Lockbot
Proximity Sensor
Screebl
Power Manager
and I still can't figure out how to time out the screen duing a call. It's driving me nuts because I hang up on people all the time. Why can't I get any of the above to work on fresh 1.1 + Gumbo kernel?
For all the people out there on a Sprint Hero, what app are you using and what are your settings in Settings> Sound & display> Disable auto backlight and your screen timeout settings.
TIA.
Click to expand...
Click to collapse
In Power Manager, it's under "Stay Awake" and it's called "During Call."
jonnythan said:
In Power Manager, it's under "Stay Awake" and it's called "During Call."
Click to expand...
Click to collapse
jonnythan,
I tried that and it doesn't work for me for some reason. I have diabled auto backlight and my screen timeout is set to 30 sec. What are your settings? Also with Power Manager how long does it take to time out?
bubi73 said:
jonnythan,
I tried that and it doesn't work for me for some reason. I have diabled auto backlight and my screen timeout is set to 30 sec. What are your settings? Also with Power Manager how long does it take to time out?
Click to expand...
Click to collapse
I have different settings for different situations. I have it set to 10 seconds while on battery and 1 minute while on AC power. Works fine for me.
bubi73 said:
and I still can't figure out how to time out the screen duing a call. It's driving me nuts because I hang up on people all the time. Why can't I get any of the above to work on fresh 1.1 + Gumbo kernel?
For all the people out there on a Sprint Hero, what app are you using and what are your settings in Settings> Sound & display> Disable auto backlight and your screen timeout settings.
TIA.
Click to expand...
Click to collapse
Ever since I switched to a custom kernel, lock during a call has been temperamental. I'm using Gumbo's rom/kernel. For some reason it started working again today. Last night I did switch back to the stock mem kill settings, but I doubt this had anything to with fixing it. Sorry this post is of no help, I just wanted to let you know you're not alone.
Check out the Screen Suite app...
The Screen Suite app is a collection of screen utilities. Features a lock screen that can be configured to lock during a call and has a panel to lock your screen on demand.
proximity sensor works pretty well for me and i dont have auto back light enabled...
im running damage 2.0.7.2
screen suite doesn't disable the notification bar, my ear pulls it down sometimes. i have things in there that launch.
This thread has the "end all" solution which you can just flash to your phone. It removes the "End Call" button from the screen when you're on a call so that you can't do any facial hang ups.
http://forum.xda-developers.com/showthread.php?t=672034

(REQUEST) Disabling Auto-lock

This one aspect of my phone has been really bugging me. We don't have the option to disable the automatic locking of our phones. You could enable an infinite screen timeout, but that doesn't really solve the problem as it introduces a new problem (increased drain on the battery due to the display being on the whole time).
It'd be nice if we could control those two settings independently. One is to be able to control screen timeout, the other would be to enable/disable autolocking our phones.
The reason this is useful for someone like me is that I usually leave my phone on the desk when I'm not using it. In my situation the auto-locking is just a huge pain because I'm not worried about accidentally hitting any buttons while the phone is on the desk nor am I worried about security/privacy issues.
Anyone see a need?
I think lockbot gives you an option of how long before the lock screen goes into affect if you'd be willing to use an app for a lock screen...
erikikaz said:
This one aspect of my phone has been really bugging me. We don't have the option to disable the automatic locking of our phones. You could enable an infinite screen timeout, but that doesn't really solve the problem as it introduces a new problem (increased drain on the battery due to the display being on the whole time).
It'd be nice if we could control those two settings independently. One is to be able to control screen timeout, the other would be to enable/disable autolocking our phones.
The reason this is useful for someone like me is that I usually leave my phone on the desk when I'm not using it. In my situation the auto-locking is just a huge pain because I'm not worried about accidentally hitting any buttons while the phone is on the desk nor am I worried about security/privacy issues.
Anyone see a need?
Click to expand...
Click to collapse
Well... I'll answer your question... But this won't be helpful (Just a warning )
A need? No.. I honestly don't find it troublesome to swipe my finger across the screen after pressing the trackball (or Power button if you're not rooted/haven't setup Trackball Wake)
So, I don't really see a need. But good luck finding someone to accomplish your request. Just seems like it'd be a fair amount of work, to remedy 1 seconds time... Just my $.02
Try ScreenModeWidget at market, free.
choose awake stay.
Try ScreenModeWidget at market, free.
choose awake stay.
Look in the market for "curvefish" he's a developer of widgets and has a lock screen on off widget that will let you turn it off then back on without having to reset the pattern. Hope that helps!
Keyguard disabler on the market. It works for me. I set it after a reboot and it works. It has a option to start on start but I just do it manually with the shortcut.
actually, i've been looking for the same solution as you are looking for! even i find it highly anoying when i keep the fone on my desk and have to sweep the screen each time i want to check it.
ideally, i'm looking for something likr what u get in the 5800.... the screen comes back on (after timning out) when you tap on the screen, unless u lock it explicitly via the hardware button...
neways, u kud try "no luck" which simply disables the lock screen. when the screen times out, pressing the hardware "home' or "lock/unlock" buttons brings the screen back on without having to go thru the unlock procedure...
Cheers,
I've been using touchscreen smartphones since the Omnia came out and never once have i needed a lock screen. I can't for the life of me work out why anyone would need anything more than a screen off/screen on button.
I'm using No Lock from the market now. It has a handy toggle widget/icon for enabling or disabling the lock function. As a bonus it allows screen wake on Trackball and volume buttons.
+1 for No Lock! It's the best way to get around that swipe pain.

App to power off screen without locking?

Hey guys, curious if anyone has found an app that can turn the screen off on the Droid Turbo without locking it. Here's what I ideally want:
I use a Motorola Keylink and a Pebble as Trusted Devices. When they are connected, I don't have to enter my unlock PIN.
I'd also like to be able to use 'Double Tap' in Nova launcher to turn off the screen. The problem is that every app I try turns off the screen and locks it, meaning I have to enter my PIN when I turn the screen on again, EVEN IF I have a trusted device connected.
So, is there anything that can turn off the screen without locking it as well?
I am rooted and have Tasker and Secure settings but can't find a solution in those apps.
Thanks!
EDIT: Found my answer! Secure settings, run command, "Input keyevent 6" for anyone who needs it

Smart lock not working...?

Does none of the smart lock tools actually work with this phone? The trusted places option worked perfectly on my OPO, but with this phone, I'm always asked to input my pattern or fingerprint when I'm at home. It's not an issue if I'm just turning on the phone because the fingerprint is super fast, but sometimes I like to open a notification right from the lock screen, but I can't do that if the smart lock isn't working...
I am running OOS 4.0.3 and I an confirm that Smart Lock is working.
I have set a trusted device via Bluetooth, in this particular case my Bluetooth module in my car.
Here's what happens and hopefully this is what you expect.
When I am outside of my house and walking to my car, my phone is locked and requires my fingerprint.
I turn on my car and my phone pairs with my car, which then enables the Smart Lock feature.
I then turn on my screen on my phone and I see a Lock Screen but it is slightly different. The lock symbol located at the bottom has a circle around it indicating that the phone only requires a swipe to go to my home screen. It does not require my fingerprint or pin/pattern.
No matter what you do the Lock Screen is present when Smart Lock is functioning. So far I am ok with this.
If you are looking to never see the Lock Screen when Smart Lock is functioning then I am not sure if you can do that.
There could be a way using Tasker for example IF Bluetooth is Connected to Car, set Screen Lock timeout to never and that might prevent the Lock Screen from appearing.
WE would have to test this and I am not sure if Tasker can change the Lock Screen timeout.
I hope this helps.
MysticGolem said:
I am running OOS 4.0.3 and I an confirm that Smart Lock is working.
I have set a trusted device via Bluetooth, in this particular case my Bluetooth module in my car.
Here's what happens and hopefully this is what you expect.
When I am outside of my house and walking to my car, my phone is locked and requires my fingerprint.
I turn on my car and my phone pairs with my car, which then enables the Smart Lock feature.
I then turn on my screen on my phone and I see a Lock Screen but it is slightly different. The lock symbol located at the bottom has a circle around it indicating that the phone only requires a swipe to go to my home screen. It does not require my fingerprint or pin/pattern.
No matter what you do the Lock Screen is present when Smart Lock is functioning. So far I am ok with this.
If you are looking to never see the Lock Screen when Smart Lock is functioning then I am not sure if you can do that.
There could be a way using Tasker for example IF Bluetooth is Connected to Car, set Screen Lock timeout to never and that might prevent the Lock Screen from appearing.
WE would have to test this and I am not sure if Tasker can change the Lock Screen timeout.
I hope this helps.
Click to expand...
Click to collapse
It seems the trusted location is very spotty for me at the moment. Sometimes it works and others it doesn't.
I've got a similar problem. The phone never unlocks when I'm at a trusted location. It unlocks when I'm connected to a trusted Bluetooth though. I've set the location using both my address and by using the Google Maps screen. Nothing works.
I'm using a OnePlus 3T with the regular operating system.
Same here. Trusted location only seems to work for a few hours after adding/resetting a location. After that, it is no longer recognized. I did see an issue brought up in the Pixel forums about this issue, but clearly it's not confined to that device. Here's a few threads about it:
https://productforums.google.com/forum/#!topic/phone-by-google/KNrSoHOhb_Q
http://forums.androidcentral.com/go...art-lock-trusted-places-doesnt-seem-work.html
Hopefully they are still looking into the issue and will release a fix as part of Android O whenever that comes to the 3/3T. Or maybe it's something that OP could look into, but I doubt we'll get that fixed in a timely manner either way...
I have the opposite problem. Phone will always unlock without prompting for fingerprint or code, regardless of being in a trusted location or not. It's pretty annoying.
Sendt fra min ONEPLUS A3003 med Tapatalk
Screen lock doesn't work.
Hi! My problem kinda different. My OP3T screen lock doesn't work. I tried to turn off smart lock. Changing the screen lock type, still doesn't work. Even with fingerprints. So anybody can open my phone by swiping it up. Did somebody have the same problem? Should i upload the video of it and link it?

Bixby Routines - Unlock Phone

I have a Bixby routine set for Home that turns on Wi-Fi and keeps the phone unlocked. Trouble is, the phone unlock seems to stop working after a period of time (using the phone or not), and the only way to fix it is to turn off the routine and turn it back on.
Anyone else seeing this?
Unfortunately, I do not have an answer to your question, but another question: How do you set the phone to unlocked? Cannot find "unlock phone" as an option, except at the default "in car"-routine
I just tried creating a new routine, and I see the option under the "Lock Screen" category.
Devhux said:
I just tried creating a new routine, and I see the option under the "Lock Screen" category.
Click to expand...
Click to collapse
Strange. The only options on my S10e for Lock screen, is Always on display, and Change lock screen shortcuts.
If I could just copy another routine, it would be easy.
Why not use smart lock and set it to stay unlocked at a location?
daveparki said:
Why not use smart lock and set it to stay unlocked at a location?
Click to expand...
Click to collapse
Smart Lock tends to rarely work for me, and there's also the fact it disables 4 hours after inactivity.
I am in a basement, but I don't think that's actually causing an issue as the moment I disable and re-enable my Home routine, it starts working as it should again immediately.
Do you have received a work profile enforced on the phone?
Sent from my SM-G975F using Tapatalk
Devhux said:
I just tried creating a new routine, and I see the option under the "Lock Screen" category.
Click to expand...
Click to collapse
What's the initial routine you're using? Also, what's your normal lock screen type and unlock method?
I use a fingerprint + Pattern unlock normally. As for the routine, it's the "Home" one that I believe was an initial recommended one that I just modified.
It will show up if the if condition is set to "place"

Categories

Resources