Pages

How to use Qualcomm Flash Image Loader (QFIL) to unbrick Qualcomm devices



QFIL is used in flashing factory build images of QUALCOMM devices (especially Lenovo qualcomm devices). It actually targets these devices when they are connected to PC in Emergency mode (EDL) or Normal Boot up mode (HLOS).
This guide is to show you how you can use QFIL to flash devices in emergency mode ie when the phone is bricked or OS is corrupted.


Watch the video or follow tutorial below


How to install QFIL
QFIL is found in QPST v2.7.416 and above installer package. So after installing QPST on your PC you will have QFIL.
Download QPST 2.27.420 from here or other new versions here
Extract an install it

How to flash your device with QFIL
Download an Install Qualcomm drivers from here
Turn off the device and connect to PC while holding volume up button so it will enter Emergency mode (EDL) NB: some phones requires you to hold both vol up and down
Launch QFIL (found in this folder C:\Program Files\Qualcomm\QPST\bin)
At the top of QFIL GUI you will see Qualcomm HS-USB QDLoader 9008 (COM XX) showing the device is connected properly



Under Select Build
Search Path >> Click Browse button, navigate and select firmware folder of the phone you want to flash
Now click Load XML button, from the dialogue box
Select rawprogram xml files and click OK
Again select patch XML files and click OK

Under Select Programmer
Programmer Path >> Click Browse button.
From dialogue box select the prog_emmc_firehose mbn file and click OK

Now click Download button
Wait for flash process to complete
When the blue progress bar reaches the end, and you see Waiting for reset done..., know that flash process is complete.

Keep calm the device will reboot by its self.
You can now setup the phone and enjoy.........

If you keep getting SAHARA FAIL ERROR, copy firmware folder to C:\Program Files\Qualcomm\QPST\bin folder ie were QFIL is located.





132 comments:

  1. Hello amparas nice work u doing here, my concern is the programmer path in qualcomm flash tool i have i did everything as example above right but not find prog_emmc_firehorse mbn anywhere in my downloaded firmware please is there anything am doing wrong. pls your assistant is needed

    ReplyDelete
    Replies
    1. Which phone are you trying to flash

      Delete
    2. i have same problem with huawei y 530_00

      Delete
    3. prog_emmc_firehorse is not usually included in most stock ROM, rather, it is usually downloaded by QFIL. See here: How to Flash Qualcom Android Devices. How to get QFIL to download the right prog_emmc_firehorse for your Qualcomm Android device is discussed.

      Delete
    4. i need QFILL files for letv le pro 3 x720 pls help

      Delete
    5. I am trying to debrick the hardbricked htc Butterfly X920D. Can you please guide me how can I get the appropriate prog_emmc_firehose, rawprogram0 and patch0. I have got the Stock ROM after a lot of search; but still unable to find these files and I am stuck as of now..! :(

      Delete
    6. how can i find raw xml program can u pls help me plss :(

      Delete
  2. i did everything but com port is not showing in Yuphoria

    ReplyDelete
  3. I have posh ulrra 5.0 lte could i use this to flash\recover this phone?

    ReplyDelete
    Replies
    1. no this tool will not help you with that.
      If you have the recovery image of your device you can easily flash it using the following fastboot commands with cmd
      >fastboot flash recovery recovery.img

      Just make sure you put the recovery inside the adb/fastboot folder

      Delete
  4. Does the firmware have to be unpacked in the folder or does need to be in same format such as kdz

    ReplyDelete
  5. Hi, nice work! Do you know where to find the firmware of Zenfone Selfie (ZD551KL Chinese Version) with Qualcomm Snapdragon 615 that works with QFIL? I did search all over internet and did not find it.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. If you have any of its Stock ROM downloaded already, you may upload it here and it will be converted to QFIL flashable format for you.

      Delete
    3. i can help me for k540 lg qfil firmware

      Delete
  6. Hi I need a help on how to flash my sch i535 with qfil

    ReplyDelete
  7. hey my yureka is showing blue lines its now working can u please help me how to fix it .

    ReplyDelete
  8. does anyone can help to unbrick yureka plus / coolpad f2 fhd. in qpst

    ReplyDelete
  9. How to use this tool for moto g 2014? help pls!

    ReplyDelete
  10. How to use this tool for moto g 2014? help pls!

    ReplyDelete
    Replies
    1. Hey there blank files are available for moto g u can use them to unbrick your mobile

      Delete
  11. How flash Lg LS740 help please

    ReplyDelete
  12. How flash Lg LS740 help please

    ReplyDelete
  13. Anyone have g4 patch.xml file please upload

    ReplyDelete
  14. can i use this tool for oneplus x?

    ReplyDelete
  15. Can i flash andromax i3s, with this flahtool? Please help because my phone Can life and the sound but no picture in my phone

    ReplyDelete
  16. please help my lenovo x3c50 unabel to connect in dloader mode even when i hold the vol + , the phone just comes up how do i fix dix

    ReplyDelete
  17. Hi unbrick alcatel 4019a Qualcom hs-usb qdloader please... I need files

    ReplyDelete
  18. i also tried much but do not recognize my Lenovo YT3 x-50M what should i do

    ReplyDelete
  19. hi can someone point me firmware for oppo R5(R8106)Stock Fix Qualcomm thanks

    ReplyDelete
  20. i can not find the port. its empty . i tried all. wat to do??

    ReplyDelete
  21. bro im not finding any qulcomm usd port in device manager after i installed it also. can u help

    ReplyDelete
  22. quiero el fimware de cel studio 5.0 alguien me puede ayudar

    ReplyDelete
  23. hola amparas queria saber si este metodo sirve para un LG E612G con esta falla RELINK hs-usb qdloader 908 com 12 no enciende no da modo download

    ReplyDelete
  24. how to flash MTNSteppa2 lte qualcomm snapdragon

    ReplyDelete
  25. Replies
    1. Prog file for which phone? You may check here for the available prog_emmc_firehorse.mbm file for Qualcomm Android devices.

      Delete
  26. you guys should always watch your computer device manager, to see whether your driver missing...... thanks

    ReplyDelete
  27. how it will showing after flashing huawei mobile qualcom cpu and it worked seriously?

    ReplyDelete
  28. can you make a vidio for yureka plus

    ReplyDelete
  29. This comment has been removed by the author.

    ReplyDelete
  30. Good morning this method works on the bike g 2 bootloader corrupted ??

    ReplyDelete
  31. Hello Amparas, I really want to thank you... You are really a genious. This method just perfectly worked to flash my corrupted stupid infinix Os ...I am really grateful..Hello I would like to establish contact with you ..in order for to help me solve my many computer technical problems...My email is [email protected] . I really hope that you will get in touch with me..

    ReplyDelete
  32. I tried with my Redmi 3 pro from Xiaomi but is says that Sahara failed to download error code 9. My phone is currently in a "coma" state. It is dispayed in Device Manager as Qualcomm HS-USB QDLoader 9008 (com7). Any ideeas?

    ReplyDelete
    Replies
    1. Is that the correct Os for the phone...Check the build number and download one that corresponds to it..That helped me

      Delete
  33. hi there is blank file for xt 1068 please wher to find ?

    ReplyDelete
  34. i have htc jetstream tablet . it is dead boot since one year,please any one help me how i boot again.

    ReplyDelete
  35. I had yotaphone 1, my phone is hard bricked and i am unable to install the android now, i tried all the steps from the above article, i had firmware also but for selecting the rawprogramfile.xml and patch.xml those are unable to select. Can you please provide me those 2 files for yotaphone 1.

    ReplyDelete
  36. where is the rawprogram.xml & patch.xml come from??
    prog_emmc_...?..where its from

    ReplyDelete
  37. look, I've flash the xperia m firmwares.ftf on my Xperia L...my phone 100% dead..

    ReplyDelete
  38. how to fix sahara fail error

    ReplyDelete
  39. This comment has been removed by the author.

    ReplyDelete
  40. que mas mi pana este meto es posible aplicarlo en un huawei w1-u34 el cual se queda pegado en el logo de movistar

    ReplyDelete
  41. Hello Amparas,
    Will this work for ZTE Model: Z755 phones?
    Thanks in advance,
    KJ

    ReplyDelete
  42. Hello Amparas,
    Will this work for ZTE Model: Z755 phones?
    Thanks in advance,
    KJ

    ReplyDelete
  43. how to make kdz file to flash using qpst ?

    ReplyDelete
  44. I need the panasonic eulga a flash file

    ReplyDelete
  45. is battery percentage matters...?

    ReplyDelete
  46. Can i have flash file for htc desire 820... Please

    ReplyDelete
  47. can i have the files for zte blade v ??

    ReplyDelete
  48. HOLA AMIGO DONDE PUEDO DESCARGAR FIRMWARE PARA MS323 VIA QFIL (Qualcomm Flash Image Loader)

    ReplyDelete
  49. how to flash my phone using this tool my phone won't turn on but if i plugin to pc showing Qualcomm HS_US QDLoader 9008 (COM6)

    ReplyDelete
  50. PLS I NEED SOLUTION FOR TECNO L8 NOT DETECTING ON MY PC AFTER WRONG FILE I USED TO FLASH IT

    ReplyDelete
  51. Hi. Nice post.
    I have Acer Liquid z220 that hardbrick. no power at all.
    But can detect by windows as qualcom device.
    I tried with QFIL. Its detected. How I got the XML file ? any link please. Tha

    ReplyDelete
    Replies
    1. Just Googling, i can get mine on https://firmwarefile.com

      Delete
  52. Writing log to 'C:\Users\USER\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\port_trace.txt', might take a minute
    Log is 'C:\Users\USER\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\port_trace.txt'
    Download Fail:FireHose Fail:FHLoader Fail:Process fail
    Finish Download
    please

    ReplyDelete
  53. Can you please give me a link for LG stylo 2 METROPCS firmware,firehose,rawprogram,and patch files? thx

    ReplyDelete







  54. Phone :- MOto G4 plus
    Sahara Version:0

    Start Sending Programmer
    Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol

    at QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)

    at QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
    Download Fail:Sahara FailSahara Fail
    Finish Download

    ReplyDelete
  55. Hi bro,
    Please share Leeco Le 2 supporting files for this method to unbrick
    [email protected]

    ReplyDelete
  56. Please send me coolpad dazen 1 mbn file.i am not found mbn file in firmware folder . plz tell me where I found mbn file?

    ReplyDelete
  57. When I pressed download button fail firhous download

    ReplyDelete
  58. my phoe is LG G4 verizon
    i don't have file needed to use this tutorial..
    i just have firmware kdz file
    how to get all files needed to use this tutorial??

    ReplyDelete
  59. Hello,
    Where can I find firmware ton unbrick a Leeco X520?
    Thanks.

    ReplyDelete
  60. ola amigo eu tenho um moto g2 o xt1068 esse procedimento serve pra ele???
    obs:nao consegui encontrar o loader img dele..

    ReplyDelete
  61. Plzzz bro give me flish file.

    ReplyDelete
  62. Plzzz bro give me flish file.

    ReplyDelete
  63. My device is not getting recognized in qfil....
    my device is hard bricked moto g4 plus

    ReplyDelete
  64. Sir Amparas TKing Please give me raw files for Asus Zenfone 3 ZE552KL pls. :(

    ReplyDelete
  65. Tried with my Hisense A2.
    All files existing in the firmware-folder.
    But "Qualcomm Flash Image Loader QFil" in V 1.0.0.5 says "No Port availiable" if plug-in the device with presses "Vol Up" key ("Fastboot downloading..." appears in the screen of the device).
    Think matching drivers for the Qualcomm Snapdraggon 8937 are missing on the computer.
    In the device manager I have a unknown "Other Device" - "Serial PCI" beside a "Communication Port COM1" in "Com and LPT"
    Could someone help, please?

    ReplyDelete
  66. Hola amigo Amparas TKings, esto funciona para el huawei G630-U251?? necesito la firmware de este dispositivo, (progammer path) rawprogram y path ayuda por favor

    ReplyDelete
  67. probleme nokai ram 1030 code 059v6s2.Qualcomm HS-USB QDLoader 9008

    ReplyDelete
  68. try and to flash Alcatel POP 4 5056A but i cant find the Programmer Path need help plzz.. thx

    ReplyDelete
  69. Amigo mi lg v10 h960p telcel no prende solo lo reconoce la pc asi hs usb 9008 me puedes pasar por favor la rom modificada para flash con xaomiflash

    ReplyDelete
  70. Hi i like to un brick my oneplus 2 which stuck in black screen
    i followed this
    https://forums.oneplus.net/threads/updated-28-06-2016-mega-unbrick-guide-for-a-hard-bricked-oneplus-2.347607/

    but nothing happen so for
    so can i get qfil recovery rom for onplus 2
    i used the files which came from above link no result always end sahara file error

    ReplyDelete
  71. This comment has been removed by the author.

    ReplyDelete
  72. This comment has been removed by the author.

    ReplyDelete
  73. Lo aplicar a un Orinoquia Y625-u03?

    ReplyDelete
  74. I am trying to unbrick an Alcatel Fierce XL 5054w, everything seem fine in the process but I am getting Sahara Fail everytime I try even when I copied the firmware folder to the qbin folder. Any suggestions? Any help will be really appreciated.

    estoy tratando de unbrick un alcatel fierce xl 5054w, todo aparentemente bien en el proceso, pero me sigue diciendo sahara fail aun cuando copie el firmware al folder de qbin, alguna ayuda?

    ReplyDelete
    Replies
    1. Hi where I download the mbn and xml files for motorola moto g1

      Delete
    2. +hernan the mbn and xml file is usually found inside the firmware archive of the device

      Delete
  75. The following files appear in the firmware
    boot.img
    flashfile.xml
    servicefile.xml
    gpt.bin
    motoboot.img
    logo.bin
    boot.img
    recovery.img
    system.img_sparsechunk.0
    system.img_sparsechunk.1
    system.img_sparsechunk.2
    system.img_sparsechunk.3
    NON-HLOS.bin
    fsg.mbn
    PEREGRINE_RETEU_5.1_LPB23.13-17.6_cid7_CFC.info.txt

    ReplyDelete
  76. Need this file programm_firehorse.mbn and rawprogram0.xml and patch0.XML for moto g 1

    ReplyDelete
  77. kindly help me with my blu phone x030q. it seems not to move than from the start up page of 'blu', i have tried to download qualcomm-flash-image-loader-qfil to flash it but it seems to show 'invalid raw program patch file ignored' Please help thank you. harry

    ReplyDelete
  78. can you help me I have a lg676 in error QDloader 9008 download the program but I can not find the files to flash my mail [email protected]

    ReplyDelete
  79. can help me I have a lg676 in error QDloader 9008 download the program but I can not find the files to flash my email [email protected] in advance thank you very much.

    ReplyDelete
  80. yo tengo filwere mtk pero este modelo es Qualcom como puedo combertirlo

    ReplyDelete
  81. el modelo zte z777 Qualcon y los softwre mtk

    ReplyDelete
  82. Mbn file not found model no Coolpad dazen 1

    ReplyDelete
  83. Hi, i have Oppo r5 R8106 and i flashed it with Oppo_R8106_R5_R8106EX_11_A.18_160202
    rom using msm8x39 Download tool, at first i work fine, but then after i reboot it won't work anymore, no Power, no display..Help me please. thanks you so much

    ReplyDelete
  84. That's so perfect , Thanksssss it working in my phone

    Any one give me file link for my dead samsung s8 plus G955u

    ReplyDelete
  85. where i can get firmware for my oppo a71? all of link refered to .ofp file not a folder
    sorry rip english

    ReplyDelete
  86. AMPARA HELP ME WITH BRICKED HUAWEI SCL U31. THANK YOU IN ADVANCE

    ReplyDelete
  87. Hello. Im Lamar from tanzania, need a help with bricked HUAWEI SCL U31 . I already download the file from your site, and downloading QFIL flash tool and HUAWEI SUITE for driver. Probleam is that phone cant detectedin QFIL. Im connecting phone to pc by pressing volume up it enter recovery mode, when i press volume down and plug on pc it enter fastboot mode.Please help to unbrick since the phone is stuck in only huawei logo. Also wiping data and cache fails. Im kindly waiting for your assistance with this

    ReplyDelete
    Replies
    1. Try any of the following
      Hold both volume keys before connect. Or
      Use cmd fastboot oem edl. Or
      Use edl cable or
      Use miracle box reboot to edl mode

      Delete
  88. Can anyone help me i have an alacatel go play 7048a and its stuck in bootload after i tried to install a costom boot animation, i tried your tutorial from youtube and nothing is work i keep getting firehose error i tried a the mbn's and all a from an archieve i found online and i tried a bunch of other tutorial to fix the other errors sarah and im stuck at firehose.mbn error, i need help, anyone have advise for me

    ReplyDelete
  89. hi please my infinix hot6/x606 is deaad whenever i try to flash it ask for authentication file can anyone help me with hot6/ x606 authentication file?

    ReplyDelete
  90. please help me with infinix hot6 /x606 authentication fle if thisfile is avialabe i search but i cannot find it please help me

    ReplyDelete
  91. Thanks for this tutorial how to use qualcomm flash image loader. i trying it for my Tecno phone

    ReplyDelete
  92. what if when i connect my device i don't see the qualcomm hs-usb at the top?

    ReplyDelete
  93. Thanks alot for your informative blog .I rally like your blog .Visit site: CodeCraft Full Stack Development Strategies for Modern Applications

    ReplyDelete