Is there way to change user account with tasker?

  • 1
    Do you mean to switch "user accounts"? Which Android version are you using? – Firelord Dec 3 '18 at 11:49
  • Yes. I updated question to be more specyfic. – user19291 Dec 3 '18 at 14:44
  • It is still not clear what exactly to you want tasker to do: Do you want it to run tasks as a different user, or do you want a task which, when executed, changes the currently active user? – Flow Dec 5 '18 at 19:36

You need root access for this answer to work.

Setup this action in a task:

Code → Run Shell → Command: am switch-user USER_ID, tick Use Root

To know the USER_ID of a user account, see my answer here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.