forked from MarcoBuster/Magisk
Update README.md
This commit is contained in:
parent
fd8dbe3eff
commit
e649b0a2df
23
README.MD
23
README.MD
@ -11,14 +11,15 @@
|
|||||||
3. Java Development Kit (JDK) 8: Compile Magisk Manager and sign zips
|
3. Java Development Kit (JDK) 8: Compile Magisk Manager and sign zips
|
||||||
4. Latest Android SDK: `ANDROID_HOME` environment variable should point to the Android SDK folder
|
4. Latest Android SDK: `ANDROID_HOME` environment variable should point to the Android SDK folder
|
||||||
5. Android NDK: Install NDK along with SDK (`$ANDROID_HOME/ndk-bundle`), or specify custom path `ANDROID_NDK`
|
5. Android NDK: Install NDK along with SDK (`$ANDROID_HOME/ndk-bundle`), or specify custom path `ANDROID_NDK`
|
||||||
6. (Windows Only) Colorama: Install Colorama with `pip install colorama`, used for ANSI color codes
|
6. (Windows Only) Python package Colorama: Install with `pip install colorama`, used for ANSI color codes
|
||||||
7. (Unix only) C compiler: Build `zipadjust`. Windows users can use the pre-built `zipadjust.exe`
|
7. (Unix only) C compiler: Build `zipadjust`. Windows users can use the pre-built `zipadjust.exe`
|
||||||
|
|
||||||
### Instructions and Notes
|
### Instructions and Notes
|
||||||
1. Magisk can be built with the latest NDK (r16 as of writing), however official released binaries will be built with NDK r10e due to ELF incompatibilities with the binaries built from newer NDKs.
|
1. Magisk can be built with the latest NDK (r16 as of writing), however binaries released officially will be built with NDK r10e due to ELF incompatibilities with the binaries built from the newer NDKs.
|
||||||
2. The easiest way to setup a working environment is to import this project into Android Studio. The IDE will download required components and construct the environment for you. Don't forget to set `ANDROID_HOME` environment variable to the SDK path.
|
2. The easiest way to setup the environment is by importing this folder as an Android Studio project. The IDE will download required components and construct the environment for you. You still have to set the `ANDROID_HOME` environment variable to point to the SDK path.
|
||||||
3. Run the script with `-h` as an argument to see the built-in help message. The `-h` option also works for each supported actions, e.g. `./build.py binary -h`
|
3. Run `build.py` with argument `-h` to see the built-in help message. The `-h` option also works for each supported actions, e.g. `./build.py binary -h`
|
||||||
4. By default, the script will build binaries and Magisk Manager in debug mode. If you want to build Magisk Manager in release mode (through the flag `--release`), you will need to place your Java Keystore file at `release_signature.jks` to sign Magisk Manager's APK. For more information, check out [Google's Official Documentation](https://developer.android.com/studio/publish/app-signing.html#signing-manually).
|
4. Build everything with `build.py`, don't directly call `gradlew` or `ndk-build`, since most requires special setup / dependencies.
|
||||||
|
5. By default, `build.py` will build binaries and Magisk Manager in debug mode. If you want to build Magisk Manager in release mode (through the flag `--release`), you will need to place a Java Keystore file at `release_signature.jks` to sign Magisk Manager's APK. For more information, check out [Google's Official Documentation](https://developer.android.com/studio/publish/app-signing.html#signing-manually).
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
@ -43,7 +44,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
**MagiskManager** (`app`)
|
**MagiskManager** (`app`)
|
||||||
|
|
||||||
* Copyright 2016-2017, John Wu (@topjohnwu)
|
* Copyright 2016-2017, John Wu (@topjohnwu)
|
||||||
* All contributors and translators
|
* All contributors and translators on Github
|
||||||
|
|
||||||
**MagiskSU** (`core/jni/su`)
|
**MagiskSU** (`core/jni/su`)
|
||||||
|
|
||||||
@ -69,12 +70,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
* Copyright 2016-2017 John Wu (@topjohnwu)
|
* Copyright 2016-2017 John Wu (@topjohnwu)
|
||||||
* Copyright 2016 nkk71 (nkk71x@gmail.com)
|
* Copyright 2016 nkk71 (nkk71x@gmail.com)
|
||||||
|
|
||||||
**ndk-busybox** (`core/jni/external/busybox`)
|
**External Dependencies** (`core/jni/external`)
|
||||||
|
|
||||||
* Makefile for NDK, generated by [ndk-busybox-kitchen](https://github.com/topjohnwu/ndk-busybox-kitchen): Copyright 2017, John Wu (@topjohnwu)
|
* Makefile for busybox, generated by [ndk-busybox-kitchen](https://github.com/topjohnwu/ndk-busybox-kitchen)
|
||||||
* Patches for NDK: Many contributors along the way, all placed in [osm0sis/android-busybox-ndk](https://github.com/osm0sis/android-busybox-ndk)
|
* Each dependencies has its own license/copyright information in each subdirectory.
|
||||||
* The copyright message for busybox should be included in its own directory
|
All of them are either GPL or GPL compatible.
|
||||||
|
|
||||||
**Others Not Mentioned** (exclude `core/jni/external`)
|
**Others Not Mentioned**
|
||||||
|
|
||||||
* Copyright 2016-2017, John Wu (@topjohnwu)
|
* Copyright 2016-2017, John Wu (@topjohnwu)
|
||||||
|
2
app
2
app
@ -1 +1 @@
|
|||||||
Subproject commit 863b13a6946c851a4df1043acb8c5003a1b0f3c0
|
Subproject commit 96eaa833f561e645ba99f87ec9d376fc338b0861
|
Loading…
Reference in New Issue
Block a user