How to use Qualcomm Flash Image Loader (QFIL) to Flash Firmware

How to use Qualcomm Flash Image Loader (QFIL) to Flash Firmware

Here’s a guide on how to flash stock firmware using the Qualcomm Flash Image Loader (QFIL Tool) on any Qualcomm device.

 

rawprogram0.xml

Note: Use this tutorial only if your Qualcomm device’s stock firmware should be in .mbn file or hex file format. If your Qualcomm device’s stock firmware is not in .mbn file or hex file format, then this guide will not work for you.

For this Guide, you will need:

  • You need to have a Windows Computer/laptop.
  • Qualcomm USB Driver
  • QFIL Flash Tool
  • Stock Firmware of your Qualcomm device
  • A USB cable to connect your device with computer/laptop

Use Qualcomm Flash Image Loader (QFIL Tool)

Step 1: Download and Install the Qualcomm USB driver on your PC, and If you have already installed the driver, then skip this step.

Step 2: Download and extract the Qualcomm Flash Image Loader (QFIL) tool on your PC.

Step 3: After extracting, right-click on “QFIL .exe” and run it as administrator.

Qualcomm Flash Image Loader
Run as administrator
Qualcomm Flash Image Loader
Launch QFIL Tool

Step 4: Now You have to connect your mobile device to the PC while in EDL Mode.
Follow these steps to connect your device in EDL Mode with PC:
1. Power off your mobile phone.
2. Press Volume UP+Volume Down buttons and connect your device to the computer (Make sure your device should be in EDL mode before connecting to PC). Some mobile phones may require a various key combination to enter EDL mode.

Step 5: Once your mobile device is successfully connected, then you will be able to see “Qualcomm HS-USB QDLoader 9008” in QFil tool. Next, Under Select Build Type, tick Flat Build.

 

Step 6:  Click on Browse Button and load your device’s Stock firmware (.mbn) file. And from here follow the instructions on the screen.

 

Qualcomm Flash Image Loader (QFIL)

Step 7: Click Load XML

 

Step 7: After click “Load XML” button a pops up window will open, select the rawprogram0.xml file in this window and click open.

select rawprogram().XML file

Step 8: Another pop-up window will automatically open again, select the patch0.xml file in this window then click open.

select the patchO.xml

Step 9: Next, hit the Download button to start the flashing on your device.

hit Download button to start flashing

Step 10:After pressing the download button, the flashing process will start on your Qualcomm device. And you can see a progress bar that will run. Wait for finish download dialogue box.

flashing process will start

Step 11: After the flashing process is done, you will see Download Succeed or Finish Download message in Qfil tool. It means you have successfully Flash your Qualcomm device using the Qfil. Now unplug your device from the computer and wait for some time as it takes 5- 10 minutes after first boot.