If your Android device is powered by a Qualcomm CPU and you're looking for a straightforward method to flash the stock ROM, you're in the right place. This guide will walk you through using the QPST (Qualcomm Product Support Tools) to flash your device's firmware.

Prerequisites

Before we begin, ensure you have the following:

  1. Qualcomm QPST tool - Download
  2. Qualcomm Firmware for your specific device - Find your device firmware here
  3. A Windows PC
  4. USB cable
  5. Your Qualcomm-based Android device (charged to at least 30%)

Installing Qualcomm Drivers

  1. Download the Qualcomm driver package from the link provided above.
  2. Before installation, ensure your device is not connected to the PC via USB.
  3. Run the driver installer and follow the on-screen instructions.
  4. Once installation is complete, connect your phone to the PC using a USB cable.
  5. Power off your device and press the volume up & down buttons simultaneously (this varies by device model).
  6. If a Qualcomm port appears in Device Manager, the driver installation was successful.

Qualcomm Port in Device Manager

Flashing MBN Firmware Using QPST Tool

  1. Extract and run the QFIL (Qualcomm Flash Image Loader) tool from the QPST package.

QFIL Tool Interface

  1. Click on "Browse" under the Programmer path to select the MBN file.

Select MBN File

Note: MBN files typically look like this:

MBN File Format

  1. Once the MBN file is selected, the "Select Build" option will automatically choose the Update or Stock ROM.

  2. Click on "Load XML" and select "rawprogram_unsparse_without_qcn.xml", then choose "Patch0.xml".

Important: There are two XML options:

  • "rawprogram_unsparse_without_qcn.xml": Use this to preserve user data.
  • "rawprogram_unsparse.xml": This will erase RF Calibration data, IMEI, and WiFi/Bluetooth addresses.

Load XML Files

  1. Power off your device and connect it to the PC while pressing the volume up & down keys (or the combination specific to your device model).

  2. In QFIL, click on "Select Port" and choose the appropriate port for your device.

Select Port

  1. Click "Download" to begin the flashing process.

Start Download

  1. Wait for the process to complete. Do not disconnect your device or interrupt the process.

  2. Once you see "Finish Download", safely disconnect your device from the USB cable.

Post-Flashing Steps

  1. Your device should now boot into the newly flashed stock ROM.
  2. If the device doesn't boot automatically, manually power it on.
  3. The first boot may take longer than usual. Be patient.
  4. Once booted, set up your device as new or restore from a backup.

Troubleshooting

  • If your device is hard-bricked, refer to our guide on how to unbrick Qualcomm devices.
  • If you encounter errors during flashing, double-check that you've selected the correct firmware for your specific device model.
  • Ensure your device has sufficient battery charge before starting the process.
  • If QFIL fails to detect your device, try a different USB port or cable.

Important Note

Flashing a stock ROM using the QPST tool is a powerful way to restore your Qualcomm-based Android device to its original firmware. Always exercise caution when flashing firmware, as incorrect procedures can potentially damage your device. If you're unsure about any step, it's best to seek assistance from a professional or consult your device's official support channels.

Remember, this process will erase all data on your device, so make sure to back up any important information before proceeding. Happy flashing!