This guide is to show you how you can use QFIL to flash devices in emergency mode ie when the phone is bricked or OS is corrupted.
Watch the video or follow tutorial below
How to install QFIL
QFIL is found in QPST v2.7.416 and above installer package. So after installing QPST on your PC you will have QFIL.
Download QPST 2.27.420 from here
Extract an install it
How to flash your device with QFIL
Download an Install Qualcomm drivers from here
Turn off the device and connect to PC while holding volume up button so it will enter Emergency mode (EDL)
Launch QFIL (found in this folder C:\Program Files\Qualcomm\QPST\bin)
At the top of QFIL GUI you will see Qualcomm HS-USB QDLoader 9008 (COM XX) showing the device is connected properly
Under Select Build
Search Path >> Click Browse button, navigate and select firmware folder of the phone you want to flash
Now click Load XML button, from the dialogue box
Select rawprogram xml files and click OK
Again select patch XML files and click OK
Under Select Programmer
Programmer Path >> Click Browse button.
From dialogue box select the prog_emmc_firehose mbn file and click OK
Now click Download button
Wait for flash process to complete
When the blue progress bar reaches the end, and you see Waiting for reset done..., know that flash process is complete.
Keep calm the device will reboot by its self.
You can now setup the phone and enjoy.........