#!/bin/bash images=( abl aop bluetooth boot cmnlib64 cmnlib devcfg dsp dtbo fw_4j1ed fw_4u1ea hyp keymaster LOGO modem qupfw storsec system tz vbmeta vendor xbl xbl_config ) for image in "${images[@]}"; do fastboot flash ${image}_a $image.img fastboot flash ${image}_b $image.img done fastboot flash oem_stanvbk oem_stanvbk.img