root 检测
1. root管理apk检测
/system/etc/init.d/99SuperSUDaemon
/data/data/com.topjohnwu.magisk
/sdcard/MagiskManager
2. shell 执行su命令 Runtime.getRuntime().exec("su");
3. grep:
build.fingerprint test-keys
Build.TAGS test-keys
ro.debuggable 1
ro.secure 0
ro.adb.secure 0
4. new File(snext).exists() 文件是否存在 ls -l 判断是否有 s x权限
"/sbin/su","/system/bin/su","/system/sbin/su","/system/xbin/su","/data/local/xbin/su","/data/local/bin/su","/system/sd/xbin/su","/system/bin/fail