#!/bin/sh
# Run from the bootloader (fastboot) with this folder as the current directory.
set -e
fastboot flash --slot=all abl aop aop_config bluetooth cpucp devcfg dsp featenabler hyp imagefv keymaster modem multiimgoem multiimgqti qupfw qweslicstore shrm tz uefi uefisecapp xbl xbl_config xbl_ramdump boot vendor_boot dtbo recovery vbmeta vbmeta_system vbmeta_vendor abl aop aop_config bluetooth cpucp devcfg dsp featenabler hyp imagefv keymaster modem multiimgoem multiimgqti qupfw qweslicstore shrm tz uefi uefisecapp xbl xbl_config xbl_ramdump boot vendor_boot dtbo recovery vbmeta vbmeta_system vbmeta_vendor.img
fastboot flash super super.img
fastboot set_active a
fastboot -w
fastboot reboot
