safetynet-fix icon indicating copy to clipboard operation
safetynet-fix copied to clipboard

CTS profile match failed

Open SaiSharma-007 opened this issue 1 year ago • 38 comments

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

  • [x] All information is present
  • [x] I have tried installing and configuring

SaiSharma-007 avatar Jul 07 '23 08:07 SaiSharma-007

Use this as of July 8, 2024: https://github.com/chiteroman/PlayIntegrityFix Year old info below.

~~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.~~

Jon8RFC avatar Jul 08 '23 08:07 Jon8RFC

Thanks @Jon8RFC safetynetfix mod worked 🙂

SaiSharma-007 avatar Jul 08 '23 10:07 SaiSharma-007

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

newbit1 avatar Jul 09 '23 10:07 newbit1

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)

hasezoey avatar Jul 12 '23 14:07 hasezoey

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!

thedankeststorm avatar Jul 13 '23 11:07 thedankeststorm

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

666dechaoge avatar Jul 29 '23 06:07 666dechaoge

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

Incomptus avatar Aug 10 '23 10:08 Incomptus

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

su9257 avatar Aug 13 '23 04:08 su9257

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)

mailinglists35 avatar Aug 15 '23 01:08 mailinglists35

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.

jezac avatar Aug 15 '23 09:08 jezac

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

breadland avatar Sep 08 '23 19:09 breadland

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

Wipppp avatar Sep 10 '23 11:09 Wipppp

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.

Jon8RFC avatar Sep 12 '23 23:09 Jon8RFC

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!!

gusarov avatar Sep 17 '23 00:09 gusarov

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:

  • Basic Integrity
  • CTS Profile Match
  • Evaluation Type BASIC

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/

Seylox avatar Oct 01 '23 19:10 Seylox

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

JannaJii avatar Oct 06 '23 18:10 JannaJii

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

jotesoft avatar Oct 11 '23 23:10 jotesoft

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 (?)

XdekHckr avatar Oct 19 '23 23:10 XdekHckr

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 🙏

Attackergg avatar Oct 20 '23 18:10 Attackergg

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 😊😊

bleros avatar Oct 31 '23 17:10 bleros

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)

cyberjps avatar Nov 09 '23 12:11 cyberjps

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

eblis avatar Nov 09 '23 14:11 eblis

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

Jon8RFC avatar Nov 09 '23 15:11 Jon8RFC

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

Jon8RFC avatar Nov 09 '23 15:11 Jon8RFC

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

eblis avatar Nov 09 '23 15:11 eblis

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.

crok avatar Nov 09 '23 15:11 crok

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.

Jon8RFC avatar Nov 09 '23 15:11 Jon8RFC

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

Conan179 avatar Nov 09 '23 18:11 Conan179

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!

Zzz212zzZ avatar Nov 09 '23 20:11 Zzz212zzZ

@Jon8RFC

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

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

cyberjps avatar Nov 09 '23 22:11 cyberjps