Skip to content

Commit

Permalink
Wait for recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
tsterbak committed Feb 25, 2023
1 parent 87950f0 commit a570277
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openandroidinstaller/tooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ def adb_twrp_wipe_and_install(
Only works for twrp recovery.
"""
logger.info("Wipe and format data with twrp, then install os image.")
for line in adb_wait_for_recovery(bin_path):
yield line

# now perform a factory reset
for line in adb_twrp_format_data(bin_path):
yield line
Expand Down

0 comments on commit a570277

Please sign in to comment.