Magisk Manager Canary now supports BiometricPrompt for Pixel 4 Face Unlock
Magisk has basically become synonymous with root access on Android, and that’s because it’s the easiest way to gain root without directly modifying the system partition. Part of Magisk’s appeal is its companion app, Magisk Manager, which makes managing superuser access and installing Modules—archives packed with apps, scripts, and other files that systemlessly modify your device—super simple. XDA Recognized Developer topjohnwu, the creator of Magisk, maintains Stable, Beta, and Canary channels for his superuser tool and companion app, and he has announced a new feature for the Manager app: Biometric Authentication, specifically Face Unlock, for superuser requests.
Currently, Magisk Manager supports locking superuser requests behind fingerprint authentication when “Automatic Response” for superuser requests was set to “Prompt” and “Enable Fingerprint Authentication” was enabled in Settings. The app used the FingerprintManager API to show a custom fingerprint authentication dialog whenever an app requests superuser access. This API was deprecated in Android 9 Pie in favor of BiometricPrompt, a more generic API that presents a system dialog and works with any recognized, secure biometric authentication hardware.
In Android 10, secure facial recognition hardware is now recognized as a valid authentication method in BiometricPrompt, so apps using this API can present face authentication dialogs. Since the new Pixel 4 doesn’t have a fingerprint scanner, topjohnwu needed to update the Manager app so rooted Pixel 4 devices could use face authentication for superuser requests. If you have a Pixel 4 and download the latest Magisk Manager Canary version, you’ll notice that “Enable Fingerprint Authentication” has been replaced by the “Enable Biometric Authentication” setting. Turn this on and you’ll be able to use your face to authenticate superuser requests.
If any of your favorite apps haven’t updated to use BiometricPrompt yet, you can use the Fingerface Xposed Module to force face unlock support in all apps as a stopgap solution.
Want more posts like this delivered to your inbox? Enter your email to be subscribed to our newsletter.