Refactor adb patching and emulator setup

Add support for patching boot images directly via adb
with the build.py script.
This commit is contained in:
topjohnwu
2026-09-21 01:40:07 -07:00
parent 89d3100ffc
commit aed0261c3d
8 changed files with 123 additions and 91 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ test_main() {
local images=()
for apk in "${apks[@]}"; do
images+=("magisk-$(basename $apk .apk).img")
./build.py -v avd_patch --apk "$apk" "$CF_HOME/init_boot.img" "${images[-1]}"
./build.py -v patch --apk "$apk" "$CF_HOME/init_boot.img" "${images[-1]}"
done
for i in "${!apks[@]}"; do