Skip to content

Instantly share code, notes, and snippets.

@yordanoweb
Created March 3, 2026 15:54
Show Gist options
  • Select an option

  • Save yordanoweb/e33886a121ba190bb58ea6b0199a0c8c to your computer and use it in GitHub Desktop.

Select an option

Save yordanoweb/e33886a121ba190bb58ea6b0199a0c8c to your computer and use it in GitHub Desktop.
Fix DM Verity Error

Fix DM Verity Error

Not for all phones, but some Redmi.

Requirements

  • Linux (Debian, Ubuntu, ArchLinux, etc...).
  • The package android-tools or Linux distribution equivalent.

Steps

  1. Power off the phone.
  2. Connect via USB to the computer or laptop.
  3. Power on the phone pressing volume down and power. Hold them until "FASTBOOT" appears.
  4. Type from command line the commands:
fastboot oem cdms fix
fastboot reboot
  1. Power off and power on the phone.

IT MUST START NORMALLY NOW!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment