← Back to home

Installation Root: How to Root Google Pixel with KernelSU Next and Wild Kernel

Root a Google Pixel with KernelSU Next, then install a Wild Kernel. Unlock the bootloader, patch the stock init_boot image, flash only that patched file, and install the Wild Kernel zip.

Order

Pixel root order: build number, stock firmware, unlock, KernelSU Next, patch init_boot, flash the patched file, Wild Kernel zip, reboot

Before You Start

Before any install step, note the firmware already on the phone and download that same stock image.

  1. On the phone open Settings → About phone → Build number
  2. Write that build number down. The factory image must be this exact version
  3. Download that stock firmware from developers.google.com/android/images. Find your Pixel model and the build number you just wrote down
Before you start: note the build number, then download the matching stock firmware
  • Create a full backup of your data — bootloader unlock wipes the device
  • Charge the phone to at least 70%
  • Download platform-tools (adb, fastboot, and the helper scripts) from here and extract it to a folder like C:\adb
  • Download KernelSU Next Manager from KernelSU-Next releases. The manager version must match the Wild Kernel release you will flash later
  • Download the Wild Kernel AnyKernel3 zip from WildKernels releases. Pick the zip that matches your Android version and kernel
  • Install the Google USB driver if it is not already installed
  • Enable Developer options, USB debugging, and OEM unlock
  • Use a known-good USB cable (data cable, not charge-only)

Important: Unlocking the bootloader erases all data and may affect warranty status. Proceed at your own risk.

Step 1 — Unlock the Bootloader

  1. Enable Developer options: Settings → About phone, tap Build number 7 times
  2. In Settings → System → Developer options, enable OEM unlocking and USB debugging (the device must be connected to the internet for OEM unlocking to activate)
  3. Connect the phone to your PC and authorize the USB debugging prompt
  4. Run the Unlock_bootloader.bat script from the platform-tools folder, or do it manually:
adb reboot bootloader
fastboot devices
fastboot flashing unlock

The script asks you to choose the unlock method: 1 for fastboot flashing unlock (Pixel 6 and newer) or 2 for fastboot oem unlock (older devices).

Note: Confirm the unlock on the phone using the volume and power keys. The phone reboots and performs a factory reset. Complete initial setup again before continuing.

Unlock the bootloader from the PC with fastboot flashing unlock. This wipes the phone

Step 2 — Install KernelSU Next Manager

  1. Install the KernelSU Next Manager APK on the phone
  2. Do not patch or flash anything yet
Install the KernelSU Next Manager APK. Do not patch yet

Step 3 — Copy stock init_boot.img

  1. Open the factory image you already downloaded for this build number
  2. Extract init_boot.img from that archive
  3. Copy init_boot.img to the phone Downloads folder
  4. Keep a copy of the original file on the PC

Important: The factory image must match the build currently installed. This init_boot.img is the file you patch, and the copy you flash back if the phone bootloops.

Take init_boot.img from the factory image and copy it to the phone Downloads folder

Step 4 — Patch init_boot.img

  1. Open KernelSU Next Manager and tap the install icon
  2. Choose Select a file. The screen notes that an init_boot or vendor_boot image is recommended
  3. Select the stock init_boot.img you copied to the phone
  4. Wait until patching finishes. The manager saves the patched file on the phone, usually in Downloads
  5. Copy only that patched file back to the platform-tools folder on the PC

Important: Flash the patched file only. Do not flash the original init_boot.img.

In KernelSU Next choose Select a file and patch init_boot. Flash only the patched file

Step 5 — Flash the patched file

  1. Reboot to bootloader: adb reboot bootloader
  2. Verify detection: fastboot devices
  3. Flash the patched image to init_boot, using its real filename:
fastboot flash init_boot kernelsu_patched.img
fastboot reboot
  1. After reboot, open KernelSU Next Manager and confirm root works before installing Wild Kernel
Flash only the patched init_boot file with fastboot flash init_boot

Step 6 — Install the Wild Kernel zip

  1. Download the AnyKernel3 zip from WildKernels releases. Choose the zip that matches your Android version and kernel
  2. Copy the zip to the phone
  3. Open KernelSU Next Manager, tap the install icon, and choose Flash AnyKernel (.zip)
  4. Select the Wild Kernel zip and wait until flashing finishes
  5. Reboot, then open KernelSU Next Manager and confirm the kernel is installed
Flash the Wild Kernel AnyKernel zip with Flash AnyKernel, then reboot

What gets flashed

Step File Where How
KernelSU Next Patched init_boot.img init_boot fastboot flash init_boot
Wild Kernel AnyKernel3 zip KernelSU Next Manager Flash AnyKernel (.zip)

Troubleshooting

Device not detected in fastboot

  • Install the Google USB driver
  • Try a different USB cable or port
  • Check Device Manager for unrecognized devices

Wrong build number

Bootloop after flashing

  • After the patched image: flash the original init_boot.img with fastboot flash init_boot, then reboot
  • After the Wild Kernel zip: flash the stock boot.img from the same factory image, then reboot

Manager shows no root

  • Install the KernelSU Next Manager build whose version matches the Wild Kernel release, then reboot

Related pages

Installation guide · Root hide · Play Integrity fix · Device simulation · Software downloads

Open Installation Guide Get access