[OnePlus 11] Agret:
Do you need to keep the data on the phone? Using MSM tool to restore is the best way to get out of bootloop/softbrick on these devices. I suppose since you are already in fastboot it can't hurt to try the easier method though :)

Here are the commands to copy paste into your cmd window

fastboot.exe set_active a

fastboot.exe flash abl "abl.img"
fastboot.exe flash aop "aop.img"
fastboot.exe flash aop_config "aop_config.img"
fastboot.exe flash xbl "xbl.img"
fastboot.exe flash xbl_config "xbl_config.img"
fastboot.exe flash xbl_ramdump "xbl_ramdump.img"
fastboot.exe flash bluetooth "bluetooth.img"
fastboot.exe flash boot "boot.img"
fastboot.exe flash cpucp "cpucp.img"
fastboot.exe flash devcfg "devcfg.img"
fastboot.exe flash dsp "dsp.img"
fastboot.exe flash dtbo "dtbo.img"
fastboot.exe flash engineering_cdt "engineering_cdt.img"
fastboot.exe flash featenabler "featenabler.img"
fastboot.exe flash hyp "hyp.img"
fastboot.exe flash imagefv "imagefv.img"
fastboot.exe flash init_boot "init_boot.img"
fastboot.exe flash keymaster "keymaster.img"
fastboot.exe flash oplus_sec "oplus_sec.img"
fastboot.exe flash qupfw "qupfw.img"
fastboot.exe flash recovery "recovery.img"
fastboot.exe flash shrm "shrm.img"
fastboot.exe flash splash "splash.img"
fastboot.exe flash tz "tz.img"
fastboot.exe flash uefi "uefi.img"
fastboot.exe flash uefisecapp "uefisecapp.img"
fastboot.exe flash vbmeta "vbmeta.img"
fastboot.exe flash vbmeta_system "vbmeta_system.img"
fastboot.exe flash vbmeta_vendor "vbmeta_vendor.img"
fastboot.exe flash vendor_boot "vendor_boot.img"

fastboot.exe delete-logical-partition my_bigball_a
fastboot.exe delete-logical-partition my_bigball_b
fastboot.exe delete-logical-partition my_carrier_a
fastboot.exe delete-logical-partition my_carrier_b
fastboot.exe delete-logical-partition my_engineering_a
fastboot.exe delete-logical-partition my_engineering_b
fastboot.exe delete-logical-partition my_heytap_a
fastboot.exe delete-logical-partition my_heytap_b
fastboot.exe delete-logical-partition my_manifest_a
fastboot.exe delete-logical-partition my_manifest_b
fastboot.exe delete-logical-partition my_region_a
fastboot.exe delete-logical-partition my_region_b
fastboot.exe delete-logical-partition my_stock_a
fastboot.exe delete-logical-partition my_stock_b
fastboot.exe delete-logical-partition odm_a
fastboot.exe delete-logical-partition odm_b
fastboot.exe delete-logical-partition product_a
fastboot.exe delete-logical-partition product_b
fastboot.exe delete-logical-partition system_a
fastboot.exe delete-logical-partition system_b
fastboot.exe delete-logical-partition system_ext_a
fastboot.exe delete-logical-partition system_ext_b
fastboot.exe delete-logical-partition system_dlkm_a
fastboot.exe delete-logical-partition system_dlkm_b
fastboot.exe delete-logical-partition vendor_a
fastboot.exe delete-logical-partition vendor_b
fastboot.exe delete-logical-partition vendor_dlkm_a
fastboot.exe delete-logical-partition vendor_dlkm_b

fastboot.exe create-logical-partition my_bigball_a 0
fastboot.exe create-logical-partition my_bigball_b 0
fastboot.exe create-logical-partition my_carrier_a 0
fastboot.exe create-logical-partition my_carrier_b 0
fastboot.exe create-logical-partition my_engineering_a 0
fastboot.exe create-logical-partition my_engineering_b 0
fastboot.exe create-logical-partition my_heytap_a 0
fastboot.exe create-logical-partition my_heytap_b 0
fastboot.exe create-logical-partition my_manifest_a 0
fastboot.exe create-logical-partition my_manifest_b 0
fastboot.exe create-logical-partition my_product_a 0
fastboot.exe create-logical-partition my_product_b 0
fastboot.exe create-logical-partition my_region_a 0
fastboot.exe create-logical-partition my_region_b 0
fastboot.exe create-logical-partition my_stock_a 0
fastboot.exe create-logical-partition my_stock_b 0
fastboot.exe create-logical-partition odm_a 0
fastboot.exe create-logical-partition odm_b 0
fastboot.exe create-logical-partition product_a 0
fastboot.exe create-logical-partition product_b 0
fastboot.exe create-logical-partition system_a 0
fastboot.exe create-logical-partition system_b 0
fastboot.exe create-logical-partition system_ext_a 0
fastboot.exe create-logical-partition system_ext_b 0
fastboot.exe create-logical-partition system_dlkm_a 0
fastboot.exe create-logical-partition system_dlkm_b 0
fastboot.exe create-logical-partition vendor_a 0
fastboot.exe create-logical-partition vendor_b 0
fastboot.exe create-logical-partition vendor_dlkm_a 0
fastboot.exe create-logical-partition vendor_dlkm_b 0

fastboot.exe flash my_bigball "my_bigball.img"
fastboot.exe flash my_carrier "my_carrier.img"
fastboot.exe flash my_company "my_company.img"
fastboot.exe flash my_engineering "my_engineering.img"
fastboot.exe flash my_heytap "my_heytap.img"
fastboot.exe flash my_manifest "my_manifest.img"
fastboot.exe flash my_preload "my_preload.img"
fastboot.exe flash my_product "my_product.img"
fastboot.exe flash my_region "my_region.img"
fastboot.exe flash my_stock "my_stock.img"
fastboot.exe flash odm "odm.img"
fastboot.exe flash product "product.img"
fastboot.exe flash system "system.img"
fastboot.exe flash system_ext "system_ext.img"
fastboot.exe flash system_dlkm "system_dlkm.img"
fastboot.exe flash vendor "vendor.img"
fastboot.exe flash vendor_dlkm "vendor_dlkm.img"

fastboot.exe flash oplusstanvbk "oplusstanvbk.img"
fastboot.exe flash misc "misc.img"

fastboot.exe reboot