Your phone should now boot past the scary yellow letters and into the familiar Samsung One UI interface. Keep this guide bookmarked – because if you continue modding Android, dm-verity will eventually return. But now, you know exactly how to defeat it.

Custom binary blocked by dm-verity Or: dm-verity verification failed... Enter password for encryption (when data is corrupted)

Try these non-invasive steps first to see if the error clears. Fixing DM-Verity Corruption On Your Redmi 9 - Ftp