Android Fingerprint HAL / UDFPS Debugging
Under-display fingerprint especially is a cross-subsystem feature. A failure can originate in biometric state, the vendor sensor path or display illumination coordination.
01
Map the service lifecycle
Check provider registration, HAL/vendor process death, binder death and reconnection. A hardware-unavailable error after reboot may be an initialization race rather than a dead sensor.
02
For UDFPS, align display events
Authentication may depend on local HBM/brightness, panel mode and composition state. Compare biometric callbacks with SurfaceFlinger/composer and kernel display logs.
03
Check SELinux only when timestamps match
An avc denial can block a vendor path, but unrelated denials are common in noisy builds. Match contexts, object and exact operation to the failing fingerprint flow.