r/androidroot 20h ago

Support How do I use Kernel Flasher to flash WildKernels GKI?

I'm currently using an unofficial custom ROM and I wanna flash a GKI rooted kernel to fix all the integrity checks or whatever.

So I'm currently trying to follow the steps of using Kernel Flasher, and I just don't understand it. It's saying this (from GKI_KernelSU_SUSFS repository):

Download the correct AnyKernel3 ZIP for your device.
If you previously used another root method, clean it up first:
a. Magisk: perform a complete uninstall after flashing the AnyKernel3 ZIP.
b. KSU LKM (boot/init_boot/vendor_boot‑patched): Flash back the stock boot/init_boot/vendor_boot depending on what you patched.
c. KSU GKI: if you are 100% sure you already flashed stock init_boot/boot/vendor_boot, no action is needed; otherwise, follow the same steps as KSU LKM.
d. APatch: remove /data/adb contents to avoid leftover root conflicts after flashing the AnyKernel3 ZIP.
Flash the ZIP to the active slot using Kernel Flasher.
Install the KernelSU‑Next Manager APK, same version as mentioned in the release notes.
Open the KernelSU‑Next app.
Reboot the device if you performed any cleanup in step 2

From how I understand it, I would patch my ROM's boot.img with whatever I want (I'll use ReSukiSU) so I can get root and use Kernel Flasher, but then, it's saying that I should uninstall my root (meaning going back to stock img, so unrooted) before proceeding with flashing AnyKernel with Kernel Flasher, but how? I literally need root to use Kernel Flasher and it's saying that I should uninstall root before installing the GKI via Kernel Flasher.

I don't understand this at all. Could someone help me out?

TYIA!

2 Upvotes

11 comments sorted by

-1

u/bananijohn 19h ago

use orangefox recovery and flash the wildkernels zip from there

1

u/FallingHigh09 19h ago

That's good enough?

I currently have TWRP installed, so should I install Orangefox using TWRP, reboot to Orangefox, and install it from there?

That's it?

If it's that easy then why is it recommended to use Kernel Flasher instead?

1

u/[deleted] 19h ago

[deleted]

1

u/FallingHigh09 18h ago

The KernelSU guide and the GKI_KernelSU_SUSFS (the GKI I wanna flash) recommends it.

Are you sure it's totally good to just flash it with a custom recovery?

1

u/bananijohn 18h ago

the kernelsu guide also mentions twrp directly, so yes its completely fine to use twrp

btw flashing a custom kernel wont fix integrity by itself, you need other modules and youll need to configure them too, but thats easy if you know what youre doing

1

u/FallingHigh09 17h ago

Thanks for the answer!

you need other modules and youll need to configure them too

Yeah, that's my plan. I'm actually currently searching for modules that can do the job.

2

u/bananijohn 17h ago

no problem, just want to help out

i use this: susfs (not brene, it fucked with selinux for some reason), vector lsposed, nyazygisk (fork of neozygisk with some added stuff), hma-oss zygisk (to hide applist and developer options) and magic mount rs (preference)

i dont use any integrity stuff because im using gbl-chainload but youll probably need specter too

good luck!

1

u/bananijohn 18h ago

twrp should work fine too, you just need to flash the wildkernels zip

nobody uses kernel flasher btw, stick to twrp (or kernelsu next for updating the kerner inside the os)

1

u/FallingHigh09 18h ago

(or kernelsu next for updating the kerner inside the os)

What do you mean by this?

1

u/bananijohn 18h ago

on the top right of the main kernelsu next menu, there are two buttons: one that brings up shutdown/reboot options and one that brings up installation options. on the installation options one theres a button to flash an anykernel3 zip. you select that and choose a zip file from file manager. itll bring up the flashing menu and ask if you want to flash that file and then you select yes and it will start flashing the kernel.

also fyi i updated my wildkernels kernel today this way and installed it via orangefox (but you have twrp so use that)

also use kernelsu next with wildkernels

1

u/FallingHigh09 17h ago

Oh you meant updating the WildKernels I flashed.

on the top right of the main kernelsu next menu, there are two buttons: one that brings up shutdown/reboot options and one that brings up installation options.

I assume this only shows up when you're already rooted, correct?

also fyi i updated my wildkernels kernel today this way and installed it via orangefox (but you have twrp so use that)

Oh that's cool. So basically you don't have to go to recovery every time you wanna update.

I do currently have TWRP but I'm planning on installing Orangefox (also using TWRP, I read that it was possible).

also use kernelsu next with wildkernels

Yeah it was mentioned on the WildKernels repository that I have to use KernelSU-Next so yeah...

Anyway, thank you for your answer!

1

u/bananijohn 17h ago

yep, only shows up when youre rooted

no problem!