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_2.7.460.zip
QPST v2.7 Build 453 QPST_2.7.453.zip
QPST v2.7 Build 447 QPST_2.7.447.zip
QPST v2.7 Build 445 QPST_2.7.445.zip
QPST v2.7 Build 422 QPST_2.7.422.zip
QPST v2.7 Build 420 QPST_2.7.420.zip
QPST v2.7 Build 366 QPST_2.7.366.zip
QPST v2.7 Build 363 QPST_2.7.363.zip
QPST v2.7 Build 104 QPST_2.7.104.zip

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.
    Click-Download-in-QFIL-to-Start-Flashing-Firmware

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.

Comments

  1. I am at a loss with my 4X (santoni). After several MiFlash errors and fastboot versions (and cables), I decided to try this. But now I keep getting Download Fail FireHose Fail FHLoaderLFail Process Fail, and write errors (Here is the full log: https://paste.ee/p/dObQZ). Also, QPST Config is either showing Not Available or a quarter-full green bar (can’t find what the latter means). I’m starting to think it’s a hardware issue, or maybe I need to disable write protection for the eMMc storage somehow?

    By the way, thanks for the guide. I’ve been tinkering with my devices for years and it’s the first time I’ve heard of QPST.

    1. Josh, most (if not all) errors related to FireHose would be caused because of connection problems with the computer and the device. And there could be quite a few things to diagnose. It could be the PC’s USB port (try both USB 2.0 and USB 3.0), the USB cable, or even the phone’s USB port.

      If you take a look at the very bottom of the log you provided, you should see references to ports. For the most part, the flash ran fine, the firmware being used is correct as well.

      If you couldn’t get it to work with different ports/USB cable, I suggest you try another PC.

  2. Hi Dhananjay
    My one plus 6 got bricked, I used MSM flashtool to flashing the device . But nothing happened ,tool is showing download successfull in green colour. Phone only turning on and off , only showing some times dump crash. What can I do…any I idea you have,Is there possibility to flash OnePlus 6 by QPST or QFIL. Any other ways …

    1. Afraid not, Pravin. If you constantly see the Qualcomm Crashdump Mode screen even after running a successful flash through MSM, then it probably indicates hardware damage.

      It seems like more and more OnePlus 6/6T units have been affected by this issue. And the only option OnePlus is giving to its users is to replace the PCB, which more than half the cost of the device itself.

    1. I am afraid not. I have tried researching for it in the past and today as well, after seeing your comment, but couldn’t find anything.

      Have you tried holding key combinations to force-exit EDL mode? Like Bixby + Volume Down + Power, or Bixby + Volume Up + Power, or Volume Up + Volume Down + Power?

  3. I cant successfully flash on my ROG 2. It says DownloadFail:Sahara Fail:QSaharaServerFail:Process Fail

    What should I do?

    1. Sahara/Firehose errors generally mean that there’s an issue with the connection. It could either be the USB drivers, cable, or the USB port to blame.

      For plugging the phone into the computer, try using the USB 2.0 ports.

    2. Remove your battery from phone after connect or check usb cable is working fine.

  4. Where can I find firmware files in .hex format to flash with software download tool on QPST Tool?
    djensen7778:06 pm
    I’ve bricked my Rog 3 and need firmware file in .hex format to flash with software download tool.

    Cannot get into Recovery mode, but can get into EDL mode. I’ve tried unbrick tool on XDA, and tried to flash raw files , but to no avail.

    1. Hi Daniel, I am already in the midst of writing a tutorial for unbricking the ROG Phone 3. Have you looked over at this XDA thread?

      I will be utilizing the same method and files in my tutorial as well.

  5. I was bricked LG K8 2018 X210ULMG Qfil see my phone als Qualcom 908 and is good connection but i dont have files elf and .mbn Where i can found those files for my model ?

    1. I tried a bit of research but couldn’t find a QPST-compatible firmware for the LG K8. I found this XDA thread though, which I think is worth checking.

      If you could just get it out of EDL, it would be possible to unbrick by flashing a KDZ firmware file.

  6. Hi
    My nexus 6p (angler) in edl mode 9008
    Is there a way to recover?
    Where can I find HEX firmware for the same?
    Thanks.

    1. Joshy, have you tried holding the Volume Up + Volume Down + Power keys to exit EDL mode?

  7. Hello,
    Thanks for the detailed instructions, but HOW do I get the firmware file for mia1 Xiaomi phone? THank you sir

    1. Fastboot ROMs for the Mi A1 contain the required programmer file in .mbn file format. You can download the fastboot ROM for the Mi A1 from here. After downloading, extract the contents of the file and locate the programmer file inside the ‘images’ folder.

  8. HI Dhananjay,

    I have a bricked Xiaomi Mi Note 3 by flashing wrong firmware (when it was working).
    I can see it (9008) on my pc and your tool.
    My problem is the firmware format I find for my phone, have neither firehose nor xms.
    (e.g. https://xiaomifirmwareupdater.com/firmware/jason/)

    Any idea how can I download them to my phone?

    Thank you very much in advance

    1. Christos, the page you have linked only contains incremental OTA packages for the Mi Note 3.

      The firmware file you want is the Fastboot ROM. You will find it on this page.

  9. Hi Dhananjay Sir,
    Redmi 6 pro bricked device it completed step 4 as above error showing sahara failed or protection error

    1. Hi Sachin. Is your Realme 6 Pro in EDL mode when connected to the PC over USB?

      How exactly did your phone land in a brick? Have you tried booting the phone into Fastboot and Recovery modes?

    1. I need it for qfil I cant flash rom from mi flash tool it gives write protected error

    2. Hi again Shubham. Oh, I understand your previous question now. You mean you’re trying to flash the firmware over EDL?

    3. Yeah I want to flash it over edl because with Mi Flash tool I am getting write protected error and my bootloader is unlocked

  10. Hello Dhananjay Sir,
    I just want to know that does my realme 3 pro be unbricked by the same , because I have searched a lot about it and found nothing.Actually , I rooted my phone and by mistake locked the bootloader.And now I have made a edl cable and am trying to enter edl mode.Also if I fail to do so , can you please tell me that how can I exit from edl mode ? I’ve read both the posts written by you.Please reply ASAP!
    THANK YOU !

    1. Hi Suyash. The problem currently is not entering EDL or exiting it. The thing is, there’s no tool that you could use to over EDL for Realme devices. At least that’s how it was the last time I checked, which is not more than a week ago.

      My suggestion would be to try unlocking the bootloader again. Have you tried that? After locking the bootloader, did you also run the in-depth test to revert it?

    2. The bootloader cannot be unlocked because the phone is unable to boot into fastboot or recovery mode.Also the only option left is that is for EDL mode but you are saying that realme devices are not compitable with EDL mode flashing.So what can be done to unbrick the device ?
      Please leave a reply !
      Thanks !

    3. Alright, I get it now. Yes, EDL flash won’t work, as far as I know. But, there’s no harm in trying, given that you have the appropriate firmware, which again is highly unlikely.

      Have you tried exiting EDL by holding the Volume Up + Volume Down + Power buttons and check if then you could enter Fastboot or Recovery modes?

      If you want my personal suggestion, I would advise you to visit the nearest service center. Inform them that this happened after a software update and they might do it for you. They have the appropriate firmware and authorized accounts to flash using EDL.

    4. Also the phone comes with a Qualcomm Snapdragon 710 SoC then why will the QFIL be unable to flash over in the EDL mode ?

    5. Yes, the fact that the phone has a Qualcomm SoC, makes it compatible with QFIL, but there are several other factors that count in after that. Such as:
      1) Can the phone boot into EDL? It’s yes in your case.
      2) Has Realme enabled EDL flash on the phone? I am afraid not. It might require an authorized flash. Something only executives at the service center can do.
      3) Is there a compatible firmware package available that can be flashed via EDL? Realme only provides OZIP packages (recovery-flashable) and OFP packages (Fastboot-flashable via Realme Flash Tool).

  11. Thx for all these interesting informations.
    No need for my Samsung devices yet, but as a matter of interest is it possible to build a tool flashable firmware out of the stock firmware if nothing else is possible to get?
    I’ve searched for these special firmwares for my several devices (just to save them in case of) and didn’t find any.

  12. my lumia 540 firmware doesn’t contain elf,hex, mbn or any of such files…. what should i do?

  13. My poco f1 is hard brick it is possible to flashing using this tool ONLY EDL MODE IS AVAILABLE

    1. Hi Sachin. I believe Xiaomi totally blocked EDL flashing on all their phones via Mi Flash or any other tool.

      However, there’s no harm in trying. Who knows maybe it will work.

      You will need to use QFIL program of the QPST tools. When you launch QFIL, make sure to select “Device type” as “UFS” under Firehose Configuration.

      EDIT: Here’s the PSA that was posted by a developer regarding blocked EDL.

  14. I am getting this error when I tried it by QFIL. What should I do now?

    13: D:\JAY\Phone stuff\PArt 2\Trial 2\Asus_ZenFone_Lite_L1_ZA551KL_15.07.1810.28_DL_QPST\Firmware\prog_emmc_firehose_8937_ddr.mbn
    14:49:29: ERROR: function: rx_data:247 Error occurred while reading from COM port
    14:49:29: ERROR: function: sahara_main:924 Sahara protocol error
    14:49:29: ERROR: function: main:303 Uploading Image using Sahara protocol failed
    Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
    Finish Download

    1. Hi Jay. The error messages you have mentioned indicate an improper connection or missing drivers.

      With your phone connected in EDL mode, please go to ‘Control Panel’ > ‘Device Manager’ and share a screenshot of that screen with me (You can use Imgur for sharing the screenshot).

  15. Hello Dhananjay,

    I am writing to you regarding the information you posted on your website. In the article titled “QPST Flash Tool: Download & How to Use it to Flash Firmware on Qualcomm Android Devices” you have mentioned about recovering hardbricked devices using the QPST tool. I would like to know if this procedure will be applicable to the Pocophone F1 as long as it is detected in the EDL mode and also which files would be required to flash to get it out of a hardbrick status.

    Thank you and looking forward to hearing from you.

    Warmly,
    M Longkumer

    1. Hello M Longkumer,

      I am afraid, but no, it’s not possible on the POCO F1. This is because Xiaomi has indefinitely locked EDL flashing to authorized personnel only.

      This post published by XDA has provided some great details about this action taken by Xiaomi.

      For the Poco F1 in particular, a PSA was posted on the XDA forums as well.

      If you have any more questions, please feel free to ask.

    2. Thanks for the reply brother. One more question, is it possible to corrupt/damage the IMEI number through QPST and QFIL tools?

    3. Hi again. As long as you use the correct firmware file for your phone, I think there shouldn’t be a problem and nothing should be damaged within the software.

      While I went through your last comment, I got an idea. Have you tried flashing your Poco F1 via Mi Flash tool? This is when the phone is connected to the PC in EDL mode.

Leave a Reply

Your email address will not be published. Required fields are marked *