Unbrick Qualcomm mobiles – Ultimate guide always updates

Ultimate guide to Unbrick Qualcomm Mobiles

First of all, all the credit for this long and highly useful article goes to tirta.agung from Xda-forums

This Guide will not help LG G3 users, so please do not attempt.

It is a very long and technical post to Unbrick Qualcomm mobiles, so please follow each steps properly.

Here’s the ultimate guide to Unbrick Qualcomm Mobiles. The guide will work for most of the Qualcomm chip-sets, but better double check before going through the process.

Disclaimer: This guide is for technical persons only, if you are not aware about what bricking and Unbricking a device, please do not follow further from here. We will held no responsibility if your device is broken or damaged. Proceed at your own risk and responsibility

Analyzing the Problem

In Qualcomm NEW firmware (not the HLOS part, but NON-Hlos, SBL1, TZ, HYP, RPM, and Aboot), especially ARMv8-A, Qualcomm diminished the famous “Qualcomm HS-USB Diagnostics 9006”, and introduce two types of “Qualcomm HS-USB QDLoader 9008”. So, it is very important to check, on which 9008 mode your phone is in. To do this, follow these steps below:

Make your PC ready :

  • Turn internet connections off .
  • Remove your mobile from PC or Laptops.
  • Install the latest “.net Framework” for your Windows.
  • Uninstall all the driver related to mobile, including any Qualcomm driver. Uninstall them through Device Manager FIRST, then program manager.

Then run “CMD” or “Windows Terminal” as administrator and type:

bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS

bcdedit -set TESTSIGNING ON

Restart your PC or Laptops, and you should see this watermark at the bottom right of your desktop, just like the pic below”
unbrick qualcomm mobileDownload QualcommDrv.zip from here, extract to an empty folder, then open the folder according to your Windows type (x64 or x86) and double click dpinst64.exe (if you have 64-bit Windows) to install the Qualcomm driver

  • Now it is safe to connect your Qualcomm Mobile to PC or laptop (I connected it in USB2 port). BUT BEFORE YOU CONNECT YOUR Mobile, REMEMBER TO UNPLUG YOUR BATTERY FOR FIVE SECS, REPLUG IT, AND CONNECT YOUR Mobile WITHOUT PRESSING ANY OF ITS BUTTONS. Your phone should now being detected as “Qualcomm HS-USB QDLoader 9008” and the driver version 2.0.8.7 (please check it through Windows’ “Device Manager”)

Analyzing the Process:

If you were just messing with system image, boot image, system’s framework or other things that does not related to Qualcomm’s stuff (modem-NON-HLOS.bin, aboot-emmc_appsboot.mbn, sbl1, hyp, tz, rpm partition, for example installing sound patch, etc, you possibly will enter the new 9008 mode, which is a combination of the old “Qualcomm HS-USB Diagnostics 9006” and “Qualcomm HS-USB QDLoader 9008”. When you first brick the phone into this mode, you would experience such symptoms below:

  1. The LED charging indicator near the phone speaker will light red.
  2. Your phone will vibrate endlessly, and this vibration will end only if you disconnect your phone from your PC or laptop and unplug the battery.

If you open Windows’ Device Manager, you’ll see “Qualcomm HS-USB QDLoader 9008” under PORTS (COM & LPT) or “QHUSB_BULK” under Other devices, and “Qualcomm MMC Storage USB Device” under Disk drives, similar to the pics below

(NOTICE THAT RED BOX IN PIC):
unbrick qualcomm mobileOR

unbrick qualcomm mobileHowever, if you messed with your Mobile’s Qualcomm’s partition playing with NON-HLOS.bin, emmc_appsboot.mbn, sbl1.mbn, hyp.mbn, tz.mbn, rpm.mbn, or by other mean messing the whole Qualcomm’s eMMC partition, such as by using this zip I made while your Mobile is in Fastboot, then you will most likely go into the OLD “Qualcomm HS-USB QDLoader 9008” mode. You will find symptoms similar to below:

  1. The phone charging indicator would not light if you connect your mobile with PC or Laptop.

Device Manager only listed “Qualcomm HS-USB QDLoader 9008” under PORTS (COM & LPT) or “QHUSB_BULK” under Other devices, but no “Qualcomm MMC Storage USB Device” under Disk drives, similar to pic below:

unbrick qualcomm mobiles

So, now you need to analyse your Mobile, whether it is in the OLD ‘9008″ or NEW “9008” mode, as the procedure to revive your beloved mobile will be different.

Guide, if you are NEW “Qualcomm HS-USB QDLoader 9008” MODE

If you are that lucky person, who is stuck in the NEW “Qualcomm HS-USB QDLoader 9008” mode, to be honest, the steps to be taken are a lot easier. However, you need somebody having the same phone as yours to upload your device’s complete eMMC image for you. To get such image, you could ask your friend to do these steps (root the phone first):

  1. Format your external MicroSD card with “exfat” system file, and the size of this SD card should be morethan 16 GB , which is the size of the whole partition.
  2. Do a full factory reset, meaning wipe your cache, data, and internal storage using either CWM, TWRP, or PhillzTouch.
  3. Insert the SD card to your phone and connect your mobile with ADB, type:
adb shell 
su
dd if=/dev/block/mmcblk0 of=/storage/sdcard1/backup.img bs=512 count=30535646

The size of the “backup.img” is around 16 GB, However, if you compressed it, it would be around 2 GB.

Now, if you have the backup.img in your hand, you can do these steps:

  1. Download partition tools from the net, I recommend you to use “Minitool Partition Wizard”.
  2. Download “HDD Raw Copy Tool”, it is a free tool that can copy your “backup.img” to your Mobile’s eMMC sector per sector.
  3. Now connect your phone, remember to UNPLUG YOUR BATTERY FOR FIVE SECS, REPLUG IT, AND CONNECT YOUR Mobile WITHOUT PRESSING ANY OF ITS BUTTONS.
  4. FROM NOW ON DON’T YOU EVER DISCONNECT THE PHONE FROM YOUR PC OR LAPTOPS.
  5. Open “Minitool” and you will see that your phone has 29 partitions in total, similar to the pic below (this pic was taken from Windows’ “Disk Management Tool” just to describe Qualcomm’s partitions):unbrick qualcomm mobiles
  6. Delete all 29 partitions and click apply (remember don’t remove your phone while “Minitool” is completing the process).
  7. If all process finished successfully, open “HDD Raw Copy Tool”, and you’ll see things similar to this:

Choose your “backup.img” and click “Continue >>>>>>”.
unbrick qualcomm mobilesPut a highlight on “Qualcomm MMC Storage USB Device” and click “Continue”

unbrick qualcomm mobileCheck every things and click “START”.

unbrick qualcomm mobilesHowever, if you can’t find a good fellow, who is willing to give you the “backup.img”, then I’m afraid you have to do it the hard way, which is forcing your beloved Mobile to go to the OLD “Qualcomm HS-USB QDLoader 9008” mode. You can do this using “Minitool“:

  1. Open “Minitool” again.
  2. Delete all 29 partitions.
  3. Then choose “Create Partition” on the whole “Qualcomm MMC Storage USB Device” (making it one big 16 GB partition) as “Primary Partition” with an “ext4” file system. By the way, DON’T GIVE THE PARTITION A NAME.
  4. Click APPLY.
  5. When “Minitool” completed all the process, disconnect your Mobile from PC or Laptop, UNPLUG YOUR BATTERY FOR FIVE SECS, RE-PLUG IT, AND CONNECT YOUR Mobile WITHOUT PRESSING ANY OF ITS BUTTONS.
  6. And I have to greet you, “Welcome, now you are in the OLD ‘Qualcomm HS-USB QDLoader 9008’ mode”.

Guide on how to recover “Qualcomm HS-USB QDLoader 9008” MODE

Download “QPST 2.7 build 422 (QFIL)” from HERE and extract it to an empty folder. It has to be this version of “QPST”. Install QPST by double clicking setup.exe

  1. Download 8675_W00.zip attached with this post HERE, and extract it to an empty folder. You will get a folder called “8675_W00”, just open it.
  2. Download and Extract your Mobile stock ROM in the folder you made. ( Make Sure the ROM you download is flashable file and not a ZIP flash file)
  3. Now open QFIL from start menu
  4. Insert all the necessary file needed by “QFil”:

(1)The programmer will be prog_emmc_firehose_8936.mbn found inside the “8675_W00” folder;

(2)Use the rawprogram0.xml found inside the “8675_W00” folder;

(3)Use the patch0.xml found inside the “8675_W00” folder;

(4)Hit “Download” button.

unbrick qualcomm mobileIf the process you did with “QFil” finished successfully, the phone will reboot by itself.

  • After the phone rebooted, it will suffer from an endless bootloop. Don’t do anything, just disconnect it from your PC, and straight away put your phone into bootloader by pressing “volume-up” button while connecting your phone again to your PC.
  • Go to “8675_W00” folder again, and run FlashAll(AfterQFil).bat by double clicking it.
  • Your Mobile will reboot normally to stock ROM.

Queries? Let us know in the comments. But before you hit SEND, make sure you have read each and every word mentioned in the article.

  • Ajedez Intergaláctico

    this works for huawei phones?