How to flash MBN File using QPST (QFIL) tool: qualcomm

Qualcomm CPU or Chipset can be flashed using QPST tool. Stock ROM comes in MBN extension.


QualComm CPU Flashing is carried out in two phases:-

1- Driver Installation

2- Software Upgrade

Driver Installation:

1- Download and install Qualcomm driver. While installing driver avoid using cable for successful installation.

2- After installation, connect Phone to PC using USB cable.

3- While connecting to PC, phone should be switched off and press volume up & down as boot key.

4- If it makes Qualcomm port, then driver has been successfully installed.

Qualcomm Driver instalation port

Qpst Tool v2.7.453.0 (Latest Version): Download

Software Upgrade:

1- Download the QPST tool & driver.

2- Make sure your device has the Power to support flashing.

3- Run QFIL tool.

QFIL tool

4- Click on Browse under the Programmer path to select MBN File.


MBN File Format:

MBN File Format

5- As soon as the MBN file is selected, Select Build will automatically select the Update or Stock ROM.

6- Click on Load XML, select rawprogram_unsparse_without_qcn.xml and then choose Patch0.xml

Load XML comes with two option:

a- rawprogram_unsparse_without_qcn.xml : On choosing this file, data will not be lost.

b- rawprogram_unsparse.xml : Will lose RF Calibration data, IMEI and WiFi/Bluetooth Address.


7- Switch off the device and connect it to PC by pressing Volume up & down key.

8- Click on Select Port and choose the port.


9- Click on Download to start flashing.


10- Unplug USB cable, when Finish Download appears.

Note: Do not unplug cable when Reset Phone or waiting for Reset Phone is in the process.


Related Posts Plugin for WordPress, Blogger...

  • Mudit

    Hello, i have a moto g2 xt1068 and the problem m facing is that the bootloader of my device got corrupted and its dead now. When connecting to PC it gets detected as a qualcomm device as i tried the steps to flash through QFIL but the files required are not available with me. Its asking for files such as firehose and patch.xml. Can you help me??

  • Augusto Gabanzo

    I got a LG K530F in 9008 old mode, need firehose_8937.mbn i got the 8936 but sahara fails to write to the phone. i

  • samsung07 frp

    bro do you have panasonic eluga a qpst/qfil file…???

  • Kutty Tamil

    please give moto x play (xt1562) qpst flash file sir please

    • it has to be flashed using Minimal ADB & fastboot tools

      • Kutty Tamil

        ji my mobile full dead not working fastboot also need to flash emmc.

        • if it fails to make adb port
          then you have to reball ic

          • Kutty Tamil

            how can do please give video or full explanation image

  • Navdeep PuNni

    hlo sir lyf wind 6 me imei number kaise install kare pls tell me

  • Ederson Guimarães

    my lg l80 d385 qauis the files for him back to live

    • is it making port in device manager
      and if it is making then what is its no
      Is it 9006 0r 9008

      • Ederson Guimarães

        I do not find these files to put

        • connect the phone to pc in off state
          and open device manger
          and check

  • Vighnesh Raikar

    my device is moto g2 XT1068 where do i get MBN files and other XML’s to flash on QFIL

  • Ahmad Rizal


    i need some help, lenovo a6000 i die, not detected in pc at all ,, because install busybox, can you give suggestion so that can be detected in pc, so that i can flash

    • is it making sound when connected to PC???

      • Ahmad Rizal

        no sound att all 🙁

        • ic reball may be the option to make it detectable by pc

  • yuvraj pawar

    My device is moto G5 plus(XT1686). Where do I get the Firehose file and the other XMLs?

      • yuvraj pawar

        I have the necessary firmware files but the problem is where do I get those other two files, namely the rawprogram and patch?

        • moto phone has to be flashed with adb minimal & fastboot tool
          Just unzip the firmware in adb minimal & fastboot tool folder
          then flash

          • yuvraj pawar

            I need to re write the bootloader of the phone because it wont boot into ROM and gets stuck in a bootloop without being able to boot into the recovery via fastboot commands even after I flashed the proper INDIAN version of the ROM. It doesnt even boot up into TWRP recovery. Can it be done via the flash box like miraclebox?

          • share model no

          • yuvraj pawar

            motorola G5 plus XT1686

          • it can be flashed using Minimal Adb & fastboot tools

  • wael mohmad

    i ned rom zte_blade_s7

  • Every Thing

    please where could i find the files
    rawprogram xml
    and the others xml files
    for lg v10 h960a
    please help
    thanks in advance

  • Sandeep

    do you have any new ROM for Vivo Y51L

  • razvan


    were i find xml file for samsung gt i9195 ?

    • samsung android phone can be flashed using only odin tool

  • Aniket Banerjee

    sahara error is appearing. what to do ?
    Lenovo vibe k5

    • try with another latest version

      • azar ddin

        Hi ,

        i have LYF LS 5009 ver5.1.1 my mobile’s camera has not working can u help me

        • try to reset the phone first
          using backup & reset option in Setting
          and if it fails then try flash

  • Boss Engira Baskar

    LYF Wind 7 LS 5016 (8gb), after flash complete also same problem continue bro, any solution

  • Muhammad Rafique

    Not working at all its showing
    “Download Fail:System.Exception: Failed to Switch to Emergency Download mode

    at QC.QMSLPhone.Phone.QPHONEMS_SwitchToEDL()

    at QC.SwDownloadDLL.SwDownload.SwitchToEDL()
    Download Fail:Switch To EDL FailSystem.Exception: FireHose Fail

    at QC.SwDownloadDLL.SwDownload.SwitchToEDL()

    at QFIL.Tech.DownloadTech.SwitchToEDL()
    Finish Download”

    • share model no of the device

      • Jose Garcia

        buenos dias tengo lg h810 qualcomm hs-usb qdloader 9008 por favor si tiene los archivos para resolverlo

  • Dhananjayan Balu

    I got Security error message saying “this device was flashed with unauthorized software contact carrier for support and reinstall”
    this message is shown in my mobile
    And not booting
    it just simply shows the message and turns off

  • Bernard Ajb Ochala

    can’t find any of these files, please help

  • abhishek

    i had done with rawprogramme-unsparse.xml and network gone is there any chance to bring back the mobile network .pls help me

    • select this file & flash

  • Karan Ch

    Can it will work on Moto G4 Plus?

  • Prashneet Prasad

    Any idea if this trick can work on Samsung Galaxy phones, specifically the S5 that has Qualcomm chipset?

    • for samsung phone you have to use odin tool

      • Prashneet Prasad

        Thanks I was trying that but using the “CP” option I do not get to select the .mbn file extensions, only the .bin files. None of the options in odin allow to select the mbn file.

  • Kamran

    I am not able to find those XML Files for my device Moto G3 Turbo (XT1557). Please help me.

  • yrtythy


  • Aakash Bouddh

    moto g4 plus got hard bricked while updating a 40mb security update on nougat..tried flashing “blankflash”via CMD but failed….will this QFIL thing helps unbrick motorola phones.can you plz help me

  • Bhuvnesh Tanwar

    Thanks for sharing, looks really promising…Can you please share files for OnePlus 3T ? I have lost MAC address and Bluetooth address, cant make calls also.

  • Bhargav Kumar

    yahoo……. I’m so happy

  • Bhargav Kumar

    love you

  • Bhargav Kumar

    thanks allot

  • Bhargav Kumar

    boss, you made my day, i have lyf wind 1 powered by Qualcomm processor, everyone told me to flash software by browsing for sahara file(sahara.xml), raw program unsparred, patch files. but you are the one who told to power off the device and use both volume buttons before clicking download, that poweroff changed everything and boom….. my device recovered and full happy, thank you so much friend

  • luvasprit

    i need huawei g620-ul01 with fire horse programmer and rowprogrammer file or how i can creat those file any help i appreciate

  • Jovica Brkljac

    Can you please tell me how or where to search for flash files.. for example huawei g630-u20..

  • Suman Chatterjee

    after flashing no batary information so always show 0% level.pls send me the solution

    • share mode no & the file which you had use to flash

  • narotam saini

    earr dikha rha h….
    download fail : switch to DEL failfaild to switch to emergency download mode
    solution dena

    • Either use EDL cable
      or try to connect phone in fastboot mode to Minimal ADB & fastbbot software
      & write command
      Fastboot oem reboot-edl
      and make sure you had install driver

  • Predrag Tošić

    Im having a problem, everything is connected and installed but when i click download the phone screen turns off and in Qfil port is lost. it is lenovo k6 k33a48

  • Tikam Ram Sharma Namo

    I have fleshed through rawprogram_unsparse_.xml and lost data now my phone is not getting network please help how to solve this problem?

    • flash again with appropirate file, it will be ok

      • Tikam Ram Sharma Namo

        I have flesh 5 times but same results. I lost sn number IME number wifi and bluetooth adress. restored all but its not working. I think sn number is not valid

        • share model no & brand

        • Karan

          You have to rewrite the an, WiFi Mac address, IMEI no.s of you phone …. Use CKT Qwrite_Writer to write this information to your phone..

  • christeena kroops

    I m stuck up with my Lenovo a805e not getting network with any SIM ,No IMEI & Loss of Audio.
    but No local repairer gets idea about what is wrong with mobile. Few said to do software but lenovo
    official store denied of help as this one is manipulated China Version soldby Sprint of America.
    I have tried for weeks insearching and eventually downloaded its ROM from one of china website.
    I tried to learn and flash the Firmware with QRIL but i cannot see an eMMC/ .mbn file into
    Firmware folder for uploading agent.
    What to do ? Will flash be possible ?

    please guide.

  • Amritanshu Ranjan

    Thankyou.Recovered my lyf flame 1 which was bricked due to device shutdown due to low battery during System Update.

  • Prakash Lakhara

    do catch: QCOM_QPHONEMS_SaharaArmPrgDownload FAIL!

    help here

  • Kiran Bhat

    i had downloaded stock firmware for my moto e2 3g xt1506 (otus).
    but i think some files are missing, chipset is MSM8610 can you help.

  • himanshu

    when i m downloading xml file for my Xolo black it showing could not connect com port …
    what should i do
    i have installed qulacomm qdloader port

  • D.Louk

    I want flash the recovery to my vodafone su 6 because i dont have anymore recovery after i change rom

  • Mdfaiyaz Ansari

    Ye flash file me .rawprogram_unsparse_without_qcn.xml . nhi h please help me .my WhatsApp no 8936847423..please help me

    • share model no of the device

      • Sarvoday Computer Center MKCL

        i want “rawprogram_unsparse_without_qcn.xml” file for LYF Wind 1 8GB.
        pls send on or my whatsapp 9822106861.
        pls help me.

  • kashif amir

    hi boss i have Blackfone 2 … i have successfully connected upto port but when i select .mbn file and patch file i click the download button it is not flashing … giving the error Download fail sahar

    • means file is not of same version
      Try same version file

      • dgdfgd

        what does that mean ankur?

  • Shyam Kumar (Shyam)

    rawprogram_unsparse_without_qcn.xml this file is not available in your given file

  • Shyam Kumar (Shyam)

    before do this i need to put twrp recovery ah.. or it will not required to boot this sir…. am already unlocked boot loader but am not put twrp recovery so pls help

  • Pintu Barnwal

    meny meny thanxxxxxxxxxxx sir

  • Kamil Zarzycki

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

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

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

    Can you help me?
    What I should fo?
    Motorola Moto G 3rd XT1541

    • its either S/w version fault or hardware fault
      First try with exact version flash file

  • Ehtesham Khan

    I am not getting the required files(rawprogram, patchetc ) in the Moto E firmware. Qualcomm driver is installed and connecting to pc. what to do ? @Ankurpratap:disqus

    • You have to use CMD to flash Moto E & Fisrt you have to unlock bootloader
      and never downgrade Moto E, board will be dead

  • sahil

    bro plz tell me how to flash xolo q1100

  • Nageswar Swain

    i have a dead Sony Xperia S lt26i which emmc was wiped totaly…is there a chance to recover??

  • Ravi

    it’s Working…. thanks.

  • siddhartha sql2012

    Can you please suggest me for Yota i had .qbn file but i dont have .xml files, can you please help me

    • come with more description i.e. Model no & brand of the phone

  • Sayan Sur

    what, if i choose rawprogram0.xml instead of rawprogram_unsparse_without_qcn.xml or rawprogram_unsparse.xml??

  • RANA Nazar

    I am from India. I have Videocon A30 mobile phone with following specification:
    ICS, 512MB RAM and S4 Snapdragon Processor MSM8225.While trying to installing
    CYNOGENMOD ROM stable on my android phone
    its stopped in the middle, after retrying it 2 or 3 times it didn’t
    complete fully and my phone got bricked. I went to the service center
    they also trying and said that i have to change the PCB Board. My phone
    doesnt recognized USB, not getting into fastboot or recovery mode.I
    display Qualcomm bootloaded 9008 in pc when I connect it to PC. Plz help
    what to do now as i know is hard bricked and no hardware is short.I
    tried ur described instruction using QCIF/ QPST (Attached). But It show
    the messege shara fail.I have original zip firmware of videocon a30 its
    has PhenixMultiflash, I dont know how to use it
    PLZ quide step by step firehose file is missing from ROM

    • sahara fail means either the firmware which you are using is not of same version or maybe hardware issue

  • Enoch Amartey


    • install driver thenit will automatically detect the port

  • Enoch Amartey


  • Enoch Amartey

    how can i delete or clear the unwanted files in my qfil tool status menu


    Lenovo phab 750M can backup rom from runing tap ?

  • Enoch Amartey


    • you have to use qpst tool but make sure file version is correct

      • Daren

        I thank you for a nice tutorial. I am trying to unbrick my Z17mini. But even after downloading all types of ROM from nubia, Gapps etc, I can’t see the xml files like *horse*.xml or patch0.xml.
        Where can I get those patch files for Nubia Z17mini 6GB/128GB.
        Please help.
        Thanks again.

    • narinder

      Pls use so flash tool with. Scetter file to flash lenovo

  • Adam

    any chance to gent files for lg g4 h815?

  • Ashish Singh

    I have Lenovo A6000 phone in hang on logo following your steps flashing complete but same problem hang on logo please help

    • if its lenovo logo then match the version of the file with software version

  • Amit Kumar

    Hello Sir,
    I have successfully download official firmware on my Xolo Black by using QPST tool. but, I have loss Phone Serial Number, BT address & wifi address and Sim2 not working.
    How I get these? any solution? Please help.

    • Try to flash it again

    • Anshu kumar

      hai go to setting an open BT option and you go more option and you see there visibilety option click visibilety and select option never and click save option and restart your
      And then you see your bluetooth is working good luck

  • Gaurav Panda
    • check the version of the stock rom

    • RANA Nazar


  • Gaurav Panda

    ok the method worked but after flashing the phone went into bootloop

  • Gaurav Panda
    • First match the version of the Firmware.
      Disable driver signature enforcement
      Restart PC and press F8 during boot
      then select “Disable driver signature enforcement”

    • RANA Nazar


  • ‫عمار الدبل‬‎

    Thanks for your important topic.
    I have wileyfox storm mobile and it hasn’t any response when I press power with or without volume + or – .
    when I connect it to laptop it detect as (Qualcomm HS-USB QDLoader 9008). I download the original rom and I try to flow your steps, but I get error “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”.

    I also try to use “emmc download” but I get “device wait found 0 0”.
    Please help me.

    • File version differ from your phone version

    • RANA Nazar


  • सुधांशु मिश्रा

    Lyf Flame 1 – Not able to Flashing using this step by QFIL Tool.

    • is device apperaing in Device Manager and shre error snapshot

      • hashiramawoodstyle

        we do I get the mpn file? in the stock rom

        • Share the model no as qualcomm chipset has 3-4 diffrent tools available

          • hashiramawoodstyle

            I finally recovered my phone. it was msm8916

          • GAMERZ CHUNKZZ

            I have a alcatel onetouch pop 7s p330x. I have a compatible .zip file. But i dont know how to flash it . And i cant boot into recovery mode .Is there any tools which can flash .zip files.pls help

          • unzip file & share snapshot

          • GAMERZ CHUNKZZ

            It is a cyanogen mod. And the official firmware is not in mbn extension.

          • GAMERZ CHUNKZZ

            I got zip file but when i flash using qpst it is said that switch to edl failed . ???. What will i do now

          • reinstall qualcomm driver
            or use fastboot command
            fastboot oem reboot-edl

          • GAMERZ CHUNKZZ

            I have installed it.and tried the commands .now also it is not working

          • where you have used the fastboot command??

          • GAMERZ CHUNKZZ

            In cmd .one more thing my tablet didnt even show the bootlogo

          • try to wash the board once and it would be better if you hand it to the technician

          • Prakash Chaudhary


          • Prakash Chaudhary

            plz sir help me what i do any idea give me …….@Ankurpratap:disqus

          • flash with exact match flash file

          • Saheed

            hi, i have a qualcomm msm8992 chipset, i’m having a hard time generating 8992_msimage.mbn, qpst either says cant locate physical partiton or it crashes.

            here is what the partion_boot.xml file i’m trying to use looks like:

          • share the model no & brand

          • aaya angush

            hello please link

          • aaya angush

            Thank you

          • aaya angush

            It is lg g4 work pease link

          • check xda forum for the stock file