#!/bin/bash
fastboot flash bootloader bootloader.img
fastboot flash dtb dtb.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash odm odm.img
fastboot flash product product.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img
fastboot flash vendor vendor.img
fastboot format userdata
fastboot format cache
