Download QPST Flash Tool & How to Use it to Flash Firmware on Qualcomm Android Devices

Download QPST Flash Tool and Usage Guide

Have you accidentally hard-bricked your Qualcomm Android device or want to restore stock firmware on it? Through this post, you can download the latest version of the QPST Flash Tool, along with all the previous versions as well. Further, you will also learn how to use QPST’s QFIL and Software Download programs to flash stock firmware on supported Qualcomm devices.

Table of Contents

What is QPST Tool?

QPST or Qualcomm Product Support Tool is a set of Windows software that allows users to force-flash firmware files on Qualcomm Android devices. It is normally used internally by service center executives for low-level firmware flashing to revive Android devices from a hard-brick or to fix persistent software issues.

To flash the firmware, the tool communicates with supported devices over a special interface known as EDL mode (also known as “Emergency Download Mode”).

The tool is compatible and can run on any Windows 10, Windows 8/8.1, Windows 7, and Windows XP PC.

When would you need to use it?

Generally, manually flashing the firmware on a majority of OEM Android devices is carried through Fastboot (The official Android command-line tool). However, some OEMs also deploy their own proprietary software for flashing firmware files, which are specific to their own devices. For example, the Odin Flash Tool for Samsung devices, Xiaomi Mi Flash Tool for Xiaomi, Redmi, and Poco devices, and so on.

But these tools only work if they can properly communicate with the device over a specific mode/interface, like Fastboot Mode, Download Mode, etc. So, when an Android device cannot boot/enter these modes, flashing the firmware via the corresponding flash tool isn’t possible. This is generally when a device gets hard-bricked. It could be caused while flashing custom binaries (rooting, installing TWRP, custom ROMs, etc) or even sometimes when restoring the stock firmware.

So what can a user do if they accidentally hard brick their device? A majority of Android devices from different manufacturers run a Qualcomm chipset, which makes it extremely common. So, users can use the QPST tool to manually flash firmware files on their Qualcomm Android device (irrespective of the manufacturer) for the purpose of unbricking or simply restoring the stock firmware.

Features of the Tool

The tool is a combination of various programs, which could be regarded as its features. These are as follows:

  1. QPST Configuration: This allows you to monitor and manage connected/active devices, serial COM ports, and clients.
  2. Service Programming: This allows you to back up the service programming data to a file and flash the file on multiple devices.
  3. Software Download: This program allows you to flash stock firmware on supported Qualcomm Android devices. It also enables you to back up & restore the non-volatile (NV) memory contents of a device.
  4. QFIL: Qualcomm Flash Image Loader is another program that allows you to flash stock firmware on supported devices. Unlike the Software Download program, QFIL flashes the firmware with .elf file format.

The two main programs of QPST that actually fulfill the purpose of flashing firmware files are ‘Software Download’ and ‘QFIL’. You can use either of these two QPST programs depending on the type of firmware file you have. In this guide, we have covered instructions to flash firmware files using both of these programs.

Download QPST (Qualcomm Product Support Tool)

Below, you will find download links for all the available versions of the QPST tool, along with the latest version, which is v2.7.460 (2.7 Build 460). Both the Software Download and QFIL flash tools/programs are already pre-included in the tool, so you wouldn’t need to download them seperately.

QPST v2.7 Build 460 (Latest)
QPST v2.7 Build 453
QPST v2.7 Build 447
QPST v2.7 Build 445
QPST v2.7 Build 422
QPST v2.7 Build 420
QPST v2.7 Build 366
QPST v2.7 Build 363
QPST v2.7 Build 104

Installation Instructions

The tool comes as a Windows installer package in the .exe file format. So, the installation is pretty straightforward. Just follow the instructions listed below to install the QPST tool on your Windows PC.

  1. Download the latest version of the QPST tool on your PC.
  2. Extract the contents of the downloaded ZIP file on the PC using an archive tool like 7-Zip.
  3. The extracted folder should contain a couple of different files including the tool’s executable file.
  4. Double-click on the executable file (e.g. QPST.2.7.460.exe) to launch the installer.
    Install QPST Tool on Windows PC - 01
  5. Click ‘Allow’ on your PC’s screen when you’re prompted.
  6. The Windows InstallShield Wizard for the QPST tool should now show up, click on ‘Next’.
    Install QPST Tool on Windows PC - 02
  7. Agree to the license agreement and click on ‘Next’.
    Install QPST Tool on Windows PC - 03
  8. Select the destination folder on your PC where you wish to install the tool and click ‘Next’. By default, it will be installed to “C:\Program Files (x86)\Qualcomm\QPST”.
    Install QPST Tool on Windows PC - 04
  9. Select ‘Complete’ when prompted to choose the setup type and click ‘Next’.
    Install QPST Tool on Windows PC - 05
  10. Finally, click on ‘Install’ to begin the installation of the QPST tool on your PC.
    Install QPST Tool on Windows PC - 06
  11. Once the installation is complete, click on ‘Finish’.
    Install QPST Tool on Windows PC - 07

The tool has now successfully been installed on your PC. You can now use it to flash stock firmware file on your supported Qualcomm Android device. The instructions for the same could be found in the next section.

How to Flash Firmware Files on Qualcomm Android Devices using QFIL or Software Download

Flashing firmware files using the QFIL or Software Download programs is quite easy if you know the right steps to follow. To make the whole procedure easier to understand and follow, we have split the instructions into five major steps. Make sure that you follow each and every step in the listed manner.

Step 1: Download QSPT Flashable Firmware File for your Device

The first step of the process is to download the firmware file that you want to flash on your Qualcomm Android device. These firmware files are not provided by any OEM but made publically available unofficially through online communities. A good place to start is visiting your device’s section over at the XDA-Developers community forums.

The QPST-flashable firmware is generally available as ZIP or RAR packages. So once you have downloaded the firmware file, you will need to extract it on your PC. The extract files should include the device’s partition images and the required QPST-flashable programmer files in .hex, .elf, or .mbn file format.

Extract Downloaded QPST Firmware File on your Windows PC

Step 2: Boot your Device into EDL Mode and Connect it to the PC

The QPST tool can only recognize a device and flash firmware to it while it’s in EDL mode (Emergency Download Mode). If your device has been bricked accidentally, doesn’t boot into Fastboot or Recovery modes, and just shows a black screen and vibrates, then it’s probably already in EDL mode. In that case, you can head directly to Step #3.

On the other hand, if your Qualcomm device is in a bootloop, you will need to manually boot it into EDL mode. How this is done, could vary from device to device. For some phones, it could be done via Fastboot and/or ADB, while on some others you will need to open up the phone and short the test points.

If you’re unsure of how to do it, first try booting your phone into EDL using ADB or Fastboot by following the instructions in the link below. If it doesn’t work, you’d need to lookup for your device-specific instructions over at XDA.

How to Enter EDL Mode on Qualcomm Android Devices

Once your device has entered EDL mode, connect it to the PC via a USB cable. It’s suggested to use USB 2.0 ports on your PC to connect the device. New generation USB 3.0/3.1 ports may not allow the QPST tool to recognize your phone and could also cause problems during the flashing process.

Step 3: Install Qualcomm USB Drivers on your PC (If Needed)

Now, while the device is connected to the PC in EDL mode, it is important that it must be identified by the PC as “Qualcomm HS-USB QDLoader 9008” under the Windows Device Manager.

Qualcomm HS-USB QDLoader 9008 in Windows Device Manager

Normally, the PC would automatically download the required USB drivers and install them for you once you have the phone connected. But that’s more of a hit-and-miss. To confirm, go to ‘Control Panel‘ > ‘Device Manager‘ on your Windows PC. In case your device is identified as “QHUSB_BULK” or something similar, it means that the proper drivers are missing.

To fix this, you will need to install the required Qualcomm USB drivers on your PC. Download links and instructions for the same could be found in this post. Once the drivers are installed, reboot your PC. Your device should now be detected as “Qualcomm HS-USB QDLoadeer 9008”, which is what you’ll need to flash the firmware via QPST.

Step 4: Verify if your Device is Connected via QPST Config

At this point, your phone is ready to be flashed. But first, you would need to make sure that the tool can recognize your device over EDL. To do this, launch the ‘QPST Configuration‘ program from the PC’s Start menu. Alternatively, you can go to “C:\Program Files (x86)\Qualcomm\QPST\bin” on your PC and double-click on the ‘QPSTConfig.exe‘ executable file.

Launch QPST Configuration Program on Windows PC

Once the program opens up, click on the “Ports” tab. If your device is properly recognized by the tool, you should see its corresponding serial port number, the Qualcomm MSM chipset, and its current state as ‘Enabled‘. From hereafter, you can follow the next step to start the actual flashing process.

Verify Connected Device in QPST Configuration Program

Note: If your device doesn’t appear in the tool’s window, it either means that it is not in EDL mode and/or the proper drivers are not installed. In which case, you’d need to re-look at Step #2 and #3 above.

Step 5: Flash the Stock Firmware File

This is the step where the really flashing starts. Simply follow the instructions depending on the type of firmware file you have available for your device.

Step 5.1: Using QFIL (Recommended)

Using the Qualcomm Flash Image Loader (QFIL) program is advised as it is more supports most modern-day Qualcomm Android devices and is also much easier to use than Software Download. The tool supports flashing firmware files in .elf and .mbn file formats.

  1. Launch the QFIL program on your Windows PC from the ‘Start’ menu. Or, you can alternatively go to “C:\Program Files (x86)\Qualcomm\QPST\bin” and double-click the ‘QFIL.exe’ executable file.
    Launch the QFIL Program on your PC
  2. The tool should automatically detect your device in EDL mode and show the port number at the very top.
  3. Now, click the ‘Configuration’ tab of the tool and select ‘Firehose Configuration’.
    Open 'Firehose Configuration' from QFIL Program
    Under the ‘FirHose Common Setting’ section, select your ‘Device Type’ as ‘UFS’ or ‘eMMC’. This option will tell the tool the type of storage specification your device uses and is extremely important. Once you have selected the right option, click ‘OK’ to confirm and save the settings.
    Select 'Device Type' under FireHose Common Setting
  4. Select ‘Flat Build’ as the build type in the QFIL program’s window.
  5. Click on the ‘Browse’ button next Programmer Path.
    Load Firmware File in QFIL's Programmer Path
  6. Navigate to the directory where the firmware file was extracted and select the programmer file in .elf or .mbn format (Included within the firmware file you downloaded) as shown in the figure below.
    Load Firmware File with elf or mbn format in QFIL Program
  7. Next, click on ‘Load XML’ and select all the RAW Program and Patch files in .XML file format (again, these are included within the firmware file).
    • Note: Not all devices and firmware support XML program files. So check the firmware file you’re using first. If it doesn’t include these files, you can skip this step.
      Load RAW Program and Patch XML Files in QFIL
  8. Once all the firmware files are loaded, click the ‘Download’ button to begin flashing the firmware file on your Qualcomm Android device.

The progress of the flashing process will be shown under the ‘Status’ tab. Once it finishes, your device will automatically reboot into the OS.

Step 5.2: Using Software Download

In the QPST Configuration window you opened during step #4, click ‘Start Clients‘ and select ‘Software Download‘ to launch the flash tool. The QPST Software Download flash tool window should now open up on your PC’s screen.

Launch Software Download Program through QPST Config

Under the ‘Software Download’ tab, the tool will show the connected device and its corresponding serial COM port number. Simply click on the ‘Browse‘ button next to ‘Phone Image‘ and select the firmware file in .hex format. Next, click on the ‘Browse‘ button next to ‘Boot Image‘ and select the bootloader file (.hex).

Flash Firmware File on Qualcomm Android Devices using QPST's Software Download Program

Note: The bootloader file isn’t normally needed and sometimes not available within the firmware. In such a case, you can simply skip it and just load the firmware file.

Once files have been loaded, click the ‘Start‘ button to begin flashing the firmware file on your Qualcomm Android device. The progress for the same will be shown towards the bar at the bottom of the tool’s window. Once the process finishes, you can disconnect the phone from the PC and reboot it.

That’s it! So, you have just successfully unbricked your device and restored stock firmware on it using two different programs of the QPST flash tool. If you have any questions regarding the tool or feel stuck anywhere while performing the instructions, please feel free to let us know.