Skip to content

add: nubia red magic 6 series udfps/fod#5

Merged
phhusson merged 3 commits intoTrebleDroid:android-14.0.0_r2-tdfrom
boydaihungst:android-14.0.0_r2-td
Oct 20, 2023
Merged

add: nubia red magic 6 series udfps/fod#5
phhusson merged 3 commits intoTrebleDroid:android-14.0.0_r2-tdfrom
boydaihungst:android-14.0.0_r2-td

Conversation

@boydaihungst
Copy link

@boydaihungst boydaihungst commented Oct 14, 2023

This will fix fod for Nubia Red Magic 6 series. Tested on my device.
Please merge these PRs first, otherwise, FOD will not work:

Device model: NX669J/NX669S

screen-20231014-125142.2.mp4

Screenshot_20231014-065356~2
Screenshot_20231014-125105

for (Callback cb : mCallbacks) {
cb.onFingerDown();
}
if(SystemProperties.get("ro.vendor.build.fingerprint").contains("nubia/NX669")) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be either some timing or some call back for that 14 event, since that event is supposed to say "hey the green/white circle with HBM is displayed" which should take few frames. Having this timing/callback would probably improve the responsiveness of the FOD.

That being said, I can merge it as-is if you're satisfied with it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to delay for fingerprint white/green circle. After sending the cmd "13" sensor takes 25-200ms to scan the fingerprint. It is enough time for HBM active. In the source code, it only delays 10ms for HBM to be active. It never fails to scan fp for me.

@phhusson phhusson merged commit 6d9abbe into TrebleDroid:android-14.0.0_r2-td Oct 20, 2023
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