Magisk-powered Android Kernel Installer
Although bootwitch are powered by
magiskboot, it doesn't comes with the
magiskboot binary by default.
The main purpose of it is so you can decide what version of
magiskboot by yourself.
So, before anything else, you need to put your preferred
magiskboot binary file inside the
kernel related files
Like anykernel2, you can put your
dtbo.img if you also want to flash that) to the root of bootwitch folder.
Specific kernel configuration (kernel.conf)
There is several things that you can configure in the
kernelname= kernelver= kernelauthor=
Informations of your kernel release. it will be displayed in the installation process. OR :
Define your kernel filename, and where the
boot device block on it.
with_dtbo= blk_dtbo= src_dtbo=
If your kernel release also provide the
dtbo.img, you can enable
Don't forget to set the
dtbo device block on
blk_dtbo, and dtbo filename on
If not, then just set it to
Mostly, custom kernel on system-as-root devices doesn't patch their initramfs.c (@okitavera does, hehehe).
Basically, in order preserve magisk functionality on system-as-root device, you need to hexpatch it like Magisk does.
But don't worry, we got you.
You just need to set it
true to let the witch (and of course,
magiskboot) does the job.
📦 Building zip file
bootwitch comes with
buildzip.sh to generate zip easily.
If you're already setup all things (
Image.gz-dtb, and maybe
you can just run the script directly in your
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
This README was generated with