Full Guide to Flashing KernelSU Boot Image for Samsung Devices
FrEeRuNnEr4EvEr
1. Prepare Your Environment
- Backup: Flashing the kernel or boot image may erase all data, so backup important data before proceeding.
- Install Required Tools: Install ADB, Fastboot, Odin, and the necessary USB drivers for your device.
2. Fastboot Method (For Devices Supporting Fastboot)
Requirements:
- ADB & Fastboot Tools: Download and install ADB & Fastboot.
- KernelSU Boot Image: Download the appropriate boot image for your device. For example:beyond0lte-ksu-next_v1.0.2.img (for beyond0lte)
- d1-ksu-next_v1.0.2.img (for d1)
- f62-ksu-next_v1.0.2.img (for f62)
- etc.
Steps:
- Enable Developer Mode on Your Device:
- Go to Settings > About phone.
- Tap on Build Number several times until it says "You are now a developer."
- Enable USB Debugging:
- In Settings > Developer Options, enable USB Debugging.
- Reboot into Recovery Mode:
- Power off your device.
- Hold Volume Up + Power buttons simultaneously to boot into Recovery Mode.
- Once in Recovery Mode, select Advanced from the options and then choose Fastboot Mode.
- Verify Fastboot Connection:
- Connect your device to your PC via USB.
- Open a command prompt or terminal window on your PC.
Type the following command:
fastboot devices
- If your device appears, you're good to proceed.
- Flash the KernelSU Boot Image:
- Ensure you have the correct boot.img for your device.
Flash the boot image using this command (replace /path/to/boot.img with the actual path to your boot image):
fastboot flash boot /path/to/boot.img
- Reboot Your Device:
After the flashing is done, reboot your device:
fastboot reboot
3. Odin Method (For Samsung Devices)
Requirements:
- Odin Tool: Download the latest version of Odin.
- KernelSU Boot Image: The kernel image must be renamed to boot.img and then compressed into .tar format for Odin to flash it.
Steps:
- Enable Developer Mode on Your Device:
- Go to Settings > About phone.
- Tap on Build Number multiple times until it says "You are now a developer."
- Enable USB Debugging:
- In Settings > Developer Options, enable USB Debugging.
- Reboot into Download Mode:
- Power off your device.
- Hold Volume Down + Bixby + Power buttons simultaneously.
- When prompted, press Volume Up to enter Download Mode.
- Connect Your Device to PC:
- Connect your Samsung device to your PC using a USB cable.
- Rename and Compress the KernelSU Boot Image:
- Rename the Boot Image:Rename the KernelSU boot image (e.g., beyond0lte-ksu-next_v1.0.2.img) to boot.img:Right-click the beyond0lte-ksu-next_v1.0.2.img file, select Rename, and change it to boot.img.
- Compress the Boot Image to .tar:Windows: Use 7-Zip or WinRAR.
- Right-click the boot.img file, select Add to archive in 7-Zip, and set the archive format to .tar.
- This will create a boot.tar file.
- Launch Odin:
- Open Odin on your PC.
- Your device should appear as a blue box in Odin if it’s properly connected.
- Load the KernelSU Boot Image (Now in TAR Format):
- In Odin, click on the AP button (or PDA depending on your Odin version).
- Select the boot.tar file (the renamed and compressed KernelSU boot image).
- Start Flashing:
- After the file is loaded, click Start to begin flashing.
- Wait for Odin to complete the process. A PASS message will appear when flashing is successful.
- Reboot the Device:
- After Odin shows the PASS message, your device will automatically reboot.
4. After Flashing
Important Notes:
- Correct Image Selection: Always ensure you're flashing the correct boot image for your specific device model (e.g., beyond0lte, d1, f62).
- Risk of Bricking: Flashing a boot image that is not compatible with your device model may brick your phone or cause boot loops. Always verify the image before flashing.
- Warranty: Flashing custom images can void your device’s warranty, so proceed with caution.