I was trying to downgrade my phone from android 10 to android 7.1 (stock firmware). I have done this before and it always worked, except this time the flash-all.bat tool stopped while extracting the system image. I tried switching USB ports, running the commands myself and this is when it stopped working: I flashed the bootloader, restarted it into the bootloader but it tried booting to system and failed. Now it's hard bricked. I did not lock the bootloader.
After I did some digging I found out I can use an EDL cable to force it into QEDL mode. However, i have never done this before and saw in YouTube videos that you need a processor specific .mbn file. I cannot find them anywhere so far (there was an arabic website with no download link to their unbricking tool).
TL;DR - My phone hard bricked with the bootloader unlocked and I need help on flashing Qualcomm MSM8996 Pro SoC firmware. My PC still detects it as Qualcomm HS-USB QDloader 9008.