How to Fix Magisk SafetyNet CTS Profile Failed on Xiaomi Phone – September 2021 Update

September 4, 2021 | By androidhowto@youtube | Filed in: Custom ROM.

How to Fix Magisk SafetyNet CTS Profile Error on Xiaomi Phone / Redmi / Mi / Poco – Stock ROM. It happened after September 2021 Google Play Security update. The update kicked all android device that using a modified Android OS ( custom kernel, Custom recovery, custom rom ). Magisk Fix v1.2.0 by kdrag0n does not work but he has built v2.0.0 beta. It will look complicated for some user. Use at your own risk, I’m not responsible for bricking your device.

Download and Term

Install Instructions

Install Modules

  1. Open Magisk
  2. Install riru-v26.1.1.r500.45d2706e83-release.zip ( don’t reboot )
  3. Install LSPosed-v1.5.2-5964-release.zip ( don’t reboot )
  4. safetynet-fix-v2.0.0.zip ( Reboot )

Install XPrivacyLua app and Configure LSposed

  1. Install eu.faircode.xlua_v131_134273.apk ( don’t open )
  2. Open LSposed
  3. – select Modules
  4. – select XprivacyLua
  5. – Enable “Enable Module” option
  6. – tap 3 dots right corner
  7. – select Hide, uncheck “System apps”
  8. – look for “Google Play Service” and check it
  9. – tap back
  10. – tap XPrivacyLua
  11. Make sure “System Framework, Settings Storage, Google Play Service” are checked!
  12. Restart the phone

Configure XPrivacyLua app

  1. open XPrivacyLua
  2. – Look for Google Play Service
  3. – select “Use tracking” option only

Configure Magisk

  1. Open Magisk, make sure Internet connected
  2. Go to Magisk Settings
  3. Enable MagiskHide option
  4. Check SafetyNet, It should be Passed
  5. Done!

Watch this video

Notes / Warning!

  1. Use at your own risk, I’m not responsible for bricking your device.
  2. Using the incorrect file may brick your device.
  3. If your target device has a custom firmware flash counter, Rooting will trigger it. If you’re lucky, Triangle Away has support for your device and can be used to reset the counter.
  4. If you have a KNOX-enabled device, Rooting will trip the KNOX WARRANTY VOID status !
  5. If your device storage is encrypted, Rooting will wipe your data !
  6. If you have locked bootloaders, flashing one of these will probably brick your device – with the exception of Nexus devices, which will usually automatically “OEM unlock” and wipe your data !
  7. Make sure to backup your important data before root it.


Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *