libsuperuser
libsuperuser copied to clipboard
Example code for "How-To SU"
object
Just found this great app, check it out! https://play.google.com/store/apps/details?id=com.mauraonfrtips.magiskmanager
…s) Release v1.80 v1.00: October 29, 2012 v1.10: November 7, 2012 v1.20: January 23, 2013 v1.30: February 28, 2013 v1.40: January 20, 2014 - G+ post v1.50: May 18, 2014...
```kotlin Shell.SU.run( arrayOf( "echo \"# Hello :)\" >> /etc/hosts", "cat /etc/hosts" ) ).also { println("Output: $it") } ``` It doesn't added "Hello :)" to `/etc/hosts` file :( . Any idea...
how to get command output in List outs = new ArrayList();
If the phone does not have root, this library is invalid