Monday, 4 July 2016

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.





125 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
    Replies
    1. this is fastboot mode in yureka plus

      Delete
  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. Anyone have g4 patch.xml file please upload

    ReplyDelete
    Replies
    1. contact me for files misdatoshastamorir@gmail.com

      Delete
  12. can i use this tool for oneplus x?

    ReplyDelete
  13. 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
  14. 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
  15. Hi unbrick alcatel 4019a Qualcom hs-usb qdloader please... I need files

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

    ReplyDelete
  17. Plz give tutorial about lyf ls5504 firmware flash

    ReplyDelete
  18. Qfil does not work with window 7 ultimate...it showing compatibility with window xp.

    ReplyDelete
  19. Give a link for compatible QFIL version for window 7 ultimate to flash firmware in my LYF LS5504 or LYF WATER 7

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

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

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

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

    ReplyDelete
  24. 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
  25. how to flash MTNSteppa2 lte qualcomm snapdragon

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

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

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

    ReplyDelete
  29. can you make a vidio for yureka plus

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

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

    ReplyDelete
  32. 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 josiahmutuma@gmail.com . I really hope that you will get in touch with me..

    ReplyDelete
  33. 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
  34. hi there is blank file for xt 1068 please wher to find ?

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

    ReplyDelete
  36. 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
  37. where is the rawprogram.xml & patch.xml come from??
    prog_emmc_...?..where its from

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

    ReplyDelete
  39. how to fix sahara fail error

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

    ReplyDelete
  41. 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
  42. Hello Amparas,
    Will this work for ZTE Model: Z755 phones?
    Thanks in advance,
    KJ

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

    ReplyDelete
  44. Girls are going so famous in Dubai now..
    last time i was in Dubai and meet with the Most amazing Indian Escorts in Dubai. Dxb Royals is the most Honest Agency in Dubai with the Cute girl you must Visit Dxb Royals
    Pakistani Escorts in Dubai
    Escorts in Dubai

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

    ReplyDelete
  46. I need the panasonic eulga a flash file

    ReplyDelete
  47. is battery percentage matters...?

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

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

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

    ReplyDelete
  51. 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
  52. PLS I NEED SOLUTION FOR TECNO L8 NOT DETECTING ON MY PC AFTER WRONG FILE I USED TO FLASH IT

    ReplyDelete
  53. 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
  54. 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
  55. Can you please give me a link for LG stylo 2 METROPCS firmware,firehose,rawprogram,and patch files? thx

    ReplyDelete







  56. 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
  57. Hi bro,
    Please share Leeco Le 2 supporting files for this method to unbrick
    ravibabuk555@gmail.com

    ReplyDelete
  58. 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
  59. When I pressed download button fail firhous download

    ReplyDelete
  60. my moto g4 plus is hard bricked while i was installing a 40mb security update on nougat….i also tried flashing blankflash via CMD but it dint worked for me…..is anyone here who successfully unbricked their device using QFIL….please help me

    ReplyDelete
  61. 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
  62. Hello,
    Where can I find firmware ton unbrick a Leeco X520?
    Thanks.

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

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

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

    ReplyDelete
  66. 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
  67. 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
  68. probleme nokai ram 1030 code 059v6s2.Qualcomm HS-USB QDLoader 9008

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

    ReplyDelete
  70. 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
  71. 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
  72. Good post and I like it very much. By the way, anybody try this increase app downloads? I do not how to use.

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

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

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

    ReplyDelete
  76. 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
  77. 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
  78. Need this file programm_firehorse.mbn and rawprogram0.xml and patch0.XML for moto g 1

    ReplyDelete
  79. 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
  80. 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 olsansantos@gmail.com

    ReplyDelete
  81. 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 olsansantos@gmail.com in advance thank you very much.

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

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

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

    ReplyDelete
  85. 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
  86. That's so perfect , Thanksssss it working in my phone

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

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

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

    ReplyDelete
  89. 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

Related Posts

Related Posts Plugin for WordPress, Blogger...