yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] spirit_room:
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.
[Android Q&A, Help & Troubleshooting] Skyhuppa:
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.
[Android Q&A, Help & Troubleshooting] tamburuko:
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.
[Android Q&A, Help & Troubleshooting] Silent_lad:
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.
[Android Q&A, Help & Troubleshooting] vgr6479:
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?
[Android Q&A, Help & Troubleshooting] piotr1953:
SAHARA

Have same problems with LG G5 and V490

Looks as we need proper sahara version???

Where to download it???

Any idea???

Vale Piotr
[Android Q&A, Help & Troubleshooting] yesimxev:
Same issue on another device. Resetting the EDL mode / phone (blank screen all the time) by pressing the button on the EDL cable + power button on phone helped. Flashed properly
[Android Q&A, Help & Troubleshooting] meganicx:
Thank you!!!

Tried almost everything and spent lots of hours... always ending up with that "Sahara" error. Eventually, I've removed the battery and it worked!
[Android Q&A, Help & Troubleshooting] yesimxev:
I've got rid of the error by resetting device to EDL mode before each flash
[Android Q&A, Help & Troubleshooting] srinivasan90:
@@ i m using windows still

@@ i m using windows 10 and disable digital sign but still sahara fails message showing kindly suggest me
[Android Q&A, Help & Troubleshooting] jayrawatrj:
18:18:18: INFO: Looking for file 'oppo'

18:18:18: DEBUG: 1. Calling stat('C:\Program Files (x86)\Qualcomm\QPST\bin\RMX1931EX_11_C_31\oppo')

18:18:18: DEBUG: 2. Calling stat(oppo)

(_)

__ ____ _ _ __ _ __ _ _ __ __ _

\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |

\ V V / (_| | | | | | | | | | | (_| |

\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |

__/ |

|___/

18:18:18: WARNING: find_file:8463 Couldn't find the file 'oppo', returning NULL

_____

| ___|

| |__ _ __ _ __ ___ _ __

| __| '__| '__/ _ \| '__|

| |__| | | | | (_) | |

\____/_| |_| \___/|_|

18:18:18: {ERROR: handleProgram:9270 'oppo' not found. You could possibly try --notfiles=oppo,OtherFileToSkip.bin (note, exiting since you specified --noprompt)

I am getting this error while flashing realme x2 pro. does any one have any solution?
[Android Q&A, Help & Troubleshooting] user378@:
Hi xda-developers team i have xiaomi redmi y1 and i always get distracted because of youtube and all the bloatware apps and it affected my study so i tried to install ubuntu touch but there was no ubuntu image for redmi y1 and i tried to install and then my phone got bricked only showing penguin image. i tried everything like mi flash tool,qualcomm, and many more but that doesnt worked. Recently i tried qfil in edl mode my computer detected my device but that also doesnt worked it give error like sahara fail server fail and i also remove antivirus, uninstalling previous driver, test mode, disable driver signature,uninstall all previous flash file and app and rebooted my pc then all the thing which was given in xda developer site how to unbrick but that also doesnt worked. Now penguine logo is also gone nothing working just my computer is detecting in edl mode what to do please last hope... I have no knowlede in computer please help.
[Android Q&A, Help & Troubleshooting] nighthawk658:
Hi there

Came across this post because I am also having issues flashing a phone in my case very interesting or rather strange results

First of all I had similar issues as the original poster with that Sahara error but I found out that the firmware I downloaded was a much newer version of what the phone originally had but since the phone was stuck on Logo I was unable to get into settings to find out what version of firmware was installed I managed to use a tool called San flashing or whatever it was called sorry bad memory haha but I was able to pull files off of the phone most interesting file was the version.img file and opening that in hex was able to find the firmware version

Anyway by downloading that version I noticed results changed firstly in fastboot the error before would always say write protected now it will say cannot flash in a locked state obviously meaning bootloader is locked and in Qfll the error is now too many XML in string table

I tried searching around and came across another version of Qfil that came from another post regarding flashone 2.0 strangely enough this version of the Qfil found in this flashone folder actually produced some different results by actually transfering the images across and progress bar started moving and this never happened in previous attempts

But watching the information box below the progress bar I did notice error kept popping up and whatever its transfering for example system.img would stop at say 85% and then error and this happened on all images it tried to send and would stop at different percentages

One other error I observed is it kept coming up NAK

I would love to post the text from the report on here but it's rather long even the txt file is almost 10GB

But based on what I have said do you or anyone have a clue what's going on

Some suggested maybe the Emmc is failing or may have some bad sectors I am assuming if that's the case it must be a write error because I seem to be able to pull files from the phone ok think have not tried the much larger image files

Is there any testing tool I could also run to check the memory if it has any bad sectors and mark such as bad so flashing can bypass around such bad sectors just as one would do on a PC in my case would just partition around bad sectors

Any assistance would be appreciated but I will try the above instructions by fastboot erase and flash proceedure tho being a locked bootloader I'm not hopeful
[Android Q&A, Help & Troubleshooting] Dangerous-Beans!:
Hi there, I am getting "error can not read from port COM3" with Miflash, did you have that problem and if so how did you overcome it? On a Xiomi Redmi Note 5 thread on here they talk about registering an ID on the Xiomi forum, but of course that can only be if we have a Xiomi device I expect.
[Android Q&A, Help & Troubleshooting] Dangerous-Beans!:
I have now also tried downloading the version you used, but get the following error "There was a problem starting qcCoinstaller.dll the specified module could not be found" which I didn't get with the latest version.
[Android Q&A, Help & Troubleshooting] Dangerous-Beans!:
Downloaded the missing .dll file as in this video

and MiFlash now recognises my device in port COM3 but now I get "Class not registered(0x80040154)" error, any suggestions?
[Android Q&A, Help & Troubleshooting] Teddy Lo:
Hi, it's been little bit late to respond you but I don't suggest you to manually add files to registers!

each error means something is missing or file is corrypted...

So first make sure you have all Runtimes instaled and updated...

You can simple use this tool...

https://media.computerbase.de/s/RKifqTVB2BDxcPw1ZehYAg/1654701829/download/758/aio-runtimes_v2.5.0.exe

Use Driver booster to remove unused and invalid drivers, or use one off those tips to remove unused drivers.

WhatSoftware Blog

WhatSoftware, a daily updated Tech Blog with basic and advanced, unbiased software reviews, computer tips news and more!

www.raymond.cc

Now, after all of this reboot your pc...

If I understand that you are using Redmi note 5 device this is right direction what to do ...

A Hack to Fix Redmi Note 5 ARB Bricked without EDL/Test Point | MIUI Blog

The implementation of Anti-roll Back Protection mechanism is rather spooky. It prevents users to downgrade the MIUI version. Once users did, their phone will

miui.blog

Good luck and have a nice day... : )
[Android Q&A, Help & Troubleshooting] jokeonly:
im having issue using qfil everything is goob but im stuck with working Folder

ERROR LOG​

17:30:50: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS

************************************************

c:\program files (x86)\qualcomm\qpst\bin\fh_loader.exe --port=\\.\COM5 --setactivepartition=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

************************************************

17:30:50: DEBUG: Binary build date: Jun 25 2019 @ 03:16:10

17:30:50: DEBUG: Build Version: 19.06.25.03.16.10

17:30:50: INFO: Current working dir (cwd): C:\Users\MI9T PRO\AppData\Roaming\Qualcomm\QFIL\COMPORT_5\

17:30:50: INFO: Showing network mappings to allow debugging

17:30:50: DEBUG: New connections will be remembered.

17:30:50: DEBUG:

17:30:50: DEBUG: There are no entries in the list.

17:30:50: DEBUG:

17:30:50: DEBUG: User set ZLPAWAREHOST to 1

17:30:50: INFO: User wants to talk to port '\\.\COM5'

17:30:50: DEBUG: port_fd=0x130

17:30:50: INFO: Took 0.00000000 seconds to open port

17:30:50: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>

17:30:50: INFO: Sending <configure>

17:30:50: DEBUG: CHANNEL DATA (P0000) (H00202) ( 227 bytes) - HOST TO TARGET -->

===========================================================================================================

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<configure MemoryName="ufs" Verbose="0" AlwaysValidate="0" MaxDigestTableSizeInBytes="8192" MaxPayloadSizeToTargetInBytes="1048576" ZlpAwareHost="1" SkipStorageInit="0" />

</data>

============================================================================================================

17:30:50: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes

17:30:50: DEBUG: CHANNEL DATA (16 bytes) <-- TARGET to HOST

17:30:50: DEBUG: CharsInBuffer = 16

17:30:50: DEBUG: printBuffer:6017 PRETTYPRINT Buffer is 16 bytes

17:30:50: DEBUG: printBuffer:6094 04 00 00 00 10 00 00 00 0D 00 00 00 01 00 00 00 ................

17:30:50: DEBUG: printBuffer:6107

_____

| ___|

| |__ _ __ _ __ ___ _ __

| __| '__| '__/ _ \| '__|

| |__| | | | | (_) | |

\____/_| |_| \___/|_|

17:30:50: {ERROR: DetermineTag:6861 XML not formed correctly. Expected a &lt; character at loc 0

_____

| ___|

| |__ _ __ _ __ ___ _ __

| __| '__| '__/ _ \| '__|

| |__| | | | | (_) | |

\____/_| |_| \___/|_|

17:30:50: {ERROR: GetNextPacket:7935 3. TAG not found or recognized

_____

| ___|

| |__ _ __ _ __ ___ _ __

| __| '__| '__/ _ \| '__|

| |__| | | | | (_) | |

\____/_| |_| \___/|_|

17:30:50: {ERROR: GetNextPacket:7945

There is a chance your target is in SAHARA mode!!

There is a chance your target is in SAHARA mode!!

There is a chance your target is in SAHARA mode!!

This can mean

1. You forgot to send DeviceProgrammer first (i.e. QSaharaServer.exe -s 13:prog_emmc_firehose_8994_lite.mbn)

2. OR, you did send DeviceProgrammer, but it has crashed and/or is not correct for this target

Regardless this program speaks FIREHOSE protocol and your target is speaking SAHARA protcol, so this will not work

View attachment 5790805
[Android Q&A, Help & Troubleshooting] Mente Inquieta:
I have this error, does anyone have any suggestions on how to resolve it?

View attachment 5794367
[Android Q&A, Help & Troubleshooting] reaurora:
If your phone have dead boot problem you can't unbrick it without professional tools
[LineageOS Questions & Answers] n4nishchay:
I love lineage os in running it on redmi note 3 but when it will get android update even redmi note 2 got oreo
[LineageOS Questions & Answers] Ibuprophen:
I don't have this device and, just a friendly FYI... I don't believe that the LineageOS area of the forum is even looked at by any of the Official Lineage Team Developers.

Only a handful of them even monitor any of the Official LineageOS threads that's on the Forum as well.

The Lineage Team has a preferred method for providing support and guidance that's outlined on the following Official Lineage web page.

https://www.lineageos.org/community/

Unfortunately, due to the high amount of questions/requests for new devices, features and android versions, the Official Lineage Team won't answer those types of requests as well.

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Galaxy S III Q&A, Help & Troubleshooting] Wishh09:
Hi everyone here. Im newbie about this unit. Im little confuse

Im just want to know what should i need to do first.

I want to flash a custom rom on this unit. But the problem i don't know what is the first step before i doing a flash a custom rom. ?

My question is.. Do i need to root first my unit? Before to flash a custom recovery like twrp? Or can i flash twrp recovery even without do rooting my unit first? If can. Can i flash now a custom rom and right gapps then next to do root now my unit with custom rom?

And btw, What is best custom rom now on this unit?
[Galaxy S III Q&A, Help & Troubleshooting] Zaki Jamalullail:
Nope, you don't need root access at all to flash TWRP. All you need to do is download odin, and make sure to download the .tar version of the TWRP recovery. Then on the Odin UI, just click the ap button and navigate to the TWRP File. Put your phone into download mode by pressing volume down, home and power at the same time, continue, then plug your phone into your pc. Then click start. When the progress finished, the phone will reboot and quickly remove the battery. Once you done that, plug the battery in again, press volume up, home and power. Enjoy TWRP on your device :).

Also which rom do i recommend i can't answer to that question since i haven't turn on my S3 for a while, sorry.
[Galaxy S III Q&A, Help & Troubleshooting] Wishh09:
I habe a problem while flashing the recovery? Why can't proceed?
[Galaxy S III Q&A, Help & Troubleshooting] Wishh09:
Picture attached about my problem? ?

What should i do now please anyone can help me i want to flash a custom rom.
[Galaxy S III Q&A, Help & Troubleshooting] audit13:
Your phone is not detected by Odin. The phone has not been assigned to a com port.
[Galaxy S III Q&A, Help & Troubleshooting] shivadow:
Either the phone isn't in download mode or the drivers aren't working. If you have installed the drivers then reboot your pc.

Since when did just flashing twrp become the official way to root these devices?.
[Galaxy S III Q&A, Help & Troubleshooting] Zaki Jamalullail:
https://developer.samsung.com/galaxy/others/android-usb-driver-for-windows install that driver
[Galaxy S III Q&A, Help & Troubleshooting] Wishh09:
Thanks guys I already solve my problem. I successfully flashing the recovery and now im in the custom rom LOS.?
[Sony Xperia XZ1 Compact Questions & Answers] mhaha:
At this point, I think it's highly likely you got yourself a lemon. Since you've already rooted the phone, warranty service is out of the question.

It boils down to two options:

1. Pay for a board replacement.

2. Try your luck with a brand new XZ1C. Buy it online so that you'll get the 7 days return perk (some online stores offer 10 days), keep it wrapped in its original packaging, handle with extreme care, and use it normally for a few days before your return window runs out. If you no longer get drains, congrats, and welcome to the club. If not, accept your fate, return it for a full refund, and give up on the XZ1C - understand that you weren't meant for each other and move on.
[Sony Xperia XZ1 Compact Questions & Answers] Milly7:
I had the same issue. Check this thread. Try that and report back.

https://xdaforums.com/xperia-xz1-compact/help/abnormal-battery-consumption-wifi-t3740495/page3
[Sony Xperia XZ1 Compact Questions & Answers] profyler:
I know what you feel. I had this too, but mine went away and I only very rarely have this drain. But mine was always on Wifi. With Wifi off = no drain reported... never.

I investigated it for weeks without coming to a conclusion.

If you can, replace the phone with warranty. Worth a try. Right now in my opinion you have a hardware faulty device.

But i would say to wait for android 9. In my opinion it wont take ages to come. It will much likely come this year.

---------- Post added at 15:52 ---------- Previous post was at 15:45 ----------

He still has drain even with WIfi Off, so that not the problem.
[Sony Xperia XZ1 Compact Questions & Answers] jrbmed08:
The only other thing I could suggest is having the battery replaced at a local repair shop. If you got a lemon battery but an otherwise fine phone, that could help.
[Sony Xperia XZ1 Compact Questions & Answers] ykkhern:
How about remove your SIM card with wifi on for over night? Do you still experience the drain?
[Sony Xperia XZ1 Compact Questions & Answers] Dean F:
[delete]
[Sony Xperia XZ1 Compact Questions & Answers] ergoen:
This does indeed sound like an app or a service gets stuck in an awkward way. You indicated in your first post that you use better battery stats, do you mind posting screenshots of the top of the summary, kernel wakelocks and partial wakelocks page (showing keeping awake services) as well as the bottom of the cpu states page (showing deep sleep time) "since unplugged" after a few hours of drain?

I have attached corresponding screenshots here for my xz1c (after more than 24 hours unplugged) as a reference (I have play services enabled and syncing both gmail and contacts and so on, no root though).
[Sony Xperia XZ1 Compact Questions & Answers] profyler:
That doesnt make too much sense. Test it for at least one week before coming to conclusions.
[Sony Xperia XZ1 Compact Questions & Answers] Elmcor:
Try this and let me know if it works

I had exactly the same issue

What i did (now magicaly works)

I did not have too many time so what I did was simple and I got a cheap replacement phone in the meantime

It seems to be beyond everything we tried

I conected the phone to the pc and did the fix with xperia companion, then I realized that everything was working as soon as I started to install the apps the problem came back, I installed a launcher (nova) and use it, drained the battery útil reach zero and fully charge it, then everything was working... Back to normal... I don't know how the issue was solved but hope it works for you

Sorry about my bad english xD
[Sony Xperia XZ1 Compact Questions & Answers] Dean F:
Hi ergoen - thanks for the interest in my problem. Please see all the screenshots attatched, including BBS and Gsam.
[Sony Xperia XZ1 Compact Questions & Answers] Didgesteve:
The screenshots from BBS look pretty normal, the GSMBattery shots show issues with Google Play Services, so I'm guessing they were taken at different times. But there's nothing jumps out of the stats that looks out of the ordinary. Have you run the phone in safe mode overnight to see if you get the same drain? I think you may just have a duff battery, no one else has reported this sort of power loss before.

$40 down the repair shop to get a new battery is going to be a whole lot cheaper than a new phone.

I have read somewhere else that Sony's Home is very thirsty with power, I will give your suggestion a go
[Sony Xperia XZ1 Compact Questions & Answers] Dean F:
Thanks didgetsteve. your probably right.... The GSAM and BBS stats were taken right after each other, maybe a gap of 2 mins. Play Services wasnt the issue though, as I tried my phone google free, and it still drained.
[Sony Xperia XZ1 Compact Questions & Answers] ergoen:
I agree with didgesteve, nothing jumps out by just looking at bbs (I am not familiar with gsam, so I cannot comment so much on that).

Before replacing the battery, I would probably make sure that it is not radio/network related. I have noticed that my phone draws significantly different amount of battery (in deep sleep mode) depending on the mobile network. This is mostly independent on whether mobile data is on or off.

Could you turn on airplane mode for an hour or two and verify that it is not the radio chip that is causing your drain? (If that is the cause, I am not sure if you can do anything about it apart from switching carriers or experimenting with 2g/3g/4g settings, but it might be worth knowing)
[Sony Xperia XZ1 Compact Questions & Answers] profyler:
I also had the drain that Dean has. But mine wasnt so agressive, I mean, some days it was there draining 30% battery over my sleep time (8hrs) and sometime it just behaved normally draining max 3% over sleep time. But still from time to time the drain come back wich is annoying as I cant let my phone with 30% battery left when im going to sleep, afraid the battery will be dead and the alarm wont wacke me up lol.

On my extensive tests, the drain only happened with wifi, but even deactivating all wifi related process (backups, syncs etc) the drain was sometimes there. Wifi wasnt the culprit with Dean, but on my tests: Wifi On = Sometimes big drain , Wifi Off = never drain.

I never managed to find the culprit of this damn drain and Im a software tester. Gsam did not show anything unusual at all. It was like Deans screenshot.

We discussed about this issue a lot here (https://xdaforums.com/xperia-xz1-compact/help/battery-life-bit-odd-t3688342/page8) but till this day we dont know whats triggering it.

Im curious how the phone will behave on this issue with android P.
[Sony Xperia XZ1 Compact Questions & Answers] Dean F:
[MENTION=3581033]ergoen[/MENTION] [MENTION=4354390]Didgesteve[/MENTION] . Can you guys comment on my 4th screen shot, the one where you can see the CPU usage. Does anything strike you as odd in that pic? TThe CPU util looks high... it is normal?
[Sony Xperia XZ1 Compact Questions & Answers] profyler:
i dont see nothing odd there
[Sony Xperia XZ1 Compact Questions & Answers] ergoen:
I'm sorry, but I don't think I have the knowledge to judge that. I would expect CPU usage to be low in deep sleep mode, but since the CPU is mostly sleeping, I guess any requested usage will queue up in a way that might look odd, so what you are seeing might be normal (but again, I don't actually know). I also believe that CPU power consumption is mostly related to the frequency state it is in, so deep sleep should mean low consumption (independent on cpu util %).

As I indicated in my previous post, I would sooner blame the radio chip or the battery than the CPU given your BBS screenshots.
[Sony Xperia XZ1 Compact Questions & Answers] profyler:
mi drain came back today... some days its there and some days its not...

what a fvcking piece of sh1t is this phone... im done with the all tests. time to try samsung.