[OnePlus 9] winterfoxx:
Global/US OnePlus 9 Unbricking Guide

Tested and used on a LE2115 variant device.

YOU SHOULDN'T USE THIS GUIDE UNLESS YOU ARE ABSOLUTELY SURE YOUR PHONE IS BRICKED. PLEASE TRY POWER COMBOS FIRST! THERE ARE NO GUARANTEES, AND THIS SHOULD BE A LAST DITCH ATTEMPT BEFORE SENDING IT TO ONEPLUS (THEY WILL FIX IT FOR YOU, UNLOCKED BOOTLOADER OR NOT)

Step 1: Boot your device into EDL mode. (If it's not already), then plug it in.

If it isn't, and you're in fastboot, you can boot into it via fastboot oem edl (correct me if I'm wrong here)

Step 2: Download the MSM tool.

The proper MSM tool can be found here.

I'd recommend using Internet Download Manager to speed it up.

Unzip it using something like 7-zip into the root folder of any drive (the root folder meaning the topmost, any subdirectories may have issues).

Some AVs may flag MSM, so please make an exception (it's safe, you can ask basically anyone)

Step 3: Install the right drivers. (If they aren't installed)

The proper drivers can be found here.

Use the readme.txt file in the driver zip, it'll explain how to do everything.

Step 4: Run the "MsmDownloadTool V4.0.exe"

Set the dropdown to "Others" and click next.

View attachment 5474191

Check the "Use Lite Firehose" box, and uncheck the "Sha256 check" box.

View attachment 5474197

Click on "Start" once your phone is detected.

View attachment 5474193

Step 5: Let it run for around 300-350 seconds (that's how long it took mine). Once it says "Completed" (if it errors, see below), congrats! You've unbricked your OnePlus 9!

Errors

If an error occurs, don't worry! See here for the potential errors and how to solve them.

Sahara Communication Failed

When this happens, try using a different cable (one included in box is best), and try a different port. If both fail, try on another computer.

Device not match image!

Okay, this one WILL take much longer than the previous one, but this is still fixable.

Download this MSM tool instead following the same guidelines as above. (I am aware it is the wrong version, however this is the only working fix to the extent of my knowledge.)

Close the old one.

Flash using the above guidelines aswell.

Once finished (you have to wait the 300 seconds), hope that it works lol.

If it does, it'll reboot into OxygenOS. Go through setup as normal (the cursed camera cutout is also normal), finish it, and then you will have to:

Set up Magisk (too many guides for it, not going to explain it here.

Flash magisk by booting into TWRP using fastboot (fastboot boot twrp-3.6.0_11-0-lemonadep.img) (install menu, then find magisk's file), then copy TWRP's image to the device and install the ramdisk via the image (should be in advanced).

Install this app.

When setting up, grant it root access, and make sure to select the Stable (Full) channel, and set your device to OnePlus 9. (NOT THE INDIA VERSION, NO MATTER WHAT IT SAYS.

Go into settings, and enable Advanced Mode (this is req'd)

Go to the main page, and click download update.

When it finishes, let it do automatic install (UNCHECK ALL BOXES OR IT WILL ERROR!)

Congrats! You fixed it!

If it doesn't work, you may have to send it off to OnePlus. They will still do repairs even on unlocked bootloaders assuming that you're in warranty.