diff --git a/tools/helpers/flashall b/tools/helpers/flashall index 13b79c2..2f6d16f 100644 --- a/tools/helpers/flashall +++ b/tools/helpers/flashall @@ -2,7 +2,7 @@ # Just so you dont have to write. # Reboot the modem into fastboot mode # flash kernel + rootfs and reboot -sudo echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 +sudo su -c 'echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2' fastboot oem stay fastboot flash aboot appsboot.mbn fastboot reboot-bootloader