yashsingh1/xdaforums huggingface dataset:
[LG G5 Questions & Answers] jgeisler:
I running my H850 on LOS microG version 14.1-10190110-h850 (Android 7.1.2) and have about 2%/h battery drain over night. The stats showed that during that time the phone is active way too much. Effectively, I think my phone doesn't really go to sleep.

So I installed BetterBatteryStats and that showed me that a NfcService:mRoutingWakeLock was active for about 80%. Everything else seems reasonable.

Then I went to the NFC settings to find they are grayed out and sometimes toggled on, some times toggled off. I even watched it switch automatically from off to on all while grayed out so I can't do anything about it.

I searched the forums and found this issue a couple of times but never with a definitive solution and most were more than two years old. Some say its a problem with nougat, some say is an app constantly trying to get NFC readings and one said that maybe some config file is wrong.

I also tried to set the IGNORE_WAKE flag via adb but that didn't help, or I did it wrong.

Does anybody know more about this problem and how to solve it? Or any suggestions how to research more into the root cause?

EDIT: I checked in safe mode and the NFC setting is still grayed out. Does that mean that I have a hardware problem? Is there a log file where I could check for a failed init? I am new to android but not new to programming, linux and embedded systems. I'm totally willing to learn and dig deeper into this.

I read somewhere that cleaning the battery contacts might help. Is that a hoax or is the NFC antenna maybe built into the battery?

EDIT2: I found a solution: Following this, I installed the driver linked there and now my NFC is working. The NFC toggle is enabled, I turn it off and get 2% battery drain total over night (before it was more like 12%). Thank you so much [MENTION=5809849]shunjou[/MENTION].

Now I wonder, should I inform LOS or microG developers about this?
[LG G5 Questions & Answers] shunjou:
Don't bother. Vulkan is also broken in 14.1, due to a mismatched blob (fix here). The only G5 maintainer that knew what he was doing decided to be rude and take a stance of not merging anything new into the 14.1 branches. His excuse was "cm-14.1 is no longer being actively developed for LG 8996 devices as all development has moved to 15.1", despite lg 8996 builds never being promoted to 15.1 even to this day. That nfc "fix" was also shamelessly picked into 15.1 instead of properly revising the HAL, so there probably isn't an issue from a clean 15.1 flash.
[Samsung Galaxy S7 Active Questions & Answers] haoside:
It cant into recovery and show me blue face restart always just like this.
[Samsung Galaxy S7 Active Questions & Answers] haoside:
[youtube]ag-WpHMGeys[/youtube]
[Asus Zenfone 5Z  Guides, News, & Discussion] sabpprook:
Sorry for my poor English, I'm a Taiwanese :P

Let's talk about something that bricking and unbricking this device...

I've got a Zenfone 5Z (ZS620KL) at version 80.30.96.111 and want to unlock the bootloader but get a error while using official unlock app.

And I found some article saying that it will only work at older version e.g. 80.11.37.49.

Thus, I tried to downgrade to version 80.10.8.54 and follow the guide from here.

https://xdaforums.com/zenfone-5z/how-to/guide-zenfone-5z-how-to-root-downgrade-t3815877

Guess what? I totally bricked this device and get black screen, with vol down + power button get vibrate only. :eek:

So, I went to ASUS official repair store and they want charge me about USD $300 to replace the motherboard, but I said no and told them I will try to revive this device by myself.

I made a special USB TYPE-C cable (as xiaomi edl usb cable) to let device boot into Qualcomm 9008 mode and follow this guide to revive this device.

https://www.firmware27.com/2018/05/firmware-asus-zs620kl.html (Draco_ZS620KL_QMSCT_download.pdf (Tutorial Flashing))

Here is the detail that unbricking this device

1. Download "WW_ZS620KL_80.30.96.111_MR2_20180921002943_release-user.raw.zip"

2. Download "CSC-ZS620KL-80.02.237.70-FAC-eng-20180810191100-factory.zip"

3. Unzip "WW_ZS620KL_80.30.96.111_MR2_20180921002943_release-user.raw.zip"

4. Install python 2.7

5. Goto directory /WW_ZS620KL_80.30.96.111_MR2_20180921002943_release-user.raw/factory_for_QMSCT

6. Execute "unparse_img.bat"

7. Extract "fs_image.tar.gz.mbn.img" from "CSC-ZS620KL-80.02.237.70-FAC-eng-20180810191100-factory.zip" to "WW_ZS620KL_80.30.96.111_MR2_20180921002943_release-user.raw" folder

8. Run QMSCT and follow the steps in "Draco_ZS620KL_QMSCT_download.pdf"

9. If success, hold vold down + power button to reboot, it will show the splash screen

10. Reboot to bootloader and use AFT v1.0.0.71 to flash "WW_ZS620KL_80.30.96.111_MR2_20180921002943_release-user.raw.zip" again

11. Reboot and get a fully functional device back

Conclusion: DO NOT DOWNGRADE TO 80.10.8.54 TO PREVENT THIS

The gallery

https://imgur.com/a/7oyswfC
[Asus Zenfone 5Z  Guides, News, & Discussion] peter_betos:
Does your guide relocks the bootloader back? :)
[Asus Zenfone 5Z  Guides, News, & Discussion] Cheeda212:
I wants to relock bootloader

Please sir i help me i wants to relock i will pay some for that
[Asus Zenfone 5Z  Guides, News, & Discussion] Cheeda212:
Does it relock bootloader

Relock bootloader
[Asus Zenfone 5Z  Guides, News, & Discussion] MystikMan97130:
Where i can find your flashtool version? Mine don't see ZS620KL :(
[Asus Zenfone 5Z  Guides, News, & Discussion] hamzasr:
Thanks a lot for this informative guide. You have been an angel to all the 5z users.

God bless you.!!
[Asus Zenfone 5Z  Guides, News, & Discussion] Cheeda212:
Finally, you wants to flash it

Haaaa,thess steps are ridiculously because at the end you flash your device with files which yoy build yourself, why not you chose raw image instead that , that file be around 2gb, it will be easy for flashing,
[Asus Zenfone 5Z  Guides, News, & Discussion] sabpprook:
It is able to flash raw firmware while device under qualcomm 9008?
[Asus Zenfone 5Z  Guides, News, & Discussion] sabpprook:
Here you are

https://drive.google.com/open?id=1kBuHSmAahsslDe8m2rKRkC-Qj_23yFTh
[Asus Zenfone 5Z  Guides, News, & Discussion] MystikMan97130:
Thanks Man :)
[Asus Zenfone 5Z  Guides, News, & Discussion] zhuchella:
sabpprook

Can U put all files Your used in one place ?
[Asus Zenfone 5Z  Guides, News, & Discussion] Cheeda212:
Saharaa fail error

I got sahara fail error when i use qmpct

---------- Post added at 05:09 AM ---------- Previous post was at 05:08 AM ----------

Sahara fail error
[Asus Zenfone 5Z  Guides, News, & Discussion] coffeejp:
"Draco_ZS620KL_QMSCT_download.pdf" can not download.

QMSCT can not download.

help me.:crying:
[Asus Zenfone 5Z  Guides, News, & Discussion] mmahith18:
Just flash fastboot rom
[Asus Zenfone 5Z  Guides, News, & Discussion] coffeejp:
Sorry for my poor English. I am Japanese. :P

fastboot does not work.

It was broken while introducing twrp.

Power does not come on.

I can connect to a PC.

It is recognized as "qualcomm hs-usb qdloader 9008".

special USB TYPE-C cable (as xiaomi edl usb cable) ← Created.

:crying:
[Asus Zenfone 5Z  Guides, News, & Discussion] Team845z:
Anyone here has a own copy of 80.10.54 firmware for 5z? SKU WW. Thanks
[Asus Zenfone 5Z  Guides, News, & Discussion] ajbash007:
you can get it from asus website

---------- Post added at 06:48 PM ---------- Previous post was at 06:47 PM ----------

did you changed your slot in fastboot mode... before installing twrp
[Asus Zenfone 5Z  Guides, News, & Discussion] Team845z:
The version that I'm looking for downgrade is not available in asus website
[Asus Zenfone 5Z  Guides, News, & Discussion] amusing_ankesh:
Asus ruined my life.

I don't know how i got your tutorial totally wrong, my zenfone 5z is now running version WW_eng-8.02 , although fastboot still alive but neither raw firmware, nor SMSCT is working, am not even able to boot into Bootloader emergency, it goes into infinite boot loop. It won't flash TWRP or any boot image. Asus Flash Tool version> 1.45 not working at all, they check and say update your version. Is there any chance to debrick? My device wasn't passing Google safety check test and my private data was being shared, so all i was trying to do is relock the bootloader. Asus totally suck man, no support from ASUS End , all they did is provided us tool to unlock bootloader so that they can burn our pocket, there's no support as well from XDA dev. I don't know what to do now. The device ain't worth spending single penny on support. Big no no to any Asus product, I'll totally go I-Phone way. Among all devices i purchased till now, this one was the most powerful but most disappointing at the same time with totally negative support from day 1.
[Asus Zenfone 5Z  Guides, News, & Discussion] sabpprook:
Why your device is running version WW_eng-8.02, didn't you follow the tutorial to unbrick?

Anyway, here is the AFT 1.0.0.71 (update bypassed) to flash raw.zip

https://drive.google.com/file/d/13xZlvJ4gXZodzQW_GD8P5gKV0jCmbTGP/view?usp=sharing
[Asus Zenfone 5Z  Guides, News, & Discussion] sabpprook:
Do not downgrade to 80.10.8.54, it will brick your device in my experience.
[Asus Zenfone 5Z  Guides, News, & Discussion] amusing_ankesh:
Since last 30 mins the state is Installing and Description is : request the signature from server failure (Your preset FRP account is not found).
[Asus Zenfone 5Z  Guides, News, & Discussion] amusing_ankesh:
Dude i already have root access, just me how to edit the configuration without going into edl mode. I'll keep that as last resort.
[Asus Zenfone 5Z  Guides, News, & Discussion] amusing_ankesh:
thanks man

i didn't needed cable as adb was working, took some sahara error but got back to WW-80.30:D:D:D

:D:D:D
[Asus Zenfone 5Z  Guides, News, & Discussion] btuhin17:
Hello...any prosscer to possible to relock bootloader and claim warrenty..my device just 3 month old.. and i unlock the bootloader..and some time i notice that my phone have a problem screen burn-in issue manufaturer issue.how to claim my warrenty..and how to relock my bootloader..sorry for my worst qulity english
[Asus Zenfone 5Z  Guides, News, & Discussion] amusing_ankesh:
Not possible even after following this guide, the bootloader is still lokced. Don't know if any other method exist.
[Asus Zenfone 5Z  Guides, News, & Discussion] Vlotho42:
I followed this guide after losing fastboot (black screen only and no response at all) and got fastboot working again. I tried flashing images from the payload dumper output(newest stock p from Asus website) from the other thread for rooting and unbricking and every image was successful except for vendor(error reading sparse file). I tried rebooting bootloader but kept getting error for vendor only. I tried erasing the partition and trying again but randomly shut off and no fastboot or any response again. Only this time it doesn't show up as Qualcomm 9008 on my computer. I made a cable with the green wire and ground shorted (for edl) but that doesn't work. And I've tried every possible button combo still nothing. Also have been charging the phone for a few hours because I have no idea where its at as I've been messing with this for almost a week now and haven't seen the percentage since last successful boot to stock. Last I saw a percentage was when I booted to twrp before i lost fastboot it was 100% so I doubt its that but idk. I'm not sure where to go from here.

I was able to flash lineage os originally but it kept getting stuck at boot animation and I could flash back to stock successfully(went back and forth a few times and no problems until I randomly had this problem with losing fastboot). Any help would be appreciated. Thanks

Also something to note for this thread is that I needed to install different drivers that I found somewhere else for this to work. Also I only needed the ***fac-for-qmsct* firmware. The first two were useless and I have no idea what their purpose is. Also didn't need to modify anything. Just needed to install qpst. Installed qdart. Installed newer drivers. And run the test on qmsct. If you're running into problems then either redo everything from scratch on a different computer or try to wipe all remnants of qpst, qdart, drivers, and any other unbricking solutions you downloaded and start from scratch. Also one last thing is it only works if you allow qpst to talk on public and private networks when windows asks. Not sure why it needs internet but it only worked with that for me.

UPDATE**

I took the back cover off the phone (actually wasn't that hard) and disconnected the battery for a while and reconnected it, but still nothing. Also tried shorting the edl pins(not sure if I'm shorting the right ones or not as there isn't a proper diagram anywhere I could find) I used the diagram for the ze620kl instead which is very similar. Still nothing tho. I'm starting to think the motherboard is toast. Any ideas, please share.

One last thing that I'm confused about. On my laptop, I have a type c thunderbolt port and when I connect the phone to that port device manager updates and sees "Intel(R) USB 3.1 extensible Host Controller 1.10" and when I disconnect the phone, it disappears. I only get an update on device manager with this one port which I don't understand why.
[Asus Zenfone 5Z  Guides, News, & Discussion] DroneJC:
Im also in the same state...no response from the phone..no vibration..no screen...no led...just dead...i removed the cover the followed the guide to tap the edl pins..no response....im still searching for correct edl....

---------- Post added at 08:36 PM ---------- Previous post was at 08:34 PM ----------

How did you get the fastboot working again..by that guide,,,did you put that in FB mode?? or what...pls share the method you followed
[Asus Zenfone 5Z  Guides, News, & Discussion] DroneJC:
How did you make this cable.. Can you post the pics of the cable you made so that I can do it myself??
[Asus Zenfone 5Z  Guides, News, & Discussion] Vlotho42:
I just took an old USB cable and shorted the green wire to black wire. There's videos online. However I must say, that never worked for me. When u plug your phone in do you see anything update on device manager? If so what does it show up as?
[Asus Zenfone 5Z  Guides, News, & Discussion] DroneJC:
After series of trial and errors.... plug in detected...but says usb descriptor failed

---------- Post added at 10:40 AM ---------- Previous post was at 10:29 AM ----------

Please elaborate the process you followed....
[Asus Zenfone 5Z  Guides, News, & Discussion] Vlotho42:
Did you install Qualcomm 9008 drivers? Go to the firmware27 link from the OP and follow the instructions in the Draco PDF link. That got me far enough iniitaly to get device manager to detect the device .
[Asus Zenfone 5Z  Guides, News, & Discussion] DroneJC:
Yes...I tested with my another android device and the device detected in 9008 mode....I need to do it with this 5Z

---------- Post added at 11:04 AM ---------- Previous post was at 11:03 AM ----------

Also even if i short the green and black wires...do I have to press V+V-+P and plug in with green black short??? or should do either of the two at one instance?
[Asus Zenfone 5Z  Guides, News, & Discussion] Vlotho42:
I tried many different combinations of plugging in while shorting, plugging in after shorting and holding different buttons while and after shorting and nothing worked. The first time it was already in 9008 mode so I didn't need the cable so idk which one is right. My device won't show up at all anymore so I'm also still stuck, but it worked the first time. What did you do that led to this?

---------- Post added at 12:19 PM ---------- Previous post was at 12:09 PM ----------

I wouldn't recommend trying random pins to short on the board tho. I messed up my USB port on my computer by doing that
[Asus Zenfone 5Z  Guides, News, & Discussion] DroneJC:
If i short the green and black wires...do I have to press V+V-+P and plug in with green black short??? or should do either of the two at one instance?
[Asus Zenfone 5Z  Guides, News, & Discussion] DroneJC:
Hi..i somehow managed to enter in to EDL mode...now i followed the guide...the process was PASS...now after that i disconnected the USB...and pressed voldown and power...no response..did i miss anything?

---------- Post added at 02:02 PM ---------- Previous post was at 02:00 PM ----------

ALso the AFT says...version verification file from FTP failed...if im connected to internet...it says you need to update the version and directs me to SIP.asus something website...how to do it...
[Asus Zenfone 5Z  Guides, News, & Discussion] kovacszk:
Hello Please help me :)

I birck my phone with .54 rom.

I follow this steps, but when i run qsmct always the same.

RUN:	QSaharaServer_DownloadArmPrg

Always freez this point.
[Asus Zenfone 5Z  Guides, News, & Discussion] kemz1997:
Stuck at RUN:	QSaharaServer_DownloadArmPrg ErrorCode: Test timed out after 150000 sec

I keep on getting stuck at

Temp: Loading Assembly: C:\Program Files (x86)\Qualcomm\QDART\bin\SubSysSwDownload.dll

Debug: ------------DelayBasedOnPanel--------------

Debug: Panel Number 1 Waiting for Milli Secs: 1000

Debug: Waiting for device

Debug: ------------------------Util_LogicalDriveToPhysicalDrive------------------------

Debug: *****Port number is 5

Debug: Looking for port COM5

Debug: Port Detected COM5

Debug: Target Port Match found!

Debug: ----------------QSaharaServer_DownloadArmPrg-----------------

Debug: Starting QSaharaServer_DownloadArmPrg

CallBack: ***** Working Folder:C:\Qualcomm\QSPR\TraceLogs\SWDL\COMPORT_5

Timed out while running the TestTree. Shutting down QSPR

Please disconnect and reconnect the device to restart the test.

Please hellpppp.

---------- Post added at 06:12 PM ---------- Previous post was at 06:07 PM ----------

Did you get this fixed?
[Asus Zenfone 5Z  Guides, News, & Discussion] Paan_Luffy:
Can This Guide Will Relock Back My Bootloader
[Asus Zenfone 5Z  Guides, News, & Discussion] hd99:
I was trying to downgrade my firmware during which i installed twrp recovery and then when i tried to reboot the phone it used to stuck on asus logo, then i changed the active slot to b after which my phone was working fine.

But then i changed it back to slot a after which i am not able to power on my phone. No fastboot or recovery mode. Though i was able to put it in qualcomm 9008 mode and followed the above steps, still no success. IN QMSCT it always says timeout.

Please Help
[Asus Zenfone 5Z  Guides, News, & Discussion] pravin073:
Can not download darco pdf for guide of QMSCT 9008 for asus zenfone 5z

Please provide another link of pdf or provide pdf for easier download there is no any google drive access to download pdf for Asus Zenfone 5z Qmsct 9008 guide darco.pdf
[Asus Zenfone 5Z  Guides, News, & Discussion] superfes:
Hey, I have the PDF, I don't remember which link I used to find it, but I did eventually get it.

I just uploaded the PDF to AFH here: https://www.androidfilehost.com/?fid=4349826312261723229
[Asus Zenfone 5Z  Guides, News, & Discussion] missfitlove:
Same problem with video

https://youtu.be/rlsfFL81kIs needs some help
[Asus Zenfone 5Z  Guides, News, & Discussion] missfitlove:
Can any buddy provide me qdart application it's my humble request
[Asus Zenfone 5Z  Guides, News, & Discussion] missfitlove:
I'm able to put into edl mode :D:D:D:D put i don't have qdart please provide me the link for the historical think happen.. And i promise i will Share you guys how to put in edl mode by edl pin point. Please provide ms ths link of QDart.
[Asus Zenfone 5Z  Guides, News, & Discussion] AmeyDude:
Link for QDART in DRACO pdf not working

Can someone please share a link for the QDART zip. The link in the pdf gives error that user might have removed the files
[Asus Zenfone 5Z  Guides, News, & Discussion] AND1 Master:
Hey guys. Hope you all had a great weekend.

I'm trying to flash the raw firmware but I got an error saying "Request the signature from server failure (Unauthorized FRP account)". How can I bypass that?
[Asus Zenfone 5Z  Guides, News, & Discussion] prvnyadav28:
Zenfone 5z bricked

I have been facing this issue with this guide. When i try to install zip through qdart. It says that fhlaoder fail: process fail. My phone is always in edl.mode as soon as i connect to laptop it connects in edl.mode and when qdart starts sending software throught qdart phone disonnects for a brief second and reconnets causing fhloader error. I also have doubt regarding the file which i need to flash. In the guide its the qmsct file. On xda he said to download CSC file and his screenshot he is flashing raw file through qdart.
[Asus Zenfone 5Z  Guides, News, & Discussion] AmeyDude:
Can you please attach the QDART ZIP, it would be very helpful or maybe provide a link?

And how did you get your phone in edl mode?
[Asus Zenfone 5Z  Guides, News, & Discussion] missfitlove:
I lost my emei please help
[Asus Zenfone 5Z  Guides, News, & Discussion] missfitlove:
Darling use qfil 2. 76

Aft
[Asus Zenfone 5Z  Guides, News, & Discussion] btuhin17:
when i flash via Qdart tools

Stuck his massege

"RUN: QSaharaServer_DownloadArmPrg"

I trying to flash multiple times but problem not fix
[Asus Zenfone 5Z  Guides, News, & Discussion] Bhanu Akay:
I have struck my Asus ZenFone 5z in boot loop I can't open my device plzz hepl me
[Asus Zenfone 5Z  Guides, News, & Discussion] AmeyDude:
Can u please show me the steps to do so with qfil??
[Asus Zenfone 5Z  Guides, News, & Discussion] Ritesh.:
I followed the guide but qmsct is stuck a RUN QSaharaServer_DownloadArmPng even after i left it overnight by increasing the timeout
[Asus Zenfone 5Z  Guides, News, & Discussion] SkullDice666:
I'm having the same issue and I got it to detect by using a pair of forceps like you did but I'm stuck at QDART.

When I try to install it is missing the step where it asks which plugins to load and security configuration

- Factory

- R&D

When I try to open QMSCT its missing the Setup --> Configuration options. It just says File and Help.

I restarted my comp and did the Disable Imposition of Windows drivers through advanced settings again.

I opened the QDART setup files as admin.

I have tried uninstalling it and reinstalling it a few times and even went to Custom and selected install this and any additional files or something like that.

I did notice that QMSCT was not under QDART in the startup menu but it was under its own folder and it had a different icon as well.

PDF

MY COMPUTER:

I'm gonna go back and check the steps again and maybe even just reorganize it in bullet form because I have ADHD and I do better when things are numbered and all that.
[Asus Zenfone 5Z  Guides, News, & Discussion] SkullDice666:
It ended up working. Thanks OP!
[Asus Zenfone 5Z  Guides, News, & Discussion] sylveon cheung:
i followed your procedure and result in

QSaharaServer_DownloadArmPrg

Test tree ended at 2021/9/26

fail in QMSCT.....
[Asus Zenfone 5Z  Guides, News, & Discussion] RASTA_DANEK:
hi guys i have totally dead phone i can only enter to edl mode by shorting the pins on the mainboard i tried to unbrick but i every it ends with error can someone help me. I tried it on 2 laptops and pc on windws 7, 8.1 and 10 and the same every time I put logs from the qmsct. What is the OpenPort:5971? I also tried a few cables
[Asus Zenfone 5Z  Guides, News, & Discussion] rodrigo2019:
Anyone solved the problem about the QSaharaServer timeout?

I'm still getting the message:

"RUN: QSaharaServer_DownloadArmPrg"
[Asus Zenfone 5Z  Guides, News, & Discussion] rodrigo2019:
I figured it out how to solve the problem about the QSaharaServer timeout.

The issue was that I was waiting to long to start the process after put the cellphone in the edl mode, when I did the process immediately after puting it in edl, everything worked