yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T Guides, News, & Discussion] Rodger_Rulez:
[MENTION=7874870]Xennet[/MENTION]

New Beta 31 is up for 1+3

Could you please make a patched boot.img again?)))
[OnePlus 3T Guides, News, & Discussion] Xennet:
Will update today itself after work..
[OnePlus 3T Guides, News, & Discussion] Xennet:
Just came back from work...

Ok guys,

Here are the links to the patched boot images for:

OOS Open Beta 22 for Oneplus 3T --> Download

OOS Open Beta 31 for Oneplus 3 --> Download

OP Has been updated with download links...

Enjoy !!!
[OnePlus 3T Guides, News, & Discussion] RohanAJoshi:
Ok.

Thanks for update.

I just want one help.

I only need my data to be stay decrypted.

DM Verity screen does not bother me.

.

So, it's enough to just flash force encryption disabler to stay decrypted ?

Or I need to flash these boot image also ?
[OnePlus 3T Guides, News, & Discussion] elmer_fudd:
Thanks, works well on OB22. Still decrypted with SuperSU.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Some OnePlus 3/3T devices (not in all models) unless you patch the dtb to disable DM Verity the changes you make to the system (in this case flashing the force encryption disabler zip) will be reverted back once you reboot to twrp...so for the time being I recommend you to use the tested approach of flashing the patched boot image before flashing the encryption disabler zip file...
[OnePlus 3T Guides, News, & Discussion] Xennet:
I have full fledged working patched boot image running on my phone for OOS 5.0.2 for OP3T...

But still can't find a link to download the full ROM zip for OP3 5.0.2...Do any of you guys have it...if you do, post it here or send a PM LINK.....
[OnePlus 3T Guides, News, & Discussion] Dominius:
http://otafsg1.h2os.com/patch/amazone2/GLO/OnePlus3TOxygen/OnePlus3TOxygen_28.A.63_GLO_063_1801261702/OnePlus3TOxygen_28_OTA_063_all_1801261702_007061f1e3deb.zip
[OnePlus 3T Guides, News, & Discussion] Xennet:
That's for 3T...As I said I have the 3T full ROM zip.

Need links to the OnePlus 3 5.0.2 full ROM zip...
[OnePlus 3T Guides, News, & Discussion] maxifabian91:
what benefits do i get when disabling force encryption ? Better performance or what?
[OnePlus 3T Guides, News, & Discussion] Sam Nakamura:
Theoretically yes, if the device doesn't need to encrypted / decrypt the processed data performance should benefit but in real life you want feel much of a difference, if any at all, on older devices / CPUs encryption made the device slow and less responsive but I never read someone confirming that on a SD 820/1 actually...
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yup

As [MENTION=7125933]Sam Nakamura[/MENTION] said in latest generation devices you won't notice the time lag required to decrypt the data...where hardly it takes in our devices 5-7 secs max..but it comes with an added advantage of extra protection...

In this era the real logical use if decryption would be the need to use a multirom...other than that I personally don't think decryption is better...but finally it's a personal choice...
[OnePlus 3T Guides, News, & Discussion] TheQuarterMile:
Is there a patched 5.02 boot image for the OnePlus 3T?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yes I was testing it before uploading. .But I am out of station will upload after I get home.. Just bear...
[OnePlus 3T Guides, News, & Discussion] Xennet:
Ok..

Here is the Patched boot image for OOS 5.0.2 for ONEPLUS 3T ---> DOWNLOAD

OP Updated with the Links...

NB: Be Careful the patched boot image is only for ONEPLUS 3T and not for ONEPLUS 3 as I have had no means of getting my hands on the full rom zip 5.0.2 of oneplus 3. If any one has it, do post the link here or PM me...
[OnePlus 3T Guides, News, & Discussion] Sygmasf:
i had to apply the no verity mod to flash oreo from nougat (bootloop problem) and now i want to recrypt my phone again, how do i procede?
[OnePlus 3T Guides, News, & Discussion] sandeep_kumar:
What is the meaning of "data encrypted"

Is it the same as setting a password or pattern at boot?

I am little confused which step is to be followed for first time installation as a clean flash. Please tell me.
[OnePlus 3T Guides, News, & Discussion] Sam Nakamura:
Flashing OOS automatically encrypts the device storage, unless you use a custom kernel or any "force encryption disabler" - encryption is a kernel feature, data will be encrypted even without you setting a PIN / Password / Pattern the default encryption is in place, talking about "full disk encryption" as the nougat feature "file based encryption" aka "direct boot" didn't make it to the OP3(t)...

Check this link for detailed explanation:

https://source.android.com/security/encryption/full-disk
[OnePlus 3T Guides, News, & Discussion] super_zero:
Just want to clarify this: my phone(op3t) is currently encrypted, as says in Settings > Security & Lock Screen, and since after I flashed the Oreo OOS via twrp, I've lost TWRP and am getting the DM-Verity message. I am looking to install TWRP again, get rid of the dm-verity boot message and root my phone with magisk.

Thanks in advance, cheers.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Just follow the instructions in POST 2..
[OnePlus 3T Guides, News, & Discussion] murti52:
Hi a new user of 3T, can any one tell me how can I check if i have triggered dm verity..? And secondly, can i use the force encryption disabler for the latest 5.0.2 update that came few days back for 3T. The reason i am asking is that when i flashed the latest update and flashed the disabler, the flashing got stuck and rebooted, after i rebooted to twrp, i was asked password to decrypt data.. ( just an fyi, i didn't flashed the boot image before flashing the disabler because i was going to flash magisk later...) So is this the reason i got the error and lost all my data :silly:
[OnePlus 3T Guides, News, & Discussion] redpoint73:
That's pretty simple, if you reboot, and see a warning screen about dm-verity, than it's been triggered! This screen will appear after the (similar) warning screen about the bootloader being unlocked (which it sounds like yours is, if you have TWRP, etc.).

Can't answer your other questions, but figured I can at least answer the easy one!
[OnePlus 3T Guides, News, & Discussion] Xennet:
The force encryption disabler works well on 5.0.2...

What do you mean by flashing got stuck? Either you should flash the patched boot image or you should flash Magisk/SuperSU after flashing the force encryption disabler zip...if you do neither you will be lost...

Follow the steps exactly as mentioned in the OP if you want to stay decrypted...
[OnePlus 3T Guides, News, & Discussion] murti52:
The flashing just stopped in the middle and rebooted, and i didn't flashed patched boot image before flashing force encryption disabler zip. I was going to flash magisk later. And as per your steps, boot needs to be patched first and then the encryption disabler.. I'll try it again and will update. Thanks

---------- Post added at 08:27 PM ---------- Previous post was at 08:26 PM ----------

I only get the bootloader unlocked warning, so my dm-verity is not triggered. Thanks for clearing
[OnePlus 3T Guides, News, & Discussion] LELBOT:
nice guide [MENTION=7874870]Xennet[/MENTION]

i followed your second guide - post #2

i am on OP3, open beta 31, decrypted.

followed each and every step from post 2 with force encryption disabler zip but the dm verity prompt is still there.

any suggestions?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Did you flash the 4.0.2 firmware zip before executing the adb commands...?
[OnePlus 3T Guides, News, & Discussion] LELBOT:
Yes m8, followed each and every step from post 2 with force encryption disabler zip.

also im now on validus 8.1 latest rc, will try again.

should i try the long method with flashing the full oos zip or the second post?
[OnePlus 3T Guides, News, & Discussion] JosephBlessingh:
Still stuck on boot logo

I followed all the steps, still I'm stuck with the same thing. Mount system means to go into mount, press system, and then presss internal storage right?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Follow the updated procedure in the OP...
[OnePlus 3T Guides, News, & Discussion] JosephBlessingh:
I did it before this. I have triggered the Dm-verity message and my data is encrypted. So I followed the Post #2. I did't leave a single step. Please tell me one thing. Should the OOS already be flashed or do I wipe cache, data and system before starting with the steps from post #2. I wiped everything and had tried it because nothing was mentioned about it. And if the OOs has to be flashed, SuperSU also has to be flashed along with or not?
[OnePlus 3T Guides, News, & Discussion] Xennet:
Follow STPES EXACTLY

AS IT NOT MENTIONED IN THE STEPS IN POST 2 THAT YOU HAVE TO WIPE system, data or cache to follow the procedure..that's why it's stated that you won't lose anything by following the procedure...system, data, cache has nothing to do with DM Verity...if you correctly follow each step you can see that flashing the patched boot image takes care of everything, unless you need root which is optional in which case you can flash either SuperSU or Magisk..
[OnePlus 3T Guides, News, & Discussion] amkiller:
(I posted this reply in the Nougat thread by accident, I did use the Oreo files and steps you listed)

I have the dm verity warning issue on my Oneplus 3 (OxygenOS 5.0.1) so followed the guide in your second post.

After downgrading the firmware and running the two commands each report "okay" but despite this when I complete all the steps and reboot the warning is still there. I'm using blu spark's v3.2.1.0 TWRP, does that matter?

Thanks
[OnePlus 3T Guides, News, & Discussion] Xennet:
Did you flash the patched boot image before rebooting to system?
[OnePlus 3T Guides, News, & Discussion] amkiller:
Yes, I following your guide exactly. I tried the whole process a second time after it didn't work too.

The boot image flashed very quickly - e.g., half a second - but there were no errors, I assume this is normal?
[OnePlus 3T Guides, News, & Discussion] Xennet:
It's normal...

It works well...I update the OP after confirming the steps after each OOS update...

One thing you can do is make video of steps you followed and then send a link to my PM. I can reassess it if you need...
[OnePlus 3T Guides, News, & Discussion] JosephBlessingh:
So I won't be losing any data as I'm not flashing the OOS file because I'm just flashing the firmware right?!?!
[OnePlus 3T Guides, News, & Discussion] Xennet:
Yes..

Follow the steps in POST 2 EXACTLY...
[OnePlus 3T Guides, News, & Discussion] amkiller:
Here you are. I've cut out parts where I'm waiting for a reboot etc to shorten the video for you:

[YOUTUBE]F__bGsXg_dA[/YOUTUBE]

(https://www.youtube.com/watch?v=F__bGsXg_dA)

The red "system cannot be unmounted" errors were because I had the USB cable in I guess. Without the USB cable plugged in I don't get that error during patching but the dm-verity still remains. I should have remade the video, sorry.
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Looking at your video, I don't see any problems. When you reboot the system - last bit of the video it shows the orange warning that you always get when your bootloader is unlocked. That's perfectly normal and not an issue.

You're not getting the red dm-verity display which is good as that's what patching the boot image is meant to avoid.

The errors in TWRP are not related to dm-verity.
[OnePlus 3T Guides, News, & Discussion] amkiller:
Ah. I assumed this patch removed that warning.

If that's the case thanks for clearing it up. I barely ever reboot my phone so the warning really doesn't matter all that much I guess.
[OnePlus 3T Guides, News, & Discussion] raj7749:
[MENTION=7874870]Xennet[/MENTION] What if I don't get rid of the message?? I mean what happens when dm verity is triggered apart from getting warning?? I have been using it with the warning since last two months.. Sorry for the off topic question
[OnePlus 3T Guides, News, & Discussion] Xennet:
It does nothing...other than popping up the warning message..

This is true in most of the cases...

But [MENTION=2911853]BillGoss[/MENTION] and some others after triggering the DM Verity were not able to make any changes to the system partition and if they make any changes to the system partition, they were either thrown back to the bootloader or the changes were reverted to stock after rebooting.... unless they got rid of the check for DM Verity in the boot image...
[OnePlus 3T Guides, News, & Discussion] alexdonwarez:
In twrp its asking for password to decryt data, when i reboot i get encrytion unsuccesful msg, what to do, im a newbie, please help
[OnePlus 3T Guides, News, & Discussion] Xennet:
Hey Everybody...

Long time no see...

As the official updates have been scarce the updates in the thread have also been too..

So its time as OnePlus released the official Beta 23/ 32 for Oneplus 3T and 3 today...

So in time....

Here are the patched boot images for:

OPEN BETA 23 for ONEPLUS 3T --> DOWNLOAD HERE

OPEN BETA 32 for ONEPLUS 3 --> DOWNLOAD HERE

The Force Encryption Disabler zip v2 given in the OP will hold up to it for these betas too....

OP Updated Accordingly....

Happy Flashing!!! :)
[OnePlus 3T Guides, News, & Discussion] jaycelou:
Hi. Do I need to refresh this every time after I updated/upgrade the ROM?
[OnePlus 3T Guides, News, & Discussion] jaycelou:
I try reinstalling (3T) 5.0.1 on a 5.0.1 and I have verity patch 5.0.1 installed with twrp 3.2.1 blue spark.

I also have blue spark r215 and magisk v16.

Anybody have any solution? Thanks.
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Deselect Zip file signature verification in TWRP settings.
[OnePlus 3T Guides, News, & Discussion] jaycelou:
I only have here "enable digest verification of backup files" and it's already disable. Any other solution or cause of the problem?
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Try scrolling up on the settings. You should have this
[OnePlus 3T Guides, News, & Discussion] jaycelou:
The was disabled by default, never change it.
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Maybe someone else can help you.
[OnePlus 3T Guides, News, & Discussion] jaycelou:
Somebody please help! I'm desperately need to refresh the ROM!
[OnePlus 3T Guides, News, & Discussion] BillGoss:
One question: how big is the zip file you're trying to flash?
[OnePlus 3T Guides, News, & Discussion] jaycelou:
1.5GB I always flash the full ROM.
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Good. Just checking it wasn't the smaller OTA update.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Do check the following...

Did you check the MD5 of the zip file manually and confirm if the zip file is not corrupt...

Else change the folder you store the zip file and then try flashing.....better to store the file in a folder with name that doesn't have any spaces or special characters...

Did you have this problem with any other zip file you tried flashing...

Finally deselect digest verification of backup files and try flashing again...since you stored the zip file in backup folder I think it will check for the digest file while reflsshing???..so either move the file to a new folder renames as something other than backup and try....
[OnePlus 3T Guides, News, & Discussion] jaycelou:
Md5 pass. I've tried everything but nothing works. I'd flash magisk, blu spark kernel all smoothly. Only this ROM zip give me problem.

I also tried with official twrp, but still the same problem.
[OnePlus 3T Guides, News, & Discussion] Xennet:
That's interestingly weird...

Did you try moving the zip to a new location as I mentioned above or even try renaming the zip file and then reflashing???
[OnePlus 3T Guides, News, & Discussion] jaycelou:
Yup. I tried EVERYTHING I could.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Did you try adb from pc and sideload the zip file?

Does it give you some error???

If not try it...backup everything before proceeding...
[OnePlus 3T Guides, News, & Discussion] jaycelou:
That would wipe everything. I'll leave it for the very last.

It have to be solved, otherwise I'll have to sideload every time I need to just do anything an upgrading.
[OnePlus 3T Guides, News, & Discussion] Xennet:
Going by logic....

As both official and bluspark twrp fails...

All other zips flash well...

THE PROBLEM IS WITH THE SAID ZIP FILE ITSELF AND NOTHING OTHER THAN THAT...

Edit: If you are 100% sure that the MD5 of the zip is same as given in the OnePlus site then Copy the zip file to pc, unzip the zip file....extract the contents and then rezip and then try flashing the new rezipped file again in twrp....
[OnePlus 3T Guides, News, & Discussion] BillGoss:
If you've tried everything, then there's nothing left to do, right?

I would:

Move the zip file to your phone.

Verify the md5 checksum

Delete the .twrps file in the TWRP directory

Flash the zip file
[OnePlus 3T Guides, News, & Discussion] xpissio:
Two fast questions:

1. The boot-patched.img must be flashed in boot partition?

2. Before the final step (reboot to system), I have to mount /system?

Thanks. :)
[OnePlus 3T Guides, News, & Discussion] BillGoss:
1. Yes

2. No
[OnePlus 3T Guides, News, & Discussion] jaycelou:
I finally have time to test further and the result is unexpected!

The problem finally solved and it is the ROM zip that's cause the problem.

It's unexpected because I check the zip md5 and it actually check out so I never second guess the result. After everything doesn't works, I think it s time to redownload. I'm reluctant to do this because I'm running on cellular data and 1.5GB actually cost me a lot.

Anyway thanks for your help. And do not trust md5 result or maybe mine are just crap.
[OnePlus 3T Guides, News, & Discussion] UTK18:
I'm currently running OOS 5.0 version unlocked bootloader and decrypted /data partition. I'm trying to update to 5.0.1 or 5.0.2 following the Procedure 1 in the OP.

The problem I face is that after flashing the stock ota zip and the patched boot img, twrp shows no os installed when i press reboot to recovery. If i reboot anyway it shows me a black screen with white led flashing.

From here i have to hard reboot my device and restore the twrp backup. I am unable to update OOS at all. I'm using Blusparks latest twrp and derp kernel.

Any help will be appreciated. Thanks!
[OnePlus 3T Guides, News, & Discussion] Xennet:
Don't update using OTA ZIP....

Download the FULL ROM ZIP and then follow the procedure in the OP..
[OnePlus 3T Guides, News, & Discussion] UTK18:
I am using the full ROM ZIP. It shows no OS installed when i try to reboot to recovery
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Are you using the latest TWRP from here https://dl.twrp.me/oneplus3/? (Yes, I know it's says OnePlus 3, but it's for both 3 and 3T).

If you're using the one from https://dl.twrp.me/oneplus3t/ you may have issues.
[OnePlus 3T Guides, News, & Discussion] UTK18:
I'm using BluSparks twrp (3.2.1, v8.61). I used this one to upgrade from nougat to oreo (it was 3.1.1 IIRC)
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Blu Spark 8.61 is fine.
[OnePlus 3T Guides, News, & Discussion] UTK18:
I am using it to flash the full stock rom 5.0.1 or 5.0.2 from 5.0 and still twrp says "no os is installed" after wiping system, cache, dalvik cache, then flashing the full stock rom zip and then flashing the patched boot img of the relevant stock rom version provided in the OP.
[OnePlus 3T Guides, News, & Discussion] BillGoss:
Weird.

Can you post a zipped version of the recovery log after flashing 5.0.1 and the patched boot image?
[OnePlus 3T Guides, News, & Discussion] UTK18:
I'll try later tomorrow as i have to restore twrp backup everytime i try it out making it a bit hectic. Also, how do i save the recovery log? Or if it is saved anywhere, where can i find it?
[OnePlus 3T Guides, News, & Discussion] BillGoss:
You could use ADB, but I can't tell you how to as I never use it. I like doing everything on my phone.

So here's how I would do it:

- Restore your current working ROM.

- Boot into recovery and flash 5.0.1, but without wiping anything.

- Flash patched boot image.

- Copy the TWRP log to the SD card (under Advanced).

- Reboot system.

- If TWRP warns that there's no OS, then don't proceed, but go back and restore your working ROM.

- Reboot system.

You'll find the recovery.log file on your internal storage.
[OnePlus 3T Guides, News, & Discussion] UTK18:
Alright then. I'll test it tomorrow and post it here. Thanks for the help.
[OnePlus 3T Guides, News, & Discussion] Xennet:
That is normal....It is the same way in my phone too...THERE IS NOTHING ABNORMAL IN IT...

Twrp shows no OS installed... because the system gets mounted only after a reboot back to recovery...

Reboot back to recovery....and system should get mounted....

The problem is why you get a soft brick after flashing full ROM zip???

Don't flash anything other than ROM ZIP and patched boot image and then reboot to recovery and see if you still get a soft brick....do check whether you have flashed the patched boot image for your model 3/3T correctly and not messed it...
[OnePlus 3T Guides, News, & Discussion] UTK18:
I am following the procedure 1 as it is. The only things I'm flashing are the full stock rom zip and the patched boot image. Also, I've tried both 5.01 and 5.02 with their respective patched boot images provided in the OP so even if one of them is damaged, the other should still work. I'm starting to get the feeling that my phone is very unusual compared to other 3T users as i faced hardships decrypting it. It would not decrypt the first 3-4 times and then it finally decrypted on the 4th try with the exact same procedure
[OnePlus 3T Guides, News, & Discussion] Xennet:
Is your phone at present on what OOS version and is it decrypted or not???
[OnePlus 3T Guides, News, & Discussion] UTK18:
My phone is currently decrypted and running OOS 5.0 unlocked bootloader and rooted with magisk as of now.
[OnePlus 3T Guides, News, & Discussion] Xennet:
So do this...

In procedure 1..

Instead of steps 5 and 6

That is rebooting back to twrp where you get the soft brick..

Just mount system in twrp and see if the system has folders in it....if not...

Just dismount and remount system in twrp and see whether the system partition contains files...

Once system gets mounted follow procedures from 7 onwards and see how it comes out...
[OnePlus 3T Guides, News, & Discussion] UTK18:
Actually, out of curiosity i tried it after the whole procedure failed. And as soon as i tap on the system folder, recovery freezes up and then reboots to Black screen and white LED. I honestly have no idea what is going on
[OnePlus 3T Guides, News, & Discussion] Xennet:
Then it's entirely a different scenario...it's recovery which is getting frozen...did you try it with both official and bluspark twrp???

Did you try booting to system after flashing full OOS zip and patched boot image?? But that would encrypt your device...other than that I think I am out of ideas....there is something fishy about your phone...

I had a user here who had another issue which was different but only happening on his phone as he lost space in his phone and had only 30 GB out of 128GB after installing OOS... even after installing and reinstalling multiple times...finally he had to follow the unbrick guide to get it a fresh start which eventually solved the problem..
[OnePlus 3T Guides, News, & Discussion] UTK18:
I think that even if i fresh start, with a completely wiped device these "issues" may still persist as they did when i was in the process of decrypting the data partition.

One last question, if i wanted to jump on another custom rom, say Resurrection remix or aicp, they require me to be on the latest stock rom(5.0.2) right? Or can i flash a rom with my current stock rom version (5.0)? Also, if i somehow start using a custom rom as daily driver i no longer have to deal with all this dm verity stuff?