From b9399424514a30a456978cd3dc712b06ab364ce2 Mon Sep 17 00:00:00 2001 From: 1ndev-ui <1ndevelopment@protonmail.com> Date: Sat, 16 Nov 2024 18:28:21 -0800 Subject: [PATCH] Updated README.md [v0.0.1] --- README.md | 284 --------------------------------------------------- module.guide | 281 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 281 insertions(+), 284 deletions(-) create mode 100644 module.guide diff --git a/README.md b/README.md index 47b144c..4ee7756 100755 --- a/README.md +++ b/README.md @@ -30,287 +30,3 @@ - -
-Magisk ~ Developer Guides - - -Magisk ships with a feature complete BusyBox binary (including full SELinux support). The executable is located at /data/adb/magisk/busybox. Magisk’s BusyBox supports runtime toggle-able “ASH Standalone Shell Mode”. What this standalone mode means is that when running in the ash shell of BusyBox, every single command will directly use the applet within BusyBox, regardless of what is set as PATH. For example, commands like ls, rm, chmod will NOT use what is in PATH (in the case of Android by default it will be /system/bin/ls, /system/bin/rm, and /system/bin/chmod respectively), but will instead directly call internal BusyBox applets. This makes sure that scripts always run in a predictable environment and always have the full suite of commands no matter which Android version it is running on. To force a command not to use BusyBox, you have to call the executable with full paths. - -Every single shell script running in the context of Magisk will be executed in BusyBox’s ash shell with standalone mode enabled. For what is relevant to 3rd party developers, this includes all boot scripts and module installation scripts. - -For those who want to use this “Standalone Mode” feature outside of Magisk, there are 2 ways to enable it: - - Set environment variable ASH_STANDALONE to 1 - Example: ASH_STANDALONE=1 /data/adb/magisk/busybox sh