Skip to content

Instantly share code, notes, and snippets.

@oddmario
Last active February 9, 2025 13:01
Show Gist options
  • Save oddmario/964dc0174ed8dc6f6a6e1c93b4fc091d to your computer and use it in GitHub Desktop.
Save oddmario/964dc0174ed8dc6f6a6e1c93b4fc091d to your computer and use it in GitHub Desktop.
Avoid Magisk root detection

Magisk Alpha is a well maintained fork, but Magisk Canary or Magisk Delta (Kitsune) may also work. ZygiskNext is most importantly required.

ref: https://xdaforums.com/t/instapay-banking-app-detects-root-help-please.4449849/post-89552360

@oddmario
Copy link
Author

oddmario commented Feb 9, 2025

Feb. 2025 Update

With a recent change to the Google Play integrity system (especially for Android 13+), more apps started detecting root.

It seems to be fixed by installing a Magisk module called TrickyStore (this was also recommended by the Magisk Alpha dev on their Telegram channel)

You need TrickyStore alongside Play Integrity fix. See https://github.com/chiteroman/PlayIntegrityFix/releases/tag/v18.5

TrickyStore can be found at https://github.com/5ec1cff/TrickyStore

You can also check https://www.reddit.com/r/Magisk/comments/1gegtr4/tutorial_using_trickystore_with_zygisk_next_for/ for a tutorial (but ignore the part that says "remove PlayIntegrityFix to avoid conflicts")

Also,

It seems that the PIF/fingerprints served with the PlayIntegrityFix module now get banned way faster than before (although the dev of the module actively updates the fingerprints).

The best thing that can be done is to get your own fingerprint file, or to use one of the projects that automate pulling a fingerprint to avoid these bans.

Use https://play.google.com/store/apps/details?id=gr.nikolasspyr.integritycheck&hl=en to check the integrity (it's okay if you're unable to pass the STRONG_INTEGRITY check).

Make sure to add the Play Integrity API Checker app in your Magisk Denylist

IMPORTANT: Make sure your Shamiko is up to date. Remember that Shamiko doesn't have automated updates, so its your responsibility to keep it up to date. Check https://github.com/LSPosed/LSPosed.github.io/releases

Thanks to

Official Telegram groups

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment