Shell su returns 'Timeout'

shell “su” for some reason not working.
Look, when I trying
$sh(“su ls /bin”)$
It returns “Timeout”

Why I getting this result?
Even though without “su” it simply says “Permission denied”.

And yes - I have Magisk

App - KWGT pro
Android 10

1 Like

Ok, Iv figured out, its very simple: you just need to add “c” key for “su” like so:

$sh(“su -c ls /bin”)$

Thats it)

The command su ls will try to become user “ls” and likely as for a password, as you realized already adding “-c” will correctly pass the command and default to run as root :slight_smile:

This topic was automatically closed 25 days after the last reply. New replies are no longer allowed.