mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 16:07:39 +00:00
Fix up some AVD scripts
This commit is contained in:
parent
195d885887
commit
21c8ad5b9e
@ -54,7 +54,7 @@ unzip -oj app-debug.apk 'assets/util_functions.sh'
|
|||||||
|
|
||||||
api_level_arch_detect
|
api_level_arch_detect
|
||||||
|
|
||||||
unzip -oj app-debug.apk "lib/$ABI/*" "lib/$ABI32/libmagisk32.so" -x "lib/$ABI/busybox.so"
|
unzip -oj app-debug.apk "lib/$ABI/*" "lib/$ABI32/libmagisk32.so" -x "lib/$ABI/libbusybox.so"
|
||||||
for file in lib*.so; do
|
for file in lib*.so; do
|
||||||
chmod 755 $file
|
chmod 755 $file
|
||||||
mv "$file" "${file:3:${#file}-6}"
|
mv "$file" "${file:3:${#file}-6}"
|
||||||
@ -119,7 +119,8 @@ fi
|
|||||||
|
|
||||||
# Magisk stuff
|
# Magisk stuff
|
||||||
mkdir -p $MAGISKBIN 2>/dev/null
|
mkdir -p $MAGISKBIN 2>/dev/null
|
||||||
unzip -oj app-debug.apk 'assets/*' -x 'assets/chromeos/*' -d $MAGISKBIN
|
unzip -oj app-debug.apk 'assets/*' -x 'assets/chromeos/*' \
|
||||||
|
-x 'assets/bootctl' -x 'assets/main.jar' -d $MAGISKBIN
|
||||||
mkdir $NVBASE/modules 2>/dev/null
|
mkdir $NVBASE/modules 2>/dev/null
|
||||||
mkdir $POSTFSDATAD 2>/dev/null
|
mkdir $POSTFSDATAD 2>/dev/null
|
||||||
mkdir $SERVICED 2>/dev/null
|
mkdir $SERVICED 2>/dev/null
|
||||||
|
@ -51,7 +51,7 @@ unzip -oj app-debug.apk 'assets/util_functions.sh'
|
|||||||
|
|
||||||
api_level_arch_detect
|
api_level_arch_detect
|
||||||
|
|
||||||
unzip -oj app-debug.apk "lib/$ABI/*" "lib/$ABI32/libmagisk32.so" -x "lib/$ABI/busybox.so"
|
unzip -oj app-debug.apk "lib/$ABI/*" "lib/$ABI32/libmagisk32.so" -x "lib/$ABI/libbusybox.so"
|
||||||
for file in lib*.so; do
|
for file in lib*.so; do
|
||||||
chmod 755 $file
|
chmod 755 $file
|
||||||
mv "$file" "${file:3:${#file}-6}"
|
mv "$file" "${file:3:${#file}-6}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user