0

I have implemented dexguard in my project. When I run an environment check, some devices work fine and pass the check. However in MI, Appo, Yureka devices, the check is returning it that the device is rooted. I am not able to understand why those this happen.

Please help me to figure out this issue.

Doron Yakovlev Golani
  • 5,188
  • 9
  • 36
  • 60
user3069590
  • 129
  • 1
  • 2
  • 11

1 Answers1

0

False positives in DexGuard and other root detection libraries are often down to certain binary checks. The "su" binary and the "busybox" binaries are sometimes found on the ROM of certain manufacturers phones. Try the RootBeer library which can be added as a maven dependency.

https://github.com/scottyab/rootbeer

robe007
  • 3,523
  • 4
  • 33
  • 59