dotfiles: leviathan: arch-openbox-20231010
This commit is contained in:
33
.local/bin/flash_oneplus
Executable file
33
.local/bin/flash_oneplus
Executable file
@ -0,0 +1,33 @@
|
||||
#!/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
|
Reference in New Issue
Block a user