yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] flbenini:
Quick question, just to confirm. I was on 9.0.11 with pin and magisk. I did a backup (boot, data, system img, vendor img) and upgraded to 9.0.13. If I want to go back can I just restore my backup or will I have issues due to security or magisk? Also, do I restore all 4 partitions or do I skip vendor img like some people mentioned a while ago? Everything was done on the 3.3.0-2.

Thanks!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
The problems are a lot, first you made a backup using a pin, this can broke all things. In all cases you can restore directly all partitions without problems, if you want you can try without restoring vendor and then if needed you can try to restore it.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] flbenini:
Thanks Mauro, I guess I will do a backup of 9.0.13 without the pin and in the worst cast i will flash that back.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Soon a new Official TWRP will be uploaded, stay tuned
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ProudRed:
I have a TWRP Backup, everytime I am restoring data, boot and TWRP its rebooting me to bootloader. What am I doing wrong ? I tried doing this after flashing 9.0.11 and 9.0.13. My TWRP is 9.0.12
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] osm0sis:
Flashed via zip in Magisk Manager. Working flawlessly. Awesome job! :highfive::D
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] BHUSHAN7988:
You flashed the zip in magisk then what did you do?

Flashed the latest magisk in recovery or install from magisk manager
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] osm0sis:
Either works. I did from Manager. :good:
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] dwardo:
Is this supposed to be better/more up to date than unofficial than 3.3.0-2 ?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
No is the same twrp but with the twrp app
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] BHUSHAN7988:
Flashed the official twrp 3.3.0-0 then booted in new twrp flashed the magisk 19 then booted again and rebooted in system

Do I have to install ram disk from advanced menu
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] osm0sis:
.. No
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sonarakash888@xda.com:
Twrp not decrypting storage i have pattern lock in oos and in twrp it says type pin now what to do when i remove any kind of password or pattern in oos no problem occures in twrp it shows storage help please asap
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] clarkcant:
Edit your post with commas.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mine420:
Most the time it is best to disable lock screens before using twrp. Also it will more than likely help to use the newest twrp. I know some versions had issues with decryption.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] sonarakash888@xda.com:
M using 3.3.0 latest
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] dwardo:
I'm locked with pin/fingerprint. Have had no issue, with 3.3.0-2, backing up oos and restoring (tested on boot and system_image).

Have now switched to unofficial lineage with working fp sensor...

The switch procedure is detailed here : https://xdaforums.com/oneplus-6t/development/rom-lineageos-16-0-t3897334/post79390359
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] asfau:
Hey Guys. Okay, so I'm an idiot and uninstalled Magisk by accident. Yep. Idiot. Now my phone goes straight into recovery and all of my files would appear to be encrypted so I can't reinstall Magisk. Any help would be appreciated. I know it's probably been posted here and I did try to search the thread but after about a half hour of looking I gave up and thus . . .here we are. Thanks all!

Oh, my phone is currently in fastboot mode. I'm just unclear on next steps.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] void4ever:
Are you saying TWRP isn't asking for your pin or pattern to decrypt the device when you goto recovery? Cuz it should! Then you just flash the zip like normal.

You aren't cancelling out of the pin/pattern screen when you boot to recovery are you?

Void4ever
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] asfau:
Well, no. What had happened was when the phone started in TWRP it would only allow me to go into read mode. When I did, I navigated to the appropriate folder to reinstall Magisk (that was only a guess as to what I should probably do). The problem; however, was that all the files looked as though they were encrypted . . .you know a mix of alphanumeric characters. So that's pretty much where I am. I have the phone sitting next to me in fastboot mode. So I'm not exactly sure what to do next. Thanks, buddy. Appreciate the assist.

Update: There would appear to be another issue now. I cannot get out of fastboot mode. When I hit the volume buttons to select what to do both Recovery Mode and Restart Bootloader are red (I assume red is not a good color to have). I scoured the interwebs to check all options for exiting fastboot though none have been successful thus far. Lots of fun over here.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Yozak:
Try booting twrp using "fastboot boot twrp.img" and use the "adb sideload" feature to reinstall Magisk.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] asfau:
I would have tried that but I had to make some work calls and thus had to wipe the system and start over. Nevertheless, I'll keep that suggestion in mind in case my dumbass finds myself in the same situation again though if that happens, I have bigger problems than a phone without Magisk.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ratelutz:
boot twrp.img fixed it for me.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] void4ever:
I would always keep the same version of TWRP you have installed on a USB stick in your pocket so you can fastboot to it in the event you can't get to recovery normally. It's just as fast to boot into and works the same in terms of flashing things, like Magisk for example.

I've never had a problem with TWRP decrypting with my pin, but I'm pretty particular about the versions I install. I do a ton of reading before touching newer versions when I already have one I KNOW works :) I can tell you 3.3.0-2 is working perfectly fine for me at least at the moment.

It's still "ALWAYS" recommended to remove any pin/pattern/fingerprint, BEFORE doing a backup, but to simply flash things like a new kernel or magisk or whatever, it shouldn't be necessary.

And yes i know lots of people backup with there pin/pattern/fp still on and never have a problem, but why risk it!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ogkillergreen:
Decrypt doesn't seem to work on 9.0.13. Have a pin set and when I boot to recovery I get a password failed message. Disable the pin and can access twrp successfully
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] tech_head:
I'm using the 3.3.0-2 with Beta 8 and am not seeing any issues with encryption/decryption.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] void4ever:
I'm using 3.3.0-2 on OOS .13 and can decrypt without issue. Try updating if you haven't already.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Causical:
Same
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] doggydog2:
what should do i do to prevent problems when updating the stock firmware? i want to keep encrypted data forever, never format it.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] void4ever:
Are you talking about upgrading from say OOS 9.0.11 or 9.0.12, to .13?

If thats the case the 3rd post down in the main OOS release thread has literally everything you need. https://xdaforums.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953

But because I'm such a nice guy......

TWRP Users

1. Boot into TWRP and Flash the Latest Magisk Uninstaller

2. Flash the latest Full Oxygen OS Zip

3. Flash the TWRP installer Zip

4. Reboot to RECOVERY to make sure TWRP stays and continue to root.

5. Flash the Latest Magisk to maintain root

6. Reboot System and Enjoy the latest firmware without any data loss
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] doggydog2:
thanks nice guy, i didn't know there was a stock oxygenos forum:) so it's about refreshing magisk. did you try the UI method? also visible on the forum page. asking because i don't remember OTA was installing anything, i've impression it just downloaded package:

2. Now Run the System update to download and install the full OTA zip (DO NOT REBOOT)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] void4ever:
No I haven't tried that method because I'm a TWRP user, and wish to retain TWRP.

If you're using TWRP then that method will remove/wipe TWRP once you're finished, requiring you to fastboot and side load it if you want it back. That just adds extra steps which seems completely unnecessary to me.

If you want to do that then by all means it's your phone, I just don't see the point. The TWRP method is extremely simple/fool proof and best of all fast.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Jevin577:
I am really ready to flash my oneplus 6T. Due to the problem of 3.3.0-0, I chose 3.2.3-37, which seems to be a good choice.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Vortell:
3.3.0-2 works fine...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] osm0sis:
The rebuild/reupload of official 3.3.0-0 works great too (since it's basically 3.3.0-2).
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] reaper000:
Don't know if it's just me, but whenever I do a clean flash (factory wipe in TWRP then install a new rom and twrp installer zip), then reboot to TWRP (to flash gapps and magisk) I get an encrypted data partition that forces me to flash Magisk from a USB drive. Rebooting system then gets me the newly installed rom to setup with no problem.

This is the only phone that I've had to carry a freaking thumb drive around with me, in more than a decade of flashaholism.

Any ideas would be great ...?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] null0seven:
After flashing twrp, do NOT reboot to recovery, flash Magisk .

Me too i was rebooting after flashing twrp. Got encrypted. Flash from usb otg drive...
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] phil1737:
Just so my dense, newb brain understands: you flash ROM, flash TWRP installer, flash Magisk, THEN reboot recovery and flash gapps? Or are you flashing ROM, TWRP installer, Magisk and gapps without doing the reboot recovery step, then just rebooting into system?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] foamerman:
Flash rom then TWRP installer then reboot "back into recovery" then flash gapps and magisk then reboot to system all should be good.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] phil1737:
Thanks, I understand that standard way to flash, but null0seven said he was NOT rebooting to recovery before flashing Magisk - thereby avoiding encryption problems. I was curious about his method.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] void4ever:
I dunno about the Magisk installer but using the zip in TWRP flashes it to both slots by default, always has.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] foamerman:
I've not had any problems with encryption when I reboot back into recovery. So I guess you can try both ways and see what happens. Just don't forget to backup.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] void4ever:
Just to make sure I wasn't lying to you I reflashed TWRP for kicks. You'll see it patches both slot A and B!

This is through TWRP itself, i would assume the Magisk flash is the same, because i think it uses the same zip, but i can't confirm that myself.

Void4ever
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Causical:
If the Magisk zip flashes to both slots then what would be the reason to reboot to the inactive slot before flashing it I wonder... I think you are incorrect sir, I think the TWRP installer patches the image on both slots, but when you install the OS(Rom) then it flashes to the inactive slot hence the reason that you have to reboot TWRP to the inactive slot so that it now becomes the active slot and you can now proceed with flashing Magisk/Gapps/mods to the slot that your current OS now exists on.... Feel free to correct me if I'm wrong.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
Sigh.. people please stop and listen.these convos are like repeats of reality TV.

When u flash a rom no matter if u previously had twrp installed, the rom flashes a kernel. (Fyi- Twrp is patched in the kernel.) Hence flashing a new rom makes it disappear. So u have to flash twrp again. So many people complicate all of this.

Flash a rom, flash twrp zip or install ramdisk the new way. Flash magisk. Reboot. Once first boot is achieved, reboot recovery, flash magisk.

If u are running oxygen os. New update arrives. Download. Reboot recovery (twrp) flash new update zip, twrp zip or ramdisk install, magisk, reboot. Your modules are all still there and intact..Why do a magisk uninstall, then a reboot, then the update install, then another twrp install whatever way ya look at it.too many steps. My instructions I follow exactly and have since this phone's release. If u reboot recovery after installing rom, twrp, and magisk, u will most definitely have an encrypted sd. That's ok if u are running an otg to an external. But why complicate this. And geez H. Christ, the search function WITHIN each specific thread is an amazing feature.

Just like the lames who argue about how to install gsi's, this is a correct way as well as probably 3 other ways. I do promise this though, this way I described is flawless and works every time, easy peezy. Until a twrp is developed that actually decrypts the internal storage on every recovery boot, and not just until u install something, then u will have to keep flashing magisk post install 2x to defer the encryption provided by Android verified boot ... Stock oos recovery makes u decrypt recovery when it boots to it when u have a locked BL.remember the pattern thing?

If one cannot bounce back from a brick, do not mess with your phone. Always have an escape plan before u do something.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] OhioYJ:
[MENTION=4712355]mauronofrio[/MENTION] I noticed the date on the TWRP site for the official versions has a date of April 27? Has the 3.3.0 Official been getting updated as well with the fixes from the unofficial after testing?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Causical:
Why flash Magisk and then once first boot is achieved reboot recovery and flash it again? What's the point of that?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] null0seven:
Now,

I flash OOS rom

flash twrp

flash magisk

reboot to system. No encription.

I did not flash any custom rom, because they are missing Oos Gestures.

Before, when i flash twrp i reboot to recovery to check it. Got encription problems. For me the easy way to solve it's with a OTG usb drive.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Causical:
How 'bout flash OOS, flash TWRP, flash Magisk, and reboot system like you just stated and then let us know how it went. I don't know what all this triple, double, quadruple, flashing/rebooting is.... Someone once said every time you boot into recovery it changes the active slot, but if this is in fact false, then there's literally NO need for the extensive processes.

It should literally be once and done for all flashes unless you have to do something like wiping or formatting.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
It absolutely does not change slots each time u boot into recovery.. why would it?

First magisk flash is the required post TWRP install magisk flash to disable avb. After first boot we reboot to recovery to flash magisk again to actually root it. U cannot achieve root with out a boot first at time of initial flash unless u have a prepatchdd magisk boot image. Then u still gotta update the magisk environment. Hence we flash magisk 2x. Everytime u flash twrp u should flash magisk. It is a avb and encryption disabler as well as root method

Me and an army of people mod our phones and use my said methods. They work seemlessly. Slots are simply two sides to the same coin. I do not recommend people modding their phones unless you can understand what the point of slots are and how to revive any type of bricks
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
Yes the official one is updated and it is working
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jamescable:
So question. If I am understanding the new updated versions of twrp....we now have a unofficial recovery partition? Not a actual one, but one where twrp stays where we don't have to flash an installer after every ROM flash?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] mauronofrio:
No, this is not true
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] jamescable:
OK. Looks like I misunderstood then
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Causical:
Okay now I appreciate your answer, but this statement isn't entirely necessary. I understand why you made it and it makes sense, but truth be told everyone starts somewhere. Did you just pop out of the womb knowing how A/B partitions work, because that would be impressive.

Also for this particular device I've only ever flashed updates to OOS as far as Roms go. So I just used Funks method to Flash the update, then TWRP, then reboot recovery, then flash Magisk and boot to OS. I understand there may be additional steps to install a custom OS, that however I have not attempted yet because I'm pretty satisfied with OOS. Still nonetheless I've only ever flashed Magisk once to have root on OOS.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] null0seven:
I did like i write. Phone works fine. No encription.

And since OnePlus 5 forward it's getting harder and harder and harder..
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
Not saying it rudely like, " don't try at all if u don't know"; not saying that at all. I'm saying do it, try, fail, learn. I bricked my essential phone for at least a week or two learning slots. Sorry if it came off as rude. What I meant is this, if one intends on modding their phone, at least have the resources nearby and instructions handy before doing so. Experience is everything and u will gain that by failing. If u have at least researched the information you would have answered a number of your initial concerns. That's all. You are right we all start somewhere. But at least get the basics down before. And make sure they are available to you. I do advise if you to try tresk mod rom. That developer has made a perfect rom that works with this hardware better than oos. They should hire him. He his implemented all the OnePlus stuff, and much more that they should have. I got tired of oos bc of the non fluidity with recents. It gets stuck swiping between apps, EVERY time for me.

No I was born in the early 80's. No phones till later on. I had to learn to mod my TI 83 first. ;)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Causical:
Hey that treskmod looks pretty promising...I have a question, I know we aren't generally instructed to wipe system, but it's in the prerequisites for installing treskmod, do you advise against this?

Update: figured it out, excellent recommendation dude! This is really satisfying actually. I think I still prefer stock OOS gestures, but this definitely isn't bad and the extra features kind of make up for it. Thanks ?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] radekmazur:
Hey,

Can someone point me in a right direction with the steps I need to follow.

I'm on OOS 9.0.13, root, magisk 18.1, twrp 3.2.3-12. I came from TMobile version.

How do I upgrade to the latest TWRP?

Which of the file on first page do I use?

My ultimate goal here is to factory reset the phone, install everything again and then install xXx ROM to try it out.

Thanks for the help.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Vortell:
Use the zip 3.3.0-2, I I'm pretty sure TWRP official has been changed out now so it works too. I know the 3.3.0-2 here works for sure since that's what I used.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] :
With every install I wipe everything. But vendor. Sometimes I unpack the bin file and have a script that flashes the ROM files with our latest open betas, less the files from the custom. Usually delete from open betas system, and boot.sometimes dtbo. So in essence I keep only the criticals updated. Don't buy into the Bs u "NEED" oos on the phone before flashing a custom. U already have the criticals. Wipe that system. ;)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] BIGWORM:
Agreed. Used the latest official when I dirty flashed from OB4 to OB9, no issues.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Causical:
Alright yeah, you kind of lost me with the bin file, script flashing, beta system stuff...but yeah this time (just because it's my first time) I just went ahead and flashed both slots back to OOS .13 primarily for the fact of restoring the boot image from a custom kernel I had installed...I do think you're on the right track about not NEEDING OOS as base before custom, after flashing something other than just an OOS update for the first time I can really see how people are over complicating things. It sure confused me. I just used the common sense of what I gathered and realized both slots need the ROM, TWRP and finally Magisk to boot and root. Why the hell don't people just say "Make sure you flash those essentials to both slots and you're gold" ... and that's LITERALLY IT... #Like-no-really-im-being-for-real-right-now

---------- Post added at 11:05 PM ---------- Previous post was at 10:55 PM ----------

Sorry bout off topic
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Danny1976:
I have a Nokia 6.1 and the OnePlus 6T. On the Nokia 6.1 the OTA will not install if it doesn't detect stock recovery. So I only boot to TWRP and not flash.

How does the OTA work on the 6T if you have TWRP flashed? I just booted TWRP on the 6T to flash magisk, since I can just boot to TWRP if I need to flash anything else. Once you are rooted, you don't need TWRP for much. You flash most things through magisk systemless. I don't see the need of flashing TWRP, unless you are on a custom rom.

Will OTA work if 6T has TWRP flashed on stock rom OOS?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] osm0sis:
Yep, because OnePlus' OTA updater detects root/unlocked and uses the Full OTA (FOTA) zip instead of incremental, which will just blanket overwrite any changes you've made to the device.

The most you will want to do is turn off "Automatic system updates" in Developer Options so you're always aware when one has occurred, and then when you get an OTA either use my twrp-keep Magisk module or reflash the latest TWRP zip from Magisk Manager/Franco Kernel Manager after the OTA has completed (but before installing Magisk to inactive slot in Magisk Manager) and before you reboot.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] gururoop:
Anyone been able to boot/install TWRP on Android Q DP3 for OP6T? If I try to fastboot boot latest TWRP, it shows OP logo with Fastboot Mode below and gets stuck. If anyone has been successful, please share their method.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Timmmmaaahh!:
Here's my sequence, which always ensures a smooth dirty upgrade:

Download latest OOS (beta), latest TWRP

installer

and Magisk.

Reboot to recovery

Flash latest OOS (beta)

[optional]wipe cache

Flash TWRP installer

Reboot

to recovery

Flash Magisk

Reboot to system

Like this all Magisk modules just continue working where they left off. Do note that the above steps are kind of obsolete when you're going for a clean factory reset. Instead just wipe data, system and cache between step 2 and 3. And of course use xXx ROM instead of OOS. Clean and fresh! ;)
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] radekmazur:
Thank you.