[OnePlus 7T Guides, News, & Discussion] urbestfreiind:
Yo OPs, you'd absolutely kilt this Guide!! You totally saved me and you got me out of my boot loop and cycle that I was in and getting to the same place repeatedly and getting stalled by being stuck as non-global OTA or flatout bricked.

I was able to actually Modify your last steps After step 10 and I was able to achieve root access with minimal work. It just require some prerequisites that I had already on my computer from the past 16 hours of downloading and trial and error. Trying to get to the point that you help me get to today; My OnePlus 7T with root access on global firmware without having to use TWRP.

You totally saved me. Here's one prerequisite program that I used that wasn't mentioned anywhere in your process. A super easy to use no hassle payload_dumper for windows.

I use my payload dumper to extract a payload.bin from OTA that I wanted to run. (Who am I kidding, I just didn't want to have to redownload another payload. So I use what I already had) Make note of where you download the payload-dumper.zip or at least where you extract the zip files to I always do my stuff on the desktop for ease. After that I run the payload dumper and talk the files away for a little while probably most likely on my desktop lol.

Again, OPs again you guys killed this thing with the execution and saving me far passed chapped ace.

At step 10, After running the flashall.bat the second time. I stopped the boot process prior to a booting into the operating system, still allowing it to get to that Hi There! splash screen. It kept my OEM unlocking and wireless debugging active. Like y'all did in the previous steps.

While waiting for the flashall process and boot cycles included with that process, I took the boot.img That was dumped from my payload.bin send it to my Android, patched it with magisk using the canary build, sent it back to my computer on my desktop as directory for my save location and changing its name from patched-magisk.img to boot.img.

From there I took the files that i extracted from my payload.bin, there were 31 img files That perfectly matched what was in the global fastboot.zip that we run our flashall.bat from.

I copied/pasted them into the directory where we ran our flashall.bat (the global.zip fastboot folder). This threw up a dialog box warning me I was overriding files. Duh ya send it. The original files were replaced them with my updated files. Here's where it gets awesome I get to add My root privileges.

I take my boot.img that I patched and renamed earlier and put it into where we've been running the flashall.bat from. We overwrite the newly overwritten stock boot.img and replaced it with our modified boot.img

I double clicked flashall.bat running it for a third time letting it complete the process for a third time and when it booted up I let it go through the whole shebang and wouldn't you know it I had root access. I verified it with magisk And immediately on disabled automatic updates and developer mode and from the system settings.

The only downside to my method is that you're stuck in the Android version and oxygen OS version that You downloaded you did when you ran flashall.bat. So make sure when you are choosing your OTA to download make sure it's the most recent or the version of Oxygen OS and Android that you want to be on your phone and make sure you disable automatic updates I do not install the update when you boot in as root.

this is the only proof i have rn that the root was successful other than screenshots from magisk.

Hopefully this will help somebody maybe save some time or help somebody that would stuck like I was or maybe you guys will just think I'm going to retire because it was already commented and figured out like 20 replies ago but I just didn't see you cuz I didn't read it I don't know anyway thanks for reading hopefully I helped.