Skip to content

Commit 2025d51

Browse files
author
ng
committed
small improvement for scripts
1 parent da22a1d commit 2025d51

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

install/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ fi
3838
echo "[*] Rebooting into bootloader"
3939
adb reboot bootloader || echo "[!] Please enter Fastboot manually. Usually by holding 'Volume-' and 'Power' until reboot"
4040
fastboot boot $TWRP_PATH
41-
echo "[*] Booting '$TWRP_PATH'"
4241

4342
# Tell installer not to pack backups
4443
if [[ $pull_backups == 0 ]]; then
4544
wfr && adb shell mkdir /tmp/backup_original_partitions
4645
fi
4746

4847
# Install
48+
echo "[*] Loading TWRP. Please wait..."
4949
wfr && sleep 10 && adb shell twrp sideload || echo "[!] Please enter ADB sideload manually. Go to Advanced -> ADB sideload"
5050
wfs && echo "[*] Running installer"
5151
adb sideload "$BUILD_PATH/$ZIP_INSTALL" && echo "[+] Install complete"

install/uninstall.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@ fi
3737
echo "[*] Rebooting into bootloader"
3838
adb reboot bootloader || echo "[!] Please enter Fastboot manually. Usually by holding 'Volume-' and 'Power' until reboot"
3939
fastboot boot $TWRP_PATH
40-
echo "[*] Booting '$TWRP_PATH'"
4140

4241
# Uninstall
4342
if [ $BACKUPS_PRESENT -ne 0 ]; then
4443
echo "[*] Pushing backups from '$BACKUP_PATH'"
4544
wfr && adb push "$BACKUP_PATH" /tmp/backup_original_partitions
4645
fi
46+
47+
echo "[*] Loading TWRP. Please wait..."
4748
wfr && sleep 10 && adb shell twrp sideload || echo "[!] Please start ADB sideload manually. Go to Advanced -> ADB sideload"
4849
wfs && echo "[*] Running uninstaller"
4950
adb sideload "$BUILD_PATH/$ZIP_UNINSTALL"

0 commit comments

Comments
 (0)