[Q] Disable Touchless Controls using Tasker - Moto X Q&A

Is there anyway I can change the setting to enable/disable Touchless Controls with Tasker? It would be useful to turn off Touchless Controls at bedtime or when I know I wouldn't be using them to begin with. No clue how to approach this.

but friend, is not necessary! and I couldn't find a way to do this. who will say ok google now during the night?

ramon20 said:
but friend, is not necessary! and I couldn't find a way to do this. who will say ok google now during the night?
Click to expand...
Click to collapse
What.....
I said I want to disable Touchless Controls at night. I'm not using it at night. I'm asleep. No sense in having it on and running if I'm not using it.

natezire71 said:
What.....
I said I want to disable Touchless Controls at night. I'm not using it at night. I'm asleep. No sense in having it on and running if I'm not using it.
Click to expand...
Click to collapse
i understood, the only way is going to the settings it, and disable the first option

You can do this with Secure Settings.
I forget what the action is called within Secure Settings, but it just does the Android 'disable' for you

Titanium backup can give you a widget to freeze it with a click.
But yeah....4 clicks can toggle it off in settings.

kj2112 said:
Titanium backup can give you a widget to freeze it with a click.
But yeah....4 clicks can toggle it off in settings.
Click to expand...
Click to collapse
I know that, lol. But Tasker is obviously a smarter choice.

piccit said:
You can do this with Secure Settings.
I forget what the action is called within Secure Settings, but it just does the Android 'disable' for you
Click to expand...
Click to collapse
But when you disable it, won't you have to re-enable it manually?

piccit said:
You can do this with Secure Settings.
I forget what the action is called within Secure Settings, but it just does the Android 'disable' for you
Click to expand...
Click to collapse
That takes care of disabling it... however, when you re-enable it, you still have to go to Settings to "Enable" it again. :|

natezire71 said:
That takes care of disabling it... however, when you re-enable it, you still have to go to Settings to "Enable" it again. :|
Click to expand...
Click to collapse
Secure settings -> root actions -> package state. When you use "disable" do NOT use "user disable."
As long as touchless controls was on before you use secure settings to disable it, it will be on still when you use secure settings to re-enable it

piccit said:
Secure settings -> root actions -> package state. When you use "disable" do NOT use "user disable."
As long as touchless controls was on before you use secure settings to disable it, it will be on still when you use secure settings to re-enable it
Click to expand...
Click to collapse
You've gotten that to work? I tried it with both and neither one worked

Has anyone got any other ideas? It's been a while, maybe there is something newer?

did you figure out how to do that? I am also interested.
natezire71 said:
Has anyone got any other ideas? It's been a while, maybe there is something newer?
Click to expand...
Click to collapse

Why would you disable it while you sleep? It hardly drains the battery as is. Are you saying OK Google Now in your sleep?

Related

Disable auto-rotate

I want to disable auto-rotate.
Where can I find it? From what I've read until now it looks like impossible.
But that can't be true! There should be a option to disable the accelerometer!
Any input is welcome.
Guus_ said:
I want to disable auto-rotate.
Where can I find it? From what I've read until now it looks like impossible.
But that can't be true! There should be a option to disable the accelerometer!
Any input is welcome.
Click to expand...
Click to collapse
At the moment there is no option for disabling auto-rotate. It is completely App/Developer dependent, and there is not option in the OS itself. I can't remember where the thread is but there's a GIANT suggestion thread on Microsoft's Support website, as people who use the phone lying down or on the couch will find the evils of Gravity annoying.
Guus_ said:
I want to disable auto-rotate.
Click to expand...
Click to collapse
Some custom ROMs let you turn the sensor off from the settings page. If you're on a first gen or HTC WP7 then this is likely to be an option.

[Q] Touchless Control Questions

Guys,
How can I use this feature to toggle on/off my bluetooth, NFC, Cellular Data, Wifi, etc?
How can I ask it to read out unread texts or the last text I got?
Wutang200 said:
Guys,
How can I use this feature to toggle on/off my bluetooth, NFC, Cellular Data, Wifi, etc?
How can I ask it to read out unread texts or the last text I got?
Click to expand...
Click to collapse
To read text just say "hey google now, what's up" and it will read your notifications and maybe your text.
and you cannot toggle features on and off unfortunately, that would be cool though but then other people could sabotage your phone... NOT COOL!
Hope that helps.
Thanks I'll give that What's Up thing a try later today.
It didn't work. Just does a Google search for What's up.
Any other suggestions?
Are you sure you've updated the Touchless Control app? It should work even when you don't have any pending messages. If you are certainly up to date, just try again.
Wutang200 said:
It didn't work. Just does a Google search for What's up.
Any other suggestions?
Click to expand...
Click to collapse
Try what's new or read notifications. I think what's up works for U.S users only.
Yes for UK users, the command is What's New. Works perfectly and very handy!
Absolutely loving this phone for it's features and sleek looks!
What I have done in the past is to use Tasker app factory to create small apps to do the toggles you want, and then tell touchless control to launch the app.
Solutions Etcetera said:
What I have done in the past is to use Tasker app factory to create small apps to do the toggles you want, and then tell touchless control to launch the app.
Click to expand...
Click to collapse
Touch less control cant open applications . I tried it many times but had no success
drago10029 said:
and you cannot toggle features on and off unfortunately, that would be cool though but then other people could sabotage your phone... NOT COOL!.
Click to expand...
Click to collapse
That's not true if you have root. There is an xposed module that allows Google now to turn on/off bluetooth/wifi/mobile data. It works with Touchless controls.
Arak-Nafein said:
That's not true if you have root. There is an xposed module that allows Google now to turn on/off bluetooth/wifi/mobile data. It works with Touchless controls.
Click to expand...
Click to collapse
Ive used touchless control to open some apps but doesnt work with others, cant recall which. Do you remember the module that enables this?
Ive got:
APM
AppOpsExposed
BubbleUPnP
GravityBox[KK]
Edit/ Ive got root
DaRkRhiNe said:
Touch less control cant open applications . I tried it many times but had no success
Click to expand...
Click to collapse
Works fine here; "launch driving mode". "Driving Mode" being an app I created for setting BT on, WiFi off, screen timeout to 5 minutes, and sending a play intent to Pocketcasts.
productofusa said:
Ive used touchless control to open some apps but doesnt work with others, cant recall which. Do you remember the module that enables this?
Ive got:
APM
AppOpsExposed
BubbleUPnP
GravityBox[KK]
Edit/ Ive got root
Click to expand...
Click to collapse
The module is Google Search API. http://forum.xda-developers.com/apps/xposed-modules/mod-google-search-api-t2554173
The plugin, voice toggles, allows you to turn on/off wifi/bluetooth/mobile data. I also use the autovoice plugin to allow me to use my tasker/autovoice stuff from google now, and by extension touchless controls.
The ability to turn on/off bluetooth/wifi/mobile data is already built into google now, but it's disabled and/or incomplete. I'm remembering that, so it might not be 100% correct.
DaRkRhiNe said:
Touch less control cant open applications . I tried it many times but had no success
Click to expand...
Click to collapse
I open applications all the time with touchless control. Without setting up tasker.
Sent from my XT1058 using XDA Premium 4 mobile app
Does someone knows how to change touchless controll's language? I have a brazilian Moto X and i'd like to change touchless controll's language to English, since it has more commands

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.

Cannot activate accessibility services

I have this problem that when I want to activate an accessibility service, I get a pop up message that says if there is an overlapping app blocking the options I should drag it away or close the app, as in the screenshot attached. I have no idea what is causing this but I have not been able to activate any accessibility services since upgrading to MIUI version 10.2. The device is rooted with magisk. Any help will be appreciated to get this sorted out. I get the Pop-Up each time I tap ok.
sofene said:
I have this problem that when I want to activate an accessibility service, I get a pop up message that says if there is an overlapping app blocking the options I should drag it away or close the app, as in the screenshot attached. I have no idea what is causing this but I have not been able to activate any accessibility services since upgrading to MIUI version 10.2. The device is rooted with magisk. Any help will be appreciated to get this sorted out. I get the Pop-Up each time I tap ok.
Click to expand...
Click to collapse
Turn off full screen gestures, this is blocking the Accessibility settings.
After you have enabled the Accessibility stuff, I believe you can turn on full screen gestures again.
cobben said:
Turn off full screen gestures, this is blocking the Accessibility settings.
After you have enabled the Accessibility stuff, I believe you can turn on full screen gestures again.
Click to expand...
Click to collapse
Wow! You are a miracle worker, thank you so much. Worked like a charm.
sofene said:
Wow! You are a miracle worker, thank you so much. Worked like a charm.
Click to expand...
Click to collapse
You're welcome.
Actually I had the same problem in Februari on my Mi Note 2 (I have a Mix1 also, they are very closely related as to firmware).
After trying everything I could think of, and nothing helped, I sat back and thought "what else draws over other apps"?
Bingo! Gestures.
And it worked.

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