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.

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.

Tick Flat Build Qfil

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

Click Browse qfil

Qualcomm Flash Image Loader (QFIL)

Step 7: Click Load XML

Load XML Qfil

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.

Additional Information

Help: If you are getting an error while flashing your device and you want help, feel free to leave a comment below. Our experienced team will help you solve your problems.

Take a Backup: Its essential to backup your device data before using the Qfil flash tool as the flashing process will delete all the data from your device.

Qualcomm USB Drivers: If you are looking for a USB driver for your mobile device, then head over to the Qualcomm USB driver page. There you will find the official USB drivers.

Alternative Tool: There are many tools available to flash Qualcomm mobile phones, such as YGDP Tool and Xiaomi Mi Flash Tool. But Qualcomm Flash Image Loader (QFIL) is the best and easy to use tool to flash Qualcomm devices.

OS Compatibility: Qfil tool will not support Linux or Mac operating system; otherwise, it will work on all versions of Windows (x86 or x64 bit).

CREDITS: QFIL Tool created and distributed by Qualcomm Mobility LLC. thanks to them for creating and distributing such tools with us