Home > OnePlus

Flash/Update Android 12 on OnePlus 9 via Fastboot Commands

In this guide, we will show the steps to flash/update the Android 12 firmware on your OnePlus 9 via fastboot commands. The ninth iteration of devices from the Chinese OEM always managed to stay in the limelight for one reason or another. Most of the times it managed to grab the attention of the masses due to its close proximity with ColorOS. But fortunately that didn’t worked out as intended. Even though we could still see a few hints of ColorOS, it is no way near what the end product that we might have seen if the codebase got unified.

Anyways, keeping all these things aside, the device is still following the legacy of OnePlus devices and has proven to be quite an active player in the custom development. Be it for flashing custom ROMs, installing a custom recovery or gaining administrative access by rooting the device, there’s a lot to look forward. If we talk about custom ROMs, each of them requires you to be on the newest vendor firmware. So if you havwen’t done so yet, then this guide will help you update/flash the Android 12 firmware on your OnePlus 9 via fastboot commands. Follow along.

Flash/Update Android 12 Firmware on OnePlus 9 via Fastboot Commands

OnePlus 9 Pro Android 12 Fastboot Commands

The below instructions are listed under separate sections for ease of understanding. Make sure to follow the same sequence as mentioned. 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 9 Android 12 Firmware

Next up, you will have to get hold of the stock firmware for your OnePlus 9 Pro device. At the time of writing, the official site of OnePlus hasn’t uploaded the Android 12 firmware. So you will have to opt for other trustworthy sources, such as XDA or the Oxygen Updater app, links for both have been shared below

OnePlus 9 Pro Android 12 Firmware:
XDA Download Link | Oxygen Updater App

OnePlus 9 Pro Android 12 Fastboot Commands

STEP 3: Extract OnePlus 9 Payload.bin

Once you have downloaded the firmware, extract it to any convenient location on your PC. Doing so shall give you a couple of files, including the payload.bin. And we will have to extract this file to get hold of all the partition files. So refer to our guide on How to Extract the OnePlus Payload.bin file. Once extracted, you will get the required partition files, transfer all of them to the platform-tools folder.

OnePlus 9 Pro Android 12 Fastboot Commands

STEP 4: Boot OnePlus 9 to FastbootD Mode

You will now have to boot your device to the FastbootD Mode to flash the partition files. For that, you may check out our comprehensive tutorial on How to Boot to FastbootD Mode [3 Methods] or refer to the below shorter instructions –

  1. Connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
  3. After that, type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader
  4. Finally, execute the below command to boot to FastbootD Mode from Fastboot
    fastboot reboot fastboot

    OnePlus 9 Pro Android 12 Fastboot Commands

STEP 5: Update Android 12 Firmware on OnePlus 9 via Fastboot Commands

Now just execute the below commands in the CMD window that is opened in the platform-tools folder. Moreover, as soon as you execute the last command, your device will automatically boot to the Android 12 OS.

fastboot flash --slot=all abl abl.img
fastboot flash --slot=all aop aop.img
fastboot flash --slot=all bluetooth bluetooth.img
fastboot flash --slot=all cpucp cpucp.img
fastboot flash --slot=all devcfg devcfg.img
fastboot flash --slot=all dsp dsp.img
fastboot flash --slot=all engineering_cdt engineering_cdt.img
fastboot flash --slot=all featenabler featenabler.img
fastboot flash --slot=all hyp hyp.img
fastboot flash --slot=all imagefv imagefv.img
fastboot flash --slot=all keymaster keymaster.img
fastboot flash --slot=all modem modem.img
fastboot flash --slot=all multiimgoem multiimgoem.img
fastboot flash --slot=all oplus_sec oplus_sec.img
fastboot flash --slot=all oplusstanvbk oplusstanvbk.img
fastboot flash --slot=all qupfw qupfw.img
fastboot flash --slot=all qweslicstore qweslicstore.img
fastboot flash --slot=all shrm shrm.img
fastboot flash --slot=all splash splash.img
fastboot flash --slot=all tz tz.img
fastboot flash --slot=all uefisecapp uefisecapp.img
fastboot flash --slot=all vm-bootsys vm-bootsys.img
fastboot flash --slot=all xbl_config xbl_config.img
fastboot flash --slot=all xbl xbl.img
fastboot reboot

That’s it. These were the steps to flash/update the Android 12 firmware onto your OnePlus 9 device 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.


Share: