yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Q&A, Help & Troubleshooting] tim cocos:
Still fingerprint hardware not available after watching YouTube videos

I even tried to relock the bootloader but still it shows the message especially after watching YouTube. What is the solution for this on non rooted xperia z5 compact?
[Xperia Z5 Q&A, Help & Troubleshooting] zate27:
You could root do this and then unroot:

Try renaming these files on /system/etc/firmware/

tzwidevine.b00 -> tzwidevine.b00.bak

tzwidevine.b01 -> tzwidevine.b01.bak

tzwidevine.b02 -> tzwidevine.b02.bak

tzwidevine.b03 -> tzwidevine.b03.bak

tzwidevine.mdt -> tzwidevine.mdt.bak

Then reboot.

Credits to some guy in this thread
[Xperia Z5 Q&A, Help & Troubleshooting] Painkiller1985:
I think I did this a while back when first getting this issue!!.. I've since tried to go unrooted legit and had this again, will attempt to do this tomorrow and report back
[Xperia Z5 Q&A, Help & Troubleshooting] Painkiller1985:
OK, so I was prepping my phone to do this, copied supersu to sd and reopened my bootloader to reroot, but my battery was a bit low so decided to do it in the morning..

Playing around that evening, not ONCE have I had any of the issues with my scanner, camera or video playback!!! Only catch being my android pay flags the bootloader as being open and denies me use - yet my banking app is still functioning a-ok!

Will relock my bootloader again tonight and see if the my lack of trouble continues :)
[Xperia Z5 Q&A, Help & Troubleshooting] tim cocos:
How to root?

How do i root my 7.1.1 nougat z5 compact? Pls give a link or just instructions to get a custom recovery. I cant find a custom recovery for z5 compact in clockwork mod. Thank you very much :)
[Xperia Z5 Q&A, Help & Troubleshooting] Karmaclown:
I have the e6653 stock nothing has been touched running 7.1.1, had fingerprint scanner on my old z5 it broke so got a new one through insurance but this one hasn't got fingerprint scanner. It still shows in app manager tho but not anywhere in settings or diagnostics....Did Sony switch it off or what ? I'm in UK and I think my phone is the UK version but I'm not to sure about that...
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
Looks like Sony actually removed the biometric sensor as a "business decision", I'd say your new phone is one without it and there are likely still ties in software leading back to it for some reason (sony mobile is horrible at cleaning code)
[Xperia Z5 Q&A, Help & Troubleshooting] Shivam1754:
Today... While using my phone...suddenly..my finger print got stop to recognize....and on lockscreen it's says "hardware not available"---then I restart my device and now my fingerprint from setting gone......

I Allred reflash stock rom....and tried this method also but in my setting fingerprint managers option not coming...PLEASE ANY BODY HELP ME....PLEASE.....I can't leave my device like having not finger print.....please help me
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
Sony has killed the sensor, we arent sure why... Your best bet would be to flash a custom ROM and Kernel.
[Xperia Z5 Q&A, Help & Troubleshooting] Shivam1754:
if i install Mokee open source project rom + gapps than after what my fingerprint will work???
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
Give it a shot and then report back here, clearly Sony doesn't want you using it so this is your only other option.
[Xperia Z5 Q&A, Help & Troubleshooting] Shivam1754:
I install mokee ROM but still fingerprint manage

Not showing in settings:crying:
[Xperia Z5 Q&A, Help & Troubleshooting] Shivam1754:
At last... I get success.... My fingerprint now working...and the option fingerprint manager is also come in setting.....This is Hardware problem...

1. I open the back cover of my device..

2. I reinsert the flex cable of power buttom tightly....

3. Than see in setting the fingerprint manager will come....

i got success.....yeeepepeeee
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
Great to hear! i'd be interested to see if this is a common problem... maybe the sensor comes loose after awhile...
[Xperia Z5 Q&A, Help & Troubleshooting] tim cocos:
Rooting problem

Please tell me how to root my 7.1.1 nougat z5c
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
please search the forums
[Xperia Z5 Q&A, Help & Troubleshooting] spankeer:
I having this issue after unlocking bootloader, someone know how to fix in 7.1.1 android, version 32.4.a.0.160. My phone is E6683.

I try to search in this topic, but i don't see for a real solution.
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
What are you using to to disable doze from interacting with the FP sensor?
[Xperia Z5 Q&A, Help & Troubleshooting] Kallu609:
Settings -> Battery Usage -> Battery Optimisation (Found at top right corner with the 3 dots)
[Xperia Z5 Q&A, Help & Troubleshooting] Bautinho88:
I had this bug only ones. A reboot solved this problem for me.
[Xperia Z5 Q&A, Help & Troubleshooting] rolo143:
I'm having this problem too, sometimes with Android MM. I'll try to undoze these fingerprint things to see if it works. Thanks!
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
deleted
[Xperia Z5 Q&A, Help & Troubleshooting] Kallu609:
Oh yeah, you also need to tap the "Not optimized" and select "All apps" from the dropdown.

I disabled doze yesterday for the fingerprint services and I think it also fixed it for me, works as intended.
[Xperia Z5 Q&A, Help & Troubleshooting] Sony guy:
Thank you , It solved :)
[Xperia Z5 Q&A, Help & Troubleshooting] khatidaal:
ditto with the z5 premium dual here :) thanks for the tip
[Xperia Z5 Q&A, Help & Troubleshooting] Kallu609:
Occured for me again even after undozing the items. Damn, it's really annoying.
[Xperia Z5 Q&A, Help & Troubleshooting] kiritoxda:
Are you using Greenify or PowerNap?
[Xperia Z5 Q&A, Help & Troubleshooting] Kallu609:
No, I have nothing related to battery saving installed.
[Xperia Z5 Q&A, Help & Troubleshooting] kiritoxda:
This only happens to me when i leave my phone idle overnight so i know the issue has to lie with Marshmellow Doze function, it's annoy since i have to reboot my phone every time i wake up to get back the fingerprint reader.
[Xperia Z5 Q&A, Help & Troubleshooting] TurkO546:
i never have this issues. i am using (5.1.1) 32.0.A.6.152 firmware ,unlocked bl ,rooted and DRM restored.
[Xperia Z5 Q&A, Help & Troubleshooting] quack3d:
The issue is only on MM, not Lollipop.
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
I still have this issue as well, went most of the weekend without having the issue after disabling it. Thought I was in the clear and then came up again last night... I don't have xposed or any battery saving app.
[Xperia Z5 Q&A, Help & Troubleshooting] ksc6000:
Really odd. This hasn't happened to me except the one time that was a week ago and I have xposed and greenify running. I feel like disabling doze for the three items did it for me. My only issue is how bad the scanner is. If my finger is a little sweaty or something it won't recognize.
[Xperia Z5 Q&A, Help & Troubleshooting] kiritoxda:
Has anyone try disabling Doze to see if that solves the problem?
[Xperia Z5 Q&A, Help & Troubleshooting] ksc6000:
Do you mean something other than what I did above your post?
[Xperia Z5 Q&A, Help & Troubleshooting] kiritoxda:
I mean completely removing the Doze function from working, like before the MM update where Doze didn't exist.

I've been using an app call "Doze Settings Editor" (http://xdaforums.com/android/apps-games/root-doze-settings-editor-android-t3235130) and set "Inactive Timeout" to 999999 to stop the Doze function from working. I left my phone alone over night and so far the fingerprint issue hasn't come up.

Also you can also try this: go to settings>apps>show system> select "Fingerprint Manager" go to Notifications and switch on "Treat as priority". Do this too for "Fingerprint ASM" and "com.fingerprints.serviceext".

Hope that helps.
[Xperia Z5 Q&A, Help & Troubleshooting] zate27:
Some people said the solution is to wipe the cache in TWRP. I also had this problem I didn't have it for now after wiping cache.
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
That's really odd, I think it's more the reboot that "fixes" it temporarily. I wipe the cache every time I have installed a rom and updates, and still have this issue.
[Xperia Z5 Q&A, Help & Troubleshooting] rolo143:
I tried disabling the battery optimization for fingerprint apps and the problem was gone for a while. But now I have this issue more often, I had to reboot my phone like three times now to fix it. It's very annoying, now it's more persistent, I dozed fingerprint apps again and still have this issue. Have anyone find a real solution for this thing?
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
I wonder if it would be possible to bring Sony's fingerprint manager over from Lolipop to MM. This issue never existed on Lolipop.... [MENTION=2112104]auras76[/MENTION] do you think this is something that is possible?
[Xperia Z5 Q&A, Help & Troubleshooting] kiritoxda:
download "Doze Settings Editor" from here http://xdaforums.com/andr...droid-t3235130 and set "Inactive Timeout" to 999999. This will stop the Doze function from working. It's the only solution i have that works.
[Xperia Z5 Q&A, Help & Troubleshooting] rolo143:
But that would mean disabling the doze function of MM therefore sacrificing more battery life, right?

Thanks for the tip
[Xperia Z5 Q&A, Help & Troubleshooting] kiritoxda:
meh, I only lose about 4% overnight without doze not a big deal just use Greenify and Amplify. We didn't have Doze before MM and we manage to get by i'm sure you'll be okay without.
[Xperia Z5 Q&A, Help & Troubleshooting] rolo143:
Ok I'll try it. By the way.. I'm losing 10% overnight. That's about 1% per hour. I use Greenify and Amplify. Is that normal?
[Xperia Z5 Q&A, Help & Troubleshooting] kiritoxda:
Not if you're using Amplify, Follow this guide for Amplify http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

Also Freeze these apps with TB http://xdaforums.com/showthread.php?t=2605711

Uninstall all bloatware if you're not using them, go to Settings>Developer options>Running services and see whats eating up resources. Uninstall/Freeze the ones you don't need. Make a backup first in-case something goes wrong, I'm not responsible for any damages.
[Xperia Z5 Q&A, Help & Troubleshooting] camaro322hp:
I can also confirm that undozing the 3 fingerprint items will not solve the problem. From my single sample, it does seem that it goes longer without it happening though. Before I undozed the 3 items, it would happen every 4-5 days. After undozing the 3 items, I got 11 days uptime before it happened. Maybe coincidence, not sure. I also tried wiping cache in TWRP so that is also not a permanent fix.

I suspect it must be related to something other than just doze since my phone dozed many times in the last 11 days, and it kept on working. Maybe it's a combination of doze and something else? Or not doze related at all? Not sure.

I may try the app that disables doze altogether. Any other ideas?
[Xperia Z5 Q&A, Help & Troubleshooting] Kallu609:
I completely agree with you, it seems to take longer after undozing but still it's not fully fixed.
[Xperia Z5 Q&A, Help & Troubleshooting] Zapan1990:
After the latest Android update I have this problem too. Undozing the fingerprint apps really did not help. Is there any other fix available yet?

I really don't want to send my phone to the hardwarepartner of sony in my country, because I've heard realy bad things about them. Sony just went ahead and delted my post in the official support forum. That's a way of solving the problem too I guess

PS: I'm on Firmware 32.1.A.1.185
[Xperia Z5 Q&A, Help & Troubleshooting] ksc6000:
Until Google fixes this, because this is happening to people with nexus devices as well, I don't know if Sony can do anything about it.
[Xperia Z5 Q&A, Help & Troubleshooting] allayarov.i:
Some guys from Russian forums like 4pda.ru say that they have not problem with fingerprint sensor if you have AndroPlus (https://kernel.andro.plus/kitakami_r2.html) kernel and deodexed rom (http://xdaforums.com/z5-compact/development/patch-deodex-patch-xperia-z5-compact-t3366998). But I did not check it yet. Be careful intalling AndroPlus on TWRP will remove SuperSu and TWRP.
[Xperia Z5 Q&A, Help & Troubleshooting] allayarov.i:
I think after installing only deodex patch (http://xdaforums.com/z5-c...mpact-t3366998) (I did not install AndroPlus Kernel) my fingerprint sensor repaired. I hope. At least whole day everything was ok. Before that my fingerprint stopped working after 2-3 hours.
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
so what kernel are you using stock?
[Xperia Z5 Q&A, Help & Troubleshooting] allayarov.i:
I'm on the stock kernel. It is already about week and I have no problem with fingerprint sensor. :D
[Xperia Z5 Q&A, Help & Troubleshooting] orsekfun:
problem solved, accessories settings, disable clean master or any other app. solves forever.
[Xperia Z5 Q&A, Help & Troubleshooting] allayarov.i:
Can you explain more precisely what do you mean? :confused:
[Xperia Z5 Q&A, Help & Troubleshooting] t4656:
I think I figured it out for myself at least. Under App permissions -> Body Sensors, I revoked permission from Google Play services. Haven't gotten the "not available" since.
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
I've tried this as well, lets hope for the best!
[Xperia Z5 Q&A, Help & Troubleshooting] dude9946:
I have tried this and once again got the message, how about you?
[Xperia Z5 Q&A, Help & Troubleshooting] t4656:
Hasn't shown up for me since. Used to happen daily.
[Xperia Z5 Q&A, Help & Troubleshooting] orsekfun:
I finally found a solution. No need to change anything in settings. Just when it becomes not available. Push the power button upwards. Its like sliding it up. Then try again it will work. Sounds like a hardware problem but it did start to happen after MM updated... so I'm not sure the real cause but that's how I make mine to work.
[Xperia Z5 Q&A, Help & Troubleshooting] Chito307:
Okay I have greenify and amplify and an app that puts my phone into deep sleep immediately after I lock my phone and when I turn my screen on I am also affected by the hardware not available however for everyone who has failed try going into battery optimization in settings and unchecking Google services framework to add Google services framework to the not optimized list. This does seem to be a software related issue with doze. Now the problem seems to go away.... Let me know if this works for you!
[Xperia Z5 Q&A, Help & Troubleshooting] halfblack:
Small update - I've been using RomAur 3.0 (.185). Recently he released 4.0 (.224). I did NOT pre-flash .224 stock, but went directly with formatting system, data, cache and dalvik. Afterwards flashed AndroPlusKernel 31 and RomAur 4.0.

So far not a single occurrence of the bug. Should anything change, I'll post.

EDIT: Nevermind, it's back. Got a whooping 3 days without this issue. I think I'll RMA it and sell, I guess. Too much stuff is wrong to barely acceptable for a flagship.
[Xperia Z5 Q&A, Help & Troubleshooting] zlabx:
Same problem for me since MM, even after all suggested tips, sometime nothing happen for 2-3 days but most of the time it is at least one issue per day.

In fact, also tried to configure/optimize with Powernap, greenify, Myandroidtools to disable services etc, nothing changed for this hardware unavailable issue.

.185 Slim Stock MM
[Xperia Z5 Q&A, Help & Troubleshooting] ksc6000:
Mine has happened twice since I've owned this phone for 2 months. I'm not too worried about it because the fingerprint scanner is SO bad. It's so bad I just use face unlock.
[Xperia Z5 Q&A, Help & Troubleshooting] zate27:
Uhm I hope you know that this isn't Sony's fault? Even Nexus devices have this bug.
[Xperia Z5 Q&A, Help & Troubleshooting] zlabx:
[MENTION=7397270]zate27[/MENTION] yep! But it was working good with LP rom, maybe that i should start from a really stock Sony rom and manage it to what i want.
[Xperia Z5 Q&A, Help & Troubleshooting] quack3d:
This fixed it for me as well. A week now without the issue. I wonder what features this disables though.
[Xperia Z5 Q&A, Help & Troubleshooting] KONG8691:
I figured it out with this method. Apps->Default Apps->Assist & voice input -> set"Assist app" as "None"
[Xperia Z5 Q&A, Help & Troubleshooting] ukformula:
This fixed it for me too, thanks. There's no longer any vibration feedback but I can live without that.
[Xperia Z5 Q&A, Help & Troubleshooting] t4656:
Whelp it showed up for me again today. At least its pretty rare now...
[Xperia Z5 Q&A, Help & Troubleshooting] ukformula:
It's back for me too. Not even a reboot is fixing it either. A shame as it's my favourite feature after the screen and water 'resistance'.

---------- Post added at 01:23 PM ---------- Previous post was at 01:19 PM ----------

Well it's working again after using this method and a reboot. I'm not counting anybchickens this time though.

I do love this phone but it's starting to remind me of my old N97 and not in a good way.
[Xperia Z5 Q&A, Help & Troubleshooting] Kallu609:
I had the setting as "None" by default. Still having the problem.
[Xperia Z5 Q&A, Help & Troubleshooting] Dong thanh tien:
Try freezing Fingerprints ASM.apk with Lucky patcher, you will see the error was fixed, but the error will occur again when watching youtube in some time!
[Xperia Z5 Q&A, Help & Troubleshooting] ImS0Raw:
I tried everything in this thread and it still doesn't work. Might be trying to make a custom ROM to fix this crap...
[Xperia Z5 Q&A, Help & Troubleshooting] shehabskull:
None of these solutions work for me unfortunately.. First I thought it causes by greenfiy or amplify so I disabled both and the problem is still here -_- I tried to record a logcat but it didn't help, will formating fix this ****in crap?

EDIT: it is not doze problem cause it is only happen to me while using my phone..
[Xperia Z5 Q&A, Help & Troubleshooting] Ikarisan:
I tried all your solutions above but none of them solved the problem.

But now I have found a solution for my "fingerprint problem"!

I remembered that I had installed an app, that uses the fingerprint sensor for authentication: "Keepass2Android"

After disabling the "use fingerprint to unlock" functionality in Keepass2Android everything works fine again.
[Xperia Z5 Q&A, Help & Troubleshooting] Antho02:
experiencing the same issue on my z5c, it happens now once a day (in the morning) since 5 days
[Xperia Z5 Q&A, Help & Troubleshooting] SamEkinci:
Kong's method has been working for me, haven't had it happen all day and ok Google still works.
[Xperia Z5 Q&A, Help & Troubleshooting] Antho02:
didnt work for me
[Xperia Z5 Q&A, Help & Troubleshooting] SamEkinci:
Well let's say that it slows the intervals, but no apparently it also doesn't fix it. ?
[Xperia Z5 Q&A, Help & Troubleshooting] ImS0Raw:
Right now I'm running 32.2.A.0.253 Nordic Combined, heavily modded, root, xposed etc... No problems for about two weeks now I think. Did Sony fix it perhaps?
[Xperia Z5 Q&A, Help & Troubleshooting] suihk:
I don't think it is because of the doze problem. I was watching YouTube Video last night, and it comes up a message said 'There was a problem while playing. Touch to Retry'. I turned off my screen and open it again, the fingerprint problem comes up and it happens every night. Once i reboot my device, everything fixed temporary. My phone is Z5 Dual E6683 32.2.A.0.224 with this kernel http://xdaforums.com/showpost.php?p=67141968&postcount=5
[Xperia Z5 Q&A, Help & Troubleshooting] quack3d:
Disabling body sensor from google play services fixed it for me for two months. Then I enabled it again temporarily, and now I keep losing the fingerprint sensor. Perhaps it needs to be disabled when fingerprint hardware is available/unavailable. And perhaps it then requires a reboot to 'save'. And perhaps it relies on another option somewhere.

All I know is that I had it working for a very long time with body sensor disabled and after I temporarily enabled it it doesn't work anymore.
[Xperia Z5 Q&A, Help & Troubleshooting] CrisperNeO:
No solution above worked for me. However I've found a symptom. Every time when smart lock kicked in again and locked the device after a while of idle, the issue would occur. E. g. When at trusted places and the device is idle overnight, it gets locked after a couple of hours, or when the device is off body and gets locked. However trusted devices doesn't seem to cause problem.

I'll try to figure out and maybe anybody can report as well.

---------- Post added at 11:14 AM ---------- Previous post was at 11:11 AM ----------

Good hint! But how to do it?

---------- Post added at 11:15 AM ---------- Previous post was at 11:14 AM ----------

Good hint! But how to do it?
[Xperia Z5 Q&A, Help & Troubleshooting] quack3d:
How to disable body sensor you mean? If I remember correctly: Settings - Apps - Google Play Services - Permissions
[Xperia Z5 Q&A, Help & Troubleshooting] CrisperNeO:
Found it, thanks. However my setting was already disabled. I enabled it and disabled it again.

I'll report back.
[Xperia Z5 Q&A, Help & Troubleshooting] Antho02:
i tried so many things...

- erase cach and dalvick

- remove battery optimisation for com.fingerprints and 2 other related app

- change google app to none as default app

- uninstall and desactivate google app

- uninstall xposed

but it still come once a day

reboot is the only way
[Xperia Z5 Q&A, Help & Troubleshooting] civicsr2cool:
We've got a thread about this in the z5c forums, YouTube probably makes it 7 or so videos before it does this. Has always since lollipop. When it does this ALL video on the phone ceases to work, Snapchat, vines, internal video. I haven't linked it to the fingerprint scanner yet but I'll keep an eye out now!

Edit: http://xdaforums.com/z5-compact/help/youtube-problem-z5c-t3281516