This kernel is tuned for these SDM685 (sm6225-AD
) devices:
- Xiaomi Redmi Note 12 4G (
topaz
/tapas
) - Xiaomi Redmi Note 13 4G (
sapphire
/sapphiren
)
- This repo has kernelSU as a git submodule. This means it has to be cloned with
--recurse-submodules
- Since this is default branch, use the
-b
switch to clone a different one (eg.android13-5.15-lts
) - You can use the
--depth=1
argument to make a lighter shallow clone (not recommended)
build.config.gki.aarch64.chickernel
build.config.gki.aarch64.chickernel.ksu
build.config.gki.aarch64.chickernel.ksu.susfs
(SuSFS branch)
This kernel is built with a newer toolchain as defined in build.config.constants
- Ensure you have the correct prebuilt downloaded from this site
- Change directory to your source directory and run:
git submodule update --init --remote
- Upstreaming SuSFS implementation in kernel is kinda tricky, because it involves applying patches, and re-doing everything
- Clone the
gki-android13-5.15
branch into your working directory outside the kernel, and after you do the 1st step mentioned below, do everything as according the guide in it's README
I do it someway like this:
- First, i revert previous implementation commit
- I merge the directories from
kernel_patches/
to my tree - I apply the patch:
git apply *.patch --whitespace=fix
- I commit, and push to origin
Please report issues here, or to my telegram