├── .github └── workflows │ └── build-magiskboot.yml ├── README.md ├── arm64-v8a └── magiskboot ├── armeabi-v7a └── magiskboot ├── x86 └── magiskboot └── x86_64 └── magiskboot /.github/workflows/build-magiskboot.yml: -------------------------------------------------------------------------------- 1 | name: Build magiskboot 2 | on: 3 | schedule: 4 | - cron: 0 0/12 * * * 5 | workflow_dispatch: 6 | 7 | jobs: 8 | build: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - name: Check out 12 | uses: actions/checkout@v3 13 | 14 | - name: Setup building environment 15 | run: | 16 | mkdir -p $GITHUB_WORKSPACE/build_workdir 17 | sudo apt update 18 | sudo apt upgrade 19 | echo "BUILD_TIME=$(TZ=Asia/Shanghai date "+%Y%m%d-%H%M")-UTC+8" >> $GITHUB_ENV 20 | - name: Set up JDK 17 21 | uses: actions/setup-java@v3 22 | with: 23 | distribution: "temurin" 24 | java-version: "17" 25 | 26 | - name: Set up Python 3 27 | uses: actions/setup-python@v4 28 | with: 29 | python-version: "3.x" 30 | 31 | - name: Build 32 | run: | 33 | cd $GITHUB_WORKSPACE/build_workdir 34 | rm -rf out 35 | mkdir out 36 | cd out 37 | mkdir x86_64 38 | mkdir x86 39 | mkdir arm64-v8a 40 | mkdir armeabi-v7a 41 | cd .. 42 | git clone --recurse-submodules https://github.com/topjohnwu/Magisk.git magiskboot 43 | cd magiskboot 44 | chmod +x ./build.py 45 | ./build.py ndk 46 | ./build.py -v native 47 | cp -p ./native/out/x86_64/magiskboot $GITHUB_WORKSPACE/build_workdir/out/x86_64/ 48 | cp -p ./native/out/x86/magiskboot $GITHUB_WORKSPACE/build_workdir/out/x86/ 49 | cp -p ./native/out/arm64-v8a/magiskboot $GITHUB_WORKSPACE/build_workdir/out/arm64-v8a/ 50 | cp -p ./native/out/armeabi-v7a/magiskboot $GITHUB_WORKSPACE/build_workdir/out/armeabi-v7a/ 51 | 52 | - name: Commit files 53 | run: | 54 | cd $GITHUB_WORKSPACE/build_workdir 55 | cp -r ./out $GITHUB_WORKSPACE 56 | cd $GITHUB_WORKSPACE 57 | rm -rf build_workdir 58 | rm -rf ./x86_64 ./x86 ./arm64-v8a ./armeabi-v7a 59 | mv -f ./out/* . 60 | rm -rf ./out 61 | { 62 | git config user.name github-actions 63 | git config user.email github-actions@github.com 64 | git add . 65 | git commit -m "$(date "+%Y-%m-%d %H:%M:%S") UTC" -a 66 | if [ $? -eq 0 ]; then 67 | date >> RunDate.txt 68 | git commit -m "$(date "+%Y-%m-%d %H:%M:%S")" -a 69 | git push 70 | else 71 | echo No Update 72 | fi 73 | } || { 74 | echo Execution Failed >RunDate.txt 75 | exit 1 76 | } 77 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # magiskboot 2 | 3 | ## Introduction 4 | The **magiskboot**, one of [Magisk](https://github.com/topjohnwu/Magisk)'s binary, built form Magisk (topjohnwu) source code, using GitHub Actions. 5 | 6 | If you do not trust this, DO NOT use it! 7 | 8 | ## Usage 9 | 10 | > You DO NEED a Linux machine! 11 | 12 | - Download **`magiskboot`** form [**Source Code**](https://github.com/magojohnji/magiskboot/archive/refs/heads/main.zip) 13 | 14 | - If shell says **`Permission denied`**, Run *`chmod +x magiskboot`* to make it executable. 15 | 16 | - Type *`./magiskboot`* to use it. 17 | 18 | - Enjoy! 19 | 20 | ## Windows 21 | 22 | **If you are looking for magiskboot for Windows, you may need** [**this**](https://github.com/svoboda18/magiskboot). 23 | 24 | ## Greatful 25 | [Magisk](https://github.com/topjohnwu/Magisk) 26 | -------------------------------------------------------------------------------- /arm64-v8a/magiskboot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magojohnji/magiskboot-linux/503170737b7c2194df4cb1dc897784217f615c1e/arm64-v8a/magiskboot -------------------------------------------------------------------------------- /armeabi-v7a/magiskboot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magojohnji/magiskboot-linux/503170737b7c2194df4cb1dc897784217f615c1e/armeabi-v7a/magiskboot -------------------------------------------------------------------------------- /x86/magiskboot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magojohnji/magiskboot-linux/503170737b7c2194df4cb1dc897784217f615c1e/x86/magiskboot -------------------------------------------------------------------------------- /x86_64/magiskboot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magojohnji/magiskboot-linux/503170737b7c2194df4cb1dc897784217f615c1e/x86_64/magiskboot --------------------------------------------------------------------------------