The Custom Droid

Android Tutorials, Tips and Tricks

OnePlus 8/OnePlus 8 Pro Stock Boot Image Collection & Installation Guide

OnePlus 8/OnePlus 8 Pro Stock Boot Images - Download & Installation

Are you looking for the stock boot image for your OnePlus 8/OnePlus 8 Pro? The stock boot image is required for rooting, unrooting, and sometimes for fixing bootloops. This page serves as a repository through which you can download stock boot images for OnePlus 8 and OnePlus 8 Pro, for all the OxygenOS versions (Stable & Open Beta) released till now. Further, we will show you how to flash a stock boot image to your OnePlus 8/8 Pro using Fastboot and TWRP recovery.


If you’re new to Android software modding and things like rooting, TWRP, custom ROMs, etc, then it’s important that you understand what a boot image is and its importance when dealing with such things.

What is a Boot Image?

A boot image in its most basic sense is a disk image file containing the contents and structure of a storage device that is responsible for booting the hardware.

According to Google, an Android boot image (often referred to as a ‘boot.img’) contains the kernel and ramdisk that loads the Android system. It is also the first partition image loaded by the bootloader during a normal boot process.

Stock Boot Image vs Patched Boot Image

The “stock” moniker is added to represent the unmodified state of a boot image file. In a similar manner, you might often come around a “Patched boot image”, wherein the word “Patched” generally indicates that the boot image is patched with Magisk.

Why would you need the stock boot image?

The software on OnePlus devices is easy to customize due to the fact that the bootloader can be unlocked in a straightforward way. Meaning, you can play around with the software as much as you like. You can root the phone, install TWRP custom recovery, flash custom ROMs/kernels/mods, and do much more. The OnePlus 8 and 8 Pro are not different. Soon after the launch, both the phones quickly picked up a decent amount of support from the custom development community.

Earlier, we covered a tutorial a step-by-step tutorial on rooting the OnePlus 8 without using TWRP recovery at all. A copy of the stock boot image file for the installed OxygenOS version is required during the process, as shown in that tutorial.

A stock boot image also plays a very important role when unrooting the phone. Generally, Magisk creates a backup of your phone’s stock boot image during the installation process.

However, there could be a chance that Magisk might not have stored a backup of your stock boot image – (1) because you used a pre-patched boot image provided by another person, or (2) because of a general software error. In such a case, the stock boot image could come in really handy for uninstalling Magisk and unrooting the phone completely.

Flashing the stock boot image is also considered one of the first steps when debugging and fixing bootloops. It could help you eliminate the possibility of having a modified boot partition causing a problem.

Download Stock Boot Images

Below, you will find the links to download the stock boot images for both the OnePlus 8 and OnePlus 8 Pro.

These boot images have been extracted directly from the respective full ROM package. We would give our best to keep the links up to date for the latest boot images. However, if you want, you can also self-extract these images from the OxygenOS full ROM/OTA package using the instructions in this guide.

For OnePlus 8

For OnePlus 8 Pro

How to Flash a Boot Image on OnePlus 8/OnePlus 8 Pro?

Installing or flashing a boot image file on your OnePlus 8/8 Pro could be easily done by executing a Fastboot command from your computer. The alternative way is to flash the boot image file through TWRP recovery (in case you have that installed). The latter is more convenient because it wouldn’t require a PC. We have covered both the methods below for you. The instructions will apply while flashing both, a stock boot or a patched boot image.

First Method: Flashing a Boot Image using Fastboot


  • Flashing the stock boot image (or any other partition image file) through fastboot requires the phone’s bootloader to be unlocked. If you’re trying to unbrick your OnePlus 8/8 Pro or fix a bootloop problem with a locked bootloader, then we suggest you take a look at our comprehensive OnePlus 8 Unbrick Guide.
  • When executing the commands mentioned below, make sure that you prepend them with the right syntax according to your computer. For example, commands in Windows PowerShell should be prepended with a dot and backslash “.\” and those in macOS/Linux Terminal with a dot and forward slash “./”.

In order to flash the boot image file using Fastboot, you must first download and set up the Android platform-tools on your computer. To do this, simply download the platform-tools package for your computer from this page and extract its contents. The extracted ‘platform-tools’ folder should contain the Fastboot tool binary that you’ll be needing.

Tip: For easier access, it’s recommended to move the ‘platform-tools’ folder to the root of the C:\ driver on a Windows computer, or to the ‘Documents’ or ‘Desktop’ directory on a macOS/Linux computer.

Next, launch the command-line window inside the ‘platform-tools’ folder:

  • On Windows: Open the ‘platform-tools’ folder, hold the SHIFT key, and right-click on any empty space inside the folder. Then select the ‘Open PowerShell window here’ option.
    Launch PowerShell on Windows PC
  • On macOS/Linux: Launch the Terminal and change its directory to the ‘platform-tools’ folder using the cd command. E.g. If the the ‘platform-tools’ folder is inside the ‘Documents’ directory, then the command should be:
    cd Documents/platform-tools

Now, download the boot image file that you wish to flash to your OnePlus 8/OnePlus 8 Pro and move it inside the ‘platform-tools’ folder on your computer. At this point, your computer is ready to carry out the flashing process.

Move boot image inside the 'platform-tools' folder

Boot your OnePlus 8 into Fastboot Mode and connect it to the PC using the USB cable. Then execute the following command to verify that your PC can communicate with your phone over the fastboot interface.

fastboot devices

The command should return your phone’s unique ID. If you see a blank output, make sure that you have the latest OnePlus USB drivers installed on your PC and verify that the phone is recognized as “Android Bootloader Interface” in Control Panel > Device Manager.

Verify connection over fastboot interface

Now execute the following command to finally flash the boot image to your OnePlus 8/8 Pro:

fastboot flash boot boot-image-filename.img

You have to replace “boot-image-filename.img” in the above command with the full filename of the boot image you’re flashing. For example, if you have downloaded the stock boot image from above, the filename should be “boot.img” and the command should look like the following:

fastboot flash boot boot.img

Enter fastboot command to flash boot image to your OnePlus 8/8 Pro

The above command will only flash the boot image to the boot slot (boot_a or boot_b) that’s currently active, which is generally what you should do. However, if you wish to flash the boot image file to both the slots, you would need to use the following commands:

fastboot flash boot_a boot-image-filename.img

fastboot flash boot_b boot-image-filename.img

You must always flash the boot image corresponding to the OxygenOS version install on that particular slot. It’s often rare for both the boot slots on your OnePlus 8/8 Pro to have the same OxygenOS version installed. So be absolutely sure of what you’re doing when flashing a boot image to both the slots individually.

After you have successfully flashed the boot image, reboot your phone using the following command:

fastboot reboot

Second Method: Flashing a Boot Image using TWRP Recovery

As mentioned earlier, an alternative (and easier) way to flash the boot image to your OnePlus 8/8 Pro is by using TWRP. Unlike the first method, this wouldn’t require you to have a PC. To flash using this method:

  1. First, download the boot image file you wish to flash to your phone’s internal storage.
  2. Power off your OnePlus 8/8 Pro and boot it into TWRP recovery mode using the instructions in this tutorial.
  3. Select ‘Install’ from the TWRP main screen.
    Select 'Install Image' in TWRP Recovery
  4. Tap the ‘Install Image’ button on the bottom-right to switch TWRP to image installation mode.
  5. Navigate to your phone’s internal storage and select the boot image file. As soon as you select, TWRP will prompt you to choose a partition to flash the image.
    Flash Boot Image on OnePlus 8/8 Pro through TWRP recovery
  6. Select “Boot” and swipe the button on the bottom of the screen to flash the boot image to your OnePlus 8/8 Pro.

That’s it! From here on, you can boot your phone by pressing the ‘Reboot System’ button.

Wrapping Up

By now, you would have a very good idea of what a boot image is, why you would need it, and also how to flash one. The instructions under Method #1 are what you’d use to flash the patched boot image when rooting your OnePlus 8/8 Pro with Magisk, and also when flashing back the stock boot for unrooting. And even if you are not into rooting and stuff, having some basic knowledge of boot images could come in handy when debugging and fixing software issues like a boot loop.

We hope the provided information proves useful to you. Also, we will constantly be updating the download links as new OxygenOS updates (stable and open beta) are available for the said phones. But if we do forget, don’t hesitate to throw us a reminder. If you have any questions regarding the topic or the instructions, feel free to drop a comment below.

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Comments 8 Comments

  1. I have a Oneplus 8 PRO, it was “IN2020” before Android 12 update “IN2025” after the update.

    The naming scheme seems to have changed, I’ve got a notification for a “IN2025_11.C.33_ 1330_202207302311” OTA release, where would I find the official image (or at least the boot image)?

    1. Dennis, the full OTA package of the C.33 update for the OnePlus 8 Pro (IN2025; Global variant) isn’t available yet. So for the time being, we cannot get the corresponding boot image from it.

      Although, you can try using the Oxygen Updater app. It might help you download the C.33 full OTA ZIP file to your phone. You can then use Payload Dumper to extract the boot.img from the OTA Payload.bin.

  2. Thank you for providing such a helpful tutorial. Could you please update the collection to support OxygenOS EU for the OP8P? Or is there a way to get the image ourselves?

    1. You’re welcome! Yes, I have added OOS boot images for EU and Indian variants of the OnePlus 8 Pro.

      And yes, you can always self-extract the boot image from the OTA package. These packages include a payload file that contains the individual flashable partition images (including the boot image). You can extract the Payload.bin file on a computer or even on your phone itself.

  3. All I can find are patched images up to 10.5.6 for OP 8 Pro Gobal. If anyone has a magisk patched image for 10.5.12 please share. Thanks.

    1. Please avoid using pre-patched boot images. It’s best to patch the boot image on your device itself. When you self-patch the boot image, Magisk automatically stores a backup of your stock boot. This is very important, especially when taking OTA updates on your rooted phone.

      It’s actually extremely easy and doesn’t take more than a minute.

  4. If we unpack the payload.bin ,the size of Boot is around 100 MBs but the size of boot file for IN11DA is around 17 MBs. How’s that possible?

    1. Waqar, that’s completely normal. John Wu replied to a similar question on Twitter a while ago.

      I will just quote his reply – “The boot size shrink is expected. Throw your stock boot image into any hex editor and you’ll see a significant portion of the end of the image file is all zeros. It is called “padding”.”

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.