Unbricking with QFIL gives "Sahara Fail" error. help!

spirit_room

New member
Mar 1, 2020
1
0
0
I solved the same issue by using miflash tool instead of QPST which is a bit fragile in my opinion. You can google miflash to download it and it is pretty straightforward to use. Click "fresh" to find the COM port, then click "Browse..." to locate the folder which contains your unzip/unrar image files, then click "Flash". It usually only takes very short time. Enjoy!

BTW, I feel miflash works not only for Xiaomi phones, but all other Anndroid phones, because my phone is not a Xiaomi one. I used this one Xiaomi_Flash_20160401.zip from the offical site. I think the latest one should also work, but you need to try it out.

so i have a LG K20 (mp260) from MetroPCS, and like a fool, i flashed a rom that wasnt compatible...
its now hard bricked. my computer can only recognize it now as "Qualcomm HS-USB QDLoader 9008 (COM3)" in the "Ports" section of the device manager. the device itself cant turn on for nothing, there are no lights, no vibrations. but my computer can read it...

i have minimal knowledge on this stuff and ive been at this for almost a week now and how found nothing but the QFIL program that looked promising. ive installed all the appropriate drivers and give it the appropriate files (i hope):
Programmer: prog_emmc_firehose_8936.mbn
XML: rawprogram0.xml with the patch: patch0.xml
the files were manually extracted from my own phones stock .KDZ
i have seen others use rawprogram files such as "rawprogram_unsparse_without_qcn", and "rawprogram_unsparse". i dont know how to obtain these files and if they would help my problem.
(note: im using QFIL 2.0.1.7 and ive tried numerous previous versions:crying:)

apon pressing the "download" button, it says:

2018-08-01 21:26:02.821 Start Download
2018-08-01 21:26:02.843 Program Path:C:\Program Files (x86)\Qualcomm\QPST\bin\8675_W00\prog_emmc_firehose_8936.mbn
2018-08-01 21:26:02.860 ***** Working Folder:C:\Users\IZACOR\AppData\Roaming\Qualcomm\QFIL\COMPORT_3
2018-08-01 21:27:43.158 Binary build date: Nov 21 2017 @ 02:53:37
2018-08-01 21:27:43.160 QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\IZACOR\AppData\Roaming\Qualcomm\QFIL\COMPORT_3
2018-08-01 21:27:43.164 Sahara mappings:
2018-08-01 21:27:43.165 2: amss.mbn
2018-08-01 21:27:43.166 6: apps.mbn
2018-08-01 21:27:43.167 8: dsp1.mbn
2018-08-01 21:27:43.168 10: dbl.mbn
2018-08-01 21:27:43.173 11: osbl.mbn
2018-08-01 21:27:43.174 12: dsp2.mbn
2018-08-01 21:27:43.175 16: efs1.mbn
2018-08-01 21:27:43.176 17: efs2.mbn
2018-08-01 21:27:43.178 20: efs3.mbn
2018-08-01 21:27:43.179 21: sbl1.mbn
2018-08-01 21:27:43.180 22: sbl2.mbn
2018-08-01 21:27:43.181 23: rpm.mbn
2018-08-01 21:27:43.182 25: tz.mbn
2018-08-01 21:27:43.183 28: dsp3.mbn
2018-08-01 21:27:43.184 29: acdb.mbn
2018-08-01 21:27:43.186 30: wdt.mbn
2018-08-01 21:27:43.188 31: mba.mbn
2018-08-01 21:27:43.190 13: C:\Program Files (x86)\Qualcomm\QPST\bin\8675_W00\prog_emmc_firehose_8936.mbn
2018-08-01 21:27:43.192
2018-08-01 21:27:43.194 21:27:43: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.
2018-08-01 21:27:43.196
2018-08-01 21:27:43.197 21:27:43: ERROR: function: sahara_main:924 Sahara protocol error
2018-08-01 21:27:43.198
2018-08-01 21:27:43.199 21:27:43: ERROR: function: main:303 Uploading Image using Sahara protocol failed
2018-08-01 21:27:43.201
2018-08-01 21:27:43.202
2018-08-01 21:27:43.203 Download Fail:Sahara Fail:QSaharaServer Fail:process fail
2018-08-01 21:27:43.205 Finish Download


im getting tired of seeing this log lol. but as you can see the problem (from i can see) is that its getting stuck at the "Sahara" bit. i cant seem to fix this to save my life. and ive littrally tried everything!
yes including putting the firmware files into the "bin" folder of the program and stuff like that...
fastbooting wont work either as the screen is always black and the computer never sees it as a device, but a port.

i turned to creating this post as a last resort, for if i cant find an answer here, im afraid ill just have to use the phone for parts or something:crying:. please! if anyone has suggestion or a solution that i haven't tried yet it would be truly appreciated!
 
Last edited:

Skyhuppa

Senior Member
Sep 17, 2016
56
10
18
Those with this issue must follow Teddy Lo post. Added to his;

1. Make sure firmware file names and types are the same in rawprogram0.xml partition path.
2. There are some programs that help Android tools to function well like java, python, Android sdk, netframe work etc must be installed.
3. When installing Qualcomm drivers choose Ethernet.
4. Device must be in edl mode like my case
5. Can also try this version of Qualcomm drivers and Qualcomm flash tool. https://mega.nz/#!6VYQnCxQ!5r76u_zxUJhNgX9UKj8iKKXbXNtnVID6029zAaVLoXk

I had been using it for sometime now without issues.
 
  • Like
Reactions: monzer

tamburuko

New member
Apr 30, 2020
3
0
0
This error occurred because your bootloader is locked , YOU MUST ENTER 9008 MODE WITH TEST POINT WAY to bypass this lock. entering eld mode with buttons and fastboot is only for phones with unlocked bootloader.
Thanks, this comment saved me, my existing bootloader is already unlocked, so what i did was re-locked it and unlocked it again before download on qfil, the only issue I encounter is the when I login to flyme, it says, you have not logged out as another, and I cannot put my flyme account on the phone. Tried to update and wipe, factory reset/erase and everything but with no luck. BTW, Myphone is Meizu 16th, Thanks.
 

Silent_lad

New member
May 31, 2020
1
0
0
Was in a same dilemma. As it turns out, the whole process is perfectly fine, the only thing that's missing is connecting the phone to the PC (via USB cable) with only battery kept disconnected. The error "sahara fail" seems to be coming from battery kept connected throughout the flashing process.
 

vgr6479

Member
May 11, 2020
6
0
0
Hello there, i have a bricked xiaomi blackshark 1 (SKR-A0), im trying to unbrick it using QFIL but it always returns :
ERROR: function: main:303 Uploading Image using Sahara protocol failed
Download Fail:Sahara Fail:QSaharaServer Fail:process fail


Can somebody help me?
What causes this error?
 

piotr1953

Member
Jun 30, 2019
32
0
0
SAHARA

so i have a LG K20 (mp260) from MetroPCS, and like a fool, i flashed a rom that wasnt compatible...
its now hard bricked. my computer can only recognize it now as "Qualcomm HS-USB QDLoader 9008 (COM3)" in the "Ports" section of the device manager. the device itself cant turn on for nothing, there are no lights, no vibrations. but my computer can read it...

i have minimal knowledge on this stuff and ive been at this for almost a week now and how found nothing but the QFIL program that looked promising. ive installed all the appropriate drivers and give it the appropriate files (i hope):
Programmer: prog_emmc_firehose_8936.mbn
XML: rawprogram0.xml with the patch: patch0.xml
the files were manually extracted from my own phones stock .KDZ
i have seen others use rawprogram files such as "rawprogram_unsparse_without_qcn", and "rawprogram_unsparse". i dont know how to obtain these files and if they would help my problem.
(note: im using QFIL 2.0.1.7 and ive tried numerous previous versions:crying:)

apon pressing the "download" button, it says:

2018-08-01 21:26:02.821 Start Download
2018-08-01 21:26:02.843 Program Path:C:\Program Files (x86)\Qualcomm\QPST\bin\8675_W00\prog_emmc_firehose_8936.mbn
2018-08-01 21:26:02.860 ***** Working Folder:C:\Users\IZACOR\AppData\Roaming\Qualcomm\QFIL\COMPORT_3
2018-08-01 21:27:43.158 Binary build date: Nov 21 2017 @ 02:53:37
2018-08-01 21:27:43.160 QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\IZACOR\AppData\Roaming\Qualcomm\QFIL\COMPORT_3
2018-08-01 21:27:43.164 Sahara mappings:
2018-08-01 21:27:43.165 2: amss.mbn
2018-08-01 21:27:43.166 6: apps.mbn
2018-08-01 21:27:43.167 8: dsp1.mbn
2018-08-01 21:27:43.168 10: dbl.mbn
2018-08-01 21:27:43.173 11: osbl.mbn
2018-08-01 21:27:43.174 12: dsp2.mbn
2018-08-01 21:27:43.175 16: efs1.mbn
2018-08-01 21:27:43.176 17: efs2.mbn
2018-08-01 21:27:43.178 20: efs3.mbn
2018-08-01 21:27:43.179 21: sbl1.mbn
2018-08-01 21:27:43.180 22: sbl2.mbn
2018-08-01 21:27:43.181 23: rpm.mbn
2018-08-01 21:27:43.182 25: tz.mbn
2018-08-01 21:27:43.183 28: dsp3.mbn
2018-08-01 21:27:43.184 29: acdb.mbn
2018-08-01 21:27:43.186 30: wdt.mbn
2018-08-01 21:27:43.188 31: mba.mbn
2018-08-01 21:27:43.190 13: C:\Program Files (x86)\Qualcomm\QPST\bin\8675_W00\prog_emmc_firehose_8936.mbn
2018-08-01 21:27:43.192
2018-08-01 21:27:43.194 21:27:43: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.
2018-08-01 21:27:43.196
2018-08-01 21:27:43.197 21:27:43: ERROR: function: sahara_main:924 Sahara protocol error
2018-08-01 21:27:43.198
2018-08-01 21:27:43.199 21:27:43: ERROR: function: main:303 Uploading Image using Sahara protocol failed
2018-08-01 21:27:43.201
2018-08-01 21:27:43.202
2018-08-01 21:27:43.203 Download Fail:Sahara Fail:QSaharaServer Fail:process fail
2018-08-01 21:27:43.205 Finish Download


im getting tired of seeing this log lol. but as you can see the problem (from i can see) is that its getting stuck at the "Sahara" bit. i cant seem to fix this to save my life. and ive littrally tried everything!
yes including putting the firmware files into the "bin" folder of the program and stuff like that...
fastbooting wont work either as the screen is always black and the computer never sees it as a device, but a port.

i turned to creating this post as a last resort, for if i cant find an answer here, im afraid ill just have to use the phone for parts or something:crying:. please! if anyone has suggestion or a solution that i haven't tried yet it would be truly appreciated!
Have same problems with LG G5 and V490
Looks as we need proper sahara version???
Where to download it???
Any idea???
Vale Piotr