RootTools icon indicating copy to clipboard operation
RootTools copied to clipboard

RootTools Library

Results 50 RootTools issues
Sort by recently updated
recently updated
newest added

When RootTools runs a command, it also sends an `echo ` command to the shell that runs after the command given. RootTools knows when a command is finished by watching...

Hi, I've been using the library for a while now, but recently I needed to call the [screencap](https://android.googlesource.com/platform/frameworks/base/+/master/cmds/screencap/screencap.cpp#55) command which outputs the screenshot to either a file or stdout. I'd...

I've overrided `commandOutput` like this: ``` override fun commandOutput(id: Int, line: String?) { Log.d("command-output", line) super.commandOutput(id, line) } ``` `Command.terminate()` and `Command.finish()` don't kill my command (#77), so I have...

RootTools.deleteFileOrDirectory сan not delete the /system/vendor/overlay folder, but it returns true. The /system partition is mounted on the record. RootTools ver 4.2

Suppose I have a file that I wish to read using an inputSteam, but it's in a protected place, how can I do it? I know I can copy the...

I'm working with roottols 4. If I call "getevent" command and I pass the "touch_dev" device the "commandOutput" doesn't return me every lines. Especially if I make single tap. And...

``` public Boolean getState(int number) { final String[] response = new String[1]; Log.d("GET1", "num: "+number); Command getStateCmd = new Command(0, "cat /sys/devices/system/cpu/cpu" + number + "/online") { @Override public void...

I'm getting the RootTools shell and executing commands like so: `RootTools.getShell(true).add(cmd);` and sometimes (not always, and not reproduceably) it throws the error mentioned above. In the same code, I'm performing...

The cause is this line: https://github.com/Stericson/RootTools/blob/master/RootShell/src/main/java/com/stericson/rootshell/execution/Shell.java#L140 if u set a timeout of 0, it will use the default value of 25000ms.

config : RootTools 3.4 on GT-S5830i android 2.3.6. I assume this is related to http://bugs.java.com/view_bug.do?bug_id=6474073 Code: ``` @Override public void onResume() { super.onResume(); d("onResume"); assertDeviceDontHaveRoot(); } protected void assertDeviceDontHaveRoot(){ final...