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

[OPPO A12] Fingerprint scanner not working #2641

Open
olsdf opened this issue Jul 16, 2024 · 1 comment
Open

[OPPO A12] Fingerprint scanner not working #2641

olsdf opened this issue Jul 16, 2024 · 1 comment

Comments

@olsdf
Copy link

olsdf commented Jul 16, 2024

Current Behavior:

I can't set up the scanner, just nothing happens on the screen

Describe the bug

I found out something here, it turns out that the scanner works, and even if you somehow force it to function in the system, you can register your finger.
But due to the fact that [email protected] is not compatible with this model, instead of launching the scanner the following happens:
07-16 10:39:16.937 899 899 E [email protected]: preEnroll
07-16 10:39:16.937 939 939 E fingerprint: fingerprint_pre_enroll
07-16 10:39:20.605 1244 2212 I ActivityTaskManager: START u0 {cmp=com.android.settings/.biometrics.fingerprint.FingerprintEnrollFindSensor (has extras)} from uid 1000
07-16 10:39:20.663 1244 1244 D FingerprintService: setActiveUser(0)
07-16 10:39:20.665 1244 1634 D PHH-Enroll: at com.android.server.biometrics.fingerprint.FacolaView.show(FacolaView.java:296)
07-16 10:39:20.665 1244 1634 D PHH-Enroll: at com.android.server.biometrics.fingerprint.FingerprintService$FingerprintServiceWrapper.enroll(FingerprintService.java:233)
07-16 10:39:20.665 1244 1634 D PHH-Enroll: at android.hardware.fingerprint.IFingerprintService$Stub.onTransact(IFingerprintService.java:387)
07-16 10:39:20.665 1244 1244 V FingerprintService: starting client EnrollClientImpl(com.android.settings) targetUserId: 0 currentUserId: 0 cookie: 0/0
07-16 10:39:20.665 899 899 E [email protected]: enroll
07-16 10:39:20.666 939 939 E fingerprint: fingerprint_enroll
07-16 10:39:20.666 939 939 D [email protected]: onError(result:1, error:1)
07-16 10:39:20.667 899 899 E [email protected]: onError 488844177408 0
07-16 10:39:20.667 1244 1244 V FingerprintService: handleError(client=com.android.settings, error = 1)
07-16 10:39:20.668 1244 1244 V FingerprintService: Done with client: com.android.settings
07-16 10:39:20.668 1244 1244 W FingerprintService: Got ERROR_HW_UNAVAILABLE; try reconnecting next client.
07-16 10:39:22.652 939 1053 D fingerprint: [silead_worker]I[_worker_set_state_unlock:139] set to STATE_IDLE************
07-16 10:39:22.963 939 1053 D [email protected]: onTouchUp()
07-16 10:39:22.963 939 1053 D fingerprint: [silead_worker]I[_worker_set_state_unlock:139] set to STATE_NAV************
07-16 10:39:22.963 939 1053 D fingerprint: [silead_worker]I[_worker_command_loop:244] work STATE_NAV
07-16 10:39:22.963 939 1053 D fingerprint: [silead_worker]I[_worker_command_loop:260] dispatch (3) STATE_NAV
07-16 10:39:22.963 939 1053 D fingerprint: [silead_nav]I[silfp_nav_command:90] nav-------------
07-16 10:39:24.820 939 1053 D fingerprint: [silead_worker]I[_worker_set_state_unlock:139] set to STATE_IDLE************
07-16 10:39:26.463 939 1053 D [email protected]: onTouchUp()
07-16 10:39:26.463 939 1053 D fingerprint: [silead_worker]I[_worker_set_state_unlock:139] set to STATE_NAV************
07-16 10:39:26.464 939 1053 D fingerprint: [silead_worker]I[_worker_command_loop:244] work STATE_NAV
07-16 10:39:26.464 939 1053 D fingerprint: [silead_worker]I[_worker_command_loop:260] dispatch (3) STATE_NAV

I was chatting with one user from the 4PDA forum and after he read my logs, he sent me a line with the content [email protected]
and points out to me that the scanner is not working because of this. For a long time we tried to understand what the reason was. I even removed this component from the system, but then I lost the ability to configure the scanner.
I tried many methods that would help me finally set up the scanner, but to no avail.
After the scanner cannot initialize itself, it enters the gesture navigation mode and therefore the scanner starts working. On Android 12 the situation is more interesting - after I try to configure the scanner, a window pops up with an error that the scanner could not be configured.
Although there are no errors at all on Android 10 and I already understand why. Because it initialized itself as “gesture navigation”, so no errors appear on the screen, and on Android 12 it doesn’t work that way.

To Reproduce

  1. Go to 'Settings'
  2. Click on 'Secutiry'
  3. Scroll down to 'Fingerprint'
  4. See error

Expected behavior

The scanner would have continued to be set up and I would have completed it successfully

Photos

Screenshot_20240716-124718
Screenshot_20240716-124710

Smartphone

  • Device: OPPO A12
  • Build Flavor: system-quack-arm64-ab-vanilla.img
  • Version: v215

Additional context

fingerprintaosp.txt

@Goku9650
Copy link

what is your build version can you please tell me i also want to install gsi on my oppo a12

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

No branches or pull requests

2 participants