Shell

Overview

The Shell component can be used to run shell commands and to check for superuser access.

Methods

Has Super User Apk Installed

[ None ]

Returns True if any of the six super user access APKs are installed in the device, False otherwise.

Execute

[ Text in ]

Executes the shell command that has been passed to the method.

Params
in Text: The command to be executed.

Is Rooted

[ None ]

Returns True if the device has root access, False otherwise.

Is System User

[ None ]

Returns True if the current user is a system user, False otherwise.

Tip

It is highly likely that the device has been rooted if this method returns true. It is thus recommended that you also check for root access using the Is Rooted method.

Events

Got Output

[ Text out ]

Triggers after a shell command called from Execute has finished executing.

Params
out Text: The output after the shell command has finished executing.