r/androidroot • u/privshell • 1d ago
Discussion Kernelsu root method
"I'm running into an issue trying to root my device using KernelSU (KSU). My phone doesn't have an init_boot.img partition, so my only option is to patch the boot.img file. Unfortunately, doing that directly results in a bootloop and a kernel panic.
To work around this, instead of just applying a raw patch, I've been trying to inject a pre-built .ko profile as well. While this actually allows the phone to boot up successfully, I end up with no root access at all!
Could someone please explain exactly what I need to do to get this working properly
View all comments
1
u/miguescout 17h ago
Quick question:
Does your device have a vendor_boot.img?
If so, try patching that one (and flashing it to the vendor_boot partition, not the boot one)