Closed cmonty14 closed 1 year ago
CTS profile mismatch usually boils down to the fingerprint reported by your phone being unknown to Google:
Custom ROM: 19-20220823-microG-dumpling
so find a fingerprint matching your device Google has certified and use that in a custom profile:
<data key="Build.FINGERPRINT" value="..." />
I never bothered to look into this with microG as all my apps insisting on device attestation work as long as i hide the unlocked bootloader and root.
Cheers
You can use this to fake cts profile https://github.com/luk1337/ih8sn
I tried MagiskHide Props Config (https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf) over the weekend:
props
in elevated terminal and spoof fingerprintThanks for sharing this instruction.
Could you please advise what should be entered here?
f
then pick your device (e.g. OnePlus 5T
) then your API (e.g. 31
for Android 12), save and reboot.
If there is no fingerprint matching your API just pick the latest available, imho the API isn't too important but the vendor is so you don't get offered grab for download incompatible with your device.
There are several reasons for SafetyNet to not pass. Passing SafetyNet is an issue independent of microG and whatever is required to pass SafetyNet with original Google services on your device / OS applies for microG as well. Support for specific devices or OS are out of scope here.
If you are using Magisk, remove the Universal SafetyNet Fix module and reset plus remove the MagiskHide Props Config module and use PlayIntegrityFix instead. Worked for my OnePlus 6.
I can confirm that PlayIntegrityFix does indeed work in-place of Universal SafetyNet Fix w/ MagiskHide Props Config:
This has the added benefit that its all in a single package, especially since neither Universal SafetyNet Fix nor MagiskHide Props Config seem to be maintained any more.
Describe the bug Running test SafetyNet attestation fails with this error: Warning: CTS profile does not match
To Reproduce Steps to reproduce the behavior:
Expected behavior Running 'Test SafetyNet attestation' completes w/o error.
System Android Version: 12 Custom ROM: 19-20220823-microG-dumpling microG Services Core version: 0.2.24.214816
Screenshots