[TUTORIAL] WORKING FIX FOR SAFETYNET / CTS PROFILE FAILED


Dec 15, 2020
53
30
Alright , here we go again .

Steps to follow :
1. Open Magisk and select modules tab
2. Install Module for Android 11 - (https://t.me/XiaomiEUCloud/156)
For Android 10 - (https://t.me/XiaomiEUCloud/158) from Storage
3. Reboot your Device
Done .

UPDATE : NO NEED TO FLASH THIS ON 12.1.14 AND LATER BETA BUILDS AS THE FIX HAS BEEN IMPLEMENTED ALREADY .

Credits - Admin 47 from https://t.me/XiaomiEUK20Pro
Screenshot_2021-01-13-16-17-10-904_dqeh.ccvj.sj.jpg



Sent from my Mi 9T Pro using Tapatalk
 
Last edited:
Dec 3, 2020
666
102
May I ask what does it do? Does it change the device name like magisk props or something? (I'd ~like to keep my device name the way I've set it with magisk props).
 

tasar

Members
Mar 19, 2017
40
20
Install it on my 10Pro with 20.0618 EU Rom (a10) and now it hang on MIUI logo :( Saw to late: only for A11 rom.
Any chance to repair that without factory reset?

EDIT: Use the Magisk uninstaller scrpit and now it boot again.
 
Last edited:

katerpanne

Members
Apr 19, 2014
1,318
307
May I ask what does it do? Does it change the device name like magisk props or something? (I'd ~like to keep my device name the way I've set it with magisk props).
*********************************************************************
this fix has been implemented in the weekly roms from 21.1.14
*********************************************************************

you can read it in detail on the GitHub-Page it will change some props and files
after install / reboot: clear Data / Cache "Google Play store", "Google Play services", "Google Service Framework" - reboot

Android 8-11: Version 1.1.0
to install with magisk as described by
DamonSalvatore07

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
DONT INSTALL MODULE FOR VERSION 11 on A10 and vice versa -> BOOTLOOP !!!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Android 11: Version 1.0.2 to install with magisk as described by DamonSalvatore07

Android 10: Version 1.0.2 to install with magisk as described by DamonSalvatore07

thx to: @kdrag0n & @Anan1211


If you want to follow the discussion:
 

Attachments

Last edited:

katerpanne

Members
Apr 19, 2014
1,318
307
Install it on my 10Pro with 20.0618 EU Rom (a10) and now it hang on MIUI logo :( Saw to late: only for A11 rom.
Any chance to repair that without factory reset?

EDIT: Use the Magisk uninstaller scrpit and now it boot again.
Next time you can use this methods so that you dont have to uninstall everything :)

First possibility:

use this tool you can install it with "twrp":
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Second possibility:
  • Go to the ‘Advanced’ menu in TWRP
  • Select ‘File Manager’ to launch the in-built file manager
  • Navigate to ‘/data/adb/modules’ directory where the installed modules are present.
  • You shall see folders by names of the modules installed on your phone
  • Open the folder of the Magisk Module that you want to delete and tap on the button at the bottom-right of the screen.
  • Select ‘Delete’ from the list of available actions
  • Finally, swipe the button on the screen to confirm the action and delete the Magisk Module from your phone
 
Dec 3, 2020
666
102
Install it on my 10Pro with 20.0618 EU Rom (a10) and now it hang on MIUI logo :( Saw to late: only for A11 rom.
Any chance to repair that without factory reset?

EDIT: Use the Magisk uninstaller scrpit and now it boot again.
((Boot into twrp, go to file manager, go to data/adb/magisk/modules and remove the module. (Ah keterpanne was faster..)) Also, you may want to boot i to safe mode as described near the end of this guide:
 
  • Like
Reactions: tasar

doclucas

Members
May 23, 2020
10
15
Great mod! Thanks!
Any chance you can make it work on Android 10 as well?
And hopefully on other phones such as Samsung's? :)
 
Dec 3, 2020
666
102
@katerpanne thanks for info! Umm, 2 things:
1)How do we download it?... I go to the link, but I ~can't find the download button.. (facepalm). Github almost always confused me when I was to download stuff
2)Does it work with edxposed installed?
 

katerpanne

Members
Apr 19, 2014
1,318
307

mario.bradac

Members
Jul 12, 2015
51
20
With that zip from kdrag0n I can pass safetynet but gpay still says device not secure and nfc payment is disabled.

Mi 10, latest rom
 

ReiskaSeta

Members
Jan 13, 2021
4
5
With that zip from kdrag0n I can pass safetynet but gpay still says device not secure and nfc payment is disabled.

Mi 10, latest rom
Try to delete cache of google play services, gpay and play store. Then reboot and try again. If that doesn't help delete all data of google play services, gpay and play store.
 
  • Like
Reactions: mario.bradac

Zencooler

Members
Aug 24, 2020
133
40
I have Mi 10 ultra.
Thank you for the info!
Sounds promising I am still on A10...
So, few questions:
1. do you have also MagiskHiide Props Config module to change attestation type to force to basic or you use hardware type?
2. Do you have also GPay Fix module installed?
3. If i go from weekly rom based on Android 10 do I need to do something extra to install 12.5.21.1.6 rom or just flash this rom via TWRP and Magisk again?

Thanks in advance for the answers

Sent from my Mi Ultra via Tapatalk
 

ReiskaSeta

Members
Jan 13, 2021
4
5
Thank you for the info!
Sounds promising I am still on A10...
So, few questions:
1. do you have also MagiskHiide Props Config module to change attestation type to force to basic or you use hardware type?
2. Do you have also GPay Fix module installed?
3. If i go from weekly rom based on Android 10 do I need to do something extra to install 12.5.21.1.6 rom or just flash this rom via TWRP and Magisk again?

Thanks in advance for the answers

Sent from my Mi Ultra via Tapatalk
1. Yes. Force basic key attestation.
2. Yes
3. https://xiaomi.eu/community/threads/the-ultimate-guide-to-unlock-bootloader-use-twrp-flash-beta-from-stock-rom-setup-and-hide-magisk-for-mi-10-umi-plus-extra-tips.59306/

Theres good instructions. You have to do full wipe if you go from A10 to A11.