Home > Root

How to Root OnePlus OxygenOS 15 Android 15

In this guide, we will show you the steps to root your OnePlus device running the latest OxygenOS 15 based on Android 15. The OEM has just rolled out the fifteenth iteration of the OS build and with that, there are a slew of noteworthy features to look forward to. With a slew of new animations, AI tweaks, Circle to Search, Visual Effects, changes to notifications and quick settings, and numerous theming styles [with regards to AOD, lock screen clocks, etc], there’s a lot to look forward to.

If you wish to further up the ante, then you always have the option to gain administrative privileges and access to the system partition. This will then allow you to welcome abode a plethora of mods and tweaks onto your device. So on that note, let’s make you aware of the steps to root your OnePlus running the latest OxygenOS 15 based on Android 15 via Magisk.

Benefits and Risks of Rooting OnePlus

root oneplus oxygenos 15 oneplus android 15

Once you root your device, you will be in a position to flash a plethora of mods. These include the likes of Fox Magisk Modules, Substratum Themes, Xposed Framework via LSPosed, and Viper4Android among others. Along the same lines, you could also flash a custom kernel and implement your desired CPU profile. However, such tweaks do come in with a few risks as well.

root oxygenos 15

To begin with, rooting requires you to unlock the bootloader- which will wipe off all the data and could nullify the warranty as well. Likewise, SafetyNet will be triggered [FIXED] which will result in your inability to use banking apps [FIXED]. So if that’s all well and good, then let’s get started with the steps to root your OnePlus device running OxygenOS 15 Android 15 via Magisk.

How to Root OnePlus OxygenOS 15 Android 15 via Magisk Boot.img

YouTube video

These steps are applicable for those devices that were launched with Android 12 or [older version] and have since been updated to Android 13 [such as OnePlus 8, 9, and 10]. Moreover, please back up all the data on your device just to be on the safer side. 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 windowsFirst 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: Enable USB Debugging and OEM Unlocking

Next up, you will have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process.

root oneplus android 14

So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.

STEP 3: Unlock Bootloader on OnePlus

After this, you will have to unlock the bootloader on your device. Do keep in mind that this process will wipe off all the data and might nullify the device’s warranty as well. So if that’s all well and good, then refer to our comprehensive guide on How to Unlock Bootloader on OnePlus.

root oxygenos 15

STEP 4: Download OnePlus Firmware

Next up, download the stock firmware for your device from the OnePlus official website or via the Oxygen Updater App. Make sure to download the same version which is currently installed on your device. You could verify the same from Settings > About Device > Version > Build/Version Number.root oneplus android 15

STEP 5: Extract OnePlus Boot/Init_Boot from 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.

root oxygenos 15

For the unaware, OnePlus packs all its partition IMG files inside this payload.bin file, so you will have to extract it first. For that, you may refer to our guide on How to Extract payload.bin and get the stock boot/init_boot file. But which out of the two files should you use? Well, if your device came with Android 12 or older version, then you’ll have to use the boot.img. On the other hand, if it came with Android 13 or higher versions, then you’ll have to use the init_boot.img file.

root oneplus android 15

STEP 6: Patch OnePlus Boot/Init_Boot via Magisk

  1. Download and install the Magisk App on your device.
  2. Then launch it and tap on the Install button next to Magisk.
  3. After that, choose ‘Select and Patch a File’,
  4. Navigate to the boot/init_boot.img file, and select it.
    root oneplus android 15
  5. Then tap on the Let’s Go button situated at the top right.
    root oneplus android 14
  6. The boot.img/init_boot.img file will now be patched and placed under the Downloads folder on your device.
  7. You should transfer this file to the platform-tools folder on your PC. We will now be using this file to root your OnePlus.
    root oneplus android 14

STEP 6: Boot OnePlus to Fastboot Mode

  1. Now 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.
    command-prompt-inside-adb
  3. Type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

    root oxygenos 15

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

    root Pixel 6A

  5. If you are not getting any Serial ID, then please install Fastboot Drivers.

STEP 7A: Root OnePlus OxygenOS 15 via Magisk Patched Boot.img

This step is applicable for those devices that came with Android 12 or below.

It is always recommended to first boot your device via the patched boot.img, rather than directly flashing it. This way you will be able to check if everything is working well or not. If everything is on the good side, then you may proceed to the permanent root. So use the below command to boot your device via magisk patched boot.img and hence attain temporary root.

fastboot boot magisk_patched.img

root oxygenos 15

Now that your device is booted without any issues with a temporary root, let’s now make this root permanent. So refer to the below instruction steps to try it out.

  1. Launch the Magisk app and tap on Install.
  2. Then tap on Direct Install (Recommended) > Let’s Go situated at the top-right.
  3. [NOTE: If you get a Require Additional Setup prompt, then tap on OK and you’ll be automatically taken to the Install section from where you could select Direct Install > Reboot].
    root oxygenos 15
  4. Once done, hit the Reboot button situated at the bottom right.
  5. That’s it, your device will now boot to the rooted OS.

STEP 7B: Root OnePlus OxygenOS 15 via Magisk Patched Init_Boot.img

This step is applicable for those devices that came with Android 13 or higher versions out of the box.

  1. First off, make sure that the init_boot file is present in the platform-tools folder and is renamed as magisk_patched.img
  2. Then type in the below command in the CMD window to flash the patched init_boot.img file:
    fastboot flash init_boot magisk_patched.img
  3. If the above command didn’t work, then you should manually flash the init_boot to both slots using the below command:
    fastboot flash init_boot_a magisk_patched.img
    fastboot flash init_boot_b magisk_patched.img
  4. Your device should now boot to the rooted OS. If it doesn’t happen, then you may manually do so via the below command:
    fastboot reboot

That’s it. These were the steps to root your OnePlus running OxygenOS 15 Android 15 via Magisk patched init_boot. 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 as soon as possible.


Share: