Flash android firmware without reboot
#!/usr/bin/env bash
# Create a file named 'fastboot' in your PATH
# -- begin --
# fool the flash-all.sh: dtbo.sig
${ACTION} ~/installs/platform-tools/fastboot --skip-reboot $*
# -- end --
for slot in b a; do
${ACTION} fastboot set_active ${slot}
${ACTION} fastboot reboot bootloader
${ACTION} sleep 5
${ACTION} ./flash-all.sh
${ACTION} sleep 5
done
echo Remember to lock bootloader: fastboot flashing lock
Comments