From 2da8dc6b92de702554bc1c02c65b47e69b2b776f Mon Sep 17 00:00:00 2001 From: arian Date: Thu, 6 Sep 2018 18:45:10 +0200 Subject: [PATCH] ProjectTrouble: add show_progress --- META-INF/com/google/android/updater-script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/META-INF/com/google/android/updater-script b/META-INF/com/google/android/updater-script index b728ef3..801504d 100644 --- a/META-INF/com/google/android/updater-script +++ b/META-INF/com/google/android/updater-script @@ -17,10 +17,10 @@ ui_print(" "); ui_print("*****************************************************"); ui_print("****************** Android 9.0 Pie ******************"); ui_print("*****************************************************"); +show_progress(0.650000, 0); ui_print("Patching vendor image unconditionally..."); block_image_update("/dev/block/bootdevice/by-name/cust", package_extract_file("vendor.transfer.list"), "vendor.new.dat.br", "vendor.patch.dat") || abort("E2001: Failed to update vendor image."); -show_progress(0.020000, 10); +show_progress(0.050000, 5); package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot"); -show_progress(0.200000, 10); set_progress(1.000000);