kdrag0n / safetynet-fix

Google SafetyNet attestation workarounds for Magisk
MIT License
6.1k stars 321 forks source link

CTS profile match failed #289

Open SaiSharma-007 opened 12 months ago

SaiSharma-007 commented 12 months ago

Describe the bug CTS profile match failed in safetynet check used YASNAC check device : One plus 8 pro IN2023

To reproduce Steps to reproduce the behavior:

  1. Go to '.safetynet repo'
  2. Click on 'download.'
  3. open magisk 'Add it in magisk'
  4. enable zygisk
  5. See error

Expected behavior A clear passing both checks

Screenshots

Device info Device model: One plus 8 pro IN2023 Android version: Android 13 ROM name/version: OxygenOS 13.1 / IN2023_11_F.64

Checklist

Jon8RFC commented 12 months ago

Have you tried Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases (use mod 1.3 if 2.0 doesn't work)

In my experience, if safetynetfix is not reinstalled quickly enough, Play Store certification will fail and might keep that stored. But Displax's mod may resolve the safetynet failures.

For the Play Store certification, I enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves that part for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

SaiSharma-007 commented 12 months ago

Thanks @Jon8RFC safetynetfix mod worked 🙂

newbit1 commented 12 months ago

In my experience, if safetynetfix is not reinstalled quickly enough, it will fail and keep that stored.

I like to enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves it for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

Have you tried the above as well as Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases

Thanks, i can confirm it worked on my S10 G973f with A12 too. Without extra fingerprint nor wiping the playstore caches.

Screenshot_20230709_114726_SafetyNet Test.png

Screenshot_20230709_114744_SafetyNet Checker.png

Screenshot_20230709_114752_SafetyNet Check.png

Screenshot_20230709_114817_Momo.png

hasezoey commented 11 months ago

also have this problem with lineageos 20, last version that worked was lineage-20.0-20230627-nightly-lemonadep-signed.zip with magisk 25.2 and safetynet-fix 2.2.1 *1, i updated to lineage-20.0-20230711-nightly-lemonadep-signed.zip where it started failing, so i also upgraded magisk to 26.1 and safetynet-fix to 2.4.0, where it still kept failing (also already tried re-applying magiskhide props config fingerprint and force BASIC mode). using the MOD (safetynet-fix-v2.4.0-MOD_1.3-Zygisk.zip) fixes it (without having to clear any cache)

*1 i know those version were outdated at that point, but my though is "why change something that works and is also fragile"

device: lemonadep (OnePlus 9 Pro LE2123) currently installed OS: lineageos 20 2023-07-11 gapps: MindTheGapps Safetynet checker: rikka.safetynetchecker (YASNAC)

thedankeststorm commented 11 months ago

In my experience, if safetynetfix is not reinstalled quickly enough, it will fail and keep that stored.

I like to enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves it for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

Have you tried the above as well as Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases

Displax's mod works! Thank you for the recommendation!

666dechaoge commented 11 months ago

In my experience, if safetynetfix is not reinstalled quickly enough, it will fail and keep that stored.

I like to enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves it for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

Have you tried the above as well as Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases

mod 2.0 works,thanks

Incomptus commented 11 months ago

I had the same issue on galaxy tab S7 FE stock rom rooted and Displax mod solved it!. I first uninstall original Kdrag0n module and I installed displax mod module! Thanks a lot

su9257 commented 10 months ago

In my experience, if safetynetfix is not reinstalled quickly enough, it will fail and keep that stored.

I like to enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves it for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

Have you tried the above as well as Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases

(use mod 1.3 if 2.0 doesn't work)

My device is One plus 11 working using version 1.3, thank you very much

mailinglists35 commented 10 months ago

Have you tried the above as well as Displax's safetynetfix-mod?

thank you, worked for fleur miui 13 no cache cleaning, only disabling kdrag0n version and installing displax and reboot - play store still says not certified but YASNAC says pass both to basic and CTS. google wallet works after adding it to denylist so I guess the module is working. a banking app however doesn't (neobt)

jezac commented 10 months ago

In my experience, if safetynetfix is not reinstalled quickly enough, it Play Store certification will fail and might keep that stored. But Displax's mod, linked at the end, may resolve the safetynet failures.

I like to enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves that part for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

Have you tried the above as well as Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases

(use mod 1.3 if 2.0 doesn't work)

Thank you very much, the mod in version 2.0 worked for me.

breadland commented 10 months ago

Also confirming that the safetynet fix MOD worked perfectly on my V60! Thanks @Jon8RFC Safetynet PASS with the MOD

Wipppp commented 9 months ago

How do you apply the mod ? magisk manager cannot download it in modules, unzip error.

Jon8RFC commented 9 months ago

How do you apply the mod ? magisk manager cannot download it in modules, unzip error.

You need to download the safety net zip, not source code zip. Give your device a reboot before installing and try again.

gusarov commented 9 months ago

Have you tried Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases (use mod 1.3 if 2.0 doesn't work)

In my experience, if safetynetfix is not reinstalled quickly enough, Play Store certification will fail and might keep that stored. But Displax's mod may resolve the safetynet failures.

For the Play Store certification, I enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves that part for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

OMG, thanks a lot for pointing out this fork!! It finally works again!!

Seylox commented 9 months ago

Tried this, the only thing that worked on my Xiaomi Redmi Note 12 Turbo (marble, released as Poco F5 in the west) with Xiaomi.eu ROM (14.0.23.0.TMRCNXM Stable) was to use https://github.com/chiteroman/PlayIntegrityFix/releases/tag/v8.7 Device (with root) now passes:

Steps I took:

  1. Installed Magisk, see here: https://forum.xda-developers.com/t/all-in-one-poco-f5-redmi-note-12-turbo-marble-unlock-bootloader-root-flash-twrp-flash-rom.4585587/
  2. Install this module: https://github.com/chiteroman/PlayIntegrityFix/releases/
JannaJii commented 9 months ago

Displax's safetynetfix-mod v2.4.0-MOD_1.3 confirmed working also for my OnePus 6T. Thanks for the suggestion.

jotesoft commented 8 months ago

I have tried both mod. But still getting cts profile error. Normal universal safetynet bypass module worked for me before but after installing lucky patcher android patch magisk module i have noticing cts profile error. My device is not not certified. I have removed the lucky patcher module from magisk but still no fix for cts profile error. Also i saw they changed safetynet to play store integrity check. So we need update fir that.

Xiaomi 11t pro vili

XdekHckr commented 8 months ago

I have tried both mod. But still getting cts profile error. Normal universal safetynet bypass module worked for me before but after installing lucky patcher android patch magisk module i have noticing cts profile error. My device is not not certified. I have removed the lucky patcher module from magisk but still no fix for cts profile error. Also i saw they changed safetynet to play store integrity check. So we need update fir that.

Xiaomi 11t pro vili

Try this: https://github.com/Displax/safetynet-fix/releases/tag/v2.3.1-MOD_3.0 https://youtube.com/watch?v=sxYYcaBy37U Article: https://droidwin.com/how-to-pass-safetynet-on-rooted-android-12/#METHOD_1_Pass_SafetyNet_via_SafetyNet_Fix_Module_NEW

The only one that worked on my pixel fold (android 14 beta) EDIT: it works because my device uses "hardware backed key attestation" to detect an unlocked bootloader which was removed in later releases of safetynet fix mods (?)

Attackergg commented 8 months ago

I have tried both mod. But still getting cts profile error. Normal universal safetynet bypass module worked for me before but after installing lucky patcher android patch magisk module i have noticing cts profile error. My device is not not certified. I have removed the lucky patcher module from magisk but still no fix for cts profile error. Also i saw they changed safetynet to play store integrity check. So we need update fir that. Xiaomi 11t pro vili

Try this: https://github.com/Displax/safetynet-fix/releases/tag/v2.3.1-MOD_3.0 https://youtube.com/watch?v=sxYYcaBy37U

The only one that worked on my pixel fold (android 14 beta)

Bro I just made an account to thank you for this. This actually worked on my mi11 ultra custom rom. Thanks 🙏

bleros commented 8 months ago

Have you tried Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases (use mod 1.3 if 2.0 doesn't work)

In my experience, if safetynetfix is not reinstalled quickly enough, Play Store certification will fail and might keep that stored. But Displax's mod may resolve the safetynet failures.

For the Play Store certification, I enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves that part for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

Thankkkk youuuuuu s10 work after many tries different one just loged in to say thanksss 😊😊

cyberjps commented 7 months ago

Displax's safetynetfix-mod worked before very nice. But some days ago (about 2-3 days back) stop worked. Found solution to clear all data from "Google play *" apps, do it but this is not help. "CTS profile mismatch" on SafetyNet Test and Google wallet not work (with NFC)

eblis commented 7 months ago

I'm having the same issue, Device integrity is failing, as well as Strong integrity and Virtual integrity.

I tried clearing data for Google Play Services and Play store at least 5 times each, didn't change anything

Jon8RFC commented 7 months ago

@cyberjps @eblis An update to the module is necessary, and I'm sure displax will update in the next day or two.

Jon8RFC commented 7 months ago

https://github.com/chiteroman/PlayIntegrityFix/releases

eblis commented 7 months ago

I just found that half an hour ago myself, installed it and got device security to work and now Google Pay is working again

crok commented 7 months ago

installed it and got device security to work and now Google Pay is working again

Did you actually used it? Asking because I tried PlayIngegrityFix as well and PI API check fails 19+ times out of 20+ and can't even get device certified flag. Edit: this is the only module I have at the moment, no other modules are even installed.

Jon8RFC commented 7 months ago

Working for me. Certain magisk or exposed/lsposed modules could also be causing issues too if the play integrity changes now take additional things into account. I just know that's been the case before--certain modules cause failures, and then when removed it's fine.

@crok EDIT: Ah, no other modules. Well, there's a hotfix already released for it about 10 minutes ago which is probably not going to help, but it's worth a try.

EDIT2: I'm on a pixel 8 pro with android 14 and it's working.

Conan179 commented 7 months ago

I installed it on my Fold4 as a test and will keep an eye on it to see if it works.

Zzz212zzZ commented 7 months ago

https://github.com/chiteroman/PlayIntegrityFix/releases

This might work for my Samsung S23 (a13), thank you! I passed the test on YASNAC after installing this module. But will keep an eye to see if it really works when tapping pay!

cyberjps commented 7 months ago

@Jon8RFC

https://github.com/chiteroman/PlayIntegrityFix/releases

I found this solution myself a few hours ago and installed it. That helped.

jvatechs commented 4 months ago

Попробуйте это: https://github.com/Displax/safetynet-fix/releases/tag/v2.3.1-MOD_3.0 https://youtube.com/watch?v=sxYYcaBy37U Статья: https://droidwin.com /how-to-pass-safetynet-on-rooted-android-12/#METHOD_1_Pass_SafetyNet_via_SafetyNet_Fix_Module_NEW

Единственный, который работал на моем пиксельном сгибе (бета-версия Android 14). РЕДАКТИРОВАТЬ: он работает, потому что мое устройство использует «аппаратную аттестацию ключа» для обнаружения разблокированного загрузчика, который был удален в более поздних выпусках модов исправления сети безопасности (?)

Tried on GSI device (crDroid 10.1; Android 14) WORKED!!! THANK YOU!!! All another before solutions until yours weren't help me.

so I concluded that devices with Android 14 need to install this version v2.3.1-MOD_3.0

arfathyahiya commented 4 months ago

https://github.com/chiteroman/PlayIntegrityFix/releases

Hey it worked, in PlayStore it shows device is certified but still unable to install the Minecraft which requires certification from PlayStore.

EDIT: Restarting the phone and clearing the PlayStore Data (not just cache) did the trick.

SaiSharma-007 commented 4 months ago

Safety net mod worked for me that day. Sorry for this delay 😬😬

Lwenkun commented 4 months ago

Have you tried Displax's safetynetfix-mod? https://github.com/Displax/safetynet-fix/releases (use mod 1.3 if 2.0 doesn't work)

In my experience, if safetynetfix is not reinstalled quickly enough, Play Store certification will fail and might keep that stored. But Displax's mod may resolve the safetynet failures.

For the Play Store certification, I enable airplane mode, force close google play store & clear data, force close google play services & clear data, and do both of them very quickly within one another, at least twice each, then restart. Usually multiple clears does it, but a single clear of each sometimes won't.

That typically resolves that part for me, unless there's another magisk module or xposed/lsposed module causing the issue. That cannot be properly ruled out without disabling all of them, restarting, THEN clearing play store & play services data and restarting a second time.

Works for Oneplus 8 Coloros 13,thank you!

cyberjps commented 4 months ago

Yesterday compete root+magisk+CTS verif by this instruction (Russian language only, sorry)

https://4pda.to/forum/index.php?showtopic=915158&st=1520#entry127535806

Body: Xiaomi Redmi Note 9 pro

YAkatimo commented 3 weeks ago

https://github.com/chiteroman/PlayIntegrityFix/releases

this module + clear data worked for me(redmi k30 5G), thanks