FIX - PRESS (VOLUME+) + (VOLUME -) and connect the phone in EDL mode.
When you get the error, DONT DISCONNECT!!!!!!!!
Just PRess (VOLUME+) + Power Button and hold for few seconds.
IT DOES THE WORK!!!!!
Yep, this did the trick for me! I have a OnePlus 7 pro that I hard bricked (wouldn't even get to fastboot!!), it kept getting stuck at "Saraha Communication Failed", once I got to that error keeping Volume+ and Power Button held until it started flashing successfully did the trick for me. It even worked on the USB 3 ports of my Windows 10 laptop. Thanks so much!
I can't remember having this much trouble with MSM back in June 2021 but oh well lol at least it works again thanks to you!
It's honestly kind of wild how fragile this software is but at least there's great tooling like MSM to recover these situations.
edit: Just had to restore my OP7Pro again (went back to a clean LineageOS 18.1 with pico opengapps, it still reboots randomly every few minutes just like my OP5 on LineageOS 18.1 does too so a clean install didn't help), this time when it got stuck at "Saraha Communication Failed" the Volume+ and Power Button trick didn't work for me, I had to Volume+ and Volume- and Power Button all 3 at once for it to get past that error. I ended up using a new MSM to restore Android 11 instead of Android 9 this time, but the old MSM still had the same "Saraha Communication Failed" Volume+ and Power Button trick not working this time around too. This software is so fragile and random but at least it works eventually. I'm going to stick with OOS 11 stock for a while and see how things go, my days of custom ROMs and rooting may be over, at least for now.
edit 2: My OnePlus 5 on LOS 18.1 automatically reboots and my OnePlus 7 Pro on stock OOS 11 automatically reboots, both like every 5 minutes, what the hell is going on lol?
edit 3: The reboots on my stock OOS 11 OnePlus 7 Pro have become less frequent and as of today have stopped entirely. I'm probably going to stick with stock for quite a few months longer at this point but what a weird issue.