From e034c488438d99d7a38fb8501bb3089a27b04ad3 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Tue, 26 Oct 2021 06:02:55 +0200 Subject: [PATCH] fastboot.py: add logging --- fastboot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fastboot.py b/fastboot.py index 9eac4de..1c482c7 100644 --- a/fastboot.py +++ b/fastboot.py @@ -3,6 +3,7 @@ import subprocess def fastboot_erase_dtbo(): + logging.info(f"Fastboot: Erasing DTBO") subprocess.run( [ 'fastboot', @@ -14,6 +15,7 @@ def fastboot_erase_dtbo(): def fastboot_flash(partition, file): + logging.info(f"Fastboot: Flashing {file} to {partition}") result = subprocess.run([ 'fastboot', 'flash', @@ -26,6 +28,7 @@ def fastboot_flash(partition, file): def fastboot_boot(file): + logging.info(f"Fastboot: booting {file}") result = subprocess.run([ 'fastboot', 'boot',