yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T Guides, News, & Discussion] Anghirrim:
Hi Xennet,

Now questions on your Nougat roms thread. :D

I am currently on Stock OOS5 rom, on which I used your other thread to get rid of the dm-verity messsage.

I plan to try a Nougat based rom which has its own firmware included into the zip.

How should I proceed, knowing that I am not sure of the rom base OOS or other?

1. Flash the full rom zip in TWRP

2. Flash any patched boot.img on the top of it

3. Flash the rom zip once again

4. Install gapps when necessary

5. Flash root

Thanks.

PS: This question above is pretty generic. But the rom I want to try out is PA 7.3.1, which is 100% CAF and AOSP based. So this should not trigger dm-verity, right?
[OnePlus 3T Guides, News, & Discussion] psclll:
Is there a release for 5.0?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yah it should not as the kernel should have already patched the check for DM VERITY.
[OnePlus 3T Guides, News, & Discussion] Anghirrim:
Thanks for the answer.

And how about the steps to follow in case of OOS based roms? My list was OK?

Thanks
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yes your list was ok..

For OOS based roms follow the exact steps as in the OP...
[OnePlus 3T Guides, News, & Discussion] paiktaras:
[MENTION=7874870]Xennet[/MENTION]

i want to disable the message for my device ( oos 4.5.1 - twrp 3.2.0-0) If i understand well first off all flashing the Patched Boot Image Stable OOS 4.5.1 and then without boot flashing the rom zip 4.5..1 ? Without wipe ? It is safe for my data etc ?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Once you trigger DM VERITY you have to follow steps in post 2 to get rid off it.
[OnePlus 3T Guides, News, & Discussion] halfbbi:
Hi [MENTION=7874870]Xennet[/MENTION], i have a question before proceeding with the full process described in post 2.. I messed with my oneplus 3t, triggered dm-verity warning and flashed stock recovery in order to access my phone again... maybe it was a newbie error, but as for now i have stock recovery and dm verity triggered! it is safe to fastboot flash twrp for me also if dm verity is triggered and then follow your guide to get rid of it?? thank you!
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yes..
[OnePlus 3T Guides, News, & Discussion] halfbbi:
thank you! I have another stupid question: after flashing twrp is it adviceable that i'll start with the entire procedure without rebooting to system, am I right?

thank you again!
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yup. Just follow the steps in Post 2 step by step exactly...
[OnePlus 3T Guides, News, & Discussion] halfbbi:
It works like a charm.. Thanks Xennet, just thanks! :highfive:
[OnePlus 3T Guides, News, & Discussion] KUPOinyourWINDOW:
I don't understand. So I'm currently on a custom rom (Paranoid Android). I've already triggered DM-verity.

I've downloaded the 4.0.2 firmware version you instruct.

Then I get to step 9 (of the second post).

I can't ", Flash the required firmware files for Stable or Open Beta OOS corresponding to your current OOS" because I'm not running Oxygen OS, I'm on a custom rom. What should I do?
[OnePlus 3T Guides, News, & Discussion] Anghirrim:
Dirty flash PA again. You'll get your firmware back. And as PA is based off AOSP, it shoud not trigger dm-verity.
[OnePlus 3T Guides, News, & Discussion] martmists:
Is it possible to use EDL rather than fastboot?
[OnePlus 3T Guides, News, & Discussion] KUPOinyourWINDOW:
Thank you!
[OnePlus 3T Guides, News, & Discussion] Mr. Y:
When flashing the patched boot image, do I select boot or system image or recovery for partition to flash image?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Select BOOT...It's given in the OP along with the instructions...
[OnePlus 3T Guides, News, & Discussion] sohaibshtf:
after going through this procedure i am unable to flash stock oos recovery, in fastboot commands there's no error but when i tried to boot into recovery its stuck on 1+ logo and same thing happen when i tried to flash it from twrp
[OnePlus 3T Guides, News, & Discussion] Xennet:
The procedure listed in the OP has nothing to do with flashing stock recovery...
[OnePlus 3T Guides, News, & Discussion] coolrahul181:
Thanks OP , Successful get rid from DAM variety warning.
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
So I need to remove the dm-verity error message and re-lock the bootloader on my OP3T, however, after installing an update before Christmas TWRP was lost and the original recovery program runs instead. As the OP only refers to TWRP is this the only way to do it (I.e do I have to somehow reinstall TWRP) or can this be done with the OP3T recovery program? If so, how?

Thanks in advance.
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
Can anyone help with this? Have I explained it correctly?

The update that caused TWRP to cease to be the recovery tool of choice was OOS 5.0 android 8.0.0
[OnePlus 3T Guides, News, & Discussion] Xennet:
Refer the OP and move to the thread for OREO OOS and read instructions there..this thread is for nougat only...
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
Thanks Xennet, I see the Oreo thread now. However, it to refers to TWRP which is no longer available on my device and I don't want it on there. I need to covert the phone back to factory state prior to selling.

I think I don't understand something fundamental but not sure what that thing might be.

Also unclear with regards to encryption?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Go to adb..

Format user data...

Lock the bootloader...

Adb sideload full Oreo ROM zip ...

That should factory reset your phone...

If not get back to me...
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
Thanks again.

Presumably you refer the Oreo ROM zip included on your thread?

I'll look into these steps at the weekend as I've essentially not done it since last year. Any directions/guides appreciated.
[OnePlus 3T Guides, News, & Discussion] Xennet:
No the complete full Oreo ROM zip file...that you can download from the official OnePlus site..
[OnePlus 3T Guides, News, & Discussion] kewlzter:
Hello,

can I safely encrypt my phone via the Settings-Security option after using this?

I think this only affects 'Forced' encryption, not "optional". but my phone is almost perfect, and I'd hate to have to start over because I didn't ask.

thanks!
[OnePlus 3T Guides, News, & Discussion] murti52:
Deleted
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
Hi Xenet,

The format user data step, do you suggest doing this via the recovery tool (the OOS wipe data and cache option) or this there an ADB command for doing this/is this better? If so how? I cannot find a guide that works and have tried the mfastboot devices-w with no luck. Any suggestions?
[OnePlus 3T Guides, News, & Discussion] bipinbedi:
Fingerprint hardware not found error

Hi, I am using OOS 4.5.1 with dorimax kernel and I performed the steps given in 2nd post, everything worked fine but now I get fingerprint hardware not found error out of nowhere.

Any help on this guys and OP [MENTION=7874870]Xennet[/MENTION]
[OnePlus 3T Guides, News, & Discussion] Xennet:
The instructions has nothing to do with the fingerprint hardware...I myself have tested it a hundred times each time after updating the OOS..

Make sure you have flashed the corresponding firmware for your OOS 4.5.1 in the steps in post 2 before booting back to OOS..

If you still have the error I would recommend you to dirty flash the entire 4.5.1 ROM and then reboot to system and check for the error..you will lose nothing if you dirty flash..
[OnePlus 3T Guides, News, & Discussion] bipinbedi:
Thanks I will give it s try
[OnePlus 3T Guides, News, & Discussion] Greedyfly:
The format user data step...any help here?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Install adb on your PC...

First of all Backup your data for later restore. You will lose your data following this procedure..

1. Go to Bootloader...

2. Connect to your PC..Type "fastboot format userdata" without quotes and press enter. (You will lose your data, do back up if you need something.)
[OnePlus 3T Guides, News, & Discussion] amkiller:
edit: wrong thread, ignore!
[OnePlus 3T Guides, News, & Discussion] Xennet:
Written clearly in the OP that this thread is for nougat based ROMs...

Follow the link in the OP to the thread for OREO based ROMs...
[OnePlus 3T Guides, News, & Discussion] amkiller:
Oops sorry, I replied to the wrong thread. I'll move my post to the other thread.
[OnePlus 3T Guides, News, & Discussion] virousmedo:
do i need to flash any zip file for Force Encryption Disabler like oreo or the boot img is enough ?
[OnePlus 3T Guides, News, & Discussion] alienmerluche:
DM Verity issue with Oneplus OxygenOS 5.0.6

Hi guys,

Seems like I have triggered the DM verity error on my phone - I can't boot it again. Can you help?

Thanks
[OnePlus 3T Guides, News, & Discussion] redpoint73:
Can we help? With the lack of info provided, not really.

We need more info, to help. Why does it "seem" like you triggered DM verify? What did you do to the device to trigger it?

I know you're new to the forum. General word of advice: When asking for help, provide as much info and detail as possible. Posting a sentence of 2 is never enough. Describe what actions or events led to the current problem. Any solutions you tried to fix it, etc. Include all version numbers of file names of files you tried to flash.
[OnePlus 3T Guides, News, & Discussion] alienmerluche:
Hi,

Sorry the for the lack of detail.

I didn't do anything to the phone. It is not even rooted. The issues stated 3 months ago with an audio issue - I couldn't make or receive a call without the phone going to a boot loop. Then this stopped, I can now make calls but the DM verity issue started. The phone randomly stops or freezes and I've got the DM verity error message when I start it.

Hope you can help!

Thanks
[OnePlus 3T Guides, News, & Discussion] redpoint73:
A stock (not rooted) device suddenly having DM-verity and other issues, to me suggests some part of the operating system has been damaged or corrupt. Any changes to the OS will trip DM-verity, including corruption. Which may also explain your audio/call issues.

My suggestion would be to flash the stock recovery image using the process on the OnePlus website: https://downloads.oneplus.com/oneplus-3t/oneplus_3t_oxygenos_5.0/

Note that the "Download" link goes to an older version number (not sure why). But if you click "View other versions" it will link you to the latest v5.0.6, also here: https://downloads.oneplus.com/devices/oneplus-3t/

Doing this will restore your device to the stock OS, which will hopefully fix DM-verity, as well as maybe even your audio issues.
[OnePlus 3T Guides, News, & Discussion] ggkameleon:
Hi ! I have a question because don't understand all.

My op3 run on the last oos 5.0.7 with Twrp 3.2.3-1 and magisk 17.1 is encrypted.

They had few month (August have the dialer crash and mic doesn't work and audio jack)

I have unbrick it 2 times for comes stock the phone work 2 weeks but always this dialer mistake comes ?

I have test for flash the boot for dm- verity and after dirty flash oos 5.0.7 and flash boot img when I want reboot to recovery no os installed and white led !?

For apply the dm-verity boot img do clean flash oos ?

I don't know why but with oreo I have always this mistake of dialer ? I have make a nandroid of stock oos 5.0.7 after unbrick if I restore it and restart loose Twrp and comes to stock recovery.

If someone can help me :crying:
[OnePlus 3T Guides, News, & Discussion] redpoint73:
There is a lot going on with this post, not related to DM-verity. So I don't really feel this is the right place for some of these questions.

What I can answer, is below in red font.
[OnePlus 3T Guides, News, & Discussion] ggkameleon:
Hi ! thank you. Sorry for post it's because I see another guys have same mistake with dialer. And I have post on many forum but never resolve my problems :confused:

Have a good day.
[OnePlus 3T Guides, News, & Discussion] sparky vicky:
Thank you leme see.
[OnePlus 3T Guides, News, & Discussion] chazarss:
with 2. way Dm-verity is gone thanx but Encryption error message is still there ?

is it ok or this way only fixes dm-verity ?
[OnePlus 3T Guides, News, & Discussion] aieromon:
Works well after flashing patch boot image on top of OOS 8 beta for use on Phoenix AOSP Extended ROM.

Cheers mate!!!
[OnePlus 3T Guides, News, & Discussion] Xennet:
What is the message being shown?

What model phone and OOS you use?
[OnePlus 3T Guides, News, & Discussion] chazarss:
3T - 4.1.6

Here is my last issue, may we get ride of this
[OnePlus 3T Guides, News, & Discussion] Xennet:
This is the bootloader unlocked message..

It is present in every oneplus 3 / 3T phone ever unlocked by anyone in this world...

No one has found a solution to get rid of this message..

I have it my phone too..

May be onedayy... Then I may be able to help you...
[OnePlus 3T Guides, News, & Discussion] chazarss:
Thanx dude you are great, so this is why i couldnt succed to get rid of that screen after 100 try :D:D:D:D:D:D:D:D
[OnePlus 3T Guides, News, & Discussion] prorokrak:
That was super quick response. I was hesitating if asking for this would not be too daring but now I am happy that I tried. Very nice from you to help us, ordinary people without too much technical knowledge, by using your skills. It is very appreciated.

I am looking forward to trying this out. I believe it will solve my difficulties.
[OnePlus 3T Guides, News, & Discussion] Playa82:
Hi, i have a dumb question. Im on stock OOS 4.1.6 atm (never rooted or unlocked it since i got it with OOS 3.1.2) and i want to install a custom rom. If i do this, do i get the dm warning too ?
[OnePlus 3T Guides, News, & Discussion] Xennet:
That depends on the way you go about installing the custom ROM.

After unlocking you will get the unlocked message which at present there is no way to make go

Then after installing twrp and you go to twrp for the first time it will present you an option to swipe to make changes to system...

Once you swipe you will trigger DM Verity after you reboot

To not trigger DM Verity after rebooting you can flash the patched boot image immediately in twrp after swiping to make system changes... Now you are safe..then you can go about installing your custom rom..

If any trouble get back..
[OnePlus 3T Guides, News, & Discussion] chazarss:
after fixed Dm-verity, now magisk cant pass safetyNet check, are these related things ?
[OnePlus 3T Guides, News, & Discussion] Xennet:
SAFETYNET HAS BEEN UPDATED BY GOOGLE

To those of you who are experiencing the CTS Profile Mismatch error in Safetynet, it is because Google has updated Safetynet, nothing to do with DM VERITY AND NONSENSE. Please see the following topic:

https://xdaforums.com/apps/magisk/advisory-safetynet-to-updated-t3621403

Solution according to that topic is to disable all modules by check marking Magisk Core Only Mode in Magisk Settings.
[OnePlus 3T Guides, News, & Discussion] JasePK:
May be a dumb question, but I'm on 4.1.1 currently. If I wanted to use this, would I have to update to OB8/4.1.5/4.1.6 first, or could I simply replace the boot.img in the zips with their respective altered boot.img from this thread and then flash the entire ROM? I've already done the dm-verity fix, and I wanna update, but I don't want to risk all my data getting encrypted again.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Go to twrp

Flash the entire zip of your choice either beta or stable OOS

Then without restarting flash the corresponding boot IMG immediately after that in twrp by selecting to flash image file instead of zip file and select the boot partition when asked for.

Then reboot.

All good to go...

By the way replacing the boot.img file inside the zip file with the corresponding patched boot IMG file should also work but why taking pain in extracting and repacking... Just try the method described above and is very easy and I recommend it rather than tampering with the already signed zip file...
[OnePlus 3T Guides, News, & Discussion] Xennet:
Flashing DM-verity encrypt zip doesn't seem to work for everyone.. and it has resulted in problems for some..

The verity zip has been released long back. Don't know whether it works on newer OOS.

The patched boot images are 100% stock by manually patching only the required areas in each boot images and so it's 100% working...

Please don't create confusion here in this thread..
[OnePlus 3T Guides, News, & Discussion] jkbdroid:
For your information I triggered dm-verity verity by using the DM-verity zip file after flashing the the rom then I used method in this thread to get back.

So it does not work for everyone. Why I don't know.

But the patched boot img from thus thread never gave a problem for me in oos 4.15 and 4.1.6
[OnePlus 3T Guides, News, & Discussion] Kyrluckechuck:
Ah, alright, apologies.

Seems to work well for everyone over in the other thread (working on 4.1.X), but I'll leave it at that then :)
[OnePlus 3T Guides, News, & Discussion] Xennet:
No need for apologies..

It's alright..

Already a method is mentioned in the OP, and mentioning an other method (whether it works or not) creates confusion. That's all..
[OnePlus 3T Guides, News, & Discussion] Stephen:
Moderator Information,

Thread has been cleaned at OP's request.
[OnePlus 3T Guides, News, & Discussion] Xennet:
The downloads have been soaring high...

For both oneplus 3 and 3T...

Thank you all..
[OnePlus 3T Guides, News, & Discussion] sajith127:
This is the best method so far...... Thanks man, you are a lifesaver.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Wait...

Will put up the links for the patched boot images for Open Beta 18 and 9 for oneplus 3 and 3T today....
[OnePlus 3T Guides, News, & Discussion] Xennet:
Update Released!!!

OP Updated with download links of Patched BOOT Images OOS Open Beta 18 and Open Beta 9 for OnePlus 3 and 3T...

Flash and Enjoy!!!
[OnePlus 3T Guides, News, & Discussion] ML_Outlaw:
can this be flashed via fastboot as well ?

I have not TWRP on my phone yet but will soon
[OnePlus 3T Guides, News, & Discussion] MoHed:
Working

Confirm working here too. Thank you.:D:D

But I lost SuperSu and had to reflash it from TWRP.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yes of course...
[OnePlus 3T Guides, News, & Discussion] patster98:
This eill only work with oos wont it? If i am using a custom rom, when flashing the patched boot image will i screw things up? (The rom is aospa based, not oos based)
[OnePlus 3T Guides, News, & Discussion] Xennet:
It should work...

Flash the patched boot image of the corresponding OOS stable or beta version...

Reported working here...

https://xdaforums.com/oneplus-3t/ho...rce-encryption-disabled-t3618232/post72658609

Do confirm after flashing...

Should do no harm..
[OnePlus 3T Guides, News, & Discussion] Anudeeproyal:
Thanks dude,It work's perfectly ?
[OnePlus 3T Guides, News, & Discussion] Pein01:
Hey .

I got a question .

My phone is still encrypted after triggering dm-verity.

The dm-verity is gone . But i cant do anything in twrp .

Any idea how to get IT decrypted without loosing my data ?

Btw i used this guide to get rid of dm-verity
[OnePlus 3T Guides, News, & Discussion] Xennet:
At present if your data is encrypted you should type in the password at the twrp screen to get the data block accessed.

If you can't get the password correct in twrp ...

I am sorry to tell that the only way is to do a factory wipe and reset... No other way around...

Other cumbersome method is to backup data to your computer using adb and then use fastboot to format user data to decrypt the phone. Then transfer back the backup..

The patched boot image once flashed will prevent your data from getting encrypted again if you had already decrypted it...It will not however decrypt the data if it encrypted in the first place..It just prevents the data getting encrypted again which happens when you flash a OOS Stable/Beta ROM ZIP in TWRP and reboot...

By the way why can't you get into twrp?
[OnePlus 3T Guides, News, & Discussion] Pein01:
IT want a password .

And i dont have that .

I happend after upgrading to 4.1.6 plus the dm-verity.

I was afraid that i had to factory reset it .

Thanks for the response Thomas
[OnePlus 3T Guides, News, & Discussion] Xennet:
Type the password you use at the lockscreen of android..
[OnePlus 3T Guides, News, & Discussion] Pein01:
Tried not working
[OnePlus 3T Guides, News, & Discussion] Xennet:
Did you ever change your android password..

If so try the FIRST password you used to lock your phone when you opened in for the first time out of the box..

If still not working only way is to factory reset...
[OnePlus 3T Guides, News, & Discussion] patster98:
Shouldnt erase any data should it? Just flash rom then bootimage and reboot? Or should i use method 2?
[OnePlus 3T Guides, News, & Discussion] Xennet:
No erasing data needed...
[OnePlus 3T Guides, News, & Discussion] equlizer:
I already have 4.1.6 OOS installed. Wont method 2 get rid of all my stuff or do i have to worry about that?
[OnePlus 3T Guides, News, & Discussion] Xennet:
The method 2 will not affect your data

There will not be any data loss or any other effects..
[OnePlus 3T Guides, News, & Discussion] delacuestajs:
Hello friends!

Already tried all the available methods but was unsuccesfull.

I have an A3000 device.

This method works well with the A3000 model?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yes...It works..on oneplus 3 model..A3000
[OnePlus 3T Guides, News, & Discussion] Aksbot:
Hi OP,

Hope you'll keep updating this thread when newer OOS versions come out.

Thank you.
[OnePlus 3T Guides, News, & Discussion] arachniac1:
Im a bit of a noob and just want to clarify something about the correct files for method 2 (already triggered DM-Verity)... Following these directions (I have a OP3T) :

"10) In case of Oneplus3T, Flash the latest 4.1.6 or Open Beta 8 Firmware in TWRP from this post:

11) DONT REBOOT!!!!

10) 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..."

Whats confusing me is it says in#10 to " flash lastest open beta 8 firmware.."

Then in step 10 (12?) it states

" Flash the downloaded boot-patched.img file corresponding to the OOS version and phone model(either stable or beta) in TWRP from post 1..."

Well it post 1, the boot-patched.img is for Open Beta 9. So, should I be flashing open beta 8 firmware, and then the open beta 9 boot-patched.img? Or Open beta 9 firmware??

Thanks!
[OnePlus 3T Guides, News, & Discussion] Xennet:
Ok got it...

At the time of writing the steps the latest firmware files were of 4.1.6 and open beta 8 so it was written like that.

Later open beta 9 was released.

If you are on open beta 9 do flash open beta 9 firmware and then patched boot IMG of open beta 9. Not firmware of open beta 8.

The instructions in the post 2 is corrected...
[OnePlus 3T Guides, News, & Discussion] arachniac1:
Ok, thats what I thought, but wanted to double check since getting the right files are so important!

Thanks! Now to get rid of that damn dm warning!
[OnePlus 3T Guides, News, & Discussion] manishsoni7689:
I am at stable oos 4.1.6 Op3, I am already getting dm-verity notification. Should I follow just the steps in post #1 or all steps in post #2?
[OnePlus 3T Guides, News, & Discussion] Xennet:
As you already have the DM verity notification follow all the steps in post 2...

And after you get rid of the message next time onwards while flashing new builds follow the steps in post 1...
[OnePlus 3T Guides, News, & Discussion] manishsoni7689:
Just found this and it worked perfectly on OOS 4.1.6 on my Op3. It was just a zip to flash. I don't know what it has done to my phone but everything is fine and dm-verity is no more.

https://xdaforums.com/showthread.php?t=3544339
[OnePlus 3T Guides, News, & Discussion] Xennet:
The zip flashes an older firmware on your phone..

It needs no telling that flashing an old firmware on a newer phone os has problems...

Be comfortable on what suits you.

But it's just a bad way of using an older firmware version on a newer os...