We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbab2b1 commit 7d5ce43Copy full SHA for 7d5ce43
1 file changed
openandroidinstaller/tool_utils.py
@@ -73,14 +73,15 @@ def adb_reboot_bootloader(bin_path: Path) -> bool:
73
yield False
74
return
75
sleep(1)
76
- # check if in fastboot mode
77
- for line in run_command("fastboot", ["devices"], bin_path):
78
- yield line
79
- if (type(line) == bool) and not line:
80
- logger.error("No fastboot mode detected. Reboot into bootloader failed.")
81
- yield False
82
- else:
83
- yield True
+ yield True
+ # TODO: check if in fastboot mode
+ # for line in run_command("fastboot", ["devices"], bin_path):
+ # yield line
+ # if (type(line) == bool) and not line:
+ # logger.error("No fastboot mode detected. Reboot into bootloader failed.")
+ # yield False
+ # else:
84
+ # yield True
85
86
87
def adb_reboot_download(bin_path: Path) -> bool:
0 commit comments