Build guide
About 194 wordsLess than 1 minute
The repository provides Windows and Linux/macOS entry points. They build the DDK LKM, ksuinit, su, YukiZygisk, ksud and manager APK in order and embed required binaries into downstream artifacts.
Windows
.\scripts\build.bat --help
.\scripts\build.bat -k android16-6.12The full build needs Android SDK/NDK, JDK, Python 3, CMake/Ninja, Git and a working DDK/Docker environment. Exact discovery checks live in scripts/build.ps1.
Linux / macOS
./scripts/build.sh --help
./scripts/build.sh -k android16-6.12Set ANDROID_NDK_HOME and provide CMake, Ninja, JDK, Git, Docker and the Gradle prerequisites.
Common options
-k, --kmi <KMI>: DDK target--clean: remove script-approved native build directories--skip-lkm: reuseout/<KMI>_kernelsu.ko--yukizygisk/--yukizygisk-off: control kernel YukiZygisk support-i, --install: additionally install the APK; it does not authorize or performksudsync or LKM update
The DDK LKM is copied to out/<KMI>_kernelsu.ko; the APK is in the manager release output. Intermediate binaries stay in component build directories and are embedded by the script.
The numeric LKM version derives from Git commit count. Full strings look like v<version>-<hash>[-nc]@YukiSU, where -nc reflects uncommitted kernel/UAPI source changes.
Copyright
Copyright Ownership:Anatdx
License under:Attribution-NonCommercial-ShareAlike 4.0 International (CC-BY-NC-SA-4.0)