1
Solved

Reboot - shutdown action throws an error

I got an error when I try to run Reboot action:

22.49.21/E reboot -p
22.49.21/Shell runSync reboot -p root: true timeout: 10000
22.49.21/Shell fromCommand: reboot -p: java.io.IOException: Cannot run program "su": error=2, No such file or directory
22.49.21/ Caused by: java.io.IOException: error=2, No such file or directory
22.49.21/ java.lang.UNIXProcess.forkAndExec(Native Method)
22.49.21/ java.lang.UNIXProcess.<init>(UNIXProcess.java:133)
22.49.21/ java.lang.ProcessImpl.start(ProcessImpl.java:141)
22.49.21/ java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
22.49.21/ java.lang.Runtime.exec(Runtime.java:699)
22.49.21/ java.lang.Runtime.exec(Runtime.java:529)
22.49.21/ java.lang.Runtime.exec(Runtime.java:426)
22.49.21/ net.dinglisch.android.taskerm.ri.j(SourceFile:42)
22.49.21/ net.dinglisch.android.taskerm.ri.v(SourceFile:43)
22.49.21/ net.dinglisch.android.taskerm.ri.t(Unknown Source:11)
22.49.21/ net.dinglisch.android.taskerm.ExecuteService.B2(SourceFile:73)
22.49.21/ net.dinglisch.android.taskerm.ExecuteService.Y3(SourceFile:439)
22.49.21/ net.dinglisch.android.taskerm.ExecuteService.E2(SourceFile:327)
22.49.21/ net.dinglisch.android.taskerm.ExecuteService.E(Unknown Source:0)
22.49.21/ net.dinglisch.android.taskerm.ExecuteService$j.run(SourceFile:48)
22.49.21/E result: stop task (error)
22.49.21/E Error: 1
22.49.21/MacroEdit action finished exeID 1 action no 0 code 59 status: Err next 0

1 reply

Maybe your device is not rooted?

A

And that's the problem. Shouldn't be any user-friendly information about that instead of Java error?  Because now it looks like a bug 😕

Or even better: if this action works with rooted device only, then it should be disabled on the actions list. Like this: https://ibb.co/fY3T2vd

Ok, you're right :) Ok, added the message.

Can you please try this version? https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing

If you want you can also check any previous releases here: https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing

A

Works, thanks!!!

Great! Thanks for testing!

Topic is closed for comments