Skip to content

Instantly share code, notes, and snippets.

@willwm
Created March 29, 2021 00:35
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save willwm/869081cfe56210a4426677df58981070 to your computer and use it in GitHub Desktop.
Save willwm/869081cfe56210a4426677df58981070 to your computer and use it in GitHub Desktop.
fastboot: Flash All Partitions (OnePlus 8T)
fastboot flash product product.img
fastboot flash abl abl.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash boot boot.img
fastboot flash cmnlib cmnlib.img
fastboot flash cmnlib64 cmnlib64.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash dtbo dtbo.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash logo logo.img
fastboot flash mdm_oem_stanvbk mdm_oem_stanvbk.img
fastboot flash modem modem.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img
fastboot flash qupfw qupfw.img
fastboot flash recovery recovery.img
fastboot flash spunvm spunvm.img
fastboot flash storsec storsec.img
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot flash vendor vendor.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot reboot bootloader
@willwm
Copy link
Author

willwm commented Mar 29, 2021

Notes:

  • Hold down Volume Up + Power (for waaaay longer than you'd expect) to force full power off.
  • Hold Volume Up + Volume Down while connecting USB-C to enter QDLoader mode

@zxdawn
Copy link

zxdawn commented Feb 15, 2023

Interesting. I'm trying to flash OxygenOS to my ACE2. How did you check which partitions should be flashed? I have extracted the payload.bin and found many img files. Not sure which one to flash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment