Home > Root

How to Root Android 14 via Magisk Patched Boot/Init_Boot [Video]

In this guide, we will show you the steps to root your Android 14 device via Magisk patched boot/init_boot.img. With the release of the fourteenth iteration of the OS, we have quite a lot of new goodies at the table. Some of the noteworthy ones include the new photo picker, lock screen customizations, Notification Flash, and Auto-Confirm Lock Screen [finally!], among others. However, as of now, our focus is on the other side of the fence aka the geeky aspects.

If you have welcomed the latest OS build and are looking to dive deep into the technicalities of the open-source ecosystem, then your best bet is to gain administrative privileges by rooting your Android 14 device via Magisk. And in this guide, we will help you with just that. Once you checkmark this requirement, you’ll then be able to welcome abode a plethora of mods and tweaks onto your device. So without any further ado, let’s hop onto this intriguing journey.

Benefits and Risks of Rooting Android 14

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 with a few risks as well.

Root OnePlus 12R

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] and Play Integrity will fail [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 Android 14 device via the Magisk.

How to Root Android 14 via Magisk Patched Boot/Init_Boot

root android 14

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned [Before starting, it is highly recommended that you go through our FAQ 1]. 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: Enable USB Debugging and OEM Unlocking

Next up, you will also 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 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

Next up, you will also have to unlock the device’s bootloader. Do keep in mind that doing so will wipe off all the data from your device and could nullify its warranty as well. So if that’s all well and good, then please refer to our detailed guide on How to Unlock Bootloader on any Android Device.

root android 14

STEP 4: Extract Stock Boot/Init_Boot

  1. To begin with, download the stock firmware [factory image] for your device.
  2. Make sure to download the same version that is currently installed on your device. To check the same, head over to Settings > About Phone > Build Number.
  3. Once downloaded, extract it to any convenient location on your PC. For Pixel devices, you can simply extract the firmware via WinZIP/WinRAR and get the boot.img from the Images folder.root android 14
  4. However, for other OEMs, things are a little bit different. So refer to your device-specific guides to extract the stock boot.img file for your device from the below links:
    root android 14

  5. Once you have extracted the firmware, copy the boot.img file [if your device originally shipped with an OS version older than Android 13] or init_boot.img [if your device shipped with Android 13/14 out of the box] and transfer it to your device. [See FAQ 1 for more details].

STEP 5: Patch Boot/Init_boot via Magisk

NOTE: The steps to patch the boot.img or init_boot via Magisk are the same.

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

STEP 6: Boot 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 android 14

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

STEP 7A: Root Android 14 using Magisk Patched Boot.img

This step is applicable for those devices that came with an OS version older than Android 13 and have since received an Android 13/14 update. [See FAQ 1 for more details].

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 android 14

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 android 14
  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 Android 14 using Magisk Patched Init_Boot.img

This step is applicable for those devices that came with Android 13 or higher versions out of the box. [See FAQ 1 for more details].

  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. NOTE: If you are getting the Failed (remote: Flashing is not allowed for partition) error, then you’ll have to flash the patched init_boot to the FastbootD Mode instead of the Fastboot/Bootloader. For that, use the fastboot reboot fastboot command to directly boot to FastbootD Mode and then use the above [or below] command to flash the file.
  4. 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
  5. 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 Android 14 device via Magisk patched boot.img/init_boot.img. If you have any queries concerning the aforementioned steps, do let us know in the comments section below. We will get back to you with a solution at the earliest.

Video Guide to Root Android 14 via Magisk Patch Boot/Init_boot

FAQ 1: Rooting via Init Boot or Boot?

One of the most common queries that some users have is whether they should root their Android 14 device via Magisk patched boot.img or init_patched boot.img? If your device comes with Android 13 or Android 14 out of the box [such as Pixel 8 and 7 series, OnePlus 11, Xiaomi 13, etc.] then you’ll have to use the init_boot.img file for root.

root android 14

The init_boot.img file is present in the stock firmware and the patching steps are similar to boot.img, though the flashing steps are different. We have explained everything [extraction, patching, and flashing] in detail in the subsequent steps.

root android 14

On the other hand, if your device came with Android 12 or older version out of the box and has since been updated to Android 14 [Pixel 6 series, OnePlus 10, Poco F4], then you’ll have to still use the boot.img for root. The entire rooting process is similar to how we did before- extract boot.img, patch it via Magisk, and flash it via Fastboot [all this has been explained below in this guide].

FAQ 2: Benefits and Risks of Rooting Android 14

Once you root your device by flashing the Magisk patched boot.img via Fastboot Commands, you will be in a position to try out a plethora of customizations on your device. These include the likes of flashing custom ROMs, installing a custom recovery like TWRP, or flashing a custom kernel. Along the same lines, you could also flash Magisk ModulesXposed FrameworkSubstratum ThemesViper4Android, and the likes. However, this is just one side of the story.

root android 14

Carrying out this process also has its downsides. First off, the process requires an unlocked bootloader. Doing so will wipe off all the data and could nullify the device’s warranty as well. Likewise, WideVine L1 will be degraded to L3, resulting in the inability to stream Netflix in HD [FIXED]. Then the SafetyNet will be triggered [FIXED], which might cause issues with banking apps [FIXED]. If that’s well and good, then let’s get started with the steps to root your device.

FAQ 3: Error while flashing Init_boot

If you are getting an error message such as [Flashing is not allowed in lock state], then try flashing the patched init_boot in the FastbootD Mode, as opposed to Fastboot/Bootloader Mode. The flashing commands are the same as listed above. As far as booting to FastbootD is concerned, you could use the adb reboot fastboot command if you want to do so from the OS or use the fastboot reboot fastboot if you want to do so from the Fastboot/Bootloader Mode [see this guide].


Share: