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

ATP4

Senior Member
May 5, 2008
356
349
93
France
I flashed this and it removed dm-verity screen no need for PC at all. did it once and forgot it :good: have since flashed OOS based LOS and Aosp/caf Roms changed FW's, audiomods, Kernels you name it and nothing has brought back that DM (red text) screen. Anything short of a "Official" OOS zip flash from 1+ should not change it back. forgot who made it or where i found it (telegram maybe... Idk) what it does is replaces your emmc_appsboot.mbn with a clean no verity somethingorother lol. It just works thats what I know for sure


Sent from my Galaxy S7 using XDA Labs
Thank you @partridge79, it worked very well.
 
  • Like
Reactions: lanIlan

L22EEW

Senior Member
Mar 13, 2008
1,130
244
93
Wales
www.facebook.com
I flashed this and it removed dm-verity screen no need for PC at all. did it once and forgot it :good: have since flashed OOS based LOS and Aosp/caf Roms changed FW's, audiomods, Kernels you name it and nothing has brought back that DM (red text) screen. Anything short of a "Official" OOS zip flash from 1+ should not change it back. forgot who made it or where i found it (telegram maybe... Idk) what it does is replaces your emmc_appsboot.mbn with a clean no verity somethingorother lol. It just works thats what I know for sure


Sent from my Galaxy S7 using XDA Labs
+1 this worked for me
 

dasacom

Senior Member
Jul 29, 2007
155
23
0
Hi at all,
i also used the ZIP. Worked fine. Thanks.

Is there a disadvantage with the old bootloader?
Thanks for your help.

Edit: a second question:
When we flash a New Rom or an update, will this change the bootloader?
 
Last edited:

partridge79

Senior Member
May 25, 2015
820
352
93
41
Gardner
Hi at all,
i also used the ZIP. Worked fine. Thanks.

Is there a disadvantage with the old bootloader?
Thanks for your help.

Edit: a second question:
When we flash a New Rom or an update, will this change the bootloader?
This will hold until you flash a bootloader (i.e. OOS official) or the likes. Updating LOs or DU, RR etc. Your all set
Edit. Experience, Freedom, AccentOS (OOS based) will also NOT overwrite so your good there too. Worst case just reflash the zip done :good:
 
  • Like
Reactions: badtzo and dasacom

TNSMANI

Forum Moderator
Staff member
Jan 8, 2014
4,385
3,598
243
Chennai
I flashed this and it removed dm-verity screen no need for PC at all. did it once and forgot it :good: have since flashed OOS based LOS and Aosp/caf Roms changed FW's, audiomods, Kernels you name it and nothing has brought back that DM (red text) screen. Anything short of a "Official" OOS zip flash from 1+ should not change it back. forgot who made it or where i found it (telegram maybe... Idk) what it does is replaces your emmc_appsboot.mbn with a clean no verity somethingorother lol. It just works thats what I know for sure


Sent from my Galaxy S7 using XDA Labs
Thanks. I can confirm that this works for my setup also.
 

Ashish.akc

Senior Member
Feb 9, 2013
426
72
0
25
Jaipur
I used the zip provided a few posts earlier and it does remove the dm verity warning. But i get the red warning everytime i flash rom.
I did not had any dm verity warning earlier untill​ I relocked my bootloader a couple of days back and then unlocked it again. Used OB 17 while the bootloader was locked. Few points i noticed:
1. Just after i unlocked bootloader,and rebooted, there was the dm verity red warning (I'll call it RW for this post).
2. Flashed twrp v35 from eng.stk kernel thread and again there was RW. Flashed the zip... Ok gone.
3. Flashed FOS 2.10>Blu_spark kernel>reboot. The RW was again there. Again flashed the zip. It's again good now.
4. Dirty flashed FOS again>same kernel>reboot. Again that ****ing RW. Didnt flashed the zip thus time instead posting here.

I read that it is supposed to not come again after flashing the zip but with me it's there everytime.
If it counts i must also tell, i had flashed only sultan's nougat build the first time i had unlocked the bootloader and flashing it required OB16 firmware(if that has anything to do with it). I had no RWs there at all. And i was using oos 4.1.3 the moment i had unlocked the bootloader the first-time (again if this thing counts). Used twrp v24 or 25 or 26 (dont exactly remember) the first time i had unlocked bootloader if twrp has something to do with it.

UPDATE:1
i followed the OP method and it did went good. thank you @siankatabg. you have been like robinhood for me with this device:eek: . no RW anymore. will flash FOS again. will update the post again to verify the results this time.

meantime if anyone reads this, can you please tell what are the tasks that could possibly trigger the RW again so i better either be mentally prepared or avoid it if i can

Update:2
Clean flashing of FOS 2.10 went good without any RW. Hope i never see that again.:rolleyes:
 
Last edited:

Teenzak

Member
May 31, 2017
7
4
0
I used the zip provided a few posts earlier and it does remove the dm verity warning. But i get the red warning everytime i flash rom.
I did not had any dm verity warning earlier untill​ I relocked my bootloader a couple of days back and then unlocked it again. Used OB 17 while the bootloader was locked. Few points i noticed:
1. Just after i unlocked bootloader,and rebooted, there was the dm verity red warning (I'll call it RW for this post).
2. Flashed twrp v35 from eng.stk kernel thread and again there was RW. Flashed the zip... Ok gone.
3. Flashed FOS 2.10>Blu_spark kernel>reboot. The RW was again there. Again flashed the zip. It's again good now.
4. Dirty flashed FOS again>same kernel>reboot. Again that ****ing RW. Didnt flashed the zip thus time instead posting here.

I read that it is supposed to not come again after flashing the zip but with me it's there everytime.
If it counts i must also tell, i had flashed only sultan's nougat build the first time i had unlocked the bootloader and flashing it required OB16 firmware(if that has anything to do with it). I had no RWs there at all. And i was using oos 4.1.3 the moment i had unlocked the bootloader the first-time (again if this thing counts). Used twrp v24 or 25 or 26 (dont exactly remember) the first time i had unlocked bootloader if twrp has something to do with it.

UPDATE:1
i followed the OP method and it did went good. thank you @siankatabg. you have been like robinhood for me with this device:eek: . no RW anymore. will flash FOS again. will update the post again to verify the results this time.

meantime if anyone reads this, can you please tell what are the tasks that could possibly trigger the RW again so i better either be mentally prepared or avoid it if i can

Update:2
Clean flashing of FOS 2.10 went good without any RW. Hope i never see that again.:rolleyes:
Each time I flash a ROM whether custom or OFFICIAL STOCK ROM I follow the method given in this thread https://forum.xda-developers.com/oneplus-3t/how-to/rom-dm-verity-force-encryption-disabled-t3618232 and flash the patched the boot images from there so that I never trigger dm-verity ever again.
The boot images have been patched to remove dm-verity and forced encryption and is 100% stock. And the dev there updates for every version.

By the way I think the zip file that is used here replaces an old firmware file which may have some implications on the usage.
So using the patched boot image file would be a far better option in long run than using a old firmware file..and also it works with every ROM even the STOCK OOS ROMs
 
Last edited:
  • Like
Reactions: zdenex

manishsoni7689

Senior Member
Nov 1, 2015
268
52
0
Pune
I flashed this and it removed dm-verity screen no need for PC at all. did it once and forgot it :good: have since flashed OOS based LOS and Aosp/caf Roms changed FW's, audiomods, Kernels you name it and nothing has brought back that DM (red text) screen. Anything short of a "Official" OOS zip flash from 1+ should not change it back. forgot who made it or where i found it (telegram maybe... Idk) what it does is replaces your emmc_appsboot.mbn with a clean no verity somethingorother lol. It just works thats what I know for sure


it worked for me also on oos 4.1.6 op3, but I doubt this zip file flashes the older firmware. When I flashed 4.1.6 firmware+modem zip, dm-verity warning appeared again. So it's just of no use.
 

Cainnub

Member
Apr 18, 2017
44
2
0
I flashed this and it removed dm-verity screen no need for PC at all. did it once and forgot it :good: have since flashed OOS based LOS and Aosp/caf Roms changed FW's, audiomods, Kernels you name it and nothing has brought back that DM (red text) screen. Anything short of a "Official" OOS zip flash from 1+ should not change it back. forgot who made it or where i found it (telegram maybe... Idk) what it does is replaces your emmc_appsboot.mbn with a clean no verity somethingorother lol. It just works thats what I know for sure
I flashed it but now im asked to give a password to start Android and its not my screencode. What password is it asking for?
 

Schwaka

Member
Sep 6, 2011
16
8
0
Sorry for the same reply on various threads, just trying to get this info around.

Here's an updated solution I found at https://forums.oneplus.net/threads/get-rid-of-dm-verity-warning-at-boot.513115/ . Copy and paste the following into a command prompt while booted into your system. Nothing was deleted or altered for me. I'm running FreedomOS CE with the latest TWRP for recovery, so stock is not necessary.

adb reboot "dm-verity enforcing"
 

mit2nil

Senior Member
Dec 25, 2014
51
4
0
Los Angeles
I think I am the only one who is still stuck on OOS 4.0.1. Based on my quick read of the thread, it seems like I should be able to disable dm_verity message simply by firing command "fastboot oem enable_dm_verity" (irony :p).

Has anyone tried on OOS 4.0.1? I am rooted with superSU v2.82 and OP3 official twrp 3.0.3-0.

Just want to make sure that my assumptions are correct before I try myself.
 

drmuruga

Senior Member
Oct 9, 2015
962
241
0
sivakasi
Sorry for the same reply on various threads, just trying to get this info around.

Here's an updated solution I found at https://forums.oneplus.net/threads/get-rid-of-dm-verity-warning-at-boot.513115/ . Copy and paste the following into a command prompt while booted into your system. Nothing was deleted or altered for me. I'm running FreedomOS CE with the latest TWRP for recovery, so stock is not necessary.

adb reboot "dm-verity enforcing"
From where do I give this command ? In system or in twrp. ? Device not recognized while booting . when I gave this command in system nothing is changed. Please give me details.
 

Renosh

Senior Member
Aug 2, 2014
1,525
860
0
I think I am the only one who is still stuck on OOS 4.0.1. Based on my quick read of the thread, it seems like I should be able to disable dm_verity message simply by firing command "fastboot oem enable_dm_verity" (irony :p).

Has anyone tried on OOS 4.0.1? I am rooted with superSU v2.82 and OP3 official twrp 3.0.3-0.

Just want to make sure that my assumptions are correct before I try myself.
If you're on 4.0.1 you can just run the commands in the first post and it will disable dm verity then you can upgrade to newer builds and it shouldn't bring the message
 

info2shail2010

Senior Member
Apr 10, 2013
183
20
0
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
Sorry for the noob Question but a little help would be appretiated ..
Q1 : How to flash firmware + modem...in TWRP simply by pressing install ?
Q2: After Doing all steps from 1 to 5 (from step 6) how to Flash my current firmware + modem .......i mean.......... i am on Open Beta 20 on Oneplus 3 and on Oneplus Site only available full 1.45 GB full ROM... do i need to flash full rom to upgrade to latest firmware and modem ???