-
Notifications
You must be signed in to change notification settings - Fork 664
Enable fingerprint halo light for optical sensor on Huawei Mate 20 Pro #468
Comments
I'm not too sure what you say. |
Ah sorry, There is no halo light as is in the stock rom. Means it does not work for unlocking the screen .. I could not enable it at all.. |
Ok, should be fairly easy to fix then. Basically, you'll need (on my aosp v112) to set the following properties: Once you do that, android will show you a light green circle where to put your finger, and when you press your finger there, it will make the brightness at 100% while diming the rest of the screen (so as not to blind you if you were at low brightness) To improve this further, you should set this in a framework-res overlay:
|
Ah cool!! I will test it and report back.. Thanks a million! |
Amazing , it works!! How can I port this to other roms? like Lineage? |
Could you get me your ro.vendor.build.fingerprint and tell me what values did you use for x_y and width_height? The patch is at phhusson/platform_frameworks_base@64b2e6d |
[[ro.vendor.build.fingerprint]]: [[kirin980/kirin980/kirin980:9/PPR1.180610.011/jenkins03052134:user/release-keys]] I havent fine tuned the location yet, I will post it here once i get the values.. |
@deepsrd any news? :-) |
So sorry, I was on holidays.. I will experiment more and update here as I get closer.. |
Are this things fixed. Thanks and regards, Diazz72. |
He needs coords, size and hal |
Add resources for OPPO A54 (CPH2239)
The mate 20 Pro has a similar optical fingerprint sensor as the Mi9.
The halo need to be enabled to it to work properly.
The fingerprint does work however, it needs the scrrrn to be on a high brightness level
I have attached the logcat from the Phh-Trable GSI build 112, this is of the fingerprint enrollment using the system app.
The text was updated successfully, but these errors were encountered: