Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add overlay files for Nubia red magic 6 series (6 6s 6 pro 6s pro) #60

Merged
merged 5 commits into from
Oct 17, 2023

Conversation

boydaihungst
Copy link

They use the same fingerprint: nubia/NX669J.
Tested on 6s pro.

@boydaihungst
Copy link
Author

This will fix auto-brightness not working and FOD UI. I will add a merge request to device_phh_treble to fix FOD soon.

@phhusson phhusson merged commit 3a0eb9b into TrebleDroid:pie Oct 17, 2023
@phhusson
Copy link

Just to confirm, in stock ROM you literally had config_udfps_sensor_props already? It wasn't auto-detected from some /sys or prop that could be read by GSI?

@boydaihungst
Copy link
Author

boydaihungst commented Oct 17, 2023

Just to confirm, in stock ROM you literally had config_udfps_sensor_props already? It wasn't auto-detected from some /sys or prop that could be read by GSI?

Yep. The item values are taken from stock Rom (hardcode in SystemUI.apk). They are using FPUI.java (which doesn't exist in GSI SystemUI.apk) to trigger fingerprint events and create a fingerprint mask (which also doesn't exist in GSI).
image.

@phhusson
Copy link

That's uh, a weird way to do it, but ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants