chenxiaolong / avbroot

Sign (and root) Android A/B OTAs with custom keys while preserving Android Verified Boot
GNU General Public License v3.0
436 stars 41 forks source link

Add support for KernelSU's kernel module mode #264

Closed chenxiaolong closed 3 months ago

chenxiaolong commented 3 months ago

KernelSU's main branch recently introduced support for implementing its kernel logic in a standalone kernel module. It's paired with ksuinit, which is presumably a wrapper around /init that loads the kernel module.

ksuinit is currently only provided as a binary in the KernelSU repo. Once the source code for ksuinit is released, I'll work on implementing support in avbroot.

chenxiaolong commented 3 months ago

Looks like ksuinit is intended to be closed source (https://github.com/tiann/KernelSU/pull/1254#issuecomment-2009134602). I don't run privileged code that I can't easily inspect, so I don't plan on working on this.