[OnePlus 11] elurex:
if you brick your op11, you may use follow images+script to fix your op11

Abandon_PHB110.bat

@echo off
if exist bin\platform-tools-windows\fastboot.exe PATH=%PATH%;bin\platform-tools-windows
setlocal enabledelayedexpansion
title Abandon线刷脚本 [请勿选中窗口，否则卡住活该，卡住按右键或回车或放大缩小窗口恢复]
echo.
echo.刷机注意事项：
echo.①首次刷入官改需要清除数据
echo.②解密Data和不解密Data的包互刷需要清除数据
echo.
echo.
set /p wipeData="是否需要清除数据（y/n）"
echo.
echo.刷机过程中请不要乱动乱点，请注意看标题
echo.刷机过程中请不要乱动乱点，请注意看标题
echo.刷机过程中请不要乱动乱点，请注意看标题
echo.
for /f "tokens=*" %%i in ('curl -sS https://jk.511i.cn 2^>nul ^|findstr fs-22 ^|findstr lh-22 ^|awk NR^=^=2 ^|cut -d ">" -f 2 ^|cut -d "<" -f 1') do (set QQGROUP=%%i)
if "!QQGROUP!" neq "" (
echo.如果卡在 ^<waiting for any device^> 请前往群（!QQGROUP!）文件搜索”安卓驱动“
echo.如果卡在 ^<waiting for any device^> 请前往群（!QQGROUP!）文件搜索”安卓驱动“
echo.如果卡在 ^<waiting for any device^> 请前往群（!QQGROUP!）文件搜索”安卓驱动“
) else (
echo.如果卡在 ^<waiting for any device^> 请前往群（1365349758）文件搜索”安卓驱动“
echo.如果卡在 ^<waiting for any device^> 请前往群（1365349758）文件搜索”安卓驱动“
echo.如果卡在 ^<waiting for any device^> 请前往群（1365349758）文件搜索”安卓驱动“

)
echo.

if exist images\init_boot_official.img (
if exist images\init_boot_magisk.img (
echo.
set /p rootOrNot="是否需要ROOT？（y/n）"
if /i "!rootOrNot!" == "y" (
fastboot flash init_boot_a images/init_boot_magisk.img
fastboot flash init_boot_b images/init_boot_magisk.img
) else (
fastboot flash init_boot_a images/init_boot_official.img
fastboot flash init_boot_b images/init_boot_official.img
)
) else (
fastboot flash init_boot_a images/init_boot_official.img
fastboot flash init_boot_b images/init_boot_official.img
)
fastboot flash boot_a images/boot_official.img
fastboot flash boot_b images/boot_official.img
) else (
if exist images\boot_magisk.img (
echo.
set /p rootOrNot="是否需要ROOT？（y/n）"
if /i "!rootOrNot!" == "y" (
fastboot flash boot_a images/boot_magisk.img
fastboot flash boot_b images/boot_magisk.img
) else (
fastboot flash boot_a images/boot_official.img
fastboot flash boot_b images/boot_official.img
)
) else (
fastboot flash boot_a images/boot_official.img
fastboot flash boot_b images/boot_official.img
)
)

if exist images\boot_twrp.img (
echo.
set /p twrpOrNot="是否需要TWRP？（y/n）"
if /i "!twrpOrNot!" == "y" (
fastboot flash boot_a images/boot_twrp.img
fastboot flash boot_b images/boot_twrp.img
)
)

if exist images\recovery_twrp.img (
echo.
set /p twrpOrNot="是否需要TWRP？（y/n）"
if /i "!twrpOrNot!" == "y" (
fastboot flash recovery_a images/recovery_twrp.img
fastboot flash recovery_b images/recovery_twrp.img
)
)

fastboot flash xbl_ramdump_a images/xbl_ramdump.img
fastboot flash xbl_ramdump_b images/xbl_ramdump.img
fastboot flash xbl_config_a images/xbl_config.img
fastboot flash xbl_config_b images/xbl_config.img
fastboot flash xbl_a images/xbl.img
fastboot flash xbl_b images/xbl.img
fastboot flash vendor_boot_a images/vendor_boot.img
fastboot flash vendor_boot_b images/vendor_boot.img
fastboot --disable-verity --disable-verification flash vbmeta_system_a images/vbmeta_system.img
fastboot --disable-verity --disable-verification flash vbmeta_system_b images/vbmeta_system.img
fastboot --disable-verity --disable-verification flash vbmeta_a images/vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b images/vbmeta.img
fastboot flash uefisecapp_a images/uefisecapp.img
fastboot flash uefisecapp_b images/uefisecapp.img
fastboot flash uefi_a images/uefi.img
fastboot flash uefi_b images/uefi.img
fastboot flash tz_a images/tz.img
fastboot flash tz_b images/tz.img
fastboot flash shrm_a images/shrm.img
fastboot flash shrm_b images/shrm.img
fastboot flash qupfw_a images/qupfw.img
fastboot flash qupfw_b images/qupfw.img
fastboot flash modem_a images/modem.img
fastboot flash modem_b images/modem.img
fastboot flash keymaster_a images/keymaster.img
fastboot flash keymaster_b images/keymaster.img
fastboot flash imagefv_a images/imagefv.img
fastboot flash imagefv_b images/imagefv.img
fastboot flash hyp_a images/hyp.img
fastboot flash hyp_b images/hyp.img
fastboot flash featenabler_a images/featenabler.img
fastboot flash featenabler_b images/featenabler.img
fastboot flash dtbo_a images/dtbo.img
fastboot flash dtbo_b images/dtbo.img
fastboot flash dsp_a images/dsp.img
fastboot flash dsp_b images/dsp.img
fastboot flash devcfg_a images/devcfg.img
fastboot flash devcfg_b images/devcfg.img
fastboot flash cpucp_a images/cpucp.img
fastboot flash cpucp_b images/cpucp.img
fastboot flash bluetooth_a images/bluetooth.img
fastboot flash bluetooth_b images/bluetooth.img
fastboot flash aop_config_a images/aop_config.img
fastboot flash aop_config_b images/aop_config.img
fastboot flash aop_a images/aop.img
fastboot flash aop_b images/aop.img
fastboot flash abl_a images/abl.img
fastboot flash abl_b images/abl.img

if exist images\preloader_raw.img (
fastboot flash preloader_a images/preloader_raw.img 1>nul 2>nul
fastboot flash preloader_b images/preloader_raw.img 1>nul 2>nul
fastboot flash preloader1 images/preloader_raw.img 1>nul 2>nul
fastboot flash preloader2 images/preloader_raw.img 1>nul 2>nul
)
echo.
echo.
echo.如果显示 invalid sparse file format at header magic 为正常情况，不是报错
echo.如果显示 invalid sparse file format at header magic 为正常情况，不是报错
echo.
echo.请耐心等待，卡在这里多久取决于电脑性能，也可以看下标题
echo.请耐心等待，卡在这里多久取决于电脑性能，也可以看下标题
echo.
echo.
if exist images\super.img fastboot flash super images/super.img
echo.
echo.
echo.刷完super可能会卡一段时间，请耐心等待，请勿自行重启，否则可能不开机需要重刷
echo.刷完super可能会卡一段时间，请耐心等待，请勿自行重启，否则可能不开机需要重刷
echo.
echo.如果长时间没有反应，请尝试手动开机或者重刷一遍
echo.如果长时间没有反应，请尝试手动开机或者重刷一遍
echo.
echo.

if /i "!wipeData!" == "y" (
fastboot erase userdata
fastboot erase metadata
)
fastboot set_active a
fastboot reboot

pause

Source: 救砖包_ColorOS