Skip to content

Commit

Permalink
Wait a bit longer before automatic reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
tsterbak committed Feb 16, 2023
1 parent 968c859 commit e680cd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openandroidinstaller/tooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def adb_twrp_install_addons(
for line in adb_sideload(bin_path=bin_path, target=addon):
yield line
sleep(7)
sleep(3)
# finally reboot into os
if is_ab:
# reboot into the bootloader again
Expand Down

2 comments on commit e680cd0

@SirRGB
Copy link
Contributor

@SirRGB SirRGB commented on e680cd0 Feb 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adb wait-for-recovery and adb wait-for-sideload exist, but they dont seem to work consistently on newer twrp versions on my OP5 for some reason.
Needs to be tested ig.

@tsterbak
Copy link
Member Author

@tsterbak tsterbak commented on e680cd0 Feb 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I never heard about those functions! I will look into it! Thank you! :) I added it as issue #83 and will test it

Please sign in to comment.