From b155d29748febcf8ebe6a79fac986b05c32d7ce7 Mon Sep 17 00:00:00 2001 From: mdsaifurrahmann Date: Sat, 15 Jul 2023 18:02:31 +0600 Subject: [PATCH] stable v1.3 --- flash-stock-rom.sh | 4 +++- flash.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/flash-stock-rom.sh b/flash-stock-rom.sh index 17bb293..8fe5412 100755 --- a/flash-stock-rom.sh +++ b/flash-stock-rom.sh @@ -96,6 +96,8 @@ case $flasher in fi echo -e "\033[0;32m Modified Flash file restored! \033[0m" + + source ./flash.sh ;; *) echo "Aborting..." @@ -121,6 +123,6 @@ case $flasher in echo -e "\033[0;32m Modified Flash file restored! \033[0m" - exit 1; + source ./flash.sh ;; esac \ No newline at end of file diff --git a/flash.sh b/flash.sh index 301d1a6..1f1c38f 100755 --- a/flash.sh +++ b/flash.sh @@ -9,7 +9,7 @@ What do you want to do? 4. Check adb devices 5. Check fastboot devices 6. Reboot to System -7. Flash MIUI Stock ROM +7. Flash MIUI Stock ROM (Fastboot) (Press Any key to Exit or input your choice.) \033[0m";