I have next example:
RootTools.isRootAvailable()
Command command = new Command(0, "echo this is a command", "echo this is another command");
try {
RootTools.getShell(true).add(command);
}catch (IOException | RootDeniedException | TimeoutException ex) {
ex.printStackTrace();
}
But i don't know what to write to "echo this is a command", "echo this is another command" and how to apply it for my folder without permission. Maybe you know? Thanks.