I'm trying to create a task that will periodically detect if the phone has root access. Is there an intent or something else that I can use to do this?
I'm not root-ed. Apparently Tasker checks for the existence of Superuser.apk to make the determination. There is currently no "if exists" in Tasker so something like the following is apparently needed ...
tlaRootTest
A1: Read File [ File:/system/app/Superuser.apk To Var:%work ]
A2: Flash [ Text:• Root-ed • Long:On ] If [ %work Set ]
A3: Flash [ Text:• Not Root-ed • Long:On ] If [ %work !Set ]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.