yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T Guides, News, & Discussion] Xennet:
Ok Guys...

Was busy. Sorry for the delay. Just uploaded the patched boot image for Oneplus 3 stable OOS 5.0.7

Oneplus 3 --> Download (md5 - 3DDC9D436103474A0082242C96D201B5)

My last post has also been updated with this upload link....

Force_Encryption_Disabler_For_OOS_Oreo.zip v2.zip will work well these stable updates too...

OP Updated Accordingly...

A request....

From now on, if at all oneplus releases any updates do post the direct download links of the full ROMs of both Oneplus 3 and 3T in this post.

That would avoid delay from my part in accessing vpn and capturing the link via logcat...

Ok Guys...

Happy Flashing....

NB: If you like my work Donations are always welcome....
[OnePlus 3T Guides, News, & Discussion] stevenhsl:
Thanks Again Xennet!
[OnePlus 3T Guides, News, & Discussion] giovanniro98:
[MENTION=7874870]Xennet[/MENTION]

Full ROM zips

Oneplus 3T 5.0.8 : https://otafsg.h2os.com/patch/amazo...n_28_OTA_070_all_1812060053_d75f3be1db2be.zip

Oneplus 3 5.0.8 : https://otafsg.h2os.com/patch/amazo...ygen_16_OTA_070_all_1812060053_11297c57b7.zip
[OnePlus 3T Guides, News, & Discussion] Xennet:
First of all thanks [MENTION=5778401]giovanniro98[/MENTION] for the direct links....

As usual Oneplus does it again... probably a ruined update followed by another one....Kudoos Oneplus....

Getting to business...

Here are the download links to the patched boot images for Stable OOS 5.0.8 for OnePlus 3T / 3....

Oneplus 3T --> Download (md5 - 3A81E01E5799A9C9E1740311F91CF0D4)

Oneplus 3 --> Download (md5 - 00D3C6D01202275C9AD3F83D4E846C21)

Force_Encryption_Disabler_For_OOS_Oreo.zip v2.zip will work well these stable updates too...

OP Updated Accordingly...

Ok Guys...

Happy Flashing....

NB: If you like my work Donations are always welcome....
[OnePlus 3T Guides, News, & Discussion] stevenhsl:
Thanks for your speedy upload! Appreciate it. ♥️
[OnePlus 3T Guides, News, & Discussion] Anghirrim:
Hello,

After a RMA, I got my phone back with a locked bootloader and under OOS.

I am currently unlocked and want to flash TWRP again.

Just to make sure, I can flash TWRP, reboot directly under recovery and flash the patched boot.img. Right?

This will avoid triggering dm-verity message or am I screwed because I already booted the OOS system?

It's not a big deal but just want to know if I'll have to get through the 4.0.2 firmware thing again.

Thanks
[OnePlus 3T Guides, News, & Discussion] Xennet:
That should literally be enough as you have not already triggered the dm Verity ...
[OnePlus 3T Guides, News, & Discussion] Anghirrim:
It worked perfectly. Thanks! [MENTION=7874870]Xennet[/MENTION]
[OnePlus 3T Guides, News, & Discussion] Warm​Color:
I can't tell how thankful I was, with your guide, finally, I made it, thank you very much
[OnePlus 3T Guides, News, & Discussion] Mindfreak14:
Guys please help ... require some expert guidance so that I don't mess up my 3T.

I'm on open beta 22 oreo 8.0 OOS ROM -- with bootloader unlocked, magisk & TWRP blu spark. Device shows it's encrypted.

So when i flash a custom Pie ROM like SkyDragon, what process should i'll have to follow to flash the ROM successfully without the dm-verity trigger?

Will I have disable it from fastboot, if yes will that also format the entire device including internal storage. So how do I place the custom ROM zip again in the device?

Can someone please help with the steps, as the i'm confused about in which scenario i fit in & what exact steps to follow from the "Disable [DM-Verity]" page.

Thanks in advance.
[OnePlus 3T Guides, News, & Discussion] BonnyBedlamBoy:
are there still open beta releases after official 5.0.8 oos?
[OnePlus 3T Guides, News, & Discussion] Rodrigosdw:
i kinda have similar question, im coming from 5.0.8 stock, make all the steps from OP now i have Pie 9.0 skydragon but the phone its encripted again, how can i decripted and stay in skydragon 9.0?
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Dm-verity is only an issue for OOS. It's not a problem in custom ROMs.
[OnePlus 3T Guides, News, & Discussion] Rodrigosdw:
so why TWRP is asking me to

"Mount

Decrypt Data

ENTER PASSWORD"

??
[OnePlus 3T Guides, News, & Discussion] BillGoss:
That's not a dm-verity issue. TWRP is saying your data partition is encrypted and it's asking for the password.

Also, make sure you're using the "update2" version of TWRP (aka fix 3; it correctly handles decryption and formatting f2fs) found in this post: https://xdaforums.com/oneplus-3/one...ial-twrp-touch-recovery-t3742894/post78332159
[OnePlus 3T Guides, News, & Discussion] pooya2ir:
hi guys

please help me

i do as your commands and finaly my oneplus 3t is decrypted !

BUT still i cant write anything into system/data , like installing dual multi rom !

what i must to do ?
[OnePlus 3T Guides, News, & Discussion] Shreeram02:
I didn't understand ????

The thing is I'm getting op3t tommorow I want to flash roms as soon as I get it as again decrypting is a pain as I would sell this phone I have and I don't have anything to backup(I don't have a pc)

Soo what are the steps to follow?
[OnePlus 3T Guides, News, & Discussion] Dinesh6252:
i am currently on 5.0.4 and had used this method to disable the message successfully. now i want to update to 5.0.8 and will be rooting it. what should be the correct steps to follow?reply me asap
[OnePlus 3T Guides, News, & Discussion] Paschfire:
By simply following the instructions given within the OP section, all the necessary information is provided there.
[OnePlus 3T Guides, News, & Discussion] anttaz:
Will you do same for Pie beta as it requires locked bootloader atm
[OnePlus 3T Guides, News, & Discussion] Xennet:
Now it's in a leaked closed beta state...

Once it's released will definitely look into it...
[OnePlus 3T Guides, News, & Discussion] rrusl1:
If we'll ask you kindly , will u try to make it for leaked vers.?
[OnePlus 3T Guides, News, & Discussion] Paschfire:
Asking kindly has nothing to do with it, the answer is still no.

When OOS Pie 9 is officially released for the 3/3T and only then.
[OnePlus 3T Guides, News, & Discussion] rrusl1:
I cant understand why?! What is the problem?
[OnePlus 3T Guides, News, & Discussion] Paschfire:
1. BECAUSE... The OP stated so.

2. It's a leaked OS with no Official support, no available source code or blobs. Likely no mainstream developer will blind build anything with a leaked OS version.
[OnePlus 3T Guides, News, & Discussion] rrusl1:
...:eek:...
[OnePlus 3T Guides, News, & Discussion] Rodger_Rulez:
Waiting for modded kernel! Finally! [MENTION=7874870]Xennet[/MENTION]

https://forums.oneplus.com/threads/taste-of-pie-android-9-community-beta-for-oneplus-3-3t.1015981/
[OnePlus 3T Guides, News, & Discussion] BonnyBedlamBoy:
there already should be a lot of modded kernel here for the 3t on xda!
[OnePlus 3T Guides, News, & Discussion] Rodger_Rulez:
What? Read the OP and you all understand
[OnePlus 3T Guides, News, & Discussion] Xennet:
Hey Xdiians,

New Thread for Patched Boot Images For OOS PIE released here... Dive in...

https://xdaforums.com/oneplus-3t/how-to/dm-verity-disable-oxygen-os-t3922324
[OnePlus 3T Guides, News, & Discussion] Oyorf:
Not sure what I'm doing wrong but this just does not work for me. I have op3 and I installed 5.0.8 official from twrp. Then I flashed this 4.0.2 file from twrp, then I flashed 5.0.8 firmware file and then this patched file and did not reboot or anything here. But still I just get the dm-verity on boot. I also can not lock the bootloader even if I first put stock recovery. State of the lock is still always unlocked no matter what I do. There is no error or anything when I type fastboot oem lock but it looks like it works, but then bootloader is still open.

What should I try next?
[OnePlus 3T Guides, News, & Discussion] pratyush28:
[Deleted]
[OnePlus 3T Guides, News, & Discussion] Lada333:
Surely I am doing something wrong, but I've done everything as stated in 'procedure 1' (it would be nice to know what equals to 100mb of free space tho/what apps to remove to get the desired amount of free space), OOS boots up, but after the 'restore backups' screen, no matter if I do attempt a restore from the cloud, or start from scratch, all I see are the status bar, and a black screen. Tried rebooting, wiping dalvik and cache, reflashing the encryption disabler zip, nothing seemed to have helped.

Attempting this on 9.0.4

Any of you got any suggestions?
[OnePlus 3T Guides, News, & Discussion] Paschfire:
For starters, this thread is for OOS 5.0.X Oreo.

You should be looking for directions/instructions within the correct thread, linked a few comments above for OOS 9.0.X Pie.
[OnePlus 3T Guides, News, & Discussion] Lada333:
Aight, I'll check that out, thank you!

It's a bit confusing tho, having actual download links for 9.x.x in an oreo-only thread :x
[OnePlus 3T Guides, News, & Discussion] iDroid3400:
worked fine but now my 3t wont charge past 2966mah and shows max battery of 3000mah. restored back to bone stock and showing max battery back to 3400mah but battery still wont charge past 2966mah.

e\yes, I used all OP3T files.. thinking someone used a OP3 boot-patched img as a base then forgot to update the 'max battery charge' to 3400~ boot-patched-5.0.6-OP3T, to be exact..
[OnePlus 3T Guides, News, & Discussion] Lada333:
Not sure if this is still a thing, but I remember some people having issues with it some years back;

Isn't the app you're checking max battery capacity (or related) reading from somewhere within Android, and not using actual sensory data?

Alternatively, if your device is relatively "old," (which I guess it must be, since OP aren't producing this line of phones anymore) couldn't it have degraded that much with time?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Downloaded and extracted the boot image and system vendor fstab for the Beta 17...

The DM verity and force encryption disabler download link in the OP will work perfectly for the Beta 17 and Beta 26 on both oneplus 3T and 3....

The Beta 17/26 has the the same patched fstab as of Beta 16/25...

Enjoy DM Verity and Encryption free, hassle free flashing....

:laugh:
[OnePlus 3T Guides, News, & Discussion] TheVic!:
I think i must be stupid, but some how i dont get this....

I have triped DM verity. I tried flashing your file, but still i get the DM verity message, twice in fact. What Do i have to get rid off it? I have tried all there mentioned steps...

Please help.

Btw. Im on ob 25 on op3. Blu spark TWRP. No encryption.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Just flashing the zip won't get rid of the DM verity message...

Follow steps here:

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

After all the steps there...Finally reflash the ob 25 firmware before restarting to system and for step 10 instead of flashing the patched boot image flash the DM verity and force encryption disabler zip in this op...never restart before that...
[OnePlus 3T Guides, News, & Discussion] TheVic!:
Thanks. I will try this ?
[OnePlus 3T Guides, News, & Discussion] viveknaudiyal:
Can you suggest the path for supersu SR5. If flashed OB26 using twrp from akhil for oreo. Now when I try to flash supersu, the process just keeps on going and nothing is flashed. I activated dmverity as I was not able to flash supersu and booted without rooting ob26
[OnePlus 3T Guides, News, & Discussion] TheVic!:
This got rid of one of two DM verity messages, but not the first i had... I followed the steps to point 9 on 10 i flashed the ob 25 firmware, then the DM verity and force encryption disabler zip, super SU and SU hide.

Any suggestions?

---------- Post added at 08:51 PM ---------- Previous post was at 08:49 PM ----------

Try this: https://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip
[OnePlus 3T Guides, News, & Discussion] Xennet:
The DM verity message is the second one...that you got rid off..

The first one is the bootloader unlocked message which at present there is no way of getting rid off unless you relock the bootloader and return to stock..

Even I have it on my phone..
[OnePlus 3T Guides, News, & Discussion] TheVic!:
Ahh, I see. Then it worked perfectly! Thank you so much. :)
[OnePlus 3T Guides, News, & Discussion] Xennet:
Due to the many PM and thread requests for the steps to disable DM-Verity on OOS OREO, I have updated the POST 2 in this thread with a detailed description on disabling DM-Verity specifically on OOS OREO...

POST 2 UPDATED.....
[OnePlus 3T Guides, News, & Discussion] JosephBlessingh:
How do I come to know if I have triggered DM Verity or not? Currently, for me, every time reboot/switch on the phone I need to type in my password before the lock screen appears. What kind of case do I fit in??
[OnePlus 3T Guides, News, & Discussion] Xennet:
Typing password before lock screen just indicates that your phone is encrypted...it has nothing to do with DM-Verity...
[OnePlus 3T Guides, News, & Discussion] Durga teja:
Triggering dm verity check is completely different..

During booting time u can see bootloader unlocked warning rite?

Immediately after that warning u will getting DM verity warning ... That is DM verity issue..

Entering password during booting is due to encryption.
[OnePlus 3T Guides, News, & Discussion] JosephBlessingh:
So how to decrypt it?

Thanks for clarifying. So how do I decrypt it exactly? Is there a method to do that?! Please let me know.
[OnePlus 3T Guides, News, & Discussion] Durga teja:
Decryption is very easy

2 methods.

1.Goto to twrp and go-to wipe then hit format data and type "yes".

2.goto fastboot and type "fastboot format userdata"

(Both methods erase all ur data and internal storage)
[OnePlus 3T Guides, News, & Discussion] Xennet:
Don't just answer questions as if you are an expert...

The steps you mentioned above just don't do anything unless the force encryption flag is disabled in the boot image or kernel...

For decrypting just follow the instructions in the OP...

ATLEAST READ THE OP BEFORE POSTING...AND BEFORE TAMPERING WITH THINGS LIKE DM VERITY AND FORCE ENCRYPTION GATHER A LITTLE KNOWLEDGE ABOUT THE BASIC CONCEPTS...
[OnePlus 3T Guides, News, & Discussion] Durga teja:
]Decryption
[OnePlus 3T Guides, News, & Discussion] JosephBlessingh:
Sorry My bad. Won't happen again!!
[OnePlus 3T Guides, News, & Discussion] rohit83:
Stuck on Decrypt Data

Hi, [MENTION=7874870]Xennet[/MENTION] I followed your guide to stay decrypyted, after i flashed Open Beta 17 for 3T, Supersu wouldnt flash & will hang the phone..then i wiped everything except Internal storage, flashed OB17 rebooted to bluspark latest twrp & flashed your encryption disabler zip & rebooted to OS & now it's stuck on Oneplus logo.

I waited for 20 mins & now Twrp is asking me to decrypt data.

Help me, I don't want to loose my important data.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Think the first time you flashed SuperSU and the phone hung up probably your data got encrypted...

Now my recommendation would be if you don't want to lose data...it's tiring and time consuming but will work for sure....Copy all your internal data to computer through twrp via mtp...

Then follow exactly the PROCEDURE 2 IN THE OP...
[OnePlus 3T Guides, News, & Discussion] rohit83:
I'm unable to do that, Twrp is asking me to decrypt data, hence, unable to mount it... :crying:
[OnePlus 3T Guides, News, & Discussion] Xennet:
Use password as "default_password" in twrp
[OnePlus 3T Guides, News, & Discussion] JosephBlessingh:
Hey can you link me the OP?
[OnePlus 3T Guides, News, & Discussion] TheVic!:
OP is the first post...
[OnePlus 3T Guides, News, & Discussion] lombyzgz:
DELETE
[OnePlus 3T Guides, News, & Discussion] Xennet:
Just extracted the latest OOS OREO OPEN BETA 18/27 for OnePlus 3T/3...

The fstab exactly matches the previous builds...

So the DM-Verity and Force Encryption Disabler For OOS Oreo.zip given in the OP will work well in OOS OREO OPEN BETA 18/27 too!!!

Update: Seems Magisk 14.3 too works for root from this build on...

OP UPDATED ACCORDINGLY...
[OnePlus 3T Guides, News, & Discussion] elmer_fudd:
I can confirm that the DM-Verity and Force Encryption Disabler For OOS Oreo.zip is working on OB18.
[OnePlus 3T Guides, News, & Discussion] sathya86online:
Probably a noob question, pardon me if asked and answered already.

I don't have to enter any password during boot or in TWRP. But in Settings my encryption is shown as "Encrypted". Also while in TWRP the msg on launch is "decrypted with default password".

Am I still encrypted? Do I have to do anything more than mentioned in OP to get rid of this, or is this it?
[OnePlus 3T Guides, News, & Discussion] Xennet:
You are encrypted.

Now to get decrypted you will have to follow the procedure 2 in the OP. BUT YOU WILL LOSE ALL YOUR DATA UNLESS YOU BACKUP.
[OnePlus 3T Guides, News, & Discussion] sathya86online:
Thank you for the confirmation. I've already backed up data and gone through the cycle of procedure 2, at least twice now, but curiously ended up encrypted nevertheless. Before this, I had to unlock both at boot and TWRP with a pin. And now I don't have to. So I thought I was through finally. But then again this..

I understand your concern and frustration (from your CAPITALIZATION) after people foolishly losing data without backup and reporting here.

On a side note, not to spam here, though I'm a junior member, I've been a silent user here for about 6 years, so a junior member only coz I haven't been posting so far. Honestly I never needed to, coz I took all the precautions, read through everything and did everything on trial and error, not to bother guys contributing here with pesky issues. But this whole encryption and dm-verity deal has been too confusing for me. And the whole point of decryption is lost on me, coz the only thing I don't have now is the SafetyNet pass with Magisk and I think I can live with encryption after all.

Just a suggestion: In your procedures in the OP, mention the "losing data" part before the steps just to foolproof it. Fortunately, I realised that once data is gone, I'll have to flash the zip from an extenal OTG source, which I fortunately happened to have handy.

Thanks again for everything. Probably one of the only times I'll bother you or anyone else here in XDA. Appreciate your efforts! Cheers.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Hope you had mounted the system before flashing the DM VERITY zip file...

I had done the steps myself and phone got decrypted...

Don't know why you got lost...

Other users too have confirmed this..
[OnePlus 3T Guides, News, & Discussion] sathya86online:
I had mounted system and it hanged. I turned it on, rather than booting to recovery and flashing the zip. Then tried with a clean flash. It looks like I messed around. My bad. No harm done though. Thanks!
[OnePlus 3T Guides, News, & Discussion] Xennet:
Just extracted the latest STABLE OXYGEN OS 5.0 for OnePlus 3T/3...

The fstab file in the vendor/etc exactly matches the previous builds as in the beta OOS ones...

So the DM-Verity and Force Encryption Disabler For OOS Oreo.zip given in the OP will work well in Oxygen OS OREO STABLE 5.0 too!!! :):):)

OP UPDATED ACCORDINGLY...
[OnePlus 3T Guides, News, & Discussion] izukamikain:
Hi, I am still getting the dm-verity message after upgrading to OOS 5.0

I was on OOS 4.5.1 with custom kernel, twrp, and magisk

I downloaded OOS 5.0, oreo twrp (from akhil), and this dm verity disabler

First, I unrooted the phone by uninstalling magisk, I flashed patched boot.img for OOS 4.5.1 from your thread, and rebooted to make sure that the phone wasn't rooted

I went back to twrp and flash twrp oreo from akhil

After that, I followed your step :

I flashed OOS 5.0, then flashed magisk 14.3 (1437), then mounted the system partition, flashed your disabler zip for oreo, after finished, I rebooted back to recovery

But the dm-verity still shows until now

The phone is working fine though
[OnePlus 3T Guides, News, & Discussion] Xennet:
Once DM VERITY is triggered this DM VERITY disabler zip will not remove it...

To remove it follow the instructions in POST 2 of this thread..

Be sure to read the instructions completely and download the required files before proceeding.
[OnePlus 3T Guides, News, & Discussion] izukamikain:
Aww, I still dont know what triggered dm verity since dm verity wasn't triggered on 4.5.1

Anyway, I am going to downgrade first to nougat and will let you know if this works ;)
[OnePlus 3T Guides, News, & Discussion] Teenzak:
Thanks..... Works perfectly....
[OnePlus 3T Guides, News, & Discussion] samsexy98:
Is this the right order for a custom oreo rom?

1. Format user data from twrp (bcoz i m encrypted and want to decrypt first)

2. Flash ob18 firmware

3. Flash the zip provided in this thread

4. Flash custom rom, gapps

5. Flash magisk 14.3

6. Reboot

Plz guide if i m missing something
[OnePlus 3T Guides, News, & Discussion] Xennet:
Should work...

Never had a chance to test this on a custom ROM..

But make sure that the kernel in the custom ROM don't force encryption..

Do get back with the results...
[OnePlus 3T Guides, News, & Discussion] ZenR2:
Thanks [MENTION=7874870]Xennet[/MENTION] , followed post 2 and got rid of the DM,

thanks again :)

I do have a query,

well, sir, my device has always been in encrypted mode since the day I have bought it, and I see in the op there is post for decryption, are there any benefits if I decrypt the device.
[OnePlus 3T Guides, News, & Discussion] samsexy98:
Done.. Works perfect.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Actually I am on an encrypted device...

If you ask me honestly I would say there is no need for decryption except for using multi-rom...other than that I would stay encrypted...
[OnePlus 3T Guides, News, & Discussion] isoladisegnata:
Hi [MENTION=7874870]Xennet[/MENTION] Just a question...I have op3 decripted with twrp blue spark ..if I want flash twrp multirom how have I to do for keeping decrypt? A correct procedure please
[OnePlus 3T Guides, News, & Discussion] JunkstarrG3:
doesnt work for me. I even wiped everything and made a clean install. "dm verity is not started in enforcing mode". my OP3T doesnt boot at all. Any ideas?

[SOLVED]
[OnePlus 3T Guides, News, & Discussion] Xennet:
Refer to the OP..

Everything given in detail...

Can't explain better..

But do backup all your data before proceeding or you may lose it...
[OnePlus 3T Guides, News, & Discussion] Xennet:
Hope you got it working by method in POST 2...
[OnePlus 3T Guides, News, & Discussion] JunkstarrG3:
Jup, worked from the very beginning. I've just been impatient, took a little longer to boot than usual. Couldn't get rid of the dm verity boot message whatsoever.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Follow instructions in POST 2 to get rid of DM VERITY.
[OnePlus 3T Guides, News, & Discussion] JunkstarrG3:
error 7 when trying to flash fw 4.0.2.

this package is for Oneplus 3T devices; this is a " ".

I defintely took the 3T file. any ideas? I am running the current stable 5.0 oreo, blu spark kernel, twrp blu.

EDIT: seems I need an older twrp. which one? https://xdaforums.com/devdb/project/?id=15934#downloads

EDIT²: had to go back to twrp 3.0.3, then follow POST 2, after flashing dm disabler update twrp back to previous version (up to date), enjoy
[OnePlus 3T Guides, News, & Discussion] Xennet:
You need the official Twrp...

Hope you got rid of the DM VERITY message...
[OnePlus 3T Guides, News, & Discussion] JunkstarrG3:
Take a look at 2nd Edit. :) Working Like a charm now
[OnePlus 3T Guides, News, & Discussion] Diabollon:
Or twrp-3.1.1_blue_spark_v8.54 for Oreo. I also got it off the DM Verity message. Thanks for your very helpful post's.