File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 38
38
echo " [*] Rebooting into bootloader"
39
39
adb reboot bootloader || echo " [!] Please enter Fastboot manually. Usually by holding 'Volume-' and 'Power' until reboot"
40
40
fastboot boot $TWRP_PATH
41
- echo " [*] Booting '$TWRP_PATH '"
42
41
43
42
# Tell installer not to pack backups
44
43
if [[ $pull_backups == 0 ]]; then
45
44
wfr && adb shell mkdir /tmp/backup_original_partitions
46
45
fi
47
46
48
47
# Install
48
+ echo " [*] Loading TWRP. Please wait..."
49
49
wfr && sleep 10 && adb shell twrp sideload || echo " [!] Please enter ADB sideload manually. Go to Advanced -> ADB sideload"
50
50
wfs && echo " [*] Running installer"
51
51
adb sideload " $BUILD_PATH /$ZIP_INSTALL " && echo " [+] Install complete"
Original file line number Diff line number Diff line change 37
37
echo " [*] Rebooting into bootloader"
38
38
adb reboot bootloader || echo " [!] Please enter Fastboot manually. Usually by holding 'Volume-' and 'Power' until reboot"
39
39
fastboot boot $TWRP_PATH
40
- echo " [*] Booting '$TWRP_PATH '"
41
40
42
41
# Uninstall
43
42
if [ $BACKUPS_PRESENT -ne 0 ]; then
44
43
echo " [*] Pushing backups from '$BACKUP_PATH '"
45
44
wfr && adb push " $BACKUP_PATH " /tmp/backup_original_partitions
46
45
fi
46
+
47
+ echo " [*] Loading TWRP. Please wait..."
47
48
wfr && sleep 10 && adb shell twrp sideload || echo " [!] Please start ADB sideload manually. Go to Advanced -> ADB sideload"
48
49
wfs && echo " [*] Running uninstaller"
49
50
adb sideload " $BUILD_PATH /$ZIP_UNINSTALL "
You can’t perform that action at this time.
0 commit comments