Standalone build of magiskboot from topjohnwu/Magisk - no app, only the native boot image tool.
- Clones upstream Magisk (shallow) nightly + on manual dispatch
- Builds only
magiskbootviabuild.py native magiskboot(Rust + NDK) - Publishes static binaries for all Android ABIs
Binaries are fully static (-static, musl tiny printf when B_CRT0=1) - run on device via adb or in recovery.
git clone https://github.com/topjohnwu/Magisk.git upstream
python upstream/build.py ndk # one-time: downloads ONDK r30.1 to $ANDROID_HOME/ndk/magisk
python upstream/build.py -vr native magiskboot
ls upstream/native/out/*/magiskbootOr via helper:
./scripts/sync.sh # clone/update upstream + build
./scripts/build.sh # build only (expects ./upstream present)- Workflow:
.github/workflows/build.yml - Triggers: nightly
03:00 UTCcron,workflow_dispatch(manual), push tomain - Artifacts:
magiskboot-<abi>+magiskboot-all.tar.gz
- Host builds:
x86_64Linux exe,macOSarm64/x86_64,Windowsexe (cross viacargo+mingw) - Current workflow has placeholders (matrix disabled) - enable when NDK host cross is verified
- Source: https://github.com/topjohnwu/Magisk
- License: GPL-3.0-only (Magisk)