r/androidroot • • 1h 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

2 Upvotes

2 comments sorted by

1

u/user6872_ 1h ago

What version of the Linux kernel does your device have?

1

u/privshell 52m ago

6.12.30-android16-5-g6e872b4863d6-ab13847919-4k