[HOW TO][DM-VERITY FIX]Easy and fast method for removing DM-verity screen

siankatabg

Recognized Developer
Sep 9, 2012
1,614
7,659
153
I've just tested a method from the OP3T forum for reset the DM-verity and removing the second(with red colour) screen on booting.
I'm currently on LAOS and I've TWRP, so you don't need to be completely stock for this to work :)

Installation:
For 4.0.2 - Do the steps 4 and 5 and just boot your phone.
For 4.0.3 and up - Do all the steps

1) Boot to Recovery
2) Flash 4.0.2 firmware + modem / FOR OP3 / FOR OP3T
3) Reboot to bootloader
4) Use the commands ( result was Okay for each command)
fastboot oem disable_dm_verity
fastboot oem enable_dm_verity
5) Reboot to Recovery
6) Flash your current firmware + modem
7) Reboot to system

Nothing will be deleted from your storage or something like this, its safe(at least on my device :D )


Credits to @jamal2367 and @djsubterrain for the firmware zips and to @hyperorb for testing and providing the steps :)

All credits for founding the commands to @th3g1z
 
Last edited:

frickinjerms

Senior Member
Sep 14, 2008
715
378
0
33
Victoria, TX
Worked like a charm! Saved a few seconds on my boot time :D
Flashing a custom gapps package, system sound modification zip I've used for years, magisk and blu_spark kernel didn't result in any issues or loops or that message reappearing either. Cool beans!

After curiosity struck, I loaded up the 3.2.8 bootloader into a hex editor and found the blatantly obvious help command. There's lots of fastboot commands in there. Attached a screenshot.
I didn't try them because I don't know what they do, I'd advise you stick with that precaution as well.

(P.S: the 4.0.2 bootloader has the selinux command removed, I downgraded my firmware to test that one out)
 

Attachments

Last edited: