question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

To pass SafetyNet...

See original GitHub issue

I was able to pass SafetyNet basic and cts with Magisk installed (Only Basic Eval, not Hardware attested). Setup: Device: Xiaomi Mi 9T (Europe) ROM: ArrowOS (11, no GAPPS) Other software: MicroG, Magisk

Steps to reproduce:

  1. Flash Firmware, ROM and Magisk 2. Install MicroG (Core, Proxy, Store and DroidHelper) (from F-Droid)
  2. Setup Magisk (incl. Environment and reboot)
  3. On Magisk install Modules:
  • Riru
  • Riru EdXposed
  • microG Installer Revived (To install as system-app)
  • MagiskHide Props Config
  1. Reboot 6. Install kdrag0n Universal SafetyNet Fix with Magisk
  2. In EdXposed install “HiddenCore” Module 8. In a terminal-emulator use (su) props and replace the fingerprint with one that matches your security fix. (e.g. Android Q/R, just use a Google Pixel) Finally a step that requires a bit more attention:
  3. Download a custom DroidGuard (WARNING: This is not recommended, but has to be done, because MicroG DroidGuard crashes while checking)
  4. Replace /system/priv-app/DroidGuard/DroidGuard.apk with the downloaded apk.
  5. Uninstall the old DroidGuard (root uninstall required), reboot, and re-install with the replaced file.
  6. Don’t forget to setup MicroG and enable SafetyNet!

Enjoy, and tell me if it works for you.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:37 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
JonnyTechcommented, Jan 30, 2022

https://github.com/microg/GmsCore/releases/tag/v0.2.23.214816

v0.2.23.214816
Changelog
    SafetyNet / DroidGuard:
        Implement DroidGuard without additional helper.

No need for DroidGuard helper any more, just install GMSCore.

2reactions
alfredonodocommented, Jul 31, 2022

I installed microg via apk download from the official site

You need to systemize it. Microg have issues on userspace side. Or better flash any of the 2 bundles I suggested above.

How can I systemize microg? Pixel Props does not support S8+.

Edit: I solved, thank you. I installed microG, magisk, universal satefyNet Fix and microG Installer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass SafetyNet on Android after rooting or installing a ...
1. Restoring the original firmware and relocking the bootloader ... This is perhaps the simplest way to pass SafetyNet, but it has its...
Read more >
Pass SafetyNet on Rooted Android 12/Android 13 - DroidWin
Pass SafetyNet on Rooted Android 12/Android 13 · STEP 1: Install MagiskHide Props Config · STEP 2: Force Basic Attestation · STEP 3:...
Read more >
How to pass SafetyNet? - Xiaomiui
Passing Safetynet on Magisk-v24.1 ... Open Magisk manager and look the Zygisk text. If it's no, firstly enable it. Tap the settings icon...
Read more >
Universal SafetyNet Fix - GitHub
If you still have trouble passing SafetyNet with this module, use MagiskHide Props Config to spoof a certified device profile. This is a...
Read more >
SafetyNet
Passing SafetyNet. If everything works out, SafetyNet should pass with no further input from the user, as long as your device fulfills the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found