Disable pattern when connected to home wifi - Tasker Tips & Tricks

My phone is on Marshmallow. How can I use tasker to disable pattern when it's connected to home wifi? Thanks.

With plugins. AutoTools or secure settings are able to do this. AutoTools isn't free but it's worth the money. Secure setting is not longer developed. Decide by your self what you will chose.
Sent from my ONEPLUS A3003 using Tapatalk

R4V3N-2010 said:
With plugins. AutoTools or secure settings are able to do this. AutoTools isn't free but it's worth the money. Secure setting is not longer developed. Decide by your self what you will chose.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
I think Secure settings is only work on pin, not pattern.
I tried Autotols. For some reason, I don't have "Automatic Lock" under "Lock Screen" setting. http://forum.joaoapps.com/index.php...-enable-your-lock-screen-at-will-no-root.237/

If you choose secure settings in AutoTools and then lock screen it should be there. If it is not there then you have to contact the Dev João Dias. He can help you. Sorry I can't help you more.
Sent from my ONEPLUS A3003 using Tapatalk

zrzhu said:
I think Secure settings is only work on pin, not pattern.
I tried Autotols. For some reason, I don't have "Automatic Lock" under "Lock Screen" setting. http://forum.joaoapps.com/index.php...-enable-your-lock-screen-at-will-no-root.237/
Click to expand...
Click to collapse
NVM, just realize i need to get the beta version of AutoTools in order to have automatic Lock.

Then you get it sorted now good
Sent from my ONEPLUS A3003 using Tapatalk

In case others are looking for this also. The beta version works.

zrzhu said:
In case others are looking for this also. The beta version works.
Click to expand...
Click to collapse
I use Lockscreen Disable xposed module...

Related

accessibility services keep turning off

My phone is rooted and installed twrp.
I have problem, accessibility services keep turning off. I enabled greenify in accessibility but after couple minutes is turn to off.
Its happening whit all installed apk like dashlane, nova launcher, greenify.
What the f*ck turn my services off?
Same thing is happening to me. Any idea how fix it?
Same happening to me
At first try to add these apps to all possible whitelists of Huawei power management apps. It should not be cleaned by RAM manager and should be left not closed when screen is off. It helped here.
Sent from my EVA-L19 using XDA-Developers mobile app
I put greenify in protected app and for now is ON in accessibility. Last 2 day working ok.
ylapas said:
At first try to add these apps to all possible whitelists of Huawei power management apps. It should not be cleaned by RAM manager and should be left not closed when screen is off. It helped here.
Click to expand...
Click to collapse
Can you explain what you did?
Milamber said:
Can you explain what you did?
Click to expand...
Click to collapse
Just go in phone manager, in protected app in second page. Check your apk here.
Sent from my EVA-L09 using Tapatalk
zelenko said:
Just go in phone manager, in protected app in second page. Check your apk here.
Click to expand...
Click to collapse
Thanks but in protected app I don't have the apk, only a list of installed applications
Yet another EMUI "feature". Hating when it happens to me as well, though I do have mixed luck with whitelisting the apk in question (where ever you can - why the hell do we have both the battery keep-running-with-screen-off feature, and the "ignore optimizations" crap? And what does this even do?).
emilrune said:
Yet another EMUI "feature". Hating when it happens to me as well, though I do have mixed luck with whitelisting the apk in question (where ever you can - why the hell do we have both the battery keep-running-with-screen-off feature, and the "ignore optimizations" crap? And what does this even do?).
Click to expand...
Click to collapse
How are you whitelisting it? The only apps I see are play store ones
Milamber said:
How are you whitelisting it? The only apps I see are play store ones
Click to expand...
Click to collapse
Settings - apps - "Advanced" - "ignore optimisations" - select "all apps" from the drop down menu - set apps in question to "allowed".
Nope, I don't have these settings (Huawei x2 702L B006)
emilrune said:
Settings - apps - "Advanced" - "ignore optimisations" - select "all apps" from the drop down menu - set apps in question to "allowed".
Click to expand...
Click to collapse
So, if these settings are not there, and the "protected apps" also does not solve the problem, any suggestions?
emilrune said:
Settings - apps - "Advanced" - "ignore optimisations" - select "all apps" from the drop down menu - set apps in question to "allowed".
Click to expand...
Click to collapse
I have done this but still my apps like LastPass, Greenify, LookOut still get closed.
Is there another option I am missing.?
TG09 said:
I have done this but still my apps like LastPass, Greenify, LookOut still get closed.
Is there another option I am missing.?
Click to expand...
Click to collapse
Same here with Roboform password manager on Mate 9 with EMUI 5.0 . All system settings give it permission and exemption from optimization. But accessibility is turned off after a very short time of the phone screen being off. There has to be something strange going on.
hx4700 user said:
Same here with Roboform password manager on Mate 9 with EMUI 5.0 . All system settings give it permission and exemption from optimization. But accessibility is turned off after a very short time of the phone screen being off. There has to be something strange going on.
Click to expand...
Click to collapse
Strange this has not been fixed.
IMHO Huawei or EMUI should let us manage the system whitelisted apps..
It is obvious that the phone administrator is not enough to ensure we can leave opened on background 100% sure some apps... My telegram app from time to time also appears stopped.. Mmmm "strange" but easy to solve for huawei's developers if they were interested in
So strange^2
Enviado desde mi EVA-L09 mediante Tapatalk
TG09 said:
Strange this has not been fixed.
Click to expand...
Click to collapse
Actually I have found that it is a feature not a fault. I rang up Huawei to ask for help.
What you need to do is go into Settings (swipe down from top, then cog wheel) > Battery > Close apps after screen lock
Then scroll down to your 'problem' app, and switch to off.
You might be surprised at the apps that have managed to get themselves set to off. I certainly was.
hx4700 user said:
Actually I have found that it is a feature not a fault. I rang up Huawei to ask for help.
What you need to do is go into Settings (swipe down from top, then cog wheel) > Battery > Close apps after screen lock
Then scroll down to your 'problem' app, and switch to off.
You might be surprised at the apps that have managed to get themselves set to off. I certainly was.
Click to expand...
Click to collapse
Even having setup properly battery optimisation to be ommited, keep open when close and whitelist on clean up sometimes telegram gets close... We all (or most of us) know.about that options to be setup but Huawei maintains a "hidden" apps whitelist like Google apps that are permitted to be run on background ... We know is not a big and we want to have full control of which apps.to permit 100% of time not decided by Emui. That's the point.
Enviado desde mi EVA-L09 mediante Tapatalk
hx4700 user said:
Actually I have found that it is a feature not a fault. I rang up Huawei to ask for help.
What you need to do is go into Settings (swipe down from top, then cog wheel) > Battery > Close apps after screen lock
Then scroll down to your 'problem' app, and switch to off.
You might be surprised at the apps that have managed to get themselves set to off. I certainly was.
Click to expand...
Click to collapse
I have this configured for LastPass and it still gets closed.
Worked like a charm
emilrune said:
Settings - apps - "Advanced" - "ignore optimisations" - select "all apps" from the drop down menu - set apps in question to "allowed".
Click to expand...
Click to collapse
Thanks for this. It worked and now LastPass stays active for fill ins.

[Help] Changing screen timeout while WhatsApp running

Hey everyone and thanks for taking the time to read this.
I wanted to make so when i'm using whatsapp the screen timeout of my phone changes to 2 minutes instead of my usual 30 seconds.
It looked like it was working but one time I noticed the screen went off after the 30 seconds, so i pulled down my notification bar and checked it.. It was infact set at 30 and not 2 minutes
I noticed that the 2 minutes always work in the whatsapp homepage but they get resetted to 30seconds whenever I enter a chat and send a message. If then I go back to the homepage of the app they get switched again to 2 minutes
What I did to setup the profile is:
1. Create new application profile and select WhatsApp
2. Add a task that makes the screen timeout change to 2 minutes
3. Uncheck restore settings on the advice of another user
Trying to "debug" the problem I even added an exit task which set the timeout back to 30 seconds but that didn't seem to change anything
If anyone could help me out that would be greatly appreciated
Edit: I'll be more specific the timeout becomes 30 second whenever I tap to type and the keyboard opens, whenever I tap away it goes back to 2 minutes. Is there anyway to prevent that from happening beside using the the same settings for the keyboard?
Quick fix
After time out add another action
Add -> Input -> Soft Keyboard.
It works that way I tried it with soft keyboard and without soft keyboard.
Sent from my Honor 6X using XDA Labs
Hey and thanks for your answer!
It actually did not work for me
my device is a5 2016 running nougat
I did find a workaround for now that i might or might not keep it.
What i did was:
1. Create new app profile for gBoard
2. Set screen timeout at 2 mins if PACTIVE *,whatsapp,*
It seems to work for now even though It's not the best style and it does take two profiles instead of one, I'm very open to try and fix it the way you suggest if we manage to make it work
Thanks for taking the time to help me!
Frans1897 said:
Hey and thanks for your answer!
It actually did not work for me
my device is a5 2016 running nougat
I did find a workaround for now that i might or might not keep it.
What i did was:
1. Create new app profile for gBoard
2. Set screen timeout at 2 mins if PACTIVE *,whatsapp,*
It seems to work for now even though It's not the best style and it does take two profiles instead of one, I'm very open to try and fix it the way you suggest if we manage to make it work
Thanks for taking the time to help me!
Click to expand...
Click to collapse
That's strange that it didn't work cuz I also use gboard. I'll try it again and let you know.
Btw did you try it or are you saying it based on your notification?
Edit : Tried again and it still works
Sent from my Honor 6X using XDA Labs
I've uploaded the xml, try using it and let me know.
Still find it strange cuz I'm on Nougat. I'm using gboard.
Sent from my Honor 6X using XDA Labs
.
suhel28 said:
I've uploaded the xml, try using it and let me know.
Still find it strange cuz I'm on Nougat. I'm using gboard.
Sent from my Honor 6X using XDA Labs
Click to expand...
Click to collapse
It still doesn't work on my end. I activated your profile and the problem is the same I was experiencing before, take a look at these two screenshots one with the keyboard open and the other without
PHP:
https://imgur.com/a/bNPRj
(sorry for posting he link this way but I'm from mobile and can't really figure out any other convenient way)
Are you sure time timeout actually sets to 2 minutes on your device?
I'm using an edited quick setting tile from Google play to check it
Cheers
Frans1897 said:
.
It still doesn't work on my end. I activated your profile and the problem is the same I was experiencing before, take a look at these two screenshots one with the keyboard open and the other without
PHP:
[url]https://imgur.com/a/bNPRj[/url]
(sorry for posting he link this way but I'm from mobile and can't really figure out any other convenient way)
Are you sure time timeout actually sets to 2 minutes on your device?
I'm using an edited quick setting tile from Google play to check it
Cheers
Click to expand...
Click to collapse
Quick settings is the culprit.
So I installed​ the quick settings app from playstore and used the screen time out tab and then all of a sudden my time out profile stopped working.
I then disabled the time out thing from the quick settings app and it still didn't work.
I then uninstalled the quick settings app and it still didn't work.
Finally I'd to reboot the device and my profile started working.
So yeah you'll have to choose between Quick Settings and Time Out.
Sent from my Honor 6X using XDA Labs
suhel28 said:
Quick settings is the culprit.
So I installed​ the quick settings app from playstore and used the screen time out tab and then all of a sudden my time out profile stopped working.
I then disabled the time out thing from the quick settings app and it still didn't work.
I then uninstalled the quick settings app and it still didn't work.
Finally I'd to reboot the device and my profile started working.
So yeah you'll have to choose between Quick Settings and Time Out.
Sent from my Honor 6X using XDA Labs
Click to expand...
Click to collapse
Yes thank you very freakin much that worked!
As sad as I am to let go of those quick settings tiles I want this more
Thanks for helping me out
Frans1897 said:
Yes thank you very freakin much that worked!
As sad as I am to let go of those quick settings tiles I want this more
Thanks for helping me out
Click to expand...
Click to collapse
Haha like I said we both have same configured so the moment I saw this quick settings things I knew this was wrong but I'd to install and verify it myself to check it.
Glad it worked for you. Cheers.
Sent from my Honor 6X using XDA Labs
Import
I tried to import your xml into Tasker but it doesn't show up in the directory when I try to import it.
suhel28 said:
I've uploaded the xml, try using it and let me know.
Still find it strange cuz I'm on Nougat. I'm using gboard.
Sent from my Honor 6X using XDA Labs
Click to expand...
Click to collapse
bluebirdsmike said:
I tried to import your xml into Tasker but it doesn't show up in the directory when I try to import it.
Click to expand...
Click to collapse
Which directory? In your file manager or in the Tasker?
Sent from my Honor 6X using XDA Labs
suhel28 said:
Which directory? In your file manager or in the Tasker?
Sent from my Honor 6X using XDA Labs
Click to expand...
Click to collapse
All sorted, thanks for responding.

How disable screen lock at trusted wifi

Is there any way to turn off screen lock at trusted wifi without root, the build smart lock is useless as it requires location on with drains battery, the placement of finger print scanner is just awful, hope some one can help me out
Sent from my SM-N950F using XDA-Developers Legacy app
For it to be trusted Wi-Fi it needs to know location. It's annoying for it but being at work and home and being able to just press down on the home button is really useful.
Sent from my SM-N950U1 using Tapatalk
I use Tasker & AutoTools to accomplish this.
shdwphnx said:
I use Tasker & AutoTools to accomplish this.
Click to expand...
Click to collapse
but for this you need to root
sanghaviraj said:
but for this you need to root
Click to expand...
Click to collapse
No need of root for tasker. There is a possibility to change lock as soon as your phone is logging in to your Wi-Fi.
Gesendet von meinem SM-N950F mit Tapatalk
sanghaviraj said:
but for this you need to root
Click to expand...
Click to collapse
AutoTools eliminates the need for root in this case.
shdwphnx said:
AutoTools eliminates the need for root in this case.
Click to expand...
Click to collapse
Thnks just got it working using auto tools, they are many tutorials

Smart unlock and mirrorshare

Hy guys
Im wondering is this bug or something.
I cant use smart unlock feature its empty not able to choose any option like it doesnt exist.
Also I can cast pictures via goigle pics app but phone doesnt recognise my android tv via smartshare.
Tnx
carlowise said:
Hy guys
Im wondering is this bug or something.
I cant use smart unlock feature its empty not able to choose any option like it doesnt exist.
Also I can cast pictures via goigle pics app but phone doesnt recognise my android tv via smartshare.
Tnx
Click to expand...
Click to collapse
Had the same issue
Go to settings-security & privacy
Scroll down to more and scroll down to Reliable agents. Disable Google smart lock and restart phone. Enable Google smart lock and you will see smart lock options
Skickat från min CLT-L29 via Tapatalk
Tnx
Solved smart unlock, now mirrorshare left to solve and then it could be good phone
carlowise said:
Tnx
Solved smart unlock, now mirrorshare left to solve and then it could be good phone
Click to expand...
Click to collapse
Sorry, can't help you there [emoji848]
Skickat från min CLT-L29 via Tapatalk
This seems to be a known bug. It will most probably happen again, I updated the Google Play Services to the latest beta and now it's working for two straight days in a row, before, it would stop and go white every one to two days.
anyone got it working?
I've found the setting.
You'll need a launcher such as Nova or use Tasker to send the intent. If using Nova Launcher simply add an Activities widget and select MirrorShare from the activities list. This will create a shortcut on your desktop.
If you want to launch with Tasker send an intent with the following:
ACTION: android.intent.action.VIEW
PACKAGE: com.huawei.android.mirrorshare
CLASS: com.huawei.android.airsharing.player.DeviceListActivity
If anyone would rather just have an apk to do this hit thanks and leave a comment, I'll compile my task into an app and post it here. Cheers!
[EDIT]
:facepalm:
MirrorShare is in the regular settings menu. Doesn't want to connect for me though it could be my TV.
I was asking about smartlock. Mirrorshare is working in my case with no problems
hexen88 said:
I was asking about smartlock. Mirrorshare is working in my case with no problems
Click to expand...
Click to collapse
See the post above for that ?
fredriks said:
Had the same issue
Go to settings-security & privacy
Scroll down to more and scroll down to Reliable agents. Disable Google smart lock and restart phone. Enable Google smart lock and you will see smart lock options
Skickat från min CLT-L29 via Tapatalk
Click to expand...
Click to collapse
Also mine seems to be limited to Bluetooth conditions only, you may need Bluetooth turned on and paired with something to activate it. If anyone has the old area based Smart Unlock from nougat working I'd love to know. I've built my own version of locale based Smart Unlock in Tasker and it works great. I can dig out my tutorial if you're interested in going down that rabbit hole. I have downloadable links to the tasks/profiles so all the hard work is done. But it does require Tasker and either a little knowledge or willingness to learn.
That would be perfect
Google Smart Lock was enabled in one of the spring/summer updates. (B128 for C432)
hexen88 said:
That would be perfect
Click to expand...
Click to collapse
Here's the link. I've got a few projects in that thread and the smart unlock is the one linked. Simple download the project file and import it into Tasker. It works better than regular Smart Unlock imo just make sure to
replace the placeholder with your SSID. If you have any questions please post to that thread and I'll answer promptly!
https://forum.xda-developers.com/hu...er-menu-root-app-tasker-t3821370/post77172305
fregor said:
Google Smart Lock was enabled in one of the spring/summer updates. (B128 for C432)
Click to expand...
Click to collapse
Maybe it was, but I have 152 update, and smartlock is not working like it wasn't before, even after 2 factory resets. It's just not working.
hexen88 said:
Maybe it was, but I have 152 update, and smartlock is not working like it wasn't before, even after 2 factory resets. It's just not working.
Click to expand...
Click to collapse
Hm, looks like you're correct. Huawei is odd...
experienced the same issue,after a few days from when I started using the mobile phone, and the only way to get rid of it was to enter in trusted agents, disable Smart Lock, reboot the device, enter in Trusted agents and turn Smart Lock On again. The Smart Lock issue is reported on official google Forum since more than a year on different models (Search for "SOLVED: Smart Lock options missing " on Google Help Forum). As only TEMPORARY solution is reported the trick on Trusted Agents I reported. As I mention it is indicated as temporary solution, since many users experienced this problem again after some time. It is unknown whether someone of the Android Dev Team is working on a fix, or ever heard about it.

activating lastpass accessibility toggle

Is it possible to use tasker to switch on lastpass accessibility toggle? My OnePlus 3t (not rooted, OOS 9.0.4) deactivates it almost on a daily basis. I have switched off battery optimisation for lastpass but the phone turns the toggle off.
Use auto input
Ta. I'll check that out
Hi there. Maybe you can try using the "Custom Setting" action for that. Try using the Magnifying glass in the action with the option to automatically find the setting and see if Tasker can find it. Hope this helps!
joaomgcd said:
Hi there. Maybe you can try using the "Custom Setting" action for that. Try using the Magnifying glass in the action with the option to automatically find the setting and see if Tasker can find it. Hope this helps!
Click to expand...
Click to collapse
I found that by googling but I can't figure out how to make it toggle the switch. The tasker forum talks about reading the accessibility setting but gives no more details than 'brilliant that works'
Eggstones said:
I found that by googling but I can't figure out how to make it toggle the switch. The tasker forum talks about reading the accessibility setting but gives no more details than 'brilliant that works'
Click to expand...
Click to collapse
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Ta I'll test that
joaomgcd said:
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Click to expand...
Click to collapse
I must be missing something here. Autoapps seems to only control a subscription service. Can't see anything called secure settings when I download it.
Eggstones said:
I must be missing something here. Autoapps seems to only control a subscription service. Can't see anything called secure settings when I download it.
Click to expand...
Click to collapse
I mentioned AutoTools, not AutoApps
joaomgcd said:
I mentioned AutoTools, not AutoApps
Click to expand...
Click to collapse
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Deleted
joaomgcd said:
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Click to expand...
Click to collapse
I can now get the profile to switch on but I cannot figure out how to get the secure setting to change the toggle.
Both profile and task shows up as green but nothing seems to happen.
Eggstones said:
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Click to expand...
Click to collapse
No problem at all Let me know how it goes!
joaomgcd said:
No problem at all Let me know how it goes!
Click to expand...
Click to collapse
Not well at all. The profile activates but nothing is actually changed.
Eggstones said:
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Click to expand...
Click to collapse
Eggstones said:
Not well at all. The profile activates but nothing is actually changed.
Click to expand...
Click to collapse
Does it work if you run the task manually?
joaomgcd said:
Does it work if you run the task manually?
Click to expand...
Click to collapse
No. If I click on the task I don't get an error or the green dot. Instead I get a grey play arrow Infront of the task.
In the profile window both the profile and task shows up as green.
Eggstones said:
No. If I click on the task I don't get an error or the green dot. Instead I get a grey play arrow Infront of the task.
In the profile window both the profile and task shows up as green.
Click to expand...
Click to collapse
That means that Tasker doesn't seem to be able to communicate with AutoTools. Do other AutoTools actions work?
To make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00
joaomgcd said:
That means that Tasker doesn't seem to be able to communicate with AutoTools. Do other AutoTools actions work?
To make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00
Click to expand...
Click to collapse
Sorry to be a pain but I cannot find the run in foreground setting on my OnePlus 3t.
Eggstones said:
Sorry to be a pain but I cannot find the run in foreground setting on my OnePlus 3t.
Click to expand...
Click to collapse
Did you check here?
joaomgcd said:
Did you check here?
Click to expand...
Click to collapse
Yep. All those seeking are correctly set. It's the tasker foreground setting I cannot find. Tried googling it but the links I found doesn't match what I see in tasker.

Categories

Resources