mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-24 16:07:34 +00:00
Enable avd hack for debug build
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
#####################################################################
|
||||
# AVD Magisk Setup
|
||||
#####################################################################
|
||||
|
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
#####################################################################
|
||||
# AVD MagiskInit Setup
|
||||
#####################################################################
|
||||
@@ -13,10 +12,6 @@
|
||||
# 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:
|
||||
#
|
||||
|
@@ -92,11 +92,6 @@ export -f wait_for_boot
|
||||
|
||||
set -xe
|
||||
|
||||
if grep -q 'ENABLE_AVD_HACK 0' native/src/init/init.hpp; then
|
||||
echo -e '\n\033[41m! Please patch init.hpp\033[0m\n'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case $(uname -m) in
|
||||
'arm64'|'aarch64')
|
||||
arch=arm64-v8a
|
||||
|
Reference in New Issue
Block a user