avd_magisk: add general usage

This commit is contained in:
vvb2060 2025-02-27 15:23:57 +08:00 committed by John Wu
parent dddd41c95b
commit 3ed4e258a3

View File

@ -4,7 +4,14 @@
#
# Support API level: 23 - 34
#
# With an emulator booted and accessible via ADB, usage:
# Push files to AVD:
# /data/local/tmp/magisk.apk
# /data/local/tmp/busybox (extract from apk)
# /data/local/tmp/avd_magisk.sh (this file)
# Then execute, you must use non-interactive shell:
# adb shell sh /data/local/tmp/avd_magisk.sh
#
# For developing Magisk, just use:
# ./build.py emulator
#
# This script will stop zygote, simulate the Magisk start up process