Home > Unbrick

Unbrick OnePlus 9R via Fastboot Commands

In this guide, we will show you the steps to unbrick your OnePlus 9R device via Fastboot Commands. The latest addition to the OnePlus family managed to grab the attention of the masses. While its decision to ditch OxygenOS for Oppo’s ColorOS raised a few eyebrows, it still boasts some powerful specs sheet. Moreover, there exist three different devices in this lineup with the R variant being the most budget-friendly.

What else is commendable is the fact that these devices are among the most popular names in custom development. Be it for flashing custom ROMs or recoveries or gaining administrative access by rooting your device via Magisk, there’s a lot to try out. This will then allow you to flash mods such as Xposed, Magisk Modules, Viper4Android, Substratum Themes, among others. However, this is just one side of the coin. Carrying out these tweaks do bring in a few risks.

If you flash an incorrect binary or flash the correct one to the incorrect partition, then you are inviting trouble. In most cases, your device might end up in a bootloop or bricked state. Fortunately, there’s a handy way out. You could easily unbrick your OnePlus 9R by flashing the stock firmware via Fastboot Commands. And in this guide, we will show you how to do just that. So without any further ado, let’s get started.

Method 1: Unbrick OnePlus 9R via Fastboot Commands

Unbrick OnePlus 9R via Fastboot Commands

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned. Moreover, these instructions could also be used if you have a perfectly working device and just wish to revert to stock.

But in those cases, then you need to unlock the device’s bootloader. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Install Android SDK

install adb platform tools windows

First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.

STEP 2: Download OnePlus 9R Firmware

Now download your device’s stock firmware from the OnePlus official page. Once downloaded, extract it to any convenient location. You shall get a couple of files, including the payload.bin, which we will be using now to unbrick your OnePlus 9R device via Fastboot Commands. So download it and move over to the next section.

Unbrick OnePlus 9R via Fastboot Commands

STEP 3: Extract OnePlus 9R Payload.bin File

Once you have got hold of the payload.bin file, it’s time to extract it and get the partition IMG files. These files will then be flashed to their respective partitions. So please refer to our guide on How to Extract payload.bin and get Fastboot ROM Files.

Unbrick OnePlus 9R via Fastboot Commands

STEP 4: Transfer OnePlus 9R Fastboot ROM Files to ADB Directory

Once you have extracted the payload.bin file, you will get the required partition files in IMG format. Transfer all these files to the platform-tools folder on your PC.

Unbrick OnePlus 9R via Fastboot Commands

STEP 5: Boot OnePlus 9R to Fastboot Mode

  1. To begin with, power off your device. If it’s stuck in bootloop/bricked state, then let the battery drain out.
  2. After that, connect it to the charger.
  3. Then press and hold the Power and Volume Down Keys together.

    Unbrick OnePlus 9R via Fastboot Commands
    Reference Image
  4. Keeping both these keys pressed, connect your device to the PC via USB cable.
  5. This shall boot your device to the Fastboot Mode.

On the other hand, if you have a perfectly working device, then you may boot to Fastboot via the adb reboot bootloader command (after enabling USB Debugging) or using your device’s Advanced Power menu.

STEP 6: Unbrick OnePlus 9R via Fastboot Commands

  1. Head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-inside-adb
  2. Now type in the below command to completely wipe your device (this is a must in case of a bricked device).
    fastboot -w
  3. After that, begin typing in the following commands in the CMD window, one at a time:
    fastboot flash abl abl.img
    fastboot flash aop aop.img
    fastboot flash bluetooth bluetooth.img
    fastboot flash boot boot.img
    fastboot flash cmnlib cmnlib.img
    fastboot flash cmnlib64 cmnlib64.img
    fastboot flash devcfg devcfg.img
    fastboot flash dsp dsp.img
    fastboot flash dtbo dtbo.img
    fastboot flash featenabler featenabler.img
    fastboot flash hyp hyp.img
    fastboot flash imagefv imagefv.img
    fastboot flash keymaster keymaster.img
    fastboot flash logo logo.img
    fastboot flash mdm_oem_stanvbk mdm_oem_stanvbk.img
    fastboot flash modem modem.img
    fastboot flash multiimgoem multiimgoem.img
    fastboot flash odm odm.img
    fastboot flash product product.img
    fastboot flash qupfw qupfw.img
    fastboot flash recovery recovery.img
    fastboot flash spunvm spunvm.img
    fastboot flash storsec storsec.img
    fastboot flash system system.img
    fastboot flash system_ext system_ext.img
    fastboot flash tz tz.mbn
    fastboot flash uefisecapp uefisecapp.img
    fastboot flash vbmeta vbmeta.img
    fastboot flash vbmeta_system vbmeta_system.img
    fastboot flash vendor vendor.img
    fastboot flash xbl xbl.img
    fastboot flash xbl_config xbl_config.img
    fastboot flash xbl_config xbl_config_lp5.img
    fastboot flash xbl xbl_lp5.img
  4. Once that is done, reboot your device to Fastboot Mode using the below command:
    fastboot reboot bootloader
  5. Finally, you may now reboot the device to the OS via the following command:
    fastboot reboot

That’s it. These were the steps to unbrick the OnePlus 9R by flashing the stock firmware via Fastboot Commands. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.

Method 2: Unbrick OnePlus 9R via Fastboot Enhance

This is a tool created by XDA Senior Member xzr467706992 and beholds a slew of intriguing features, including the ability to directly flash the payload.bin file, without the need to even manually extract it first. Do note that even though this tool was created for OnePlus 8T but it should work across other OnePlus devices too. [Well, I have personally tested it on OnePlus 7T and OnePlus 10 Pro, it works well and good even on those devices].

STEP 1: Download Fastboot Enhance Tool

Download the Fastboot Enhance Tool from GitHub [direct link]. Once downloaded, extract it to any convenient location on your PC. The biggest advantage of this tool is that you could directory flash the payload.bin file, there is no need to extract it and get the resultant IMG files!

Unbrick OnePlus 9R

STEP 2: Download OnePlus OnePlus 9R ROM

  1. Next up, get hold of the firmware for your device from below:
    OnePlus 9R Stock Firmware
  2. Once downloaded, extract it and transfer the resultant payload.bin file to the Fastboot Enhance Tool folder.
    Unbrick OnePlus 9R

STEP 3: Install Android SDK

Next up, install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform tools folder, which will be used throughout this guide.

install adb platform tools windows

STEP 4: Install Fastboot Drivers

The tool doesn’t come with the Fastboot Drivers, so you will manually have to install it on your PC. For that, please refer to our guide on How to Install Fastboot Drivers in Windows 11. Likewise, make sure to install the OnePlus USB Drivers as well [they are usually automatically installed as soon as you connect your device to the Windows PC for the first time].

Unbrick OnePlus 9R

STEP 5: Boot to Fastboot Mode

  1. Since your device is currently in a brick state, you wouldn’t be able to use the adb reboot bootloader command to boot your device to Fastboot Mode. Rather, you will have to take the help of the Hardware key combinations to get this job done.
    Unbrick OnePlus 9R
  2. Once booted, type in the below command and you should get back the device ID. This signifies that the Fastboot connection stands successful.
    fastboot devices

    oneplus 7 pro android 13

STEP 6: Flash Downgrade Firmware on OnePlus 9R via Fastboot

  1. To begin with, launch the Fastboot Enhance Tool via its EXE file.
    Unbrick OnePlus 9R
  2. Your device should be listed under the Fastboot Virtualization tab,  select it.
    Unbrick OnePlus 9R
  3. After that, click on the Reboot to FastbootD button.Unbrick OnePlus 9R
  4. Your device will boot to FastbootD Mode.Unbrick OnePlus 9R
  5. Now go to the Payload Dumper tab and click on Browse.
    Unbrick OnePlus 9R
  6. Navigate to the payload.bin file, select it and click Open.Unbrick OnePlus 9R
  7. The file will now be loaded in the tool, displaying the resultant information.
    Unbrick OnePlus 9R
  8. Now go to the Fastboot Virtualization tab and click on Flash payload.bin. If the flashing starts, well and good.
    Unbrick OnePlus 9R
  9. However, if you get the ‘Virtual A/B temporary partitions exist’ popup, then click on No.
    Unbrick OnePlus 9R
  10. After that, go to the Partitions tab and type in cow in the Filter by name box.
    Unbrick OnePlus 9R
  11. Select all the partitions from the results that have cow in their name and hit the Delete button.
  12. Once done, click on Flash payload.bin. This time the flashing will start without any issues.
    Unbrick OnePlus 9R
  13. Once complete, you will be notified of the same. You may now boot to the OS by clicking on Reboot to System.
    Unbrick OnePlus 9R

Share: