Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 979 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 979 Bytes

su binary

This project is no longer maintained. Please refer to Magisk if you need it.

Note

Building

  • Download the Android Native Development Kit (NDK): https://developer.android.com/ndk/downloads/index.html

  • Extract into some directory and put that in your path: export PATH=NDK_DIR:$PATH

  • In another directory clone this repo: git clone https://github.com/jpacg/su-binary

  • Change to the directory where the repo was cloned cd su-binary

  • To start build process use the following make or ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk

  • If all goes well you will get the compiled binary at: ./libs/armeabi-v7a/su