Try these non-invasive steps first to see if the error clears. Fixing DM-Verity Corruption On Your Redmi 9 - Ftp
is a security warning indicating that the device's boot partition or system files have been modified or corrupted. This often occurs after an interrupted software update, a failed rooting attempt, or the installation of custom firmware. Solutions to Fix the Error An Introduction to dm-verity on Android | Kynetics g532f dm-verity verification failed fix