Under-display fingerprint sensor does not function as intended on the A52 5G.
### Describe the bug
After a lot of testing on multiple different ROMs, I found that the fingerprint sensor is able to successfully register the fingerprint with backlight colour set to either green or cyan. Will not register with backlight colour set to white. However, the sensor will not even attempt to detect unless backlight is set to white (which was the colour on Stock ROM).
**On PixelExperience GSI v2023.01.04, I was able to get the fingerprint sensor to register and consistently detect on white, but was unable to reproduce this when I wiped, clean flashed, and tried again, even when I fumbled with different settings for a few hours.**
Sometimes, when the colour is set to white (and with fingerprint registered with green/cyan), the phone will unlock successfully, but is not consistent in the slightest.
### To Reproduce
1. Be on an A52 5G (not sure if it's device specific, or will affect another device with in-display fingerprint sensor).
2. Set fingerprint backlight colour to either green or cyan.
3. Register one or more fingerprints.
4. Switch back to white.
5. Will not unlock. Or if it does unlock, will not be consistent.
6. Stay on white, and try to register fingerprints again.
7. Will refuse to register, instead, will flash 'fingerprint not recognized, please try again'.
### Expected behaviour
Fingerprint sensor registers and functions as normal, unlocks phone when a registered fingerprint is detected.
### Smartphone (please complete the following information):
- Device: Samsung Galaxy A52 5G
- Build Flavor: PixelExperience-Plus-arm64-ab-13.0-20231004, PixelExperience-Plus-arm64-ab-slim-13.0-20231004, EvolutionX-arm64-ab-7.5-20230105, AOSP-system-td-arm64-ab-vanilla ([android_13.0.0_r24 ci-20230131](https://github.com/TrebleDroid/treble_experimentations/releases/tag/ci-20230131)), tried all of them.
EDIT: I just flashed the latest Android 12 AOSP ROM, and it seems to work just fine. Will continue testing to attempt to reproduce positive results.
i have similiar issue with samsung SM-A355F and SM-985F with all Android13-GSI roms (systemui crashes when try to register fingerprint).With Android12 not problem
Current Behavior:
Under-display fingerprint sensor does not function as intended on the A52 5G. ### Describe the bug After a lot of testing on multiple different ROMs, I found that the fingerprint sensor is able to successfully register the fingerprint with backlight colour set to either green or cyan. Will not register with backlight colour set to white. However, the sensor will not even attempt to detect unless backlight is set to white (which was the colour on Stock ROM). **On PixelExperience GSI v2023.01.04, I was able to get the fingerprint sensor to register and consistently detect on white, but was unable to reproduce this when I wiped, clean flashed, and tried again, even when I fumbled with different settings for a few hours.** Sometimes, when the colour is set to white (and with fingerprint registered with green/cyan), the phone will unlock successfully, but is not consistent in the slightest. ### To Reproduce 1. Be on an A52 5G (not sure if it's device specific, or will affect another device with in-display fingerprint sensor). 2. Set fingerprint backlight colour to either green or cyan. 3. Register one or more fingerprints. 4. Switch back to white. 5. Will not unlock. Or if it does unlock, will not be consistent. 6. Stay on white, and try to register fingerprints again. 7. Will refuse to register, instead, will flash 'fingerprint not recognized, please try again'. ### Expected behaviour Fingerprint sensor registers and functions as normal, unlocks phone when a registered fingerprint is detected. ### Smartphone (please complete the following information): - Device: Samsung Galaxy A52 5G - Build Flavor: PixelExperience-Plus-arm64-ab-13.0-20231004, PixelExperience-Plus-arm64-ab-slim-13.0-20231004, EvolutionX-arm64-ab-7.5-20230105, AOSP-system-td-arm64-ab-vanilla ([android_13.0.0_r24 ci-20230131](https://github.com/TrebleDroid/treble_experimentations/releases/tag/ci-20230131)), tried all of them. EDIT: I just flashed the latest Android 12 AOSP ROM, and it seems to work just fine. Will continue testing to attempt to reproduce positive results.