Tasker and root access

7,153 views
Skip to first unread message

Michal

unread,
Jun 25, 2012, 6:35:44 PM6/25/12
to Tasker
Hi there,

I have rooted my device to have access to all actions requiring root
access. Unfortunately it is not working - Tasker does not detect root
access and SuperSU does not show the prompt to give appropriate
rights. It is strange as all other applications work just fine, they
request root access, SuperSU prompt shows up and that's it -
everything works like a charm. But with Tasker it looks different, I
can't get it working. I could only find in user guide that:

"Tasker decides that a device is rooted if /system/app/Superuser.apk
is present and su is present in one of the directories of $PATH"

All these conditions are met, so what is the problem ? How to initiate
root access request from within Tasker level ?

Regards,

Michal

Stupifier

unread,
Jun 25, 2012, 11:47:48 PM6/25/12
to tas...@googlegroups.com
It should automatically give a prompt.  If it isn't working, try reinstalling SuperSU or try using SuperUser instead.

Pent

unread,
Jun 26, 2012, 2:03:30 AM6/26/12
to Tasker
> It should automatically give a prompt.  If it isn't working, try
> reinstalling SuperSU or try using SuperUser instead.

Or install the beta from the sticky thread, which has SuperSU support.

Pent

Jez

unread,
Jun 26, 2012, 6:44:35 AM6/26/12
to tas...@googlegroups.com
It may not ask for SU access until you have a task that requires SU access. If you add a root specific task and then click play you should get the prompt.

Jez

Michal

unread,
Jun 26, 2012, 7:58:15 AM6/26/12
to tas...@googlegroups.com
I think it won't help, because when I try to add some action requiring root access (indicated by star sign) it only shows me the message that it is not supported by my device. OK, I will try the beta version and let you know if it works.

Regards,

Michal

Michal

unread,
Jul 9, 2012, 9:06:35 PM7/9/12
to tas...@googlegroups.com
Hi guys,

Just to inform you - I checked latest beta and it is working with latest SuperSU :)

WZ W

unread,
Nov 27, 2012, 9:29:17 PM11/27/12
to tas...@googlegroups.com
I have the problem too.

On Thursday, November 22, 2012 9:12:26 AM UTC+8, quaddy tweeder wrote:
hi, i have the same problem as you michal - no root! - lots of other apps have their root status in superuser/supersu fine.

i have latest beta of tasker (market bought original version) - superSu and binary update, samsung note 2 and cannot get tasker to prompt for root, any root task with asterix says "sorry that action is unavailable on this device"

i have touchwiz jelly bean 4.1.1

any ideas? thanks

Pent

unread,
Nov 28, 2012, 1:55:00 AM11/28/12
to Tasker
Have you tried restarting the device ?

WZ: need details: device ?custom ROM ? Android version ? etc

Pent

Michal

unread,
Nov 28, 2012, 7:54:25 AM11/28/12
to tas...@googlegroups.com
Hi guys,

I would suggest you to check if this specific action is supported by your device. Sometimes it is not related to root-access issues, but it is simply not supported by your device.

WZ W

unread,
Nov 28, 2012, 7:29:03 PM11/28/12
to tas...@googlegroups.com
Root issue has been solved last night.

1.Install an app named superuser.apk from SuperOneClick package(other apps named superuser may not work).
2.Restart.

But GPS toggle doesn't work even with "Security Setting" Plugin(GPS action in Tasker is not avaliable ,so I tried "Security Setting" plugin). 
Another app called AutoMateIt works well with GPS toggle. 

Device: MiOne1S 
ROM: MIUI 2.11.17(Android Version: 4.0.4,CM)

Pent

unread,
Nov 29, 2012, 1:57:01 AM11/29/12
to Tasker
> But GPS toggle doesn't work even with "Security Setting" Plugin(GPS action
> in Tasker is not avaliable ,so I tried "Security Setting" plugin).

Sorry, if it doesn't work with Secure Settings or the direct Tasker
action I don't know
how to do it.

Pent

Dreamer

unread,
Nov 29, 2012, 1:39:48 PM11/29/12
to tas...@googlegroups.com
I was having problems with secure settings yesterday too with a profile that turns GPS on, wait, then open navigator. Secure settings kept saying error, helper not updated.....and some other mumbo jumbo that I don't remember now. I'm not sure if yours is the same problem. Anyways, I tried to update helper within the secure settings app and kept getting failure. Then I went to the secure settings web site and pulled the helper zip file and flashed it in recovery. I am running the HighOnAndroidRom version 0.3. I still kept getting errors but got too busy to keep working on it and when I came back to my phone, helper had updated to the most current version & I was able to control GPS via secure settings again.

Message has been deleted

TomL

unread,
Mar 11, 2013, 9:35:49 AM3/11/13
to tas...@googlegroups.com
First of all, chmod 775 is rwxrwxr-x, which is read-write-executable for group, whereas you seem to refer to read-only for group.  

Worse yet, chmod 775 is read-executable for all.  I'm pretty sure you don't want to expose /data and /data/data via chmod 775.  You're opening your phone up for ANY app that may have any malicious intentions.

Tom


On Sunday, March 10, 2013 8:20:06 PM UTC-4, Graeme Evans wrote:

Thought i would let you know how i managed to get tasker to ask for root access.

To manage it i used a combination of tasker and terminal emulator.

I'll describe it exactly how i did it because i know that way worked, but the specifics of the folder can be different.

in terminal emulator i granted read access to all groups, but not write access. so code 775 by typing

su        to get uper user permission in the terminal
chmod 775 /data/

chmod 775 /data/data/

now i managed to use total commander to change the permissions on a specific app folder, android remote. and i copied a xml file in there multiple times into separate folders. I believe this method will still work if you use any file for the next step.

open up tasker, create a new task to copy a file, in the first option select the file you want to copy and then the place to copy it to set as /data/data/

then i also set the task as "use root", don't know if this is required or not. and then i tested the task using the little play arrow. doing so required tasker to request root permission to write to the folder it could only read and so i could grant it access. 

I now seem to be able to browse any folder through tasker, and so it should have complete root access :D  Hope that helps

doc

unread,
Mar 11, 2013, 1:24:48 PM3/11/13
to tas...@googlegroups.com
I have never been able to get root functions to work in Tasker. The tasks that use root just do not work. My solution is to use Secure Settings for all tasks requiring root. There are nany more options with Secure Settings anyway.

Will Pena

unread,
Jan 30, 2014, 6:59:55 PM1/30/14
to tas...@googlegroups.com
I had the same problem with my new phone and reading saw I thought this "doing a task that needs root" and I use to had a task in my old cell that when I connect the headphones it opened slacker and I took off the turn off and to do that you have to use root when I did it play turn off part to test and there asked for root and case solved.

SSR

unread,
Feb 26, 2014, 2:14:26 PM2/26/14
to tas...@googlegroups.com
I am using kit kat. Just started using it. But I can't seem to get root access even on Secure Settings. Any help?

Jay M

unread,
Feb 26, 2014, 2:37:59 PM2/26/14
to tas...@googlegroups.com

Search this group this question was asked recently and the problem was solved.

Jay M

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages