You are on page 1of 20

Phone or PC problems and need fast replies?

Try
PRIVATE SUPPORT ›
×
(https://www.hovatek.com/)

Login (https://www.hovatek.com/forum/member.php?action=login)

Register (https://www.hovatek.com/forum/member.php?action=register)

Learn
Ask Mediatek
Question Software Repairs Online! START NOW (https://www.udemy.com/course/mediatek-mobile-software-
(newthread.php?fid=101)

repairs-101-course/?couponCode=COVID2JUNE)

Hovatek Forum (https://www.hovatek.com/forum/index.php) / MOBILE PHONES HELP SECTION (forum-


75.html) / Android (forum-76.html)

1 2 (thread-22466-page-2.html) 3 (thread-22466-page-3.html) Next » (thread-22466-page-2.html)

Share (https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.hovatek.com//forum/thread-
22466.html%23facebook)

Tweet (https://twitter.com/intent/tweet?text=How to use Qualcomm Flash Image Loader


(QFIL)&url=https%3A%2F%2Fwww.hovatek.com//forum/thread-22466.html%23twitter&via=hovatek)

Share (whatsapp://send?text=https%3A%2F%2Fwww.hovatek.com//forum/thread-22466.html%23whatsapp)

Share (https://t.me/share/url?url=https%3A%2F%2Fwww.hovatek.com//forum/thread-22466.html%23telegram)

Pin (https://pinterest.com/pin/create/button/?description=How to use Qualcomm Flash Image Loader


(QFIL)&media=https://www.hovatek.com/hotlink-
ok/hovatekprof.png&url=https%3A%2F%2Fwww.hovatek.com//forum/thread-22466.html%23pinterest)

   
[Tutorial] How to use Qualcomm Flash Image Loader (QFIL)
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×
hovatek (https://www.hovatek.com/forum/user-1.html)
(user-1.html) Administrator

Posts: 49,451
Threads: 1,445
Joined: Oct 2013
Reputation: 432 (reputation.php?uid=1)

02-04-2018, 06:45 PM #1 (thread-22466-post-133262.html#pid133262)

This is a step-by-step guide on how to use Qualcomm Flash Image Loader (QFIL) to flash stock rom /
firmware to Qualcomm smartphones and tablets. QPST contains this and other tools. QFIL is chip-specific so
it will only work on Qualcomm devices, not Mediatek, Spreadtrum, Intel etc. It enables you flash Qualcomm
CPU without a box or dongle. To know more about QFIL, read this post
(https://www.hovatek.com/forum/thread-30642-post-180764.html#pid180764)

Requirements
Download and Install Qualcomm USB drivers (https://www.hovatek.com/forum/thread-16965.html)
Firmware / stock rom (https://www.hovatek.com/forum/forum-89.html) you wish to flash
Download QPST (https://www.hovatek.com/forum/thread-22467.html) and install or QFIL Standalone
(https://www.hovatek.com/forum/thread-25314.html)
Boot the device into Emergency Download Mode / EDL Mode (https://www.hovatek.com/forum/thread-
21791.html)
PC
USB cable

   
Ask Download Training Contact
How to use QFIL
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×
Follow the steps below to flash firmware to Qualcomm Android devices using Qualcomm Flash Image Loader
(QFIL)

See the video tutorial below or at https://youtu.be/W9Cz4LwAzLg (https://youtu.be/W9Cz4LwAzLg)

1. Launch QFIL

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×

2. Connect the device to the PC while in EDL Mode (device should be in EDL before connecting to pc).
No Port Available should change to Qualcomm HS-USB QDLoader 9008

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×

3. Under Select Build Type, tick Flat Build

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×

4. Under Select Programmer, click Browse

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×

5. In the Window that pops up, highlight the loader file (usually named prog_emmc_firehose_****.mbn)
and click Open

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×

6. Click Load XML

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×

7. In the Window that pops up, highlight the rawprogram() file then click Open

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×

8. Another Window will automatically pop up, highlight the patch() file then click Open

[Image: How-to-flash-a-Qualcomm-Android-phones-f...QFIL-8.jpg]

9. Click Download

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×

10. QFIL should start flashing the firmware, Do Not interrupt

11. You should get Download Succeed Finish Download once QFIL has successfully flashed the firmware.
Disconnect the device and boot up

Important notes
To flash a single file e.g recovery.img , select under search path the folder that contains ONLY the
single file
Some Qualcomm firmware do not contain programmer files (prog_emmc_firehose_****.mbn). While its
best you use a firmware which includes a programmer file, you can (in severe cases) use the

programmer 
file for a Qualcomm phone with the same  Fail
chipset as yours. If you get the Sahara
Ask Download Training Contact
error then try a different programmer file
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
If you can try to backup your phone's QCN / EFS partition before flashing any rom (whether stock or
If you can, try to backup your phone s QCN / EFS partition before flashing any rom (whether stock or
custom). Some roms / Phone or PC
tools wipe problems
or corrupt
PRIVATE SUPPORT
and
your

need
EFS fast replies?
/ QCN partition Try
resulting in Null or Invalid IMEI, ×
Baseband, Serial Number etc. These would result in your phone being unable to detect your SIM
card's network
You can decide to connect the phone in Emergency Download (EDL) mode at the very beginning or
just before flashing but note that the Download button will not be clickable till all the required files are
loaded.
If you still have No Port Available after connecting the phone then its either the phone isn't in EDL
mode or you've not installed drivers for the phone
The exact button combo for booting into EDL mode varies across Qualcomm devices so ensure to run
a search around booting your model into EDL
Do Not interrupt QFIL during flashing (till the flashing process is completed) or force-flash an
incompatible firmware (bootloader) as this could result in a hard brick which would then require a USB
Jig or JTAG to force the phone into Download Mode.
QFIL will only flash a firmware which is in Flat Build or Meta Build format. If your firmware is an OTA
update.zip or in any flashable zip format then QFIL is not suited to flash firmware
QFIL's default storage type for flashing is EMMC (you can tell your storage type from the file name of
the programmer file). If your Qualcomm device uses UFS or SPINOR then ensure to set this under
Configuration > FireHose Configuration > Device Type
This tool is specifically for the Qualcomm chipset so the firmware should contain the mbn file, program
files qualcomm qpst bin
QPST is owned by Qualcomm Technologies Incorporated so credits to them for this tool

Video Transcript

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×
Quote:

In this video tutorial, I'll be explaining how to flash a Qualcomm Android device using Qualcomm Flash
Image Loader or QFIL. In order to use QFIL, you need to have installed QPST. You also need to have
installed your Qualcomm USB drivers. We have a guide on how to do that and of course you need to
have the firmware which you intend to flash usually in this format.

Now, once you have all these in place, the next thing you'll want to do is to launch QFIL so I'll do that by
searching for QFIL. If you have a desktop shortcut you could also launch the shortcut and wait for the
QFIL dashboard to come up. Alright! Great! So I have this here. Now, I have no port available so I need to
connect the device in EDL Mode. Now, for this particular device, to boot into EDL, I power off the device
still with battery inside, hold both volume buttons then connect it to the PC via the USB cord.

Alright! So that changes No Port Available to Qualcomm HS-USB QDLoader. Now, the next thing you'll
want to do is to load the firmware which you intend to flash. The firmware I have here is a Flat Build so
under the Select Build Type, I select Flat Build then I click on Browse. Now, in this Window that opens,
what you'll want to do is to navigate to the location where you have the firmware folder and then you open
that and select the loader file. its usually in this format and then click on Open.

The next thing you'll want to do is to click on Load XML. Still in the firmware folder, you select the raw
program file and then click on Open and then another Window will automatically open. You select the
patch() file and then click on Open. Alright! So everything we need to do is in place so the next thing you'll
want to do is (still with the phone connected) you click on Download and that should start the flashing
process. Now, to be sure that flashing has begun ,you are going to have a blue bar loading.

That is confirmation that we have flash in progress okay? Great! So we have the blue bar loading right
there so it's very important you do not interrupt the process because if you interrupt the process that is
going to cause your Qualcomm Android device to get bricked and then if you are lucky, you'll be able to
revive it by retrying to flash it using QFIL and if you are unlucky, you have to find a way to get the
bootloader for your particular device, flash the bootloader first before you talk about flashing the firmware
and that could be a very tedious process so to just avoid going through that headache, do not interrupt
this process okay?

Just sit back and QFIL do its thing. So I'm at 7.21% okay 23.47% now Okay, so we are 83.83% and
flashing should be completing any moment from now still have to be patient , do not interrupt the process.
Okay, flashing is rounding up right now. I should get a confirmation message anytime soon showing that
flash was indeed complete and successful Alright! Download Succeed. I have i right here

Finished download so you can disconnect the device and power it up. If you get an error message asking
you to reset the encryption data or encryption unsuccessful just reset the phone and that should make it
boot up normally.

So that's how to flash a Qualcomm Android device using Qualcomm Flash Image Loader or QFIL

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Note! Phone or PC problems and need fast replies? Try
We have a reply schedule (https://www.hovatek.com/forum/thread-9526.html)
PRIVATE SUPPORT › for Free Support.
×
Please upgrade to Private Support (https://www.hovatek.com/remote) if you can't wait.
(This post was last modified: 09-11-2019, 07:54 AM by hovatek (https://www.hovatek.com/forum/user-1.html).)

Website (https://www.hovatek.com) Find (search.php?action=finduser&uid=1)

Reply (newreply.php?tid=22466&replyto=133262)

rikykaku (https://www.hovatek.com/forum/user-151019.html)
(user-151019.html) Enthusiastic Member

Posts: 11
Threads: 5
Joined: Jan 2019
Reputation: 0 (reputation.php?uid=151019)

16-01-2019, 01:38 PM #2 (thread-22466-post-158651.html#pid158651)

But please how do i determine if a firmware in flat or meta format.

Find (search.php?action=finduser&uid=151019) Reply (newreply.php?tid=22466&replyto=158651)

hovatek (https://www.hovatek.com/forum/user-1.html)
(user-1.html) Administrator

Posts: 49,451
Threads: 1,445
Joined: Oct 2013
Reputation: 432 (reputation.php?uid=1)

16-01-2019, 09:29 PM #3 (thread-22466-post-158702.html#pid158702)

rikykaku Wrote: (https://www.hovatek.com/forum/post- (16-01-2019, 01:38 PM)


158651.html#pid158651)

But please how do i determine if a firmware in flat or meta format.

For Flat build, you select Programmer (*emmc_firehose*) file. For Meta build, you select the contents.xml and
you might find multiple cache, userdata & system images.

Note!
We have a reply schedule (https://www.hovatek.com/forum/thread-9526.html) for Free Support.

Please upgrade  (https://www.hovatek.com/remote)
to Private Support  if you can't wait.
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Website (https://www.hovatek.com)
Phone or PCFind (search.php?action=finduser&uid=1)
problems
PRIVATE SUPPORT
and need fast replies? Try

×
Reply (newreply.php?tid=22466&replyto=158702)

(user-166900.html)

fernandoud (https://www.hovatek.com/forum/user-166900.html)
Newbie

Posts: 3
Threads: 1
Joined: Apr 2019
Reputation: 0 (reputation.php?uid=166900)

12-04-2019, 11:19 PM #4 (thread-22466-post-165579.html#pid165579)

the huawei g6 l-11 firmware doesnt have the .mbn or the xml files needed to qfil, where i can find them?

Find (search.php?action=finduser&uid=166900) Reply (newreply.php?tid=22466&replyto=165579)

X3non (https://www.hovatek.com/forum/user-1116.html)
(user-1116.html) Recognized Contributor

Posts: 22,062
Threads: 571
Joined: Jul 2014
Reputation: 332 (reputation.php?uid=1116)

13-04-2019, 11:32 AM #5 (thread-22466-post-165600.html#pid165600)

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×
fernandoud Wrote: (https://www.hovatek.com/forum/post- (12-04-2019, 11:19 PM)
165579.html#pid165579)

the huawei g6 l-11 firmware doesnt have the .mbn or the xml files needed to qfil, where i can find them?

create a new thread for your device issue


see https://www.hovatek.com/forum/thread-514.html (https://www.hovatek.com/forum/thread-514.html) for
how to create a thread

Find (search.php?action=finduser&uid=1116) Reply (newreply.php?tid=22466&replyto=165600)

Noblex (https://www.hovatek.com/forum/user-156777.html)
(user-156777.html) Respected Member

Posts: 111
Threads: 17
Joined: Feb 2019
Reputation: 1 (reputation.php?uid=156777)

29-04-2019, 04:11 PM #6 (thread-22466-post-166787.html#pid166787)

hovatek Wrote: (https://www.hovatek.com/forum/post- (02-04-2018, 06:45 PM)


133262.html#pid133262)

...

I followed all the step stated, but am getting the error message

(This post was last modified: 30-04-2019, 10:56 AM by X3non (https://www.hovatek.com/forum/user-1116.html).)

Find (search.php?action=finduser&uid=156777) Reply (newreply.php?tid=22466&replyto=166787)

Noblex (https://www.hovatek.com/forum/user-156777.html)
(user-156777.html) Respected Member

Posts: 111
Threads: 17
Joined: Feb 2019
Reputation: 1 (reputation.php?uid=156777)

29-04-2019, 04:22 PM #7 (thread-22466-post-166789.html#pid166789)

The screenshot contains the error


   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×
Attached Files

IMG_20190429_161748.jpg (attachment.php?aid=6435) Size: 439.82 KB Downloads: 61

Find (search.php?action=finduser&uid=156777) Reply (newreply.php?tid=22466&replyto=166789)

Noblex (https://www.hovatek.com/forum/user-156777.html)
(user-156777.html) Respected Member

Posts: 111
Threads: 17
Joined: Feb 2019
Reputation: 1 (reputation.php?uid=156777)

30-04-2019, 08:44 AM #8 (thread-22466-post-166827.html#pid166827)

Pls help me

Find (search.php?action=finduser&uid=156777) Reply (newreply.php?tid=22466&replyto=166827)

X3non (https://www.hovatek.com/forum/user-1116.html)
(user-1116.html) Recognized Contributor

Posts: 22,062
Threads: 571
Joined: Jul 2014
Reputation: 332 (reputation.php?uid=1116)

30-04-2019, 10:58 AM #9 (thread-22466-post-166838.html#pid166838)

Noblex Wrote: (https://www.hovatek.com/forum/post- (29-04-2019, 04:11 PM)


166787.html#pid166787)

I followed all the step stated, but am getting the error message

Noblex Wrote: (https://www.hovatek.com/forum/post- (29-04-2019, 04:22 PM)


166789.html#pid166789)

The screenshot contains the error

Noblex Wrote: (https://www.hovatek.com/forum/post- (30-04-2019, 08:44 AM)


166827.html#pid166827)
   
Ask Download Training Contact
Pls help me
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
stick to your thread @ https://www.hovatek.com/forum/thread-27579.html
PRIVATE SUPPORT ›
×
(https://www.hovatek.com/forum/thread-27579.html)

Find (search.php?action=finduser&uid=1116) Reply (newreply.php?tid=22466&replyto=166838)

ahhl (https://www.hovatek.com/forum/user-166243.html)
(user-166243.html) Junior Member

Posts: 17
Threads: 1
Joined: Apr 2019
Reputation: 0 (reputation.php?uid=166243)

23-11-2019, 12:56 PM #10 (thread-22466-post-182634.html#pid182634)

i just want to flash patch_recovery.img. is it possible?

from what t understand i need to create new folder, copy firehose file, rawprogam_unsparse.xml, patch0.xml
and the patch_recovery.img into the new folder. is that right?

....

tested unsuccessful

Attached Files

Log.txt (attachment.php?aid=7262) Size: 2.12 KB Downloads: 16

(This post was last modified: 24-11-2019, 06:26 AM by ahhl (https://www.hovatek.com/forum/user-166243.html). Edit Reason: updated with log files )

Find (search.php?action=finduser&uid=166243) Reply (newreply.php?tid=22466&replyto=182634)

« Next Oldest (thread-22466-nextoldest.html) | Next Newest (thread-22466-nextnewest.html) »


. Enter Keywords Search Thread

1 2 (thread-22466-page-2.html) 3 (thread-22466-page-3.html) Next » (thread-22466-page-2.html)

View a Printable Version (printthread.php?tid=22466)

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×
Users browsing this thread: 1 Guest(s)

Hovatek Forum (https://www.hovatek.com/forum/index.php) / MOBILE PHONES HELP SECTION (forum-


75.html) / Android (forum-76.html)

Hovatek is an online Tech. Support platform where gadget users can easily and conveniently get solutions to
issues or questions. We also offer offline repair services

Follow Us

 (https://www.facebook.com/hovatek) 
(https://www.youtube.com/c/hovatektv) 
(https://www.instagram.com/hovatek/)  (https://twitter.com/hovatek) 
(https://www.pinterest.com/hovatek/)

Subscribe to notifications

Quick Links

 (https://www.hovatek.com/blog/free-hovatek-t-shirts-we-would-like-to-know-your-size/)
Free T-shirts   
Ask Download Training Contact
Privacy Policy (https://www.hovatek.com/blog/privacy-policy/)
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)
Phone or PC problems and need fast replies? Try
PRIVATE SUPPORT ›
×
Search

Search.. 

*Pickup & Delivery repairs is for Lagos, Nigeria only

Software by MyBB (https://www.mybb.com). Crafted by EREE (https://eree.in) and Android BG


(https://forum.androidbg.com/)

Copyright © All rights reserved | Hovatek (https://www.hovatek.com/)

   
Ask Download Training Contact
(newthread.php?fid=101) (forum-88.html) (https://www.hovatek.com/training) (https://www.hovatek.com/remote)

You might also like