If you already have Team Win Recovery Project (TWRP) or another custom recovery installed on your M31, you can flash the raw image file directly from your phone.
For the Galaxy M31, which runs on a Samsung Exynos 9611 chipset, this verification is particularly strict. Disabling or modifying the vbmeta partition is therefore a mandatory prerequisite for flashing any unsigned software, including TWRP and custom ROMs like /e/OS or crDroid. vbmeta samsung m31
Boot back into Download Mode, flash the vbmeta.tar file again, and immediately boot into your recovery to perform a Format Data (typing "yes" in TWRP) to clear out system encryption. If you already have Team Win Recovery Project