
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 firmware is an OTA update.zip or in any flashable zip format then QFIL is not suited to flash firmware QFIL will only flash a firmware which is in Flat Build or Meta Build format. 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. 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. 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. 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. These would result in your phone being unable to detect your SIM card's network Some roms / tools wipe or corrupt your EFS / QCN partition resulting in Null or Invalid IMEI, Baseband, Serial Number etc. If you can, try to backup your phone's QCN / EFS partition before flashing any rom (whether stock or custom). If you get the Sahara Fail error then try a different programmer file 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 chipset as yours. Some Qualcomm firmware do not contain programmer files (prog_emmc_firehose_****.mbn). To flash a single file e.g recovery.img, select under search path the folder that contains ONLY the single file. You should get Download Succeed Finish Download once QFIL has successfully flashed the firmware. QFIL should start flashing the firmware, Do Not interrupt. Another Window will automatically pop up, highlight the patch() file then click Open. In the Window that pops up, highlight the rawprogram() file then click Open.
In the Window that pops up, highlight the loader file (usually named prog_emmc_firehose_****.mbn) and click Open. Under Select Build Type, tick Flat Build.
No Port Available should change to Qualcomm HS-USB QDLoader 9008
Connect the device to the PC while in EDL Mode (device should be in EDL before connecting to pc).