yashsingh1/xdaforums huggingface dataset:
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] enkidu70:
Tnx. It is mor than 3 timed bigger...

I tried both. And looks similar in the output.

BUT my 8T is on B and when I switch to A after copy, device shows unlocked screen, then gets dark and after a while "Qualcom crash dump" screen.

When I boot to twrp, when I am on slot B /data looks normal. On A /data is 0!?

Switching back to B, it boots as normal...

Any hint?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Last time I checked this was an 8T forum :D
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
I would check that A and B are all the same by comparing the md5sum of the *_a and *_b partitions in /dev/block/by-name
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] enkidu70:
Why did you quote me concerning this? What is your problem?

As I wrote, I am new to 8T.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] enkidu70:
Tnx. How can I do so?

Btw, I updated my post above adding two images.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Sorry, my mistake. I've edited my post to remove your quote.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Run md5sum /dev/block/by-name/*_[ab] in a terminal (you'll need root). Or run it in the TWRP Terminal.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] smegbat:
Hi Bill,

Thanks for the clarification. So my method to root would work ok?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Wishmasterflo:
Yes. You can fastboot boot the TWRP.img file, then you can flash TWRP_installer.zip to get it on both slots.

Then you can flash Magisk on your active slot to get Magisk installed.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] smegbat:
That's great. Many thanks for your help it is much appreciated
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] enkidu70:
Ah. Great tnx!

Found these differences:

c4bb50fd2624f252bc74647c3d8e48b6 /dev/block/by-name/boot_a
6ecb19aa87e733382e505ccb9b8863e4 /dev/block/by-name/boot_b
268beb8c789265fa81b160a120c7979c /dev/block/by-name/dtbo_a
881f5358d9c2a0215876c68356818173 /dev/block/by-name/dtbo_b
5a9d1dabf734a4acf14d8cb4348d2425 /dev/block/by-name/vbmeta_a
0b8e2946263992819ebf4e78fed8a397 /dev/block/by-name/vbmeta_b

Active slote is B. All others are identical.

What does it mean now?

Do really all have to be identical?

If so, what do I have to do to get it identical again (because copy-partitions-20210323_1922.zip did not sync these)!?

Tnx for your great support!
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
That means that the rom you installed included those three system partitions files and that the copy-partitions did it's work properly (if you look at the shell script it runs it has some partitions excluded).

If you want to be able to boot either slot, then you'll have to manually sync those three partitions.

I created my own shell script (attached, needs root) because I wanted to be able to sync all partitions and to be able to specify just one.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Morloc2:
Hi!!!

new with 8T today I have questions

Is not the first time I use TWRP. My last phone dead yesterday. It had 3 years and I did last root method....3 years ago with TWRP, flashing supersu, etc etc

Now, reading how to root this mobile I read 2 different methods

One is with fastboot and images (this one: https://xdaforums.com/t/guide-oneplus-8t-easy-root-for-all-unlocked-variants.4210775/)

Other is with TWRP

is it better to flash TWRP and flash with it Magisk? or is similar to do it with mobile connected to PC and writting codes in console?

I think, but I am not sure, that, is better to have TWRP if I want to install later other Custom ROMs, but I want to have strong idea why is better TWRP than other method.

Thank you
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Wishmasterflo:
Hi!

I prefer the TWRP method.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
UPDATE:

Changed kernel from LOS to AOSPA for fixing OP9R decryption (Thanks to @YumeMichi )

Latest upstream changes

img: https://www.androidfilehost.com/?fid=14943124697586362330

installer: https://www.androidfilehost.com/?fid=14943124697586362328

Links are updated in the OP too.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] fates13:
Does this latest version still require that you mount the partitions manually before flashing roms?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] kjslabber:
I flashed using magisk, everything good.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] alp47470:
Successfully booted on 8T Open Beta 6 using installer from Magisk. Thank you so much dev for the development. We all have been waiting from quite some time.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
I haven't needed to do that.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] fates13:
I was using apophis's version and my rom flashes would fail with mount errors if I didn't go into Mount in TWRP first and mount the partitions. Only data and metadata are automatically mounted when entering TWRP. Bricked my phone and had to msmtool back to stock when I tried to flash EvoX over Lineage after wiping but forgetting to mount all the other partitions.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Ryano89:
2 questions if you don't mind.

How do I flash through magisk, just flash the installer?

And if I'm going to stay on OOS, I can't flash firmware updates with this correct?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] alp47470:
1. Yes. Flash the installer zip like any other magisk module.

2. As far as i can tell yes. You can't right now. It's a bug as mentioned in above post too.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] wawanRedblack:
good good.. successfully updating havoc+gapps

thanks dev 👍
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] osm0sis:
You just need to keep a backup of the ROM's untouched recovery partition and restore that before taking the OTA, same as boot partition for Magisk. At least that's the case on OOS due to incremental OTAs, custom ROMs might be more forgiving.

Here's my method for updating the 8T with OOS OTAs, even on International/North American OOS stable, which uses the new incremental Google OTA: https://xdaforums.com/t/tools-zips-...ices-platforms.2239421/page-149#post-84764713
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
You are right. With custom ROMs, OTAs are just full ROM zips, atleast for the most of the ROMs available for 8T. So you can flash directly.

Your guide works wonderfully on OOS/H2OS :D
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Freddy915:
Thank you for developing this recovery. I've just flashed a ROM successfully. Cheers!
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] sarder:
i have one problem.my internal storage is not recognised in twrp.but i can send file via usb which is located in data/media
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] apophis9283:
This sounds crazy but ask incognito. After you wipe data in twrp. Press vol -, vol + and power to take a screenshot. Reboot recovery and youll see storage. I figured this out with my OP7T McLaren, also another trick is to unmount data and remount it.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
If this is after formatting, that's normal. Until a new ROM is flashed, TWRP will use /data/media, instead of /data/media/0

Follow @apophis9283 's suggestion if you still can't see the files
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] sarder:
it worked as you said for the first time.but after sometimes when i entered twrp again i dont see my storage.do i need to repeat this procedure everytime?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] apophis9283:
You shouldnt have that issue, but yeah. If it fixes it it wont harm anything. If it doesnt show go into mount and unmount data and remount it
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
Can you tell me when you are getting this scenario? And attaching a recovery.log will help me identify the root cause
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] nakamoniel:
Can I flash 2 different roms in w different partitions? Hopefully Partition A will be OTA Partition B will be Custom, Does it work that way?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] apophis9283:
@theincognito things like this is where you want to save users from themselves.... Just my 2 cents brother
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] enkidu70:
It is still on original stock OxygenOS 11.0.11.11 and I was about to prepare it for crDroid...

Ok... I did not look so deep into it... :D

I'll do so. Tnx!

That's perfect. I'll try it asap!

Thank you!
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
The shell script I gave you was a modified version of copy-partition (I'd forgotten that!). And looking at it again I see that the original ignored partitions were "dtbo_a dtbo_b system_a system_b boot_a boot_b vbmeta_a vbmeta_b". So that explains what you saw after running copy-partition.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
And apologies for this string of OT posts. I should have taken the conversation elsewhere as this wasn't about TWRP. ☹️
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Patjutzu:
Good morning

I have a question

I have made a backup with their TWRP of my crDroid Rom (data only) as described.

I wanted to restore it then unfortunately the restore has only limited worked because all my apps are back but all the settings I made in the system are gone.

Did I make a mistake or is it just not possible at the moment?

Greetings
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Fif_:
I had the same experience the one time I had to restore on stock OOS.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
I'm pretty sure that happens if you've formatted the data partition.

If you only do a factory reset (if restoring a backup of the current rom), then the settings usually survive.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Patjutzu:
Hello @BillGoss

I just tested another ROM maybe that was the error !?!

Since I have made only a factory reset in TWRP that was all.

Otherwise I have proceeded exactly according to instructions.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] tyler19820201:
Next twrp for kebab will fully support Android12?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] eddro22:
Hope the new twrp build will release soon.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Woo hoo! Official TWRP 3.6.0 is out: https://twrp.me/oneplus/oneplus8t.html
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
Updated the thread with the official link.

This is the official A11 release, not A12. So, don't expect A12 support on this build.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
Updated post #3 with the updated data backup and restore procedure.

Once again, huge thanks to @BillGoss :D
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Ryano89:
Can OOS now be flashed using TWRP?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Nope
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] GraphMatix:
It's been a few years since I used TWRP and flash custom Rom to a phone so sorry in advance for the overall noob questions.

I read everything at the OnePlus 8T Wikipage HERE

It mentions there is a lineage recovery to use. Which I don't understand and also says a manditory step is to flash copy-partitions-20210323_1922.zip using said recovery method.

I am coming from stock. I would like to have TWRP installed fully with latest version of Lineage and Magisk as root.

I am confused about the Rom install instructions Here on XDA

Can anyone guide me in the right direction. NOT sure how to proceed to use TWRP or this other recovery that I'm not familiar with.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
As long as you have latest OOS on both partitions, you dont need the copy partitions zip. But, unless you intentionally did that, your both slots will have different firmware for sure. So use that copy partitions zip.

To go from OOS to LOS with the help of TWRP, follow this:

1. Make sure to backup your internal storage to PC or external drives.

2. Get the latest twrp img and installer from first post/twrp website and boot the twrp image using fastboot. (The TWRP logo may seem to be stuck, but it will boot in around 50s max, mostly lower time)

3. Copy and flash the copy partitions zip, then format /data using TWRP. Dont reboot yet

4. Flash the twrp installer using adb sideload option from TWRP.

5. Switch slot to opposite slot from reboot menu and then reboot to TWRP.

6. adb sideload lineage rom zip.

7. adb sideload twrp installer zip and reboot to TWRP.

8. adb sideload gapps and reboot to system.

9. Now you have a working lineage with TWRP.

PS: This is only like this for the first time. After this, simply update lineage ROM with TWRP like old days.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] iTalisman:
I am using AICP and flashed every update from AICP recovery till now. Can anybody explain a bit how to flash the official twrp without losing anything?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] tyler19820201:
This is how i do:

Update AICP via OTA preserve TWRP recovery and magisk root & magisk settings and modules

0. THIS STEP IS OPTIONAL!

Remove your PIN/pattern/password on your device.

(I have not tested with no removing password but latest twrp should manage encryption now, so if you are not removing password/PIN/pattern should be okay...However i have not tested yet. I recommend remove all password/PIN/pattern before you are doing anything. But the choiche is yours...)

1. Make sure you have twrp installer .zip and magisk.zip on your internal storage.

2. Perform the OTA update. Once you see Reboot DO NOT reboot!! Open Magisk Manager.

3. On Magisk Manager go to modules and select Install from Storage. Select the twrp installer zip and flash it.

4. On Magisk Manager click on Install and select "Install to Inactive Slot (After OTA)" and select the magisk.zip and flash it.

5. Reboot your device. Once you have succesfully booted into the updated AICP, reboot again into recovery. You should get TWRP recovery again, it means installer .zip has been succesfully applied. Now you can flash gapps and addons and whatever you want.

6. Reboot into system. Set it back your password/PIN/pattern.

7. Reboot AGAIN!!

8. Done

It can be applied on other custom ROMs also.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
I would skip:

- removing password/pin (only required if doing the TWRP data backup restore process)

- flashing Magisk.zip (you haven't uninstalled Magisk, so all the Magisk data is still there, as is the app).
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] tyler19820201:
Maybe i am wrong but regarding my theory if i flash magisk .zip i am patching the boot .img. If i do not do, obviously the updated rom will boot with the updated & unpatched boot .img therefore magisk manager will be there but root itself will be gone. In other words i have to flash magisk again from manager. That is why i am 'patching' again the updated boot .img after OTA is done.

Am i wrong then??
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
An OTA update would always install the update to the inactive slot. Since you told Magisk to install to inactive slot in your step 4, the updated boot image is now patched. And it's the patched boot image that gives you root.

So flashing Magisk again isn't accomplishing anything.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] shadowstep:
@theincognito Great to see it going official! Just wanted to confirm, is the latest version still compatible with 9R? Thanks for the update!
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
It should be like before! But if you do find any issues, please let me know :)
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] GraphMatix:
WOW!.... I understand most of the process. Remembering last time I flashed anything to a device; TWRP was just releasing there touch screen version and I was working on android version 5 LOL LOL

Please forgive my outdated terminology and lack of intellect.

I do not buy a new Oneplus 8T and type how to flash rom into google search bar and end up here. I read everything I could about my device and the latest developments for it.

So, I get the steps. But what about root access? Magisk is the only thing I see available. I have to use banking applications and I need the device to be secure obviously. I read there is a way to systemless root with magisk and use Magisk manager with modules to pass safety net. Basically, tricking apps into thinking nothing has be done to system partition. No root access available, etc..... Knowing I need to have access to my banking apps will I still be able to obtain root?

Can I install (flash) any custom rom and still be able to use secured apps like PayPal, Venmo, Zelle, my Bank of America and Credit Union mobile banking apps. Banking applications with fingerprint sign in?

I hope so using magisk modules addons (which i know nothing about yet)

So, I downloaded a few versions of TWRP and Magisk because I still dont fully know if using LineageOS or Havic-OS any is still possible for me.

Its been some time since I messed with the system partition and obtained root access.

I downloaded lastest version of Magisk FROM HERE

I got latest version of Lineage OS and recovery from https://download.lineageos.org/kebab

Also, downloaded both the TWRP and TWRP installer. I seem to understand the process as you listed the steps. But I dont know when flashing magisk would take place or if it even has to.

I am grateful for the quick response. Apologies for all the noob questions.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Quick response: this is a TWRP thread, not a Magisk one.

So, ask your question in either the Magisk forum/main thread or in the Los thread or in the 8T Q&A thread.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] GraphMatix:
Ok will do. My apologies
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
I know it's Off Topic like Bill said, but to answer your quesrion, yes, Magisk will work for most banking apps. For details, refer root threads.

As for when to flash, after flashing the gapps and twrp-installer, flash magisk before you boot into system.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Reo0o:
Is there a fix for "userdata forced encryption" for android 12 custom roms yet?

I've been searching for the past few days to solve this issue but nothing works yet.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Nixsuki:
There is no official support yet for Android 12 so "userdata forced encryption" doesn't work.

It's work "only" to all Android 11.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] M_Game:
Hey there, i saw twrp 3.6.0 released. Is the installation process always the same? If not, could you link it/tell me on which page it is?

Have a nice day
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] tyler19820201:
OnePlus 8T (kebab)

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me

Google is ur friend...
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] M_Game:
nvm i saw the link just now
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Mehedi322:
TWRP 3.6.0 kebab. Does this TWRP work on OnePlus 9R?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] tyler19820201:
Try it yourself. Even if launching i do not think gonna work 100%. The two device are similar but not the same. There is a reason why 9R not listed on official TWRP website, only kebab.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Nixsuki:
This way. The official twrp support is device specific for now.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Vladd:
Hi guys, just wanted to check if I did everything right, and if I can restore the phone if need be :) I'm on a Magisk-rooted 11.07.10 stock 8T.

1. I booted into twrp-3.6.0_11-0-kebab.img from fastboot and backed up stock recovery from TWRP in case I want to install an update (which I do only if it's something really essential :) ).

2. I flashed that recovery image from fastboot, rebooted, booted into recovery, backed up first data paritition separately, then Boot, DTBO and Super partitions together.

Everything seemed to work OK, so I hope that I should be able to restore the system and data, following the instructions in the first post, in case I need to, a confirmation by somebody who, unlike me, understands the new Android structure in depth would be appreciated :)
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
You're good to go.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Vladd:
Mr Goss, thank you very much :)
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] theincognito:
TWRP 3.6.0_11-1 has released for OnePlus 8T.

Changelog

:

Props reset for 8T (and hopefully 9R) optimized

Latest upstream changes

Links are present in the TWRP website (https://twrp.me/oneplus/oneplus8t.html)
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] dedelamalice:
hello everyone,

little question ...

can we install OOS 11 from TWRP

if yes what is the procedure.

Thank you :)
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Read the OP posts!
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Qnorsten:
Just tried my first backup and restore (data only OOS installed). Used version 3.6.0_11-1 and it worked perfectly for me. Didn't even need to remove the sim card or connect it to a pc.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] BillGoss:
Interesting!
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Qnorsten:
Yep, might do other tests later this week. (can only mess with the phone during the weekend as I need it working properly during the week).

But from this first test everything restored properly and just needed one reboot after the first black screen. Only thing missing are things that that was stored in the android hardware backed keystore but that was expected.

Feels good to finally have a working TWRP version. Now I can test custom roms and easily go back to my working OOS config:)
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] don't touch fish:
When I restarted twrp, my language setting was restored to English. Is this normal?
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] osm0sis:
If it goes back to your chosen language once you decrypt then that's normal.

(There's no way for it to read any saved settings, including language, until it decrypts the sdcard.)
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] don't touch fish:
It works!Thank you!
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] blackwing182:
Cant see my internal storage. How to fix
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] Wishmasterflo:
Does this info from the OP help you?

PS: After formatting /data, until the first time the device is booted to system, the files you send to phone via MTP (USB) will be at /data/media, not at /sdcard

PS2: If, for some reason, you cannot send files to phone after formatting /data and rebooting to TWRP, press vol +, vol - and power button simultaneously.
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] blackwing182:
It shows internal memory (0) in recovery so the issue i have is not there
[OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve] KromerX:
Am I getting this right for OOS->Custom?

Flash Twrp for both slots

Boot to Twrp

Format /data

Switch slot

Reboot recovery

Adb sideload zip

Flash Twrp for both slots again

Wipe, format /data again (?)

Reboot recovery

Flash magisk, etc.

Am I right for switching slot step?

I believe rom is flashed on opposite slot. If so, should I switch slot back after step #7?