Skip to content

Commit a570277

Browse files
committed
Wait for recovery
1 parent 87950f0 commit a570277

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openandroidinstaller/tooling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ def adb_twrp_wipe_and_install(
197197
Only works for twrp recovery.
198198
"""
199199
logger.info("Wipe and format data with twrp, then install os image.")
200+
for line in adb_wait_for_recovery(bin_path):
201+
yield line
202+
200203
# now perform a factory reset
201204
for line in adb_twrp_format_data(bin_path):
202205
yield line

0 commit comments

Comments
 (0)