Disable lock screen.

1,812 views
Skip to first unread message

Sumesh Chandran

unread,
May 23, 2013, 10:34:12 PM5/23/13
to tas...@googlegroups.com
Hello,

I am just checking on how to disable the lock screen when i am connected to my home router. I was just checking on over here and have seen people mentioning about the secure settings plugin which could do this. Are there any other ways to do this without a plugin?

Thanks.

Matt R

unread,
May 24, 2013, 1:03:53 AM5/24/13
to tas...@googlegroups.com
There is a built-in Tasker action for enabling and disabling the keyguard (display category), but it seems like it doesn't work for most people, especially on more recent versions of android.

Matt

Gerd Steinwender

unread,
May 24, 2013, 2:34:04 AM5/24/13
to tas...@googlegroups.com
You can use secure settings plugin, it works to disable keyguard, but it does this only temporary. After a while you get the lock again.

RudeboyX

unread,
May 24, 2013, 4:20:37 AM5/24/13
to tas...@googlegroups.com
???

After a while you get the lock again.

Doesn't revert for me. works perfectly, just takes a little fine tuning of your profile.

JosDaBoss

unread,
May 24, 2013, 5:06:28 AM5/24/13
to tas...@googlegroups.com
What exactly is the fine tuning of the profile? I also experience that at seemingly random times the lock screen pops ups when I am using the phone.

RudeboyX

unread,
May 24, 2013, 7:39:26 AM5/24/13
to tas...@googlegroups.com
I've posted many times in this forum with regards to a perfectly functioning lock toggling profile. have a search.
 
but a brief outline =
 
Know the difference between secure and not secure, If you are wanting to manipluate the "Keyguard", this has nothing to do with "locking" your device. "Keyguards" are not classed as a form of security, they are unsecure.
 
So I asume you are all taling about "Pattern/Pin/Password" locks. Then do the below.
 
1. Set "Android" lock to "NONE" (IMPORTANT, THE BIT MOST PEOPLE SKIP)
2. Set "Android" lock to your prefered lock type (Pattern/PIN/Password)
3. Setup the below Tasker task (tweek for your requirements)
 
 
CONTEXT
1. Wifi Connected "Home"
 
ENTRY TASK
1. Secure settings -> Wake device -> keyboard/lights 30 seconds
2. Secure settings -> "YourLockType" -> Disable
3. Wait 2 seconds
4. System Lock
 
EXIT TASK
1. Secure settings -> Wake device -> keyboard/lights 30 seconds
2. Secure settings -> "YourLockType" -> Enable
3. Wait 2 seconds
4. System Lock
 
Done
 
Regards
RBX

JosDaBoss

unread,
May 24, 2013, 8:02:13 AM5/24/13
to tas...@googlegroups.com
Thanks. But what is exactly the difference between a 'Keyguard lock' and an 'Android lock'? When I go to Settings->Screen Lock  I have it set with a pin. That is a Keyguard lock, right? I also see in Settings->Security the option encode device. Is this what you refer to as 'Android lock? And why is a 'Keyguard lock' not safe?

RudeboyX

unread,
May 24, 2013, 8:58:45 AM5/24/13
to tas...@googlegroups.com
No. Thats just a key guard and is not classed as a lock. Its a keygusrd as the name suggests. Thats why setting your lock to "None" first is important, so android knows what to revert to when you disable your lock.

The task disables secuirity then enables security. Mixing the keyguard into this confuses android, hense you end up with it working intermittantly.

RBX

Sumesh

unread,
May 24, 2013, 9:04:28 AM5/24/13
to tas...@googlegroups.com
Thanks to all who got involved here.

As RudeboyX mentioned here I installed the secure settings plugin which I believe is this one:

On the entry task where can I find the Secure Settings plugin in Tasker. I am not able to find it anywhere.
Please advise.



--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/-YjwAE4lJSk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Regards,
Sumesh
Message has been deleted

RudeboyX

unread,
May 24, 2013, 9:19:24 AM5/24/13
to tas...@googlegroups.com
To confirm
PIN = Lock (Secure)
Pattern = Lock (Secure)
Password = Lock (Secure)
Slide = Keyguard (Not Secure but android classes it as secure)
Toggling between "secure" options causes android confussion.

None = (Not Secure)

The best option it to select 1 secure option and "none" for the other.

Regards
RBX

RudeboyX

unread,
May 24, 2013, 9:20:15 AM5/24/13
to tas...@googlegroups.com
Plugins -> secure settings.

Sumesh

unread,
May 24, 2013, 9:48:47 AM5/24/13
to tas...@googlegroups.com

Thanks RBX, Got it.

On 2013-05-24 9:20 AM, "RudeboyX" <almond...@hotmail.co.uk> wrote:
Plugins -> secure settings.

JosDaBoss

unread,
May 24, 2013, 12:06:35 PM5/24/13
to tas...@googlegroups.com
I use a PIN lock. I can enable/disabel it with Tasker with the Keyguard on/off option. So why isn't that a Keyguard lock?

Michael Starks

unread,
May 24, 2013, 12:40:30 PM5/24/13
to tas...@googlegroups.com
On 24.05.2013 06:39, RudeboyX wrote:
> I've posted many times in this forum with regards to a perfectly
> functioning lock toggling profile. have a search.
>
> but a brief outline =
>
> Know the difference between secure and not secure, If you are wanting
> to manipluate the "Keyguard", this has nothing to do with "locking"
> your device. "Keyguards" are not classed as a form of security, they
> are unsecure.
>
> So I asume you are all taling about "Pattern/Pin/Password" locks.
> Then
> do the below.
>
> 1. Set "Android" lock to "NONE" (IMPORTANT, THE BIT MOST PEOPLE SKIP)

According to your steps (and my experience), disabling the lock screen
will never work for those who have a security policy which does not
allow you to select "none" as the lock type. This can occur if you are
subject to a corporate ActiveSync policy and/or the device is encrypted.
This is by design and appropriate behavior.

RudeboyX

unread,
May 25, 2013, 6:11:37 AM5/25/13
to tas...@googlegroups.com
Correct. If you dont have "none" as an option, then you have no choice but to toggle between a lock and the keyguard. Although it may work, you will suffer intermittancy and unexpected behaviour.

ICS is the worst enviroment for this but JB also has its issues.

RBX

RudeboyX

unread,
May 25, 2013, 6:14:22 AM5/25/13
to tas...@googlegroups.com
I take it you are running an old android version? Because using keyguard disable/enable in ICS+ will not do what you speak off.

RBX

Almarez

unread,
Dec 13, 2013, 8:23:36 PM12/13/13
to tas...@googlegroups.com
You say:
1. Set "Android" lock to "NONE" (IMPORTANT, THE BIT MOST PEOPLE SKIP)
2. Set "Android" lock to your prefered lock type (Pattern/PIN/Password)

Do you mean to set it to none then immediately set it to preferred lock type or is this a type and was there a second setting?

Cjsnet

unread,
Dec 23, 2013, 2:14:29 PM12/23/13
to tas...@googlegroups.com
Thanks but is there any way this can work with Pattern Lock?

Rob Rausch

unread,
Dec 23, 2013, 8:28:48 PM12/23/13
to tas...@googlegroups.com
What I did on my Nexus 4:

First go to SETTINGS > SECURITY > SCREEN SECURITY > SCREEN LOCK = NONE

Then go to Tasker/Secure Settings and when you set up the task to enable the lock screen it will ask you to set your PIN within Secure Settings.

So if I look at my phone's settings it appears to not have any screen security even though it does when I'm not connected to my home wifi.

At least that's what works for me, everything else is similar to the instructions that were posted.

Marc P

unread,
Dec 24, 2013, 1:28:20 AM12/24/13
to tas...@googlegroups.com
I believe it is not possible on a non rooted device. Skip Lock (available at the Play Store ) claims to do the trick on a rooted phone so I guess you can accomplish the same with Tasker. 

fly

unread,
Dec 24, 2013, 9:18:01 AM12/24/13
to tas...@googlegroups.com
Follow the same settings, but select Pattern Lock in Secure Settings.

Marc P

unread,
Dec 24, 2013, 12:24:28 PM12/24/13
to tas...@googlegroups.com
I really need to root - Love Tasker and Secure Settings!

Steve Mills

unread,
Jan 10, 2015, 7:13:20 AM1/10/15
to tas...@googlegroups.com
Thanks for tackling this issue.

My script for this was working fine for nearly a year until I needed to do a factory reset and start again.

When I saw your note about first setting security to none I figured that'd be the cause.

However I've set it to None, then set it back to Pattern and still after running the script the pattern lock remains active.

Normally what happens is that, on arriving home, my home script runs and leaves a notification that home mode is operating and uses Secure Settings to disable the Pattern Lock which is set up to occur after the next unlock. Then I use the power button to lock. Then unlock where I see Secure Settings flash that it's been granted permission and then normally if I use the power button again then I just need to swipe to unlock. But since the factory reset the Pattern Lock remains active.

I'm wondering if some module has been lost since the reset. Or, since I restored most things using Titanium Backup, whether there's a bad setting somewhere that would be fixed if I uninstalled and re-installed as opposed to restoring with TB?

Cheers
Steve
Reply all
Reply to author
Forward
0 new messages