public class AntiRoot
extends java.lang.Object
Constructor and Description |
---|
AntiRoot(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
boolean |
_checkForBinary(java.lang.String filename) |
boolean |
_checkSuExists()
A variation on the checking for SU, this attempts a 'which su'
|
boolean |
_detectPotentiallyDangerousApps(java.lang.String[] additionalDangerousApps)
Using the PackageManager, check for a list of well known apps that require root.
|
boolean |
_detectRootCloakingApps(java.lang.String[] additionalRootCloakingApps) |
boolean |
_detectRootManagementApps(java.lang.String[] additionalRootManagementApps)
Using the PackageManager, check for a list of well known root apps.
|
boolean |
_detectTestKeys()
Release-Keys and Test-Keys has to do with how the kernel is signed when it is compiled.
|
boolean |
isRooted() |
public boolean isRooted()
public boolean _detectTestKeys()
public boolean _detectRootManagementApps(java.lang.String[] additionalRootManagementApps)
additionalRootManagementApps
- - array of additional packagenames to search forpublic boolean _detectPotentiallyDangerousApps(java.lang.String[] additionalDangerousApps)
additionalDangerousApps
- - array of additional packagenames to search forpublic boolean _detectRootCloakingApps(java.lang.String[] additionalRootCloakingApps)
public boolean _checkSuExists()
public boolean _checkForBinary(java.lang.String filename)
filename
- - check for this existence of this file