Files
Magisk/scripts
topjohnwu 2fc7a6d284 avd.sh: improve boot waiting and error handling
Update wait_for_boot to monitor the background emulator process and
fail immediately if it crashes, avoiding indefinite blocking on
adb wait-for-device. Implement timeout handling directly in the
polling loop without relying on subshell timeout wrappers.

In run_main, capture emulator stdout/stderr to a temporary log and
dump its contents on failure for easier debugging. Temporarily disable
tracing within wait_for_boot during polling to keep test logs clean
while preserving the caller's shell tracing state.

Assisted-by: Gemini 3.7 Flash
2026-08-26 05:42:55 +00:00
..
2026-08-26 05:42:55 +00:00
2026-08-26 05:42:55 +00:00