A Kernel based root solution for Android GKI.
- Flash a custom kernel with KernelSU, you can build it yourself or use prebuilt boot.img.
- Install Manager App and enjoy :)
- Put the
kernel
directory to GKI source'scommon/drivers
- Edit
common/drivers/Makefile
and add the driver to target - Follow the GKI build instruction and build the kernel.
Just open Android Studio and import the project.