how to fix SafetyNet check ctsProfile: false - Xiaomi Mi Max 2 Questions & Answers

Hii everyone i recently install a custom rom which is Pixel experience by Hardrock and just rooted using magisk Manager but in safetynet check ctsProfile is showing false Kindley please tell me how to fix this issue.

mukulkumars13 said:
Hii everyone i recently install a custom rom which is Pixel experience by Hardrock and just rooted using magisk Manager but in safetynet check ctsProfile is showing false Kindley please tell me how to fix this issue.
Click to expand...
Click to collapse
Flash this file via recovery ?

I had the same problem recently. The solution of MT above is correct but rather than flashing the file, I used Magisk Manager to download and install it. Go to Magisk's Download screen and search for "SafetyPatchv3".

EyeBalos said:
I had the same problem recently. The solution of MT above is correct but rather than flashing the file, I used Magisk Manager to download and install it. Go to Magisk's Download screen and search for "SafetyPatchv3".
Click to expand...
Click to collapse
Both method will affect same on your system.

Related

MagiskSU Install Help

HTC One M9
Venom Rom - ViperOne
Phh's SuperUser installed
Magisk 11.1 installed
Android N
Flashed a new rom (Viper) and it gave me the option to install PHH's SuperUser and Magisk, so I did. Once setting up the device I updated Magisk to 11.1 and installed the PHH's SuperUser (Magisk version) off of the official RT thread here on XDA.
Magisk Manager says I have Magisk 11.1 installed correctly and it is properly rooted, but my phone does not pass safety net, instead it says "CTS Profile Mismatch." After looking through the settings I saw the option for Magisk Hide so switched it off and back on and it says...
"You are not rooted with MagiskSU, using Magisk Hide might not be enough! It's not officially supported, and you would need additional tools (e.g Suhide) to pass Safety Net."
Can someone please help me with what to do?
Thank you,
Ollie Bednal.
obednal97 said:
HTC One M9
Venom Rom - ViperOne
Phh's SuperUser installed
Magisk 11.1 installed
Android N
Flashed a new rom (Viper) and it gave me the option to install PHH's SuperUser and Magisk, so I did. Once setting up the device I updated Magisk to 11.1 and installed the PHH's SuperUser (Magisk version) off of the official RT thread here on XDA.
Magisk Manager says I have Magisk 11.1 installed correctly and it is properly rooted, but my phone does not pass safety net, instead it says "CTS Profile Mismatch." After looking through the settings I saw the option for Magisk Hide so switched it off and back on and it says...
"You are not rooted with MagiskSU, using Magisk Hide might not be enough! It's not officially supported, and you would need additional tools (e.g Suhide) to pass Safety Net."
Can someone please help me with what to do?
Thank you,
Ollie Bednal.
Click to expand...
Click to collapse
Remove PHH Superuser completely - including apk - and re-flash Magisk.
osmOsis's UnSu script does a good job of removing all traces of root.
jhedfors said:
Remove PHH Superuser completely - including apk - and re-flash Magisk.
osmOsis's UnSu script does a good job of removing all traces of root.
Click to expand...
Click to collapse
Thank you for your quick response!
Where and how do I find and install the original boot.img to remove phh's superuser?
obednal97 said:
Thank you for your quick response!
Where and how do I find and install the original boot.img to remove phh's superuser?
Click to expand...
Click to collapse
The original boot image is what is in the ROM zip. However, as you mentioned that root is preinstalled, you should flash osmOsis's UnSu zip to get rid of root before reflashing Magisk.
jhedfors said:
The original boot image is what is in the ROM zip. However, as you mentioned that root is preinstalled, you should flash osmOsis's UnSu zip to get rid of root before reflashing Magisk.
Click to expand...
Click to collapse
Thank you very much for your help, just doing it now ?
jhedfors said:
The original boot image is what is in the ROM zip. However, as you mentioned that root is preinstalled, you should flash osmOsis's UnSu zip to get rid of root before reflashing Magisk.
Click to expand...
Click to collapse
Just done it all! It works beautifully!
I messed up the first time cause I couldn't remove Superuser app completely but I got round that and did it all again and its all green lights
Installed Magisk ☑
Rooted ☑
Safety net passed ☑
Thank you very much!
obednal97 said:
Just done it all! It works beautifully!
I messed up the first time cause I couldn't remove Superuser app completely but I got round that and did it all again and its all green lights
Installed Magisk ☑
Rooted ☑
Safety net passed ☑
Thank you very much!
Click to expand...
Click to collapse
Awesome!
cts profile mismatch
i have a xiaomi device which has epic rom based on android 6.0 with magisksu preinstalled by i cant bypass safetynet check either. what should i do?? i did a reinstall of magisk but it didn't helped.
aldo-000 said:
i have a xiaomi device which has epic rom based on android 6.0 with magisksu preinstalled by i cant bypass safetynet check either. what should i do?? i did a reinstall of magisk but it didn't helped.
Click to expand...
Click to collapse
If the ROM has Magisk pre-installed, you may want to check in the ROM thread. Otherwise try everything I suggested in this thread.
jhedfors said:
If the ROM has Magisk pre-installed, you may want to check in the ROM thread. Otherwise try everything I suggested in this thread.
Click to expand...
Click to collapse
uninstalling magisk, still can't bypass safetynet test but i can play pokemon go., wired.... i will ask about the rom. do you another way making pg playable on rooted device??
aldo-000 said:
uninstalling magisk, still can't bypass safetynet test but i can play pokemon go., wired.... i will ask about the rom. do you another way making pg playable on rooted device??
Click to expand...
Click to collapse
Did you do what I suggested? If so, can you say what you did?
aldo-000 said:
i have a xiaomi device which has epic rom based on android 6.0 with magisksu preinstalled by i cant bypass safetynet check either. what should i do?? i did a reinstall of magisk but it didn't helped.
Click to expand...
Click to collapse
Is it based on Developer or Stable ROM? Develop ROMs can't pass SafetyNet because they don't have the correct CTS profile. If it's based on Stable ROM, try flashing Global Stable again and Epic ROM afterwards, that might or might not help, no guarantees. You are only guaranteed to pass CTS profile match with Global Stable. But like you said, if Pokemon Go works you don't really need CTS profile.
i have moto E 3g 2 gen[OTUS] with Recusrtion remix 5.8.1 android 7
have flashed magisk but it gives error :1 error installing magisk 11.1 , while i did same with moto e [Condor] 1st gen and got success everything is working
even i clean the old su
can you help @jhedfors
Hi, I've just switched over to magisksu from supersu. I did as you suggested above... flashed unSu and the boot image and magisk. Then installed the Magisk manager from play store. It shows the device is rooted and that latest magisk is installed. However, safenet check fails.
Any suggestions on what to do?
Thanks
neptune_ said:
Hi, I've just switched over to magisksu from supersu. I did as you suggested above... flashed unSu and the boot image and magisk. Then installed the Magisk manager from play store. It shows the device is rooted and that latest magisk is installed. However, safenet check fails.
Any suggestions on what to do?
Thanks
Click to expand...
Click to collapse
Reboot with setting everything enable except disabling magisk it worked for me
Rush94 said:
Reboot with setting everything enable except disabling magisk it worked for me
Click to expand...
Click to collapse
Tried that, but SafetyNet check still fails
neptune_ said:
Tried that, but SafetyNet check still fails
Click to expand...
Click to collapse
Try enabling hide magisk enable busybox and then reboot
Rush94 said:
Reboot with setting everything enable except disabling magisk it worked for me
Click to expand...
Click to collapse
Rush94 said:
Try enabling hide magisk enable busybox and then reboot
Click to expand...
Click to collapse
Tried that too, still fails
neptune_ said:
Tried that too, still fails
Click to expand...
Click to collapse
Try some of the tips here:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
Didgeridoohan said:
Try some of the tips here:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
Click to expand...
Click to collapse
Thanks. I did read through there and tried some suggestions. Nothing seems to work.
I may have to use a rom that comes packaged with magisk?
Sent from my LG G3 using XDA Labs

Galaxy S5 SafetyNet (Pass before Magisk install, Fail directly after?)

So I'm in the process of getting a GPS spoofer going and I flashed pre March 17' stock firmware (Safety net still passes), Installed TWRP (Safety net still passes), install Magisk Manager APK (Safety net still passes), boot into TWRP and install Magisk and Safety Net fails. All the guides I've read says this shouldn't happen? How do I fix it?
Please elaborate, send some screenshots, some logs or something useful...
But anyways, let's try one thing at least, have you tried going in: Magisk Manager > Settings > and enabling the "Hide Magisk Manager" option? If not, try it out. Does that make any difference?
Cheers
SpartanG01 said:
So I'm in the process of getting a GPS spoofer going and I flashed pre March 17' stock firmware (Safety net still passes), Installed TWRP (Safety net still passes), install Magisk Manager APK (Safety net still passes), boot into TWRP and install Magisk and Safety Net fails. All the guides I've read says this shouldn't happen? How do I fix it?
Click to expand...
Click to collapse
Which one fails? ctsProfile or basicIntegrity?
If ctsProfile fails, change device fingerprint using this https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
If both basicIntegrity and ctsProfile fails, well that can't be helped... Maybe try installing the latest beta version of magisk if you didn't already
abacate123 said:
Please elaborate, send some screenshots, some logs or something useful...
But anyways, let's try one thing at least, have you tried going in: Magisk Manager > Settings > and enabling the "Hide Magisk Manager" option? If not, try it out. Does that make any difference?
Cheers
Click to expand...
Click to collapse
I don't know how to pull the logs or what would be useful here? As for screen shots, I dunno it's pretty cut and dry lol it passes without magisk installed and then fails both tests as soon as i install it. I hid Magisk using the feature you suggested and it did not change anything. Lookout actually warned me it was risk ware after i hid magisk. (I just flashed stock firmware so yeah, lookout is on there)
n1Bb135 said:
Which one fails? ctsProfile or basicIntegrity?
If ctsProfile fails, change device fingerprint using this https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
If both basicIntegrity and ctsProfile fails, well that can't be helped... Maybe try installing the latest beta version of magisk if you didn't already
Click to expand...
Click to collapse
Yeah they both fail. I'll try the beta.
Edit: Beta Works!
SpartanG01 said:
I don't know how to pull the logs or what would be useful here?
Click to expand...
Click to collapse
There's a button called "Logs", right above the "Settings" button, when you open the Manager side menu.
Edit: Glad you got it working
SpartanG01 said:
So I'm in the process of getting a GPS spoofer going and I flashed pre March 17' stock firmware (Safety net still passes), Installed TWRP (Safety net still passes), install Magisk Manager APK (Safety net still passes), boot into TWRP and install Magisk and Safety Net fails. All the guides I've read says this shouldn't happen? How do I fix it?
Click to expand...
Click to collapse
Nice to see you got it sorted, but I just wanted to add that it's quite likely that you would have been able to get things working by just toggling MagiskHide off and on again. For future reference... :good:

SafetyNet Check fails

Hey guys, I'm rooted + magisk using the Dr. Ketan tool (Option 1) + Xposed + Beast Kernel. All good so far in regards to rooting, kernel and xposed.. Just the SafetyNet Check fails on Magisk. Tried changing the flash order to flash the Dr Ketan tool in the last, in case that would make it pass but no luck. So I've got a couple questions -
1. How to make SafetyNet pass
2. Can I update magisk version from magisk app? Or will I need to stick with the version that came along with the tool which is 17.2
Thnks!
You won't pass safetynet if you're using xposed (I don't think there's any way around it but uninstalling xposed)
n1Bb135 said:
You won't pass safetynet if you're using xposed (I don't think there's any way around it but uninstalling xposed)
Click to expand...
Click to collapse
Yep although my banking apps do pass well after hiding them via magisk, so that's good enough even if safetynet shows failed.
Any idea about if I can update magisk version other than coupled on the root tool?
Thanks!
rezapatel said:
Yep although my banking apps do pass well after hiding them via magisk, so that's good enough even if safetynet shows failed.
Any idea about if I can update magisk version other than coupled on the root tool?
Thanks!
Click to expand...
Click to collapse
In magisk manager there's an update prompt/button if there's an update
n1Bb135 said:
In magisk manager there's an update prompt/button if there's an update
Click to expand...
Click to collapse
Aware of that, but I meant to ask if it'd be okay to update the magisk version without a bootloop or any other issues.

Can't get Magisk to work on Pixel

I have pixel (sailfish) running lineage 15.1 w/ microG and I've followed the exact steps from the official Magisk install page using Magisk v18.1 with manager 7.0 only to get the same safetynet api error. Ive even tried other suggested installation methods from: https://android.gadgethacks.com/how-to/install-magisk-your-pixel-pixel-xl-0177522/
And it left me in a bootloop whereby I had to wipe and reinstall everything.
Anybody please help!
If you can get Magisk up and running, but get a SafetyNet API error when trying to check SafetyNet in the Manager, the problem lies elsewhere, most likely with your microG setup (or possibly that the Manager snet.apk hasn't downloaded properly, clear data for the Manager to fix that).
Test with a separate SafetyNet checker, and also test MagiskHide by adding a root app to the Hide list (if it can't detect root, MagiskHide works). If you get the same error with the other app we know that the problem likely isn't with Magisk.
Sorry for the newb question, but how do you clear Manager data? Thanks.
conundrew said:
Sorry for the newb question, but how do you clear Manager data? Thanks.
Click to expand...
Click to collapse
By going to the app information in the Android settings.
Still doesn't work. Getting the same message after everything you've suggested.
Even with a separate SafetyNet checker app? In that case it is very likely that it is your microG setup that isn't working. Ask for advice in your ROM thread.
Didgeridoohan said:
If you can get Magisk up and running, but get a SafetyNet API error when trying to check SafetyNet in the Manager, the problem lies elsewhere, most likely with your microG setup (or possibly that the Manager snet.apk hasn't downloaded properly, clear data for the Manager to fix that).
Test with a separate SafetyNet checker, and also test MagiskHide by adding a root app to the Hide list (if it can't detect root, MagiskHide works). If you get the same error with the other app we know that the problem likely isn't with Magisk.
Click to expand...
Click to collapse
Didgeridoohan said:
Even with a separate SafetyNet checker app? In that case it is very likely that it is your microG setup that isn't working. Ask for advice in your ROM thread.
Click to expand...
Click to collapse
Not sure exactly what I did but when I cleared Manager data and changed some microG settings, I was able to finally get SafetyNet Check Success but now it says: ctsProfile: false and basicIntegrity: false. Any advice?
conundrew said:
Not sure exactly what I did but when I cleared Manager data and changed some microG settings, I was able to finally get SafetyNet Check Success but now it says: ctsProfile: false and basicIntegrity: false. Any advice?
Click to expand...
Click to collapse
https://www.didgeridoohan.com/magisk/MagiskHide#hn_SafetyNet
Didgeridoohan said:
https://www.didgeridoohan.com/magisk/MagiskHide#hn_SafetyNet
Click to expand...
Click to collapse
So I did a clean install of LineageOS 16 only (no microG) and then installed Magisk following installation instructions and when I opened up Magisk Manager I don't see the option to do SafetyNet Check anymore. When I ran SafetyNet Test it said "GooglePlayServices is not available on this device". I was given the impression that microG was the problem which is why I installed LineageOS without microG, but it's still not working. Please help!
If you have neither Gapps or MicroG installed there's no way you can use anything SafetyNet related. It's Google's system, so you're going to have to install one or the other...
Didgeridoohan said:
https://www.didgeridoohan.com/magisk/MagiskHide#hn_SafetyNet
Click to expand...
Click to collapse
Didgeridoohan said:
If you have neither Gapps or MicroG installed there's no way you can use anything SafetyNet related. It's Google's system, so you're going to have to install one or the other...
Click to expand...
Click to collapse
Thank you!
Is there any benefit or even necessary to install a custom kernel, like ElementalX, for getting Magisk to work properly? Thanks.
conundrew said:
Thank you!
Is there any benefit or even necessary to install a custom kernel, like ElementalX, for getting Magisk to work properly? Thanks.
Click to expand...
Click to collapse
No.

Question Safetynet failed after installing pixel experience+ (agust security patch)

Installed pixel experience using orangefox recovery. Don't know much about rooting. How to install magisk (without root) and pass the safetynet test?
Abhii1 said:
Installed pixel experience using orangefox recovery. Don't know much about rooting. How to install magisk (without root) and pass the safetynet test?
Click to expand...
Click to collapse
follow this tutorial:
[2023 FIX] Fix Magisk CTS Profile False Error - Bypass Safetynet
Magisk CTS Profile False Error is now popping up on almost everyone's device since Google made some changes in March. To Bypass Safetynet...
droidholic.com
aarestu said:
follow this tutorial:
[2023 FIX] Fix Magisk CTS Profile False Error - Bypass Safetynet
Magisk CTS Profile False Error is now popping up on almost everyone's device since Google made some changes in March. To Bypass Safetynet...
droidholic.com
Click to expand...
Click to collapse
Thanks but i don't know how to install magisk
Abhii1 said:
Thanks but i don't know how to install magisk
Click to expand...
Click to collapse
Or you can install try other os.. wait until it fix..
I use ArrowOS for daily use, everything seems stable so far.. including safetynet.. no need root for safetynet secure on ArrowOS
You can install Magisk with adb sideload.
In Magisk you can currently install Magisk hide props config. With that you can change the device fingerprint to an official one. Also use the hide option to prevent Google play from acting up.
I do not know how to pass the cts test yet. There is another mode that can help (Universal SafetyNet fix).
But I have not managed to get it pass the test.
If you find out, let me know.
I have exported some files for the fingerprint from miui
I hope that can help. It is for global Rom.

Categories

Resources