[OnePlus 3T Guides, News, & Discussion] kenn03:
THIS IS FOR PEOPLE WHO HAVE TRIGGERED DM-VERITY AND NEEDS TO GET RID OF THE DM-VERITY MESSAGE PERMANENTLY ON OOS OPEN BETA OREO ROMs. CONFIRMED WORKING EVEN IN THE LATEST OOS OREO STABLE 5.0.6/ BETA 30/BETA 39...

THIS IS FOR ONEPLUS 3T AND FOR ONEPLUS 3 but be careful in using the correct files corresponding to the OOS version and your MODEL

READ ALL THE STEPS AND DOWNLOAD ALL REQUIRED FILES BEFORE PROCEEDING. FOLLOW THE STEPS EXACTLY AND 100% THE DM-VERITY MESSAGE WILL BE GONE WITHOUT ANY DATA LOSS OR ANY OTHER HARM!!!

Prerequisite : Install ADB for windows from here: https://xdaforums.com/sho....php?t=2588979

1)

Download 4.0.2 Firmware for Oneplus 3T from here: http://www.mediafire.com/file/cx568e...OnePlus_3T.zip

Download 4.0.2 Firmware for Oneplus 3 from here: http://www.mediafire.com/file/8tt5x4...e_OnePlus3.zip

2) Flash the downloaded 4.0.2 firmware OnePlus 3.zip or 4.0.2 firmware OnePlus 3T.zip file in TWRP.

3) DONT REBOOT TO SYSTEM. REBOOT TO BOOTLOADER FROM OPTION IN TWRP.

4) Connect your phone to the pc

5) Press windows button + X

6) Open Command prompt

7) Type "fastboot oem disable_dm_verity" without quotes and press enter

8) Type "fastboot oem enable_dm_verity" without quotes and press enter

9) DONT REBOOT TO SYSTEM. REBOOT TO TWRP RECOVERY.

10)

In case of Oneplus3T, Flash the required firmware files for Stable or Open Beta OREO OOS corresponding to your current OOS (current OOS is the version of OOS which you are using now on your phone) in TWRP from this post: https://xdaforums.com/one...ta-10-t3631166(Courtesy: [MENTION=4369704]kamilmirza[/MENTION])

In case of Oneplus3, Flash the required firmware files for Stable or Open Beta OREO OOS corresponding to your current OOS (current OOS is the version of OREO OOS which you are using now on your phone) in TWRP from this post: https://xdaforums.com/one...-zips-t3468628 (Courtesy: [MENTION=3068641]jamal2367[/MENTION])

11) DONT REBOOT!!!!

12) VERY IMPORTANT: WITHOUT REBOOTING, Flash the downloaded boot-patched.img file corresponding to the OOS version and phone model(either stable or beta) in TWRP from post 1...

13) Reboot..The DM-verity message is gone forever...

VERY IMPORTANT:

1. If you need to keep your phone un-encrypted flash Force Encryption Disabler For OOS Oreo.zip immediately after step 12 and then only reboot.

2.If you are attempting this method on a a CUSTOM ROM then after Step 12 flash the full CUSTOM ROM zip file + latest gapps again without doing any sort of wipes in TWRP immediately and then only reboot....

Enjoy!!!

FAQs...

Q: Will I lose any data after I do these steps?

A: Never. There will be no data loss or any untoward effects of the procedure. Your data and phone will be in the exact same state as it was a before except for the fact that the damn dirty Dm-Verity message will be gone forever!!!

Q: Will this work on CUSTOM ROMs?

A: Of course. It has been tested to be perfectly working on even CUSTOM ROMs. Just follow the instructions in this post carefully where specific steps for CUSTOM ROMs are mentioned.

Quick question for the op, great work but I'm a little too confused and I need your help :eek:

Right now I'm on Oxygen Os 5.0.6 (no dm verity and unencrypted thanks to the tutorial)

I tried to flashed a custom rom, it went succesfully, but I decided to restore a backup copy of my oos rom

Should I perform these steps again before restoring the backup?

Because when I tried to restore my backup by following this guide, my system partition always ends up corrupted (I tried to restore the backup after the step 12)

I'm scared that if I directly restore the backup, the dm_verity will trigger and the encryption will trigger also ..

TWRP used is the one from blu_spark