Play Protect certification didn't pass on Mi 10


sutt359

Members
Feb 12, 2016
30
20
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
 

neosnow

Members
Jun 30, 2020
27
15
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 ?
 

davezme

Members
Jan 5, 2019
41
20
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
 

Nedk-off

Members
Jun 18, 2020
76
20
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.
 

jasper_1999

Members
Jun 26, 2020
80
30
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?
 

Nedk-off

Members
Jun 18, 2020
76
20
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.
 

davezme

Members
Jan 5, 2019
41
20
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
 

jasper_1999

Members
Jun 26, 2020
80
30
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!
 

jasper_1999

Members
Jun 26, 2020
80
30
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.
 

jasper_1999

Members
Jun 26, 2020
80
30
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.
 

jasper_1999

Members
Jun 26, 2020
80
30
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

davezme

Members
Jan 5, 2019
41
20
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

jasper_1999

Members
Jun 26, 2020
80
30
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

neron

Members
May 18, 2016
95
20
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
 

davezme

Members
Jan 5, 2019
41
20
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: