yashsingh1/xdaforums huggingface dataset:
[OnePlus 8T Guides, News, & Discussion] Statick-X18:
here is exactly everything i did

I followed the link in A.1.2:

[Guide] How to ROOT OnePlus8T (CN/IN/EU/International) KB2000,KB2001,KB2003,KB2005

DISCLAIMER I have only tested this on my OnePlus8T Indian model - KB2001 Huge thanks to @topjohnwu for his magic. YOU NEED TO UNLOCK YOUR BOOTLOADER! In case you brick your device, use this unbrick guide If you get into a boot-loop by flashing...

xdaforums.com

From step 1 to step 4 on my windows 10 computer.

I downloaded the update file via Oxygen Updater

I got the boot.img file by the Playload Dumper.

then steps 5 (install the update via the standard settings of the phone because no access to local installation in Oxygen Updater), 6 and 7 and 8, which gave me the first file: Magisk_patched-26400_8rebR.img

Then for step 9 I copied the file to my PC.

Then step 10 (and then I tell myself that this is probably my mistake...):

I considered that this,

"Reboot to fastboot mode

Coded:

adb reboot bootloader",

was to be done on the phone and so I turned it off then restarted with recovery in fatboot mode,

and I went to step 11 is as described just before.

I didn't enter a line of code or anything else (I think I didn't understand that part).

So I think that below steps 10 and 11 I don't know how to do it and I'm sorry for taking your time to do this:

"10 - Reboot to fastboot mode

Coded:

adb reboot bootloader

11 - Either flash the patched magisk_patched.img in the active slot or temporarily boot into it if you are skeptical.

I recommend to BOOT first and then perform a direct install via magisk as it is more reliable to patch the active slot.

To flash:

Coded:

fastboot flash boot magisk_patched.img

To Temporarily boot into a rooted system (RECOMMENDED!!):

Coded:

fastboot boot magisk_patched.img"
[OnePlus 8T Guides, News, & Discussion] BillGoss:
@Statick-X18

All those steps you didn't run from the PC need to be run.

You must have done something like this the first time you rooted the phone.

So, connect your booted, running phone to your PC using a USB cable. Then run the commands in steps 10 and 11 on the PC.

If you don't know how to do that, you'll have to find out for yourself. (It's midnight here and I'm going back to sleep)
[OnePlus 8T Guides, News, & Discussion] Statick-X18:
thanks you so much and i'm sorry about the time in your country.
[OnePlus 8T Guides, News, & Discussion] Statick-X18:
hello to you, I managed to use adb.

I manage to run the commands from step 10. Once the command is run, the phone restarts and goes into recovery. From there I don't really know if I have to restart the bootloader or restart in normal mode.

Case number 1, I run the following command from step 11: the temporary version, the result is ''waiting for a device...'' and nothing happens.

Case number 2: I restart the bootloader via the menu and once done I restart the phone and I rerun the command from step 11 ''temporary'' and the result is identical! thanks again
[OnePlus 8T Guides, News, & Discussion] BillGoss:
@Statick-X18 I'm going to send you a Private Message (PM). We can continue the conversation there.
[OnePlus 8T Guides, News, & Discussion] elwholo:
Hello BillGoss successfully updated to KB2005_13.1.0.5.8.3(EX01) using B.1.1 safe
[OnePlus 8T Guides, News, & Discussion] sergethug:
Hi, I'm stuck at the very beginning, first time rooting.

My OnePlus 8T Tmo converted to international and updated with OTA to KB2003_13.1.0.583 with December 5 2023 security update.

Following A.2, the steps are:

Boot bootloader

fastboot boot <twrp.img>

(optional - see next item) Backup current boot

Install Magisk-*.apk and note that Magisk will create a backup of the current stock boot (see section C)

So for this step 4 I'm not very knowledgeable so I had to google and look around to understand how to do this step. So what I got was that I had to go to download Magisk apk somewhere else and I got a file app-debug.apk. I changed the ext from apk to .zip so it can be read in TWRP. Then I press install in TRWP, selecet the file and it installs everything, but that's as far as I could go. I got into a boot loop and when coming back to TWRP the SD now shows as empty 0 mb, so no way to repair using my backups either. What did I do wrong? Thanks

PS: I was able to recover my phone using MSMDownloadTool
[OnePlus 8T Guides, News, & Discussion] BillGoss:
TWRP will install the Magisk-*.apk file, you don't need to renamed it to .zip. I assume you got the apk file from the Magisk web site. I've not tested this process for Magisk version 27 but would be surprised if the process failed. However, without logs it is impossible to tell what failed for you.

You could also try method A.1.1.

There's also another variant of the A.1 process - boot into TWRP and backup the current boot partition, rename the emmc file to img and then use Magisk to patch the boot image.

I'll also send you a PM.
[OnePlus 8T Guides, News, & Discussion] andyman_187:
Confirming B.1.2 Simple method works with the A14 update (KB2005):
[OnePlus 8T Guides, News, & Discussion] Gandalf19:
All right B.1.2 also with KB2003
[OnePlus 8T Guides, News, & Discussion] LowClue:
What TRWP are you using to do the update to OOS 14?

What method is recomended to root first time?

thanks
[OnePlus 8T Guides, News, & Discussion] BillGoss:
I'm currently not on OOS 14 (I'm using LineageOS 21) so I've done no testing of the processes on OOS 14.

I did do some testing on the OOS 14 Beta last year and TWRP wouldn't boot up on it.

So, to my knowledge (happy to be corrected!) there's no version of TWRP or Orange Fox that runs on OOS 14.

But all that means is that you'll have to use one of the methods that don't require a custom recovery.

It's not my job to recommend options because it depends on the user's own preferences and skills set.

Have a read and go with the option that you feel most comfortable with.
[OnePlus 8T Guides, News, & Discussion] LowClue:
If TWRP are not supported in OOS14 yet, they are doing the B1.2 method that requires TWRP right?

What TWRP are they using? thanks!
[OnePlus 8T Guides, News, & Discussion] BillGoss:
Why don't you ask them?
[OnePlus 8T Guides, News, & Discussion] andyman_187:
B.1.2 does not need TWRP, update is done through stock Software update
[OnePlus 8T Guides, News, & Discussion] andyman_187:
so while the update works just fine using B.1.2, I encountered an issue with the Magisk App hogging up my CPU and causing the phone to refresh apps constantly. I ended up completely uninstalling Magisk and going back to stock bootloader. I read that it may be related to Magisk Hide and A14, you end up with two conflicting Magisk apps that are trying to do operations simultaneously? Anyways, going unrooted for the meantime.
[OnePlus 8T Guides, News, & Discussion] LowClue:
Have you lock again the BL? I installed magisk with A1.2 and rooted my phone. If I want to do like you, how could I unroot and block the BL? Thank you..
[OnePlus 8T Guides, News, & Discussion] andyman_187:
Just uninstall Magisk completely from the app, then relock your bootloader in the dev settings. You will need to wipe data. I didn't bother relocking my bootloader, just stock unlocked.
[OnePlus 8T Guides, News, & Discussion] LowClue:
Ok, with the stock you will have problems with the google pay? or the unlock bootloader only is not affect to anything.

thank you again
[OnePlus 8T Guides, News, & Discussion] BillGoss:
@LowClue,

I may be wrong about TWRP not working on OOS 14. Despite what I said above, here's what I said about TWRP on the OOS 14 Open Beta:

"Note: TWRP also works nicely on OOS 14!"

See https://xdaforums.com/t/updates-thread.4188149/page-24#post-89177541
[OnePlus 8T Guides, News, & Discussion] andyman_187:
Sorry, we don't have Google pay where I am, so can't comment
[OnePlus 8T Guides, News, & Discussion] Xx_John_xX:
HI, is root also available for OOS KB2003_14.0.0.301(EX01) too?
[OnePlus 8T Guides, News, & Discussion] BillGoss:
I don't see why it wouldn't be.

But I'm not on OOS 14 so I can't say if any of the processes in the OP don't work. But I'd expect that B.1.1 will always work.
[OnePlus 8T Guides, News, & Discussion] elwholo:
it is
[OnePlus 8T Guides, News, & Discussion] Gandalf19:
I confirm
[OnePlus 8T Guides, News, & Discussion] lordxcom:
Running through this process with my OnePlus 8T KB2005 on OOS 14.

had to reinstall the drivers under device manager in order to perform the 'fastboot flashing unlock'
[OnePlus 8T Guides, News, & Discussion] BillGoss:
I find that often happens when changing roms or updating. I just accept it as part of how this phone behaves.
[OnePlus 8T Guides, News, & Discussion] JimDandy68:
Deleted
[OnePlus 8T Guides, News, & Discussion] BillGoss:
This is about updating the phone, not actually about rooting.

Could you please open a thread in the Q&A forum and then delete your post in this thread.

Thanks.
[OnePlus 8T Guides, News, & Discussion] BillGoss:
I've been on Los 21, but restored OOS 13.1 to see if there's any changes to the process with updating to OOS 14.

I updated KB2003 13.1.583 to KB2003 14.0.301 using local install without a hitch. And, to my delight, both TWRP and OF recovery (see OP for the versions to use) work on OOS 14! (Note: I used them to backup the OOS 14 data, but haven't tested a restore)

So, it seems that all is good.
[OnePlus 8T Guides, News, & Discussion] BillGoss:
Edit the post and replace all the content with just one word: Deleted.
[OnePlus 8T Guides, News, & Discussion] JimDandy68:
By this, do you mean you still found an options menu under About device -> OxygenOS banner? I do not, and I have Developer options enabled.
[OnePlus 8T Guides, News, & Discussion] BillGoss:
Both the EU and IN version of OOS on this phone have Local update available from Settings>About device>Software update>3-dot menu>Local install

It's only NA that has to use an APK (see section B.2.1 Local Instal in the OP).

Which is why I asked you about other options for accessing
[OnePlus 8T Guides, News, & Discussion] JimDandy68:
Ah, yes, I have the KB2005. I've tried every APK suggested in this thread and in notes provided by Oxygen Updater, and none of them will install correctly.
[OnePlus 8T Guides, News, & Discussion] BillGoss:
That's very weird.
[OnePlus 8T Guides, News, & Discussion] JimDandy68:
I've tried searching pm list in root adb shell, but can't find an existing package that would conflict, yet with several of the apks I've tried, that's what the error is indicating. I have no System Updater I can access already, either (used to, but no longer after a full wipe and reinstall several months ago)
[OnePlus 8T Guides, News, & Discussion] Lucaangioni1999:
Hello guys.

Just updated from OSS13 to OSS14 with the "B.1.2 Simple" method in the original post.

The root just works fine as always. I've used this method also for the 12 to 13!

Thanks a lot for the guide @BillGoss !
[OnePlus 8T Guides, News, & Discussion] Lucaangioni1999:
If you can't tap on "Local update" in the system update app just follow this steps:

Please note that if you are not able to click "Local install", you can try the following steps to fix it:

Disconnect all Wi-Fi and Mobile data

Go to Settings -> Apps -> App management -> Click the top right button -> Show system -> search "Software update" in the search bar and tap "Software update" -> Storage usage -> Clear data

Keep all networks disconnected for the entire update process.

I found this on the official oneplus post forum. https://community.oneplus.com/thread/1455908415065817088
[OnePlus 8T Guides, News, & Discussion] Zeryth:
Don't update my phone regularly, wanted to do B.1.2 from F.62, uninstalled magisk, went to the updatescreen and it just automatically rebooted my phone without even installing the update. now am stuck on the boot screen, great.

Edit: managed to get out of the boot screen, volume up and down did the trick. now on to redoing my root and updating the phone, great... thanks oneplus for randomly rebooting my phone for no reason. It didn't even install the update.
[OnePlus 8T Guides, News, & Discussion] Gandalf19:
Confirming B.1.2 Simple method works fine on KB2003 with update Android 14.0.0.501(EX01)
[OnePlus 8T Guides, News, & Discussion] elwholo:
Getting this when trying to apply update device KB2005 using safe method
[OnePlus 8T Guides, News, & Discussion] elwholo:
Update : used b.1.2 simple and its rooted had to the fix volume up beacause it bootlooped successully updated to

14.0.0.501(EX01) (KB2005)
[OnePlus 8T Guides, News, & Discussion] BillGoss:
If you are rooted you can't take an incremental OTA because it cannot update the boot partition. It's expecting a stock boot image and finds something different.
[OnePlus 8T Guides, News, & Discussion] elwholo:
so i have to manually root it each time ? i tought that magisk unistall restore images restores the boot image
[OnePlus 8T Guides, News, & Discussion] BillGoss:
QUOTE="elwholo, post: 89460768, member: 9222139"]

so i have to manually root it each time ? i tought that magisk unistall restore images restores the boot image

[/QUOTE]

Sorry, you are correct. A Magisk uninstall does restore the stock boot image, but only if you had previously used Magisk to do a Direct Install (Magisk saves a copy of the stock image it's patching).

Put my reply down to old age (getting forgetful), not having used B.1.2 for a very long time (I always do manual updates because it doesn't require a PC), and not paying close attention to what you wrote.

🥴
[OnePlus 8T Guides, News, & Discussion] GIutton:
To go from A13 to A14 I used the B.1.2 method. Well now there's an update but when I go to restore the stock boot image it says it does not exist so I guess magisk didn't take a backup. Does anyone have or know where to get a stock boot for KB2005_14.0.0.301(EX501) or know of a way to get this done without losing all my data?
[OnePlus 8T Guides, News, & Discussion] BillGoss:
You could use TWRP or Orange Fox to backup your data (see the OP for recommended versions).

Then backup your sdcard and copy it all to your PC.

Use MSM Tool to downgrade to 13.1 and then root and upgrade again and make sure Magisk keeps a copy of the stock boot image or manually copy the boot image using a terminal emulator.

Or else hope that someone can provide you with the stock boot image you need.
[OnePlus 8T Guides, News, & Discussion] JimDandy68:
Hello. I accidentally lost root updating to the most recent version of OOS for my phone (KB2005_14.0.0.501)

I'm not entirely sure how to get the boot.img to patch. I've tried various payload dumpers that claim to handle incremental OTAs, but none have produced a boot.img

Is it possible that the last boot.img was for OOS13 (the stable, full OTA) and that I can just copy that to my po to patch with Magisk, or is there another way I should try to get my current boot.img? Thanks
[OnePlus 8T Guides, News, & Discussion] BillGoss:
You can use the MSM Tool in read-back mode to get a copy of your current boot image. See A.1.1 in the OP.

PS: and could you share the stock KB2005 14.501 boot image here because it would help @Glutton (see his post above).
[OnePlus 8T Guides, News, & Discussion] JimDandy68:
Thanks, @BillGoss. I guess I thought I could still do this without that tool, but I saw a discussion elsewhere where it looked like you confirmed that TWRP and Orange Fox can no longer decrypt the filesystem, so maybe there's no other way (payload dumpers still a remote possibility, but I haven't succeeded). I'll try MSM and if I succeed, I will post the result here.
[OnePlus 8T Guides, News, & Discussion] BillGoss:
You can only use payload dumper if you have the full ota or a prior version full ota plus all the subsequent incremental otas.

And since there's no copy of the full ota for KB2005 14.501 and, I'm guessing, you didn't capture the incremental ota, you can't use payload dumper.

Fyi, since you are wanting to copy the boot partition, you don't actually need a recovery that can decrypt the data in /data.

So you could still use a custom recovery. And then use shell commands to copy the boot image and then use ADB to pull the copy.

But you need to know exactly what directory to use for the shell command so that you can copy the boot image.

While technically feasible, it's rather messy and you need to have done this previously (yes, I've had to do this). So I don't recommend it given that the MSM method is available.
[OnePlus 8T Guides, News, & Discussion] JimDandy68:
Well, I took the plunge and installed MSM Tool and the necessary drivers. After some reboots and hiccups, I manged to get the image, and I've also checksum-verified that this isn't the same image as in the last full OTA. I did have all the incremental OTAs prior, and the boot.img from the last full OTA, but not even sure I trusted what I was getting with any payload dumper. Though I thought using dd to copy the current boot.img was no longer possible, I guess MSM was probably the easier route.

The biggest hiccups I encountered were 1) I didn't realize I needed a Qualcomm driver installed beforehand, and in that situation, issuing a reboot into edl just left me with a blank screen, and 2) after installing the drivers, I found the phone would reboot itself back to system if I didn't act quickly enough. I don't know if this is atypical. Anyway, I managed to succeed, then patched this pulled image, booted to it, and installed Magisk for real, so I'm all good now. Attaching the stock boot image, named with the exact ROM version for clarity.
[OnePlus 8T Guides, News, & Discussion] JimDandy68:
Note that this upgrade (for me, at least) was from KB2005_14.0.0.301(EX01) to KB2005_14.0.0.501(EX01), so I'm not sure whether this image useful for anyone needing one for the preivous OTA. Maybe this repo is helpful, too? See the assets included with each release
[OnePlus 8T Guides, News, & Discussion] BillGoss:
You were correct because you need root permission to do that.
[OnePlus 8T Guides, News, & Discussion] BillGoss:
NOTICE:

After doings some more testing, I've updated the OP to say that there is currently no working custom recovery for OOS 14.
[OnePlus 8T Guides, News, & Discussion] Gandalf19:
Confirming B.1.2 Simple method works fine on KB2003 with latest update Android 14.0.0.600(EX01)
[OnePlus 8T Guides, News, & Discussion] elwholo:
i also confirm that B.1.2 simple method works on KB2005 latest update Android 14.0.0.600(EX01)
[OnePlus 8T Guides, News, & Discussion] GIutton:
Thanks for this repo it was exactly what i needed! It took me a while to realized it wasn't just the OTA zips but it's also all the payloads extracted even for the incremental ones. Big help.

edit: And now I see where you directly mentioned the assets for all the img files in your post lol.
[OnePlus 8T Guides, News, & Discussion] conbak49:
I haven't rooted in a long time and in the past I've only rooted phones with an SD card. If I root & ROM OP 8T, will I lose the internal memory/"virtual" SD card?

TIA!
[OnePlus 8T Guides, News, & Discussion] BillGoss:
Rooting the phone doesn't affect the data.

But unlocking the bootloader in order to be able to root the phone will wipe all the data.
[OnePlus 8T Guides, News, & Discussion] elwholo:
i successfully updated and keep root to KB2005_14.0.0.601(EX01) using

B.1.2 Simple​
[OnePlus 8T Guides, News, & Discussion] Gandalf19:
Confirming B.1.2 Simple method works fine on KB2003 with latest update Android 14.0.0.601(EX01)
[OnePlus 8T Guides, News, & Discussion] Feduz:
Hi to all! I'm following the B 2.1 local as always, but in the first step when I try to restore images, magisk tells me "stock backup doesn't exist". I've the orangefox recovery, is it changed something? Last time I've updated after the msm tool to the latest firmware and then rooted,.maybe this is the problem
[OnePlus 8T Guides, News, & Discussion] BillGoss:
It all depends on how you rooted the phone after using MSM.

You now need a copy of the stock boot image for what you're currently running. You have a few options available to do that:

1. Get a copy of the installation zip for your current version and use payload dumper to extract the boot image.

2. See if you can get a copy of the firmware of your current version from https://xdaforums.com/t/firmware-oneplus-8t-kebab-ddr0-ddr1-updated.4299231/page-2

3. Ask if someone can share a copy of the stock boot image for your current version.

Then the simplest way forward is to flash the stock boot image in bootloader mode.

If you've installed Orange Fox or TWRP then you'll also need to restore the stock recovery image at this point.

Your phone will be unrooted at this point and then the update can go ahead.

You'll then have to root it again using the A.* options in the OP.
[OnePlus 8T Guides, News, & Discussion] BillGoss:
So I've updated from 14 .600 to 14 .601. I wasn't offered the update so I used Oxygen Updater to download the update (incremental).

I then decided to try a Magisk-only way (it's even simpler than B.1.2!) to do the update rather than my normal manual B.2.2 way.

It all went swimmingly until I forgot that "Install" in the Updater is a reboot (it's been a long time since I've done an incremental OTA update). So I lost root!

Fortunately I was able to easily use the MSM ReadBack process (A.1.1) to get a copy of the stock .601 boot image which I then patched with Magisk.

I then booted the patched image, did a Direct Install in Magisk which gives me a Magisk* copy of the stock image in /data and leaves the phone permanently rooted.

I'm so glad that we have the MSM Tool and that I've written this OP!
[OnePlus 8T Guides, News, & Discussion] Qnorsten:
Thank you Bill for a great thread, I end up reading through it from time to time.

Lost my root yesterday when I finally upgraded to OOS14, after also forgetting that "Install" in the updater is a reboot. Thankfully they supply the full OTA updates for EU so I could just use payload dumper to extract and patch it.

Also wanted to add something about custom recovery and OOS14. I already mentioned it in the TWRP thread.

Both the TWRP version linked in this thread https://xdaforums.com/t/recovery-13-unofficial-teamwin-recovery-project-8t-9r-2022-07-27.4473983/ and V20 of Orange fox https://github.com/Wishmasterflo/device_oneplus_opkona/releases/tag/R12.1_V20 is able to decrypt and backup the data partition on my device running KB2003_14.0.0.601(EX01) (EU hardware version and software version). I haven't dared to try a restore.
[OnePlus 8T Guides, News, & Discussion] BillGoss:
So I've spent the last few days playing around with this and I've got some odd results.

Initially, I managed to get TWRP working, as you know, but I then tried to do it again and couldn't.

So I gave up and finished setting up my phone from scratch, again!

Then, even though I had tested whether TWRP could decrypt and see /sdcard (it couldn't), once I'd set my phone up from scratch I tested booting into recovery.

And to my total surprise it worked! Decryption was good and I could backup my data.

And the same goes for Orange Fox v20! (@Wishmasterflo)

So I took a backup of /data in both TWRP and OF.

Then I removed my lock screen password (standard practice before restoring a backup) and booted into recovery to test the restore process.

And to my utter surprise, neither TWRP nor OF could see /sdcard!

By the way, I'm now wondering if this might explain some of my earlier testing where TWRP couldn't see /sdcard. I might have not set a password when I did those tests.

So I'm now wondering why recovery can see /sdcard if there's a password set but can't if there's no password. Very weird!

And also wondering whether I should try restoring a backup WITH the password set even though that's been the wrong thing to f historically.