Play Protect certification didn't pass on Mi 10


I'm on the weekly rom, it worked for a week then woke up one morning with a message about security. Now I get ctsProfileMatch = false with no gpay.

I'm not rooted
 
hi, after spending an entire night to my mi10 i have fixed safetynet and have widevine L1. but i really don't know how exactly i do it. i flashed a persist file ( i know it 's not raccomanded) and have safetynet ok but no L1 so i flashed a fastboot eaa rom and nothing changed, so after i flashed the last eu, added two fingerprint and appeared (magically i think) the L1 certificate to download in certificate section of fingerpring option. and it seems that i have safetynet already passed and play store certificated. now i'm scared of reboot...dont' know if i can loose all LOL

No way...... Can you give us more details?
Where did you get the persist file ?
What version of ROMS ( before fixed / fastboot eaa / last eu) were them ?
Did you reboot it ? Is everything still fine now ?
 
No way...... Can you give us more details?
Where did you get the persist file ?
What version of ROMS ( before fixed / fastboot eaa / last eu) were them ?
Did you reboot it ? Is everything still fine now ?

1 Persist file taken from a MIUI 11 fastboot rom (mi) version. Just Google It and download. After change the extension from tgz to zip or rar. Open It and there are some files, included the persist.img file.
2 the phone start with last EU/eaa rom (MIUI 11.0.15) with Google dialer and message included. So i used a tool ti switch from Eaa to mi version. this tool not require to unlock bootloader or other stuff.
3 i reboot It Yesterday. All ok and good. I still have safetynet and L1.

All started After i unlocked bootloader.
Then i flashed twrp. Then i flashed last xiaomi.eu rom. L1 was ok but i noticed that safetynet check fail in CTS pfofile and Google play store was not certificated.

So i used a method to flash a persist file (i used already this method to pass safetynet with my mix 3). So i downloaded a fastboot rom, extracted the persist and... Flashed. After the reboot safetynet check sad It all good. But in drm info there was L3 certificate. So. I re-flashed the original rom with miflash. (Clean all option) check drm and was L3.

So i re-flashed again but relocking bootloader. Nothing changed. So i re-unlock and reflash xiaomi.eu meanwhile i found two things the First Is a video where a poco F1 After adding 2 fingerpint, can "unlock" certificates section where there are also L1 certificate and can be downloaded.

The second Is a file that re -add L1 certificate but don't know if it will work or not. So i flashed It and at the same time follow the video. And in the menu appeared L1 certificate. I Just downloaded It and now i have L1 and a phone safetynet passed. I know It's complicated story. Maybe you can skip all flashing roms and focus to the video and the file to flash. I Will share It in the next post if you want it.

End
 
here Is the file i flashed. I used file for "all other Xiaomi" the last file.


And here the video to understand where and now add the certificate (i know It Is hold but nevemind)

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
here Is the file i flashed. I used file for "all other Xiaomi" the last file.


And here the video to understand where and now add the certificate (i know It Is hold but nevemind)

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
do you know how to flash persist?
 
CTS profile failed when you unlock the bootloader. Yesterday I flashed latest European rom and even with it CTS profile fail. Only with locking the bootloader passed safetynet.
 
CTS profile failed when you unlock the bootloader. Yesterday I flashed latest European rom and even with it CTS profile fail. Only with locking the bootloader passed safetynet.
After relocked your bootloader, how do you update your phone then?
 
I'm not check if CTS profile is fine. Then unlocked it again and check if CTS profile is ok but no. CTS profile=fail right after bootloader was unlocked.
 
do you know how to flash persist?

In twrp there Is option After Press install. "Img file" or immagine file. After select persist and twrp tells what img of sysyem you want ti flash. Select persist and flash. I suggest ti do It Onlus if you have L3 videwine. I al already not garantire the 100% of working procedure.


you can Try GpaySQLite fix (?) Or database manual fix. I tried with no luck. Just Google It l. GpaySQLite fix have a gthub repo. Manual database fix Is on and xda thread
 
In twrp there Is option After Press install. "Img file" or immagine file. After select persist and twrp tells what img of sysyem you want ti flash. Select persist and flash. I suggest ti do It Onlus if you have L3 videwine. I al already not garantire the 100% of working procedure.


you can Try GpaySQLite fix (?) Or database manual fix. I tried with no luck. Just Google It l. GpaySQLite fix have a gthub repo. Manual database fix Is on and xda thread
Thanks a lot @davezme . I fixed it with safetynet passed and play detect certified. The whole story is that I updated to 20.0.4 today, which turned out that it doesn't work today. so i decided to try your method to flash the persist. Remember ! Back up your persist before flashing. Then, I flashed the persist.img file extracted from original fastboot file. It turned out that everything is fine but fingerprint seems not working. Bummer! Therefore, I have to restore my backup persist file. And everything works perfect!
 
Thanks a lot @davezme . I fixed it with safetynet passed and play detect certified. The whole story is that I updated to 20.0.4 today, which turned out that it doesn't work today. so i decided to try your method to flash the persist. Remember ! Back up your persist before flashing. Then, I flashed the persist.img file extracted from original fastboot file. It turned out that everything is fine but fingerprint seems not working. Bummer! Therefore, I have to restore my backup persist file. And everything works perfect!
Also, my widewine is still L1.
 
Ok will get latest EU fastboot persist and try in a min.
after you flashed the EU persist, pls check if your fingerprint is working. If not, you have to go back to restore the old persist. You won't lose your windvine certification.
 
here is the link teaching you how to back up and restore the persist file via TWRP. Even though it's in chinese, you can translate it to english
 
  • Like
Reactions: neosnow and neron
flash the persist.img. it will fix it

Will fix but i suggest to control EVERYTIME the L1/L3 and if L3 Just act with patch or something to fix it. For fingerpint question i haven't found this problem. Maybe because i do with all phone cleaned without fingerpint registered.
 
Last edited:
  • Like
Reactions: jasper_1999
Will fix but i suggest to control EVERYTIME the L1/L3 and if L3 Just act with patch or something to fix it. For fingerpint question i haven't found this problem. Maybe because i do with all phone cleaned without fingerpint registered.
But I afraid that safetynet will lose again with google detect it again and also I am not sure if flashing persist file is the permanent solution.
 
  • Like
Reactions: neron
Maybe we should asked the MIUI.eu developers to further dig in this problem. I heard many people bumping into this problem after xiaomi.eu 12 update.
Yes tried to restore persist from global rom and still no luck still failing play certification
 
But I afraid that safetynet will lose again with google detect it again and also I am not sure if flashing persist file is the permanent solution.
Is permanent i think. In my mix 3 After do this, phone pass in every rom update.
Persist file img Is present only in fastboot rom. And It Will be replaced only in flash fastboot mode or i think if xiaomi Need to adjust sensors. Ota update or EU flash .zip file not touch persist.img. no Need to be replaced. Also in the persist file there are many certifications file that Will be destoyed if you flash It costantly. So i think no worry about this.
 
Last edited: