yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
Can I simply flash 3.28 in twrp 3.26?

I want to switch from oos stock to aosp rom, so I factory wipe , flash rom flash twrp, reboot to recovery, flash magisk?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TENlll423:
Flash twrp . 28 installer then reboot to recovery.... Then Magisk...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
I didn't have time to fully install havoc so I wanted to go back to my backup of oos 9.0.11

I wiped dalvic cache + data then restored my backup, then reflashed twrp, now I have a bootloop and folders are encrypted in twrp :crying:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
Switch slots then reboot recovery
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
Sorry for being noob, but which slots?

Switched to slot A it was B but nothing changed, it's still encrypted and I can't run any rom

Should I totally wipe the memory and flash back stock Oos?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
When in TWRP if you hit reboot it will show menu and at bottom are the slots.

Switch it to the one that's not mounted.

Then reboot recovery and should be good. The problem is different security patches most likely.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
ok did that, now I have the stock recovery menu!

---------- Post added at 04:10 AM ---------- Previous post was at 04:00 AM ----------

ok did that, now I have the stock recovery menu!

I am going mad

can I format the memory in twrp then install stock rom?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
Reboot to fastboot and flash TWRP again then flash rom.

Or boot TWRP and restore to the slot your on now
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
I can't flash a rom or use recovery because of the encryption!

I tried sideload flash stock rom but it still bootloop to recovery
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
Pm me
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] null0seven:
You can erase dalvik/cache or ALL phone in youre in Oos recovery.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cultofluna:
The problem is not different security patches...

When you wipe before installing a rom or restoring a backup...after installing twrp and reboot to twrp , decryption doesn't work due FBE issue...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
What's the solution in that case?

I am running havoc rom but not stock or restore, but it's still in read mode because internal memory is still encrypted, I can't install magisk manager app because out of memory
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
Help!

I went back to recovery and switched from A to B and restarted, now I can only have fastboot mode and can't fastboot boot twrp image

It gives me: FAILED (remote: Failed to load/authenticate boot image: Load Error)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cultofluna:
Use msm tool ...

https://xdaforums.com/oneplus-6t/how-to/tool-6t-msmdownloadtool-v4-0-oos-9-0-5-t3867448
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
I flashed the 9.0.11 fastboot image rom thanks to mauronofrio thread, then boot twrp, flashed twrp + magisk, rebooted to recovery, restored my backup then again twrp and magisk...and now everything is back to normal :D

But anyway if I want to flash a custom rom aosp based and avoid all these problems, what is the best and safest way? Because all turorials said to wipe then flash custom rom, flash twrp then reboot to recovery to install magisk, but doing so will encrypt internal memory
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cultofluna:
Boot twrp

Flash rom

Flash twrp installer

Boot twrp

Wipe data & art cache

Flash magisk

Reboot
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
Thanks

so flashing a rom over another without doing before it a wiping won't make problems?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
Actually it causes problems if you do
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Cj719:
Has anyone ever had this issue. I'm on latest twrp and tried flashing Smurf kernel and it fails I downloaded it several times to rule out bad download.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
Can you get the log?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Cj719:
Sure... how?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
After u try to flash and get the error. Back out to main screen and choose advanced then copy log to sd
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Cj719:
Ok gimme a few minutes
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Cj719:
Here it is.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] MrPhilo:
Tried searching first but had a hard time finding the difference between the official twrp Vs .28, can anyone tell me the difference
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
Have u modified the zip

I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Mods/Kernels/SmurfKernel.2.0.54t4.OP6.OP6T.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Zip does not contain SELinux file_contexts file in its root.

Archive: /sdcard/Download/Mods/Kernels/SmurfKernel.2.0.54t4.OP6.OP6T.zip
inflating: overlay1/init.profile1.sh
inflating: overlay1/init.profile2.sh
inflating: overlay2/init.profile0.sh
inflating: kernel/Image.gz
inflating: overlay2/init.spectrum.sh
inflating: overlay1/init.spectrum.sh
inflating: overlay2/init.profile1.sh
inflating: tools/lz4
inflating: overlay1/init.special_power.sh
inflating: META-INF/com/google/android/updater-script
inflating: overlay2/init.special_power.sh
inflating: META-INF/com/google/android/update-binary
inflating: overlay1/init.profile3.sh
inflating: tools/mkbootimg
inflating: overlay1/init.performance_profiles.rc
inflating: dtbs/sdm845-v2.1.dtb
inflating: overlay1/init.qcom.rc
inflating: overlay2/init.performance_profiles.rc
inflating: overlay2/init.profile2.sh
inflating: smurf.kernel.config
inflating: overlay1/init.spectrum.rc
inflating: dtbs/sdm845-v2.dtb
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.RSA
inflating: META-INF/CERT.SF
inflating: overlay1/init.profile0.sh
inflating: anykernel.sh
inflating: tools/magiskboot
inflating: tools/xz
inflating: tools/ak2-core.sh
inflating: dtbs/sdm845.dtb
inflating: overlay2/init.profile3.sh
inflating: overlay2/init.spectrum.rc
inflating: tools/busybox
inflating: version
unzip: failed to extract version: Inconsistent information
Unzip failed. Aborting...
Updater process ended with ERROR: 1
I:Install took 0 second(s).
Error installing zip file '/sdcard/Download/Mods/Kernels/SmurfKernel.2.0.54t4.OP6.OP6T.zip'
Updating partition details...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Cj719:
No straight download
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
The difference is this one is updated first.

Both built from [MENTION=4712355]mauronofrio[/MENTION] source

---------- Post added at 04:40 AM ---------- Previous post was at 04:33 AM ----------

unzip: failed to extract version: Inconsistent information

Unzip failed. Aborting...

Updater process ended with ERROR: 1

I:Install took 0 second(s).

Are you on stock or custom Rom?

Are you sure you downloaded correct version?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Cj719:
TMobile converted on 9.0.11 rooted. I have flashed previous versions with no issues as well as other zips (magisk, twrp) I downloaded on phone and pc and get same results funny thing is it flashes through EXKernelManager successfully.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
Sounds like you found a bug and you posted log so it will be looked into further
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Striatum_bdr:
I had the exact same error yesterday with Render Kernel, trying to flash it on a previous Render version. I had to flash stock .11 boot img to make the flash working again.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
This should be posted as sticky, lot of wrong tutorials floating in custom roms threads and people ending up with encrypted data.

Thanks again mate
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Added to the first post
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
Thank you :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] TomiLynch:
Does this only apply flashing a custom rom over OOS or is it the same if you're already on a custom rom and want to flash an other custom rom over it?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cultofluna:
Its the same
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
Any progress with aroma for Pie twrp?

Viper rom team found a fix on u12+ and are ready to help
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Link the thread and the twrp
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
Sent you a pm
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mobbdeep:
I am having issues with what I believe is file encryption when attempting to flash a file in TWRP. This is what I did:

- Unlocked bootloader

- Flashed latest TWRP .img via fastboot

- Flashed Havoc OS via TWRP

- Flashed latest TWRP installer .zip via TWRP

- Rebooted device back into Recovery

Now when I go back to Install, all directories are encrypted.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
I already amnswered to your message
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
[MENTION=3184278]mikalovtch[/MENTION]

Welcome to twrp op6t
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mikalovtch:
Hello! What do you want to know?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
If you can help sharing your findings on aroma for twrp as you have found a way to make it work with your rom
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mikalovtch:
You should check my github: https://github.com/mikalovtch/AROMA-Installer and also take commit from https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/32703/ for twrp.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
The second commit needs of a rebase to android-9.0 branch...

Have you rooted your phone? Have you removed pin/pattern/password from your rom before flash the havoc?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mobbdeep:
Fixed my own problem by using OP's All-In-One Tool. :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
If you rebase it maybe it can be merged, yesterday Captain Throwback ask you the same thing
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] wavygravee:
Is there any advantages/disadvantages using the unofficial TWRP vs the official TWRP? I have the unofficial one installed (flashed the installer) but now that the official one is released, wouldn't just flashing the official recovery.img file survive a reboot?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kitcostantino:
there actually isnt a recovery.img in A/B partition devices as recovery is part of boot.img . me personally, ive stayed on the one in this thread and not had any problems yet. currently v28, whether official or not. idk. lol. had success restoeing a complete backup when i borked my phone last night flashing a bad zip. [MENTION=4712355]mauronofrio[/MENTION] is the man!!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
There is no differences
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mindblizzard:
Is it possible to delete the encryption for good?

Again stuck in TWRP with encrypted files
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] scott45333:
I install everything via USB. After installing the ROM and twrp, reboot to recovery, all files are encrypted. I then select USB and install gapps, Magisk and kernel. Reboot system, set up phone then reboot to recovery again and everything is normal again. Just a work around that I have found that seems to work most of the time.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
This is exactly why i flash a rom,twrp installer, then magisk, lastly as soon as it boots up, i reboot to twrp and flash gapps. Avoids any encrypted files
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
This worth a try. Thank you so much for sharing this workaround. Can avoid a format data and save a lot of time.

I am on Havoc 2.0 build but now there is 2.1 2nd build available and I would like to update but I'm waiting cause I read that after flashing all is encrypted not readable by TWRP.

In what you wrote I think you meant MAGISK instead of ROM the second time so in practice to perform a CLEAN FLASH it should be:

- boot TWRP

- factory reset and wipe everything excluding vendor

- flash ROM and TWRP installer

- reboot in TWRP

- if unreadable switch to USB

- flash GAPPS

- flash MAGISK if needed

- flash KERNEL if needed

Do you agree?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] scott45333:
You are correct, I meant Magisk. Sorry about that. The only step I do different is kernel, Magisk, kernel.

So,

- boot TWRP

- factory reset and wipe everything excluding vendor

- flash ROM and TWRP installer

- reboot in TWRP

- if unreadable switch to USB

- flash GAPPS

- flash KERNEL if needed

- flash MAGISK if needed

- flash KERNEL if needed
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] playtime512:
So just to clarify, what causes encryption after flashing in TWRP?

Before flashing, should I remove PIN/Password and dirty flash old rom to get get stock kernel then...

Do these steps in this order:

Boot twrp

Flash rom

Flash twrp installer

Boot twrp

Wipe data & art cache

Flash GAPPs

Flash magisk

Reboot

Just trying to avoid the encrypted files scare I had last week. :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nostradomis:
Maybe only semantics but I think the problem is the inability to decrypt an existing encrypted file system.

1. make sure you have an OTG cable and copy all the files to the flash drive.

2. follow the steps you described.

6. after you install TWRP recovery and reboot you probably won't be able to decrypt your SD card.

7. plug-in your cable and Flash Drive and finish installing everything as above from your OTG.

if you don't have the drive cable, you can also sideload the install of each file. I have done it both ways and they worked.

after you install the OS you can reboot recovery and your data will all be there. back everything up before starting just in case.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mindblizzard:
So i need tot flash Rom then TWRP and magisk before reboot to avoid encryption?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mobbdeep:
I can't say that this 100% fixed my issue but after spending a long time flashing my phone different ways as it kept bricking or encrypting my files... I finally turned off the swipe to unlock security feature and I didn't have troubles after. Make sure all unlock features are set to None.. password, swipe, pattern, fingerprint, etc.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
Or simply flash Renovate magisk rom, no twrp or magisk or wipe to reinstall, so no encryption risk :)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Koont:
After numerous bricks, I think this is the sure shot combo to keep from encryption.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] reppi:
I wanted to revert to stock ROM by flashing OOS full zip on both slots again in TWRP followed by TWRP installer but I once again end up with encrypted storage and phone only boots to TWRP each time.

No security stuff was set up.

Any solution without internal storage loss? Gonna try with fastboot image files and if nothing helps MSM tool.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Zorbeyd:
Did you solve the encryption problem? If yes, how?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mobbdeep:
I only had issues with flashing HavocOS and encrypted files. However, reading on previous pages, people are saying this order works.

Boot into TWRP

Flash the ROM

Flash TWRP Installer

Flash Magisk

Reboot to Recovery

Flash GApps

Only reason why I tried HavocOS is for the Pixel style but I'm not a fan of it so I just flashed xXx NoLimits and SmurfKernel while running OOS 9.0.11. I'd definitely say it's the best choice I made if you want maximum performance and battery life. If you want to go the route of the combo I use, just follow these steps:

Make sure you have stock OOS 9.0.11 in place

Place the NoLimits.profile file in your /sdcard directory

Boot into TWRP

Flash Magisk.. go into your phone and make sure the app is there

Reboot to Recovery

Flash SmurfKernel

Flash xXx NoLimits zip

Reboot System
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
Yeah it works good every time. Happy it helps someone..:)

I literally had someone give me crap for saying this....like i would suggest things that dont work to have others brick their devices...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nikosrs4:
A question, some instructions say to flash twice OOS for example so it flashes in both partitions but when I do, both times it says that active slot is for example a, so I'm not so sure it actually flashes in both partitions.. does it?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] reppi:
You must reboot to recovery after the first flash. Then it changes slots and you must flash again.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nikosrs4:
So you flash recovery after each flash in order to keep it..
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] reppi:
Exactly.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] H4X0R46:
So need some insight here. I wiped my data and dalvik partitions and installed Beta 4, when I rebooted, my data was showing encrypted, not asking for decryption key, even though I wiped my data partition beforehand. Had to carry out the rest of my flashing with adb sideload. Is this to be expected? Also, after rebooting into Beta 4, TWRP was working as expected again. Is a full reboot required first is that it? Thanks! And I'm sorry if this has been answered before, this thread has gotten messy lately, hard to find important information these days. Thanks again!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] VampireHeart:
The only way is to format data because is needed between custom rom and oxygen os.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jukyO:
Hello,

[MENTION=4712355]mauronofrio[/MENTION]
[MENTION=1007992]everyone[/MENTION]__

If I backup before unlocking bootloader and wipe data with this:

https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/

Will restoring it after TWRP flashing and kernel flashing work properly with method described in link?

Thanks
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] cultofluna:
Your steps should be...

On twrp

Flash Beta 4

Flash twrp installer

Boot on twrp

Wipe data & art cache

Flash magisk

Boot on system

Don't wipe before installing the rom otherwise twrp can't decrypt your data ( FBS issue )
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] stryver:
Twrp still works after wiping, you just need to set up pin info in the rom again before you will be able to mount data
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] H4X0R46:
Alright thanks guys! :D

---------- Post added at 01:39 AM ---------- Previous post was at 01:14 AM ----------

Oddly enough, my pin was already set when I booted into beta 4 for the first time, not sure why! Kinda weird lol
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
Yes if you wipe before flashing the rom, then when you reebot in TWRP you will find all encrypted. In this case just boot the system for the first time, and then reebot in TWRP and all will be there. Then flash what is needed like gapps and magisk and reboot.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] H4X0R46:
Great thanks! I'll try to remember to wipe after I flash a rom, but it's good to know that a simple boot can also fix this if I forget.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ostvarivanje:
I have the same problem and I tried 2-3 roms but nothing. I have both in twrp or when i boot encrypted my files. And now I don't know what to do.

I am really so disappointed, nervous and angry. I have more than 10 years or 15 flashing roms (from windows 6.1 before android) and this weird thing never faced. What is the weird thing? To follow all steps of all guides and to get different results.. For example read in this thread that when someone used 3.2.3-28 had decrypted files. Or if you boot to the system you will have decrypted files. Nothing happens and now I am stucking in twrp trying to find a way to back up my files to the computer so i will remove everything and begin from the scratch.

As I know no need having decrypted your system via twrp. I am enjoying flashing roms and using mods, but this is crazy, whole day searching to find something, there are 100 guides and no one to resolve my problem!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
For what i know it's a known twrp bug related to something i dont know...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] twinnfamous:
If twrp is installed to both slots. Switch slots then reboot recovery and u should be able to access the files u want to save
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
I tryed this workaround, switching slots, but it didn't work for me.

ANYWAY THERE ARE TWO SOLUTIONS if you find your data unreadable when rebooting in TWRP, without loosing any bit.

CASE 1 - you have an OS to boot

You are clean flashing a Rom, so you made factory reset, then flashed rom and twrp installer and then you reeboted twrp and all is unreadable :

- you can boot your system without gapps and magisk, so at boot any setup wizard will start. Let it boot and then reboot in TWRP : all will be ok

- you can connect a USB OTG memory to your device and continue flashing what you need like gapps and magisk from there

CASE 2 - you don't have an OS to boot

For example you restored a nandroid backup but something went wrong, you still have twrp but data is unreadable and you don't have any system to boot :

- can connect a USB OTG memory to your device and flash ROM then other zips needed from there

If not the only solution is a FORMAT DATA that will wipe all your data and your device will return completely empty.

Always remember that if you loose twrp you can connect to PC and boot twrp image in OP through fastboot, then flash twrp installer and twrp will stick again.

So in practice an USB OTG memory can save you very easily with no headackes. Just keep your flashable zips on it too.

In the reality I'm encountering this issue all the time and I always use my OTG.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] nostradomis:
You you can also sideload if you have a PC and ADB installed.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Giansi:
Right
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ostvarivanje:
Thank you very much but I had my files to my computer, I just wanted to avoid transferring again my files from the beginning, but I didn't avoid. :) Now I have Resurrection Remix and after officially support of Bluspark expecting more good things from him.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] vegetaleb:
I wanted to return to my oos backup from aosp

I went to twrp, flashed the oos official rom, flashed twrp. rebooted to twrp, the data was encrypted!!

Why is official rom encrypt data?

Also I tried restoring using OTG but I got error 255
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] stevjaxn:
This problem is because of Magisk. When you can boot to twrp and your data partition is encrypted, you need to flash via sideload Magisk uninstaller zip and then installer zip and boot to OS or recovery.