#!/bin/bash echo "Dispatching brickware!.." echo "" fastboot flash boot boot.img fastboot flash dtbo dtbo.img fastboot flash system system.img fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img echo "" read -r -p "Reboot? [Y/n] " response case $response in [nN][oO]|[nN]) exit 1 ;; *) echo "Good luck!.."; fastboot reboot ;; esac