Are you looking for the stock boot image for your OnePlus 8T? The stock boot image is required for rooting, unrooting, and also sometimes for fixing boot loops. This page serves as a repository through which you can download stock boot images for OnePlus 8T, for all the OxygenOS versions released till now. Further, we will show you how to flash a stock boot image to your OnePlus 8T using Fastboot commands and TWRP recovery.
If you’re new to Android software modding and things like rooting, TWRP, custom ROMs, etc, then you should 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 8T is no different. Soon after the launch, the phone quickly picked up a decent amount of support from the custom development community.
Recently, we covered a tutorial a step-by-step tutorial on rooting the OnePlus 8T without using TWRP recovery at all. A copy of the stock boot image file for the installed OxygenOS version is required during the rooting 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 software boot loops. It could help you eliminate the possibility of having a modified boot partition causing a problem.
Download OnePlus 8T Stock Boot Images
Below, you will find the links to download the stock boot images for the OnePlus 8T. These boot images have been extracted directly from the respective full ROM packages. We would give our best to keep the links up to date for the latest boot images.
If you want, you can also self-extract these images from the OxygenOS full ROM/OTA package using the Android OTA Payload Dumper.
How to Flash a Boot Image on OnePlus 8T?
Installing or flashing a boot image file on your OnePlus 8T 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 computer. We have covered both the methods below for you. The same instructions will apply while flashing both, a stock boot or a patched boot image.
Method #1: Flashing a Boot Image using Fastboot
- Flashing the stock boot image (or any other partition image file) through fastboot requires an unlocked bootloader.
- If you’re trying to unbrick your phone or fix a bootloop problem with a locked bootloader, then we suggest you take a look at our comprehensive OnePlus 8T 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, open the command window inside the Platform-Tools folder. Then, download the boot image file that you wish to flash to your OnePlus 8T and move it inside the ‘platform-tools’ folder on your computer.
Now boot your OnePlus 8T 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.
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.
Now execute the following command to finally flash the boot image to your OnePlus 8T:
fastboot flash boot boot-image-filename.img
In the command above, you have to replace “
boot-image-filename.img” 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
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 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 8T 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:
Method #2: Flashing a Boot Image using TWRP Recovery
TWRP for the OnePlus 8T is not available yet. So, we decided to keep the following method in place for documentation purposes. Once a working build of TWRP recovery is available for the phone, you could use the instructions below.
As mentioned earlier, an alternative (and easier) way to flash the boot image to your OnePlus 8T is by using TWRP. Unlike the first method, this wouldn’t require you to have a computer. To flash using this method:
- First, download the boot image file you wish to flash to your phone’s internal storage.
- Power off your OnePlus 8T and boot it into TWRP recovery mode using the instructions in this tutorial.
- Select ‘Install’ from the TWRP main screen.
- Tap the ‘Install Image’ button on the bottom-right to switch TWRP to image installation mode.
- 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.
- Select “Boot” and swipe the button on the bottom of the screen to flash the boot image to your OnePlus 8T.
That’s it! From here on, you can boot your phone by pressing the ‘Reboot System’ button.
By now, you should 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 generally use to flash the patched boot image when rooting your OnePlus 8T with Magisk, and also when flashing back the stock boot for unrooting.
Even if you are not into rooting and software modding, 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 OnePlus 8T. 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.