mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 21:27:41 +02:00
Disable AVD hacks by default
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
# the official Android emulator (AVD) instead of a real device.
|
||||
#
|
||||
# This only covers the "core" features of Magisk. For testing
|
||||
# magiskinit, please checkout avd_init.sh.
|
||||
# magiskinit, please checkout avd_patch.sh.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
|
@ -14,6 +14,10 @@
|
||||
# After patching ramdisk.img, close the emulator, then select
|
||||
# "Cold Boot Now" in AVD Manager to force a full reboot.
|
||||
#
|
||||
# P.S. If running against the API 28 image, modify init.hpp and set
|
||||
# ENABLE_AVD_HACK to 1 to enable special hacks designed specifically
|
||||
# for this use case.
|
||||
#
|
||||
#####################################################################
|
||||
# AVD Init Configurations:
|
||||
#
|
||||
@ -39,6 +43,8 @@ if [ -z "$FIRST_STAGE" ]; then
|
||||
exec ./busybox sh $0
|
||||
fi
|
||||
|
||||
pm install -r $(pwd)/app-debug.apk
|
||||
|
||||
# Extract files from APK
|
||||
unzip -oj app-debug.apk 'assets/util_functions.sh'
|
||||
. ./util_functions.sh
|
||||
|
Reference in New Issue
Block a user