This is essentially a reproduction of an xda-developers forum post, but it was on the nth page of Google results.
- inability to enrol/de-enrol fingerprints
- “Fingerprint hardware not available” messages
- Unable to unlock the device with fingerprints
This fix assumes you’re running TWRP, but anything which allows write access to /data should work.
- Boot into TWRP
- Go to
Advanced > File Manager
- Navigate to
/data/system/user/0(assuming the default profile)
- Reboot into Android and observe that fingerprints are gone and enrolment is working!