Package 

Class RootKt

    • Method Summary

      Modifier and Type Method Description
      final static RootEvidence detectRoot(Set<String> presentPaths, Set<String> installedPackages, String buildTags, Boolean busyboxOnPath) Pure root heuristic.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • detectRoot

         final static RootEvidence detectRoot(Set<String> presentPaths, Set<String> installedPackages, String buildTags, Boolean busyboxOnPath)

        Pure root heuristic.

        Parameters:
        presentPaths - which of the su/Magisk paths exist
        installedPackages - installed package names (only the root ones matter)
        buildTags - android.os.Build.
        busyboxOnPath - whether a busybox binary resolved, or null if unchecked