[TUTORIAL] Fix SafetyNet issues with Magisk (also CTS profile match)


katerpanne

Members
Apr 19, 2014
1,545
307
Yes, first the Google Pay Fix V2, I Had IT from before, it worked with Android 10. So I tried it in Android 11 but it did not work.
So I flashed the second File, TWRP_SafetyNetFix-v1.3.zip. Then, Google Pay worked but no Widevine L1...

what is that.... TWRP_SafetyNetFix-v1.3.zip a new file ?

if you flashed the new weekly xiaomi.eu rom android 11, you dont need the magisk-modules-fix

Widevine L1 is another topic. On my MI9 and MI10 I have L1
 

pinni83

Members
Feb 16, 2011
122
50
what is that.... TWRP_SafetyNetFix-v1.3.zip a new file ?

if you flashed the new weekly xiaomi.eu rom android 11, you dont need the magisk-modules-fix

Widevine L1 is another topic. On my MI9 and MI10 I have L1

See the Link I posted, seems to be an new file... But well, I will try the new weekly rom. Thank you!
 

KutiMi

Members
Dec 29, 2019
6
13
Please do fully reset all options via props.
Then send the a screenshot, of your menu
Hi! I did what you wrote. It seems no changes on the main menu.. Have a look please
 

Attachments

  • Pic.1 (after reset).jpg
    Pic.1 (after reset).jpg
    63 KB · Views: 216

Poney70

Donator
Oct 3, 2019
5,296
337
Hi! I did what you wrote. It seems no changes on the main menu.. Have a look please
Hello,

If you don't see the "basic" option in MagiskHide Props menu => Your device/ROM doesn't need to be patched.

;)
 

pinni83

Members
Feb 16, 2011
122
50
Installed new weekly rom. Safetynet passed without issues. But only Widevine L3 on Mi Note 10 Pro. Possible that it's working only as soon as a global stable with Android 11 has been published?
 

Guension

Members
Oct 19, 2020
5
15
Thanks a lot for posting this! I was wondering why the McDonalds app was not letting me to use the coupons, but then I found out that it was due to the safetynet issue, and after installing the module I managed to use the coupons once again!
 

Mantas88

Members
Jan 22, 2021
1
3
Would someone perhaps know the solution to this puzzle?
Google pay all working, NFC all working, but when I put the Mi10Ultra at contactess card terminal to pay - it just does nothing. Xiaomi.eu 21.1.20 (did not work on 13.1.20 as well).
Thanks so much
 

Attachments

  • Screenshot_2021-01-22-20-17-43-223_com.google.android.gms.jpg
    Screenshot_2021-01-22-20-17-43-223_com.google.android.gms.jpg
    245.2 KB · Views: 140
  • Screenshot_2021-01-22-20-17-06-057_com.android.settings.jpg
    Screenshot_2021-01-22-20-17-06-057_com.android.settings.jpg
    266.2 KB · Views: 133
  • Screenshot_2021-01-22-20-16-49-491_com.android.settings.jpg
    Screenshot_2021-01-22-20-16-49-491_com.android.settings.jpg
    125.5 KB · Views: 138
  • Screenshot_2021-01-22-20-22-37-073_net.tpky.tools.nfccheck.jpg
    Screenshot_2021-01-22-20-22-37-073_net.tpky.tools.nfccheck.jpg
    355.2 KB · Views: 138

RainerReinfall

Members
Sep 3, 2020
42
20
Would someone perhaps know the solution to this puzzle?
Google pay all working, NFC all working, but when I put the Mi10Ultra at contactess card terminal to pay - it just does nothing. Xiaomi.eu 21.1.20 (did not work on 13.1.20 as well).
Thanks so much
Have you tried "Restore NFC" and then setting all the correct settings again?
 

Kenmar

Members
Sep 23, 2021
6
5
I did it a few hours ago on my Mi 10 Ultra. Due to the many questions, I'm publishing here a fixed tutorial, how it worked for me!
Please share your results below.

____________

Install Magisk:
1. Download and install Magisk Manager » MagiskManager-v8.0.4.apk

Step 2:
2A. Download and install Magisk-v21.2.zip » Magisk-v21.2.zip
2B_1. Download Magisk_11.zip and Magisk-v21.2.zip, put these two files in the root of your phone storage
2B_2. Boot to TWRP and install Magisk_11.zip first, then Magisk-v21.2.zip directly after

3. Reboot your device

Installing and setting up the modules:
4. Open Magisk Manager and go the "Module" page. There you have to install "Busybox for Android NDK" first, then "MagiskHide Props Config" afterwards.
5. Reboot your device
6. Download and install Termux from Google Play
7. Type "su" hit enter,
8. Open up Termux and grant root/superuser access.
9. then the "props" command and hit enter
10. After MagiskHide-Props loaded successfully, type "2" to choose "Force BASIC key attestation"
11. Type "y" and hit enter for activating the option.
12. Type "y" and hit enter to reboot your phone.

Hide your Magisk (get Google Pay etc. working):
13. Enable your app installation over USB in your developer settings on your phone.
14. Go into your Magisk Manager Settings and click "Hide Magisk" under the "Manager" category, there enter an alternative name for your Magisk. (I choose "Manager")
15. After installing the hidden Magisk manager, go into its settings and enable "MagiskHide" under the "Magisk" category.

(16. If it doesn't work until now, clear data of Google Play, Google Play Services and Google Service Framework.)

Now you're done! SafetyNet should pass now at BASIC level. The most banking Apps as well as Google Pay should work!
Your Widevine level should also stay at the same level as before (L1 in my case).

____________

This tutorial contains parts of @Poney70's tutorial. It didn't work for me, so this is the whole way it worked for me!
Big thanks and props to him!
| Latest Update: 4th Jan 2021
Brilliant explaination, I now have SafetyNet reporting SUCCESS with basicIntegrity and ctsProfile.

Cheerz :) :D ;)
 
  • Like
Reactions: Blastboom Strice