If your phone gets bricked by flashing TWRP or OrangeFox recovery, or any Custom ROM, you can unbrick and restore default settings using QFIL Flash Tool. Moreover, if your phone is stuck in the boot loop or has black screen issues, flashing a stock ROM is the best solution for you. Since most manufacturers use Qualcomm chipset on their devices, it becomes easy to use Qualcomm Flash Tool and manually update it to the official Stock firmware.
Caution: Flashing or installing firmware using the QFIl Tool will wipe the data from the device. Therefore, we recommend you take a backup of your data before following the tutorial below. 2b1af7f3a8