title: Android Root Detection is bypassed using Frida
body: <p>I have to prevent my native mobile application from getting bypassed from root detection using <code>FRIDA</code>. Currently I'm using <code>RootBeer</code> mechanism for root detection, which is getting bypassed by using the following command <code>$ frida -U -f com.am.app -l RootBypass.js --no-pause</code>.</p>
  <pre><code>[Google Pixel::com.am.app ]-&gt; message: {'type': 'send', 'payload': 'Loaded 10653 classes!'} data: None
  message: {'type': 'send', 'payload': 'loaded: -1'} data: None
  message: {'type': 'send', 'payload': 'ProcessManager hook not loaded'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.noshufou.android.su'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.noshufou.android.su.elite'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: eu.chainfire.supersu'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.koushikdutta.superuser'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.thirdparty.superuser'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.yellowes.su'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.topjohnwu.magisk'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.koushikdutta.rommanager'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.koushikdutta.rommanager.license'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.dimonvideo.luckypatcher'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.chelpus.lackypatch'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.ramdroid.appquarantine'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.ramdroid.appquarantinepro'} data: None
  message: {'type': 'send', 'payload': 'Bypass root check for package: com.android.vending.billing.InAppBillingService.COIN'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  message: {'type': 'send', 'payload': 'Bypass return value for binary: su'} data: None
  </code></pre>