This is basically the fastboot commands that i used to flash the global rom:
Before you proceed with the flashing, you need to enter into bootloader mode and ensure the active partition is on slot b. And make sure NOT to relock the bootloader after flashing the global rom.
Code:
.\fastboot flash boot boot.img
.\fastboot flash dtbo dtbo.img
.\fastboot flash modem modem.img
.\fastboot --disable-verity flash vbmeta vbmeta.img
.\fastboot --disable-verity flash vbmeta_system vbmeta_system.img
.\fastboot --disable-verity flash vbmeta_vendor vbmeta_vendor.img
.\fastboot reboot fastboot
.\fastboot flash abl abl.img
.\fastboot flash aop aop.img
.\fastboot flash bluetooth bluetooth.img
.\fastboot flash cpucp cpucp.img
.\fastboot flash devcfg devcfg.img
.\fastboot flash dsp dsp.img
.\fastboot flash engineering_cdt engineering_cdt.img
.\fastboot flash featenabler featenabler.img
.\fastboot flash hyp hyp.img
.\fastboot flash imagefv imagefv.img
.\fastboot flash keymaster keymaster.img
.\fastboot flash multiimgoem multiimgoem.img
.\fastboot flash my_carrier my_carrier.img
.\fastboot flash my_company my_company.img
.\fastboot flash my_engineering my_engineering.img
.\fastboot flash my_heytap my_heytap.img
.\fastboot flash my_manifest my_manifest.img
.\fastboot flash my_preload my_preload.img
.\fastboot flash my_product my_product.img
.\fastboot flash my_region my_region.img
.\fastboot flash my_stock my_stock.img
.\fastboot flash odm odm.img
.\fastboot flash oplus_sec oplus_sec.img
.\fastboot flash oplusstanvbk oplusstanvbk.img
.\fastboot flash product product.img
.\fastboot flash qupfw qupfw.img
.\fastboot flash qweslicstore qweslicstore.img
.\fastboot flash shrm shrm.img
.\fastboot flash splash splash.img
.\fastboot flash system system.img
.\fastboot flash system_ext system_ext.img
.\fastboot flash tz tz.img
.\fastboot flash uefisecapp uefisecapp.img
.\fastboot flash vendor vendor.img
.\fastboot flash vendor_boot vendor_boot.img
.\fastboot flash vm-bootsys vm-bootsys.img
.\fastboot flash xbl xbl.img
.\fastboot flash xbl_config xbl_config.img
.\fastboot flash -w
.\fastboot reboot
Before you proceed with the flashing, you need to enter into bootloader mode and ensure the active partition is on slot b. And make sure NOT to relock the bootloader after flashing the global rom.