How To

Root OnePlus OxygenOS 14 Android 14 Via Magisk

In this guide, we will demonstrate how to root your OnePlus device which runs on the latest OxygenOS 14 and Android 14, using Magisk. Many original equipment manufacturers (OEMs), including OnePlus, have swiftly moved to release the fourteenth version of their operating systems (OS).

Upgrading to this latest OS will introduce you to many exciting features, such as Aquamorphic Design 2.0, Trinity Engine, Hyper Rendering/Touch/Boost, an enhanced Notes app, and many others.

While it’s widely acknowledged that this new user interface and user experience is more geared towards ColorOS rather than the well-loved OxygenOS, there’s a silver lining for tech enthusiasts.

They can obtain administrative rights by rooting their OnePlus devices running OxygenOS 14 (based on Android 14) using Magisk, thus paving the way for an influx of custom binaries. Without further delay, let’s explore how to make this happen.

OnePlus OxygenOS 14 Android 14 Via Magisk


Rooting Android 14: What’s Different?

Since the introduction of Android 13, notable changes have occurred in rooting processes. For devices introduced with Android 13 or later OS versions (like OnePlus 11, Pixel 7, Xiaomi 13, etc.), initiate the rooting process using `init_boot.img`.

Conversely, you will still use the’ boot for devices initially launched with Android 12 or lower versions but have subsequently been updated to Android 13/14 (like OnePlus 10 Pro, Pixel 6 Pro, and Xiaomi 12 Pro). img` file for rooting.

Specifically for OnePlus users, the OnePlus 7, 8, 9, and 10 models continue to use `boot.img`, whereas the OnePlus 11 model should use `init_boot.img` to root the device. Let’s now proceed with these considerations.

Rooting OnePlus: Benefits and Risks

Revised Content:

Upon rooting your device, you unlock the capability to flash a wide array of mods. These range from Fox Magisk Modules and Substratum Themes to Xposed Framework via LSPosed and onto Viper4Android, among other options. Similarly, you can flash a custom kernel and implement your chosen CPU profile. Nevertheless, be aware that such modifications carry certain risks.

Rooting OnePlus

To start rooting your OnePlus device running OxygenOS 14 Android 14 via Magisk, it’s important to note that the process involves unlocking the bootloader, which will erase all data and potentially void your warranty. Additionally, enabling SafetyNet may cause banking app functionality issues. If you’re comfortable with these considerations, follow the steps below.

Initial Steps Root OnePlus OxygenOS 14 Android 14 Via Magisk:

Follow these steps for devices initially released with Android 12 or an older version and subsequently updated to Android 13 (e.g., OnePlus 8, 9, and 10). Additionally, it is highly recommended to back up all data on your device to mitigate any potential risks.

Please note that AMS and its members cannot be held responsible for any adverse outcomes, including but not limited to a thermonuclear war, failure of your alarm to wake you up, or any damage to your device or data resulting from following the instructions below.

1: Install Android SDK

Start by installing the Android SDK Platform Tools on your computer. These are the official ADB and Fastboot binaries Google provides and are highly recommended. After downloading, extract the files to a location on your computer that is easy to access. This process will create the ‘platform-tools’ folder, a resource you will frequently use in this guide.

Install Android SDK and Platform Tools

2: Enable USB Debugging and OEM Unlocking

Next, you must activate USB Debugging and OEM Unlocking on your device. USB Debugging allows your device to be recognized by your computer in ADB mode, which further enables booting into Fastboot Mode. Conversely, OEM Unlocking is essential to unlock the bootloader.

To enable these, follow these steps:

  1. Navigate to Settings > About Phone
  2. Tap on ‘Build Number’ seven times
  3. Return to Settings > System > Advanced > Developer Options
  4. Switch on USB Debugging and OEM Unlocking

Enable USB Debugging and OEM Unlocking

3: Unlock the Bootloader on the OnePlus

Next, you need to unlock the bootloader on your device. This process may erase all data and void your device’s warranty. If you understand and agree to these implications, refer to our detailed guide on How to Unlock the Bootloader on OnePlus for instructions.

unlock the bootloader on your OnePlus 11

4: Download OnePlus Firmware

Next, you need to download the stock firmware for your device. You can find this on the official OnePlus website or the Oxygen Updater App. Make sure you download the version that matches the one currently installed on your device. To confirm this, navigate to Settings > About Device > Version > Build/Version Number.

Download OnePlus Firmware

5: Extract OnePlus Boot.img from Payload.bin

After downloading the firmware, extract the files to a suitable location on your computer. This process will provide several files, including the ‘payload.bin’.

Google Factory Image page

It’s essential to note that OnePlus incorporates all its partition IMG files into this ‘payload.bin’ file, requiring its extraction. To guide you through this process, please refer to our tutorial on ‘How to Extract payload.bin and Get the Stock Boot Image File‘.


Root OnePlus OxygenOS 14 Android 14 via Magisk Boot.img

Patch OnePlus Boot.img via Magisk

  • Begin by downloading and installing the Magisk App on your device.
  • Once installed, open the app.
  • Look for the “Install” button next to Magisk and tap it.
  • Then tap the “Select and Patch a File” option.
  • Your next step involves navigating to the stock boot.img file. Once found, select it.

stock boot.img file

  • Tap the Let’s Go button at the top right of the screen.

Let's Go button

  • Your boot.img file has now been patched and is located in the Downloads folder of your device.
  • Please move this file into the platform tools folder on your PC.
  • This file will be crucial in the subsequent process of rooting your OnePlus device.

Boot OnePlus to Fastboot Mode

  • Connect your device to your PC using a USB cable, ensuring that USB Debugging is activated.
  • Navigate to the platform-tools folder, input ‘CMD’ into the address bar, and press Enter to open the Command Prompt.
  • To boot your device to Fastboot Mode, input the following command in the CMD window:

adb reboot bootloader.

  • Confirm the Fastboot connection by entering the command fastboot devices. Your device ID should display in response.
  • If no Serial ID appears, please proceed with installing Fastboot Drivers.

Update Drivers

Boot OnePlus using Magisk Patched Boot.img

  • You have two options to proceed from here. The first is to flash the patched boot directly.img file [see FAQ], or opt for a temporary boot.
  • We strongly recommend the latter as it lets you quickly test the functionality before committing to a permanent installation. If all runs smoothly, you can then proceed with the permanent installation.

If things do not proceed as expected and your device enters a boot loop or soft brick condition, a straightforward reboot should rectify the issue. With that in mind, let’s proceed with the recommended approach of temporary booting. Execute the following command in the CMD window to boot your device to a temporarily rooted OS.

fastboot boot magisk_patched.img

After running the previously mentioned command, your device will operate on an OS with temporary root access. Here’s how to make this a permanent change:

  • Start by opening the Magisk Manager App on your device.
  • Tap on “Install” > “Direct Install”, and then on “Let’s Go” found at the top-right corner.

stock boot.img file

  • After completing these steps, click the “Reboot” button at the screen’s bottom right.
  • And there you have it: your device will start with the permanently rooted OS.

FAQ: Root OnePlus via Direct Flashing

As you mentioned, you’ve already successfully rooted your device using the temporary boot to the rooted OS coupled with the Direct Install method provided by Magisk. This method is effective as it doesn’t overwrite any crucial data and allows permanent rooting.

Nonetheless, if you prefer to root your device by directly flashing the patched boot.img, you can certainly do so. This method is less complicated but can potentially overwrite essential data if not done correctly.

To achieve this, you need to use the Fastboot command-line tool. Here’s the command you need to input:

fastboot flash boot magisk_patched_boot.img

This command will directly flash the patched boot.img to your device, thereby rooting it. Ensure your device is connected to the PC and detected before proceeding with this command.

And that’s it! You have successfully followed the steps to root your OnePlus device running OxygenOS 14 Android 14 using the Magisk patched boot.img.

We understand that the process can seem complex; if you have any questions or encounter any issues with the steps outlined above, feel free to post them in the comments section. We’re here to help and will respond as soon as possible with a solution.

Root OnePlus OxygenOS 14 Android 14 via Magisk Init_Boot.img

Revised Content:

The following steps are designed for devices pre-installed with Android 13 or later, such as the OnePlus 11. It is highly recommended to back up everything on your device to secure your data. Please note that Droidwin and its members are not liable for any potential issues, from your alarm not waking you up to any mishap that may occur to your device and its data when executing the steps.

STEP 1: Ensure All Prerequisites are Met

Begin by completing all the prerequisite tasks listed from STEP 1 to STEP 4 above, stopping after downloading the OnePlus Firmware.

STEP 2: Extract the Init_Boot.img file from the OnePlus Payload.bin

After downloading the firmware, extract it to an accessible location on your PC. This will yield several files, including the payload.bin.


For those unfamiliar, OnePlus stores all its partition IMG files within payload.bin.

Before accessing the individual IMG files, extract them from the payload.bin. If you’re unsure how to do this, please refer to our detailed guide, “How to Extract payload.bin.” This guide will walk you through each step in the process.Extract Payload.Bin

STEP 3: Patch OnePlus Init_Boot.img via Magisk

  • Download and install the Magisk App on your device.
  • Open the app and tap the “Install” button next to Magisk.
  • Choose “Select and Patch a File” and locate the stock init_boot.img file before selecting it.

stock boot.img file

  • Tap the Let’s Go button at the top right of the screen.
  • Once the patching is complete, the modified init_boot.img file is automatically saved in your device’s
  • Downloads folder. To continue, you’ll need to move this file to the PC.


Follow these steps:

  • Connect your device to your PC.
  • Locate the patched init_boot.img in the Downloads folder of your device.
  • Transfer this file to the platform-tools directory on your PC.
  • Lastly, rename the file to magisk_patched_boot.img.
  • Now, you’re ready to proceed to the next step.

4: Boot OnePlus to Fastboot Mode

  • Next, link your device to the PC using a USB cable. Ensure that the USB Debugging mode is active before you proceed.
  • Finally, navigate to the platform-tools folder on your PC. To open Command Prompt directly in this location, type CMD into the address bar and press Enter.
  • This action will bring up the Command Prompt interface.

To boot your device into Fastboot Mode, enter the following command in the CMD window.

adb reboot bootloader

  • To verify the Fastboot connection, type in the below command, and you should get back the device ID.

fastboot devices

5: Root OnePlus using Magisk Patched Init_Boot.img

Revised Content:

In the CMD window, enter the following command to flash the patched init_boot.img onto your device:

fastboot flash init_boot magisk_patched_boot.img

Next, execute this command to reboot your device to the newly rooted OS:

fastboot reboot

Note: The reboot command should automatically flash the init_boot To both the a and b slots on your device. If you encounter any issues with this process, you can specify the slots manually while flashing. To flash the init_boot to each partition, execute the following commands:

fastboot flash init_boot_a magisk_patched_boot.imgfastboot flash init_boot_b magisk_patched_boot.img

That concludes the necessary steps to root your OnePlus device running on OxygenOS 14 and Android 14 by using the Magisk-patched init_boot. Please let us know in the comments below if you have any questions regarding these instructions. We strive to respond to inquiries as promptly as we can.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button