yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] meistr91:
So it just possible to have roms with different data?
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
have tried this but my device keeps on rebooting in twrp...

have to flash rom again or i did something wrong?
[OnePlus 6 Guides, News, & Discussion] no.one.writeme:
Hi,

I never flash TWRP ( I always use fastboot boot twrp_image_name.img ) on a PC.

I started with clean slots ( a and b ), ie, flashed OOS 5.1.9 on both slots.

Then erased and formatted userdata.

For the sake of the procedure I did : fastboot --set-active=a, to start with slot a. Rebooted the bootloader ( always important when issuing fastboot commands ) with fastboot reboot-bootloader.

Booted to TWRP, pushed the script to sdcard and applied.

I always keep in mind the slot that I am using and switch accordingly. In doubt apply the same script to slot b.

Upon boot the device is decrypted.

Hope this could help.

Best regards.
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
whats the cmd you have used to flash twrp

might be that slot A and B is confusing me
[OnePlus 6 Guides, News, & Discussion] Paz9:
just follow the OP it doesnt get more simple than that...
[OnePlus 6 Guides, News, & Discussion] old_fart:
.

How not to reboot into twrp ? In a nutshell, install Top John Wu's Magisk last before rebooting to system

.

<< maybe wrong here . . . >> I read somewhere that "if you've gone to have a rooted phone, root wants to remain". . . . Ergo, the last install before rebooting to system must be Magisk. . . . .

<< what I had to do to get rid of root >> You can kill or remove that cycle only by : formatting data, wiping everything else else, maybe a factory reset here too, reboot to fastboot, and then use fastboot to install oos over again. A lot of work to be non-rooted ! ! !

.

This link was a savior for me.

https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
[OnePlus 6 Guides, News, & Discussion] Paz9:
God.. where did you read this? if you dont know how root works, you shouldnt be messing around with the phone.

there are AMPLE guides around to educate yourself.
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
ill try again i have tried 2-3 times everytime i have to wipe my device still device in encrypted

wish there was any flashable zip
[OnePlus 6 Guides, News, & Discussion] Paz9:
well you're not doing it right

I've done it about 5 times already

read the instructions carefully and follow them
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
Advanced>File Manager, go to /vendor/etc, delete both fstab.qcom, and fstab_nodata.qcom then copied the files which i have download that you have posted in op and set the permission to 644 reboot to bootloader fastboot format userdata

have not done this part

(or copy and edit the files your self, remove "avb". anything with "forceecnrypt" change to "encrytpable")
[OnePlus 6 Guides, News, & Discussion] Hank87:
Be careful doing this guys, if your lose your phone or it gets stolen they can access to all your information.

Encryption is a very useful feature of the new android.
[OnePlus 6 Guides, News, & Discussion] RiTCHiE007:
But you are forced into a lot of things like paying tax or go to school..... or go to the toilet or to eat so just because its a force doesn't mean its bad :) I like the encryption in case my phone gets stolen
[OnePlus 6 Guides, News, & Discussion] janneriiki:
Is there any way to get rid of this message?

I have tried to google for solutions but the only answer I got was that /system/build.prop and /vendor/build.prop fingerprint values do not match.

I checked fingerprint values in build.prop and they match in both /vendor and /system.

Any idea on how to just silence, block or remove that particular message?

Thanks in advance!

Edit:

Seems that my screenshot was not uploaded but to clarify I am talking about

"Android System

There's an internal problem with your device. Contact your manufacturer for details"
[OnePlus 6 Guides, News, & Discussion] Hank87:
Looks like the peoples on xda only care about the speed and nobody care about security.

They are ready to get all their personal data stolen, private pictures and videos, all the passwords, all the money on the bank account stolen, just to have 1% increase in speed! [emoji23]
[OnePlus 6 Guides, News, & Discussion] toastyp:
Why do you care if people wish to disable encryption? Has literally no effect on you. If people want to stay encrypted cool, if they don't cool too. I don't understand all the judgement for a simple thread.
[OnePlus 6 Guides, News, & Discussion] Paz9:
please don't OT

I'm not here to argue, nor compare petty things, with things that actually are a necessity.
[OnePlus 6 Guides, News, & Discussion] Paz9:
its by design

you can ignore it
[OnePlus 6 Guides, News, & Discussion] vtec303:
Done it, its decrypted now :) thank you for your kind help, have you tried any lineage ROMS? and if you have is it the same procedure as for flashing OOS updates mentioned by op to maintain decryption ? cheers.
[OnePlus 6 Guides, News, & Discussion] no.one.writeme:
Hi,

I didn't try on Lineage or other custom roms, but being treble enabled roms should also work.

To keep the device decrypted, I suggest you sideload the updates via TWRP. Keep in mind the slot to update, ie, if you want to update slot a, switch to slot b beforehand and vice-versa.

Best regards.
[OnePlus 6 Guides, News, & Discussion] vtec303:
ok thanks for the info and suggestions, this slot a and b are a bit confusing anyway.. lolz, I will try a lineage ROM and will share my experience, cheers.
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
have tried this everysteps multiple times still i am encrypted

replacing with filed that you have posted in download link permission 0644
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
This method works but now i am getting this error

"There is an internal problem with your device. Contact your manufacturer for details"
[OnePlus 6 Guides, News, & Discussion] Paz9:
moved the cf stab files to vendor/etc without chmod
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
Thanks now i dont have to set the password to use the "Google Apps Device Policy"
[OnePlus 6 Guides, News, & Discussion] vtec303:
I only got that message on the first boot after decryption, subsequent reboots did not show me this message, cheers.

---------- Post added at 09:21 PM ---------- Previous post was at 09:10 PM ----------

Full wipe without wiping internal storage, install lineage, twrp zip, reboot recovery, install gapps and magisk performed the same procedure as for updates, now enjoying lineage on decrypted phone win :)
[OnePlus 6 Guides, News, & Discussion] xXx:
[MENTION=3433052]virtyx[/MENTION]

thanks for starting this thread and provide information how to decrypt the OP6. I created already a flashable zip for the OP5/5T which is patching the fstab without the need to manual mount vendor first.

Today I enhanced my version to support the Android Oreo and Pie Rom base on the OP6. This replaces the manual work to replace the fstab files with the patched files. I tested it with latest OOS 5.1.11 as well as with Android P Hydrogen Beta and worked all fine. Feel free to put that to your OP.

xXx-No-Verity-Treble_v4.zip

https://www.androidfilehost.com/?fid=1322778262903984840
[OnePlus 6 Guides, News, & Discussion] CroW_D:
So how is the process then actually with the zip?

Wipe all in TWRP including storage

Flash oos

Rec

Reboot

Magisk

No verity

Or am I wrong ?
[OnePlus 6 Guides, News, & Discussion] xXx:
I would do the following:

Flash oos

Flash twrp

Format data

Reboot recovery

Flash Magisk 16.7

Flash xXx No verity

Reboot System
[OnePlus 6 Guides, News, & Discussion] vtec303:
Awesome, thank you very much for this, cheers.
[OnePlus 6 Guides, News, & Discussion] Paz9:
personally prefer to format /data last - just a preference makes no difference as long as you dont boot into OS with encryption.

updated OP

thanks.

enjoy guys!
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Can i use also Magisk 16.7 (Renovate) Version, this also remove all?
[OnePlus 6 Guides, News, & Discussion] xXx:
the reason why I format data before flashing Magisk is that Magisk will create a folder with tools on the data partition. If you Format data after flashing Magisk, it will be gone and you miss it at your first android setup.

---------- Post added at 06:48 AM ---------- Previous post was at 06:47 AM ----------

should work fine
[OnePlus 6 Guides, News, & Discussion] Paz9:
that explains why it asked me to download magisk for additional enviroment setups.

thanks ill update OP
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Not work here. Have test with 5.1.11. See Screenshot. Have use 16.7 (Renovate) and use latest Blue TWRP.

Edit: I have test again with normal Magisk 16.7 and use this twrp-3.2.3-0-enchilada(mtp) and now its working. Onnly in Magisk i see AVB 2.0 /dm-verity is not activate.
[OnePlus 6 Guides, News, & Discussion] saxena1:
I flash this as per previous installation instructions .so I do it again ?:confused:
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
I get this error message after every reboot.
[OnePlus 6 Guides, News, & Discussion] vtec303:
before I did the decryption script I installed OOS, twrp and magisk 16.7 on both slots than did the decryption script as per the instructions, but in order to do that you have to format data again which will wipe your internal storage, also make sure in magisk both options are checked force encryption and avb 2.0/dm-verity, hope this helps, cheers.
[OnePlus 6 Guides, News, & Discussion] Paz9:
No

It fixes itself afterwards. So it works both ways
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Not need install on both slot. avb 2.0/dm-verity is not checked in Magisk. Which Magisk 16.7 have you use, normal or Renovate?

Whene i install oss with twrp, flash twrp, reboot recovery, flash magisk and xXx.zip its not working. Its only work whene flashing oos complete new with fastboot image and after this flashing twrp and the rest.
[OnePlus 6 Guides, News, & Discussion] vtec303:
That is the absolute perfect way to decrypt and does makes sense to clean instal on both slots, I have maintained decryption in between OOS and Lineage ROMS, as well as restoring on top of each other, had no problems, thank you very much for your help and guidance, cheers.
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
What you mean install on both slot? Whene you flash oos with fastboot or over twrp its install from self on both slots. Not need extra install??
[OnePlus 6 Guides, News, & Discussion] vtec303:
Had anyone tried magisk 17.1 while decrypted? cheers.
[OnePlus 6 Guides, News, & Discussion] IRB95:
Upgraded from franken(decrypted)+16.7 to liquid ROM +17.1

Its working (screenshot isn't uploading for whatever reason)

Used DM verity Force encrypt disabler
[OnePlus 6 Guides, News, & Discussion] vtec303:
I am on OOS 5.1.11 decrypted with "xXx-No-Verity-Treble_v4.zip" and magisk 16.7 which is now giving me update notification, iam gonna backup my internal drive and give it a try lets see what happens, but thanks for letting us know about your setup, cheers.
[OnePlus 6 Guides, News, & Discussion] Paz9:
updated magisk via magisk manager

just make sure encrypt and verity are unchecked before updating and youre good to go
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Decrypt v4 not working with Magisk 17.1 and latest blue twrp.
[OnePlus 6 Guides, News, & Discussion] Paz9:
you must use 16.7 FIRST as 16.7 disable verity by default, 17.1 DOES NOT, you must install 16.7 first and decrypt, then upate in the OS and make sure 'encryption' and 'avb' are UNCHECKED before updating.
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Ok next time i make all new i will test again. Or its coming a update 17.1.
[OnePlus 6 Guides, News, & Discussion] vrda08:
Do I need to flash no-verity zip after flashing custom roms or kernels?
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
I found a new and easier decrypt method (working on everything so far, Liqud Remix, OOS 5.1.11 and OOS P Beta)

BACKUP ALL YOUR DATA

Reboot TWRP (i recommend blu_spark)

Wipe --> Everything (including internal storage)

Wipe --> Format data

Reboot recovery

Flash ROM, flash recovery, reboot recovery

Flash custom kernel if you need

Flash this, then Magisk (for me 17.1 is working fine) - Thank you [MENTION=6037748]Zackptg5[/MENTION]

Reboot, enjoy :D
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Working fine thanks. But i get on every boot Android Secure warning.
[OnePlus 6 Guides, News, & Discussion] vrda08:
Am I crazy or I think oos is faster decrypted?! placebo or not..
[OnePlus 6 Guides, News, & Discussion] reaper000:
When I decrypted my S8 plus, the process needed to be done just ONCE. (because everything from kernels to roms on that device was provided on XDA already decrypted) That does not appear to be the case with the OP6.

Just so I'm perfectly clear: because essentially everything for the OP6 on XDA forums is encrypted, and encryption occurs on the first system boot, the disable dm-verity zip has to be flashed before that first system boot for the device to remain decrypted if you're flashing ANYTHING involved with a new system boot.

For example, to flash a kernel with a decrypted rom already in place:

Flash kernel zip

Flash disable dm-verity zip

Flash magisk 17.1

Reboot to system

Another example, to restore a nandroid backup:

Factory wipe

Restore backup

Flash TWRP installer zip

Reboot to TWRP

Flash disable dm-verity zip

Flash magisk 17.1

Reboot to system

I'd appreciate it if someone were to please correct me if I'm wrong!
[OnePlus 6 Guides, News, & Discussion] Paz9:
its normal android feature to inform you that verity is disabled

it doesnt affect anything.
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Can not disabled this message? What is whene i enable in magisk both option encryption' and 'avb?
[OnePlus 6 Guides, News, & Discussion] Paz9:
no you cant disable the message

if you eable encryption and avb in magisk and reinstall it will remove encryption and format data.
[OnePlus 6 Guides, News, & Discussion] Paz9:
yes faster
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Whene i switch to open beta, how install this without lost decrypt and can i return to my decrypt backup from the beta without format data?
[OnePlus 6 Guides, News, & Discussion] mixlex:
I think I got it. I'll probably just wait until the next time I try a different room.

---------- Post added at 08:43 PM ---------- Previous post was at 08:42 PM ----------

Rom
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
This not work here. I have make a backup from 5.1.11. I flash new open beta 2 with decrypt. Now i will return to my 5.1.11 backup but its reboot now always to recovery.
[OnePlus 6 Guides, News, & Discussion] reaper000:
Thanks for the report.

A quick question: was your 5.1.11 backup also decrypted? In other words, were you trying to restore a decrypted nandroid backup?

If you were trying to restore an encrypted version, my thinking is that an encrypted nandroid backup won't boot on a decrypted device because the restored system is "expecting" encryption and it's not getting it.

Another thing is firmware for Pie may not be backwards compatible with Oreo, so you'd have to revert to stock Oreo before restoring an Oreo backup.

Either is troublesome because a format of internal storage becomes likely if return to Oreo is truly the desired endpoint.

But I could be wrong about all this ... more experienced and knowledgeable people are welcome to correct me!
[OnePlus 6 Guides, News, & Discussion] SpectraFun:
Yes my 5.1.11 was decrypt. I have format all without internal sd, thene i restore my backup, flash no verity and magisk new and reboot but only reboot in twrp.

But now i found a other way. I install oos new in twrp, flash twrp, no verity and magisk and boot to the setup, return to twrp, format all, restore backup, flash no veriry and magisk and now i can boot and all working. I dont have format data, this not need.
[OnePlus 6 Guides, News, & Discussion] reaper000:
Excellent work, looks like it was a firmware issue then... By flashing full OOS, you overwrote the Pie firmware with Oreo firmware, thereby allowing restoration of a Oreo nandroid. Good to know.
[OnePlus 6 Guides, News, & Discussion] reaper000:
I was on decrypted Pie OB2 with bluspark TWRP.

Wiped cache, system.

Flashed Pie OB3 and bluspark TWRP installer zip

Rebooted into TWRP (despite no OS warning)

Flashed decrypt zip and Magisk17.1

Rebooted into system.

That's a dirty flash of OB3 atop data from OB2 and all is well, still decrypted! :good::good::good:
[OnePlus 6 Guides, News, & Discussion] Xaeons:
I did everything in OP post and it is indeed decrypted, but I keep getting a popup message once the homescreen appears:

"Android System - There's an internal problem with your device. Contact your manufacturer for details"

Googled it and found an XDA thread about the exact same thing. I just tried this:

And I wasn't able to boot into system. I reflashed Magisk 16.7 (as indicated in OP post) and the xXx-No-Verity-Treble_v4.zip and I was able to boot back to system again.

Has anyone encountered this? Was going to try one of the suggestions which was to flash a custom kernel but at this point I'd ask first to be sure.

Thanks

EDIT: Just installed EXKM and flashed EX Kernel from there. Rebooted to TWRP and reflashed Magisk and no-verity (else I'd just boot to TWRP forever)

Still the same popup -_-
[OnePlus 6 Guides, News, & Discussion] Xaeons:
Ughh, why do I get the "There's an internal problem with your device" homescreen message ONLY when I do this decrypt mod?

I've tried everything that was said here and still I am on Magisk 16.7 because it's the only thing keeping me from recovery bootloop

I'm at wits end
[OnePlus 6 Guides, News, & Discussion] G0dofWar:
Magisk 17.1 will work fine or i need to install 16.7 ?
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
working fine
[OnePlus 6 Guides, News, & Discussion] refedit:
Does it work on Pie?
[OnePlus 6 Guides, News, & Discussion] CyPress1988:
Hello, I am still on Android 8. Can I use the way described in Post 1 for the OB 5? Which version of Magisk and TWRP are recommended? Thanks
[OnePlus 6 Guides, News, & Discussion] reaper000:
I don't know. But there's a simpler way. Start reading the post from _MartyMan_ (about 20-25 posts ago) on this thread.

For twrp, I use either the blackout version or bluspark 9.86 once on Pie. However, going from Oreo to Pie, there was a fuss made about using bluspark 9.85v1, and then after the pie full OTA was flashed, then using 9.85v2. Don't know if that's still relevant with the advent of 9.86.

For magisk, either 17.1 or 17.2
[OnePlus 6 Guides, News, & Discussion] CyPress1988:
Has worked great according to your description. Thanks for that! I have TWRP blu_spark v9. 86 and Magisk 17.3 used, without Problems. :D
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
Your welcome! ;)
[OnePlus 6 Guides, News, & Discussion] showgood163:
Man, I wish I could seen this post earlier......
[OnePlus 6 Guides, News, & Discussion] reaper000:
OK, I will apologize for being off-device first, but can anyone weigh in on how likely the process and flashable zip described by [MENTION=7261711]_MartyMan_[/MENTION] will work in decrypting a Oneplus 6T?

I know only a little bit about scripts, but it looks like this should work for a 6T.

Would really like to hear what more knowledgeable people think...
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
I'd try the same as with the OnePlus 6 (it should work imo), just remember to back your data up.
[OnePlus 6 Guides, News, & Discussion] pargas:
Hi folks. Can I jump between stable pie and stable Oreo without losing decryption? Is it enough to flash the zip? I am running decrypted pie atm but would like to return to Oreo for a while.

Thanks!
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
If you do a full wipe (including internal) then yes. I wipe everything when doing any OS update.
[OnePlus 6 Guides, News, & Discussion] pargas:
Ok. So I have to completely erase the storage? I was hoping that having it decrypted would spare me the trouble of backing up my music and other files to PC. Don't mind factory resetting but I don't have the inspiration now to transfer 30gb of files just yet. Guess I'll have to test some pie custom rooms instead.:)
[OnePlus 6 Guides, News, & Discussion] no.one.writeme:
Hi [MENTION=7261711]_MartyMan_[/MENTION],

You don't have to do a full wipe.

I usually do this:

I keep slot_a with complete OOS Stock Rom + decrypt script just in case I need rescue the phone and to have the necessary firmware to test Custom Roms.

I use slot_b with OOS + decrypt script + Custom Kernel + root ( Magisk ).

If want to test a OOS Beta or a Custom ROM, I just set the active slot, the _b slot and the boot Bluespark TWRP, take a backup, and so a normal wipe..

Then I sideload the ROM ( the rom is installed on the _a slot ). Without rebooting to ROM I set the _a slot active and boot Bluespark TWRP.

Then if it is a Custom ROM I flash gapps + Custom Kernel + decrypt script + root ( Magisk ).

If it is a OOS beta, just flash Custom Kernel + decrypt script + root ( Magisk ).

To do a OOS Update I usually download the full rom, set the _a slot active, boot TWRP, sideload the OOS update ( is installed on slot _b ), with rebooting to rom, set the _b slot active, boot to twrp, Custom Kernel + decrypt script + root ( Magisk ).

If you use the slots this way there is no need to do a full wipe and you stay encrypted.

Best regards.
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
I know, but it feels better to start clean. :Đ
[OnePlus 6 Guides, News, & Discussion] Paz9:
have you got stock fstab files? would be good to have them just incase
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
No, sorry... When i install stock OOS i'll send them.
[OnePlus 6 Guides, News, & Discussion] KyriaZ:
Does anyone decrypted ob8 ? I tryed 3 4 times but phone was still encrypted..
[OnePlus 6 Guides, News, & Discussion] refedit:
Did someone try on OnePlus 6T?
[OnePlus 6 Guides, News, & Discussion] ebautista:
+1

---------- Post added at 01:41 PM ---------- Previous post was at 01:34 PM ----------

I have done different steps to make sure im running decrypted after flashing. But ended up encrypted even after format data and flashing dm verity.

Im running Ob8
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
Open Beta 8 decryption works.

The zip has been updated.

Instructions:

Slot A: Wipe everything, format internal, flash OB8, twrp, anything else, custom kernel, this zip, then Magisk (In this order, Magisk 18.0 works)

Switch to Slot B and do the same, reboot.

Done :D
[OnePlus 6 Guides, News, & Discussion] subodhdhull:
I tried this on OOS 9.0.2 followed every step but unable to get decryption.
[OnePlus 6 Guides, News, & Discussion] StreamingMT:
Hello,

This method not work with my 6T.

The one from "virtyx" is OK by downloading the file and copy/past files

Thank you for your help guys. :)
[OnePlus 6 Guides, News, & Discussion] refedit:
Did you manage to decrypt the 6t?
[OnePlus 6 Guides, News, & Discussion] StreamingMT:
Yes and no, just a point of view, datas was not decrypted, only erased and after that, the encryption is no more able to work.

With the xXx method, the datas are crypted on boot an no more accesible by TWRP. EDIT: And no more Magisk working

With the virtyx method: copy/paste files from her downloaded files it's Okay now :)
[OnePlus 6 Guides, News, & Discussion] vrda08:
Updated zip. 15/12/18

https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_12.15.2018.zip
[OnePlus 6 Guides, News, & Discussion] abalam:
what is the difference between this and xxx
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
Full compatibility with Magisk 18 and more recent imo.
[OnePlus 6 Guides, News, & Discussion] vtec303:
so have you successfully decrypted your oneplus 6T and is the fingerprint working ?, cheers.
[OnePlus 6 Guides, News, & Discussion] Gelo31:
Disable_Dm-Verity_ForceEncrypt .for oneplus 6T will do?
[OnePlus 6 Guides, News, & Discussion] WANTES:
no