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

Question about Goodix Fingerprint #1

Open
DeckerSU opened this issue Mar 7, 2017 · 5 comments
Open

Question about Goodix Fingerprint #1

DeckerSU opened this issue Mar 7, 2017 · 5 comments
Assignees
Labels

Comments

@DeckerSU
Copy link

DeckerSU commented Mar 7, 2017

Do you have working Goodix Fingerprint on CM builded on this tree? Now i'm have a device with MT6755 CPU and same fingerprint and have a little problem. Seems all blobs and sepolicy are fine, if launch any app to test finger - seems it works, vibrate and read finger. But i can't add any fingers through standart Settings menu. It crashes:

03-07 18:09:43.197  3503  3503 D AndroidRuntime: Shutting down VM
03-07 18:09:43.199  3503  3503 E AndroidRuntime: FATAL EXCEPTION: main
03-07 18:09:43.199  3503  3503 E AndroidRuntime: Process: com.android.settings, PID: 3503
03-07 18:09:43.199  3503  3503 E AndroidRuntime: java.lang.NullPointerException: Attempt to write to field 'int android.app.Fragment.mNextAnim' on a null object reference
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at android.app.BackStackRecord.run(BackStackRecord.java:780)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at android.app.FragmentManagerImpl$1.run(FragmentManager.java:483)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:751)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6126)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
03-07 18:09:43.199  3503  3503 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
03-07 18:09:43.200   860  2059 I am_crash: [3503,0,com.android.settings,952647237,java.lang.NullPointerException,Attempt to write to field 'int android.app.Fragment.mNextAnim' on a null object reference,BackStackRecord.java,780]

Seems this happens in com.android.settings/.fingerprint.FingerprintEnrollEnrolling. Before i add finger :( In your build it works?

@DroidThug
Copy link
Owner

Same here. We had to restore the enrolled fingerprint data from stock.. I'll look into this and report back

@DroidThug DroidThug self-assigned this Mar 8, 2017
@DroidThug DroidThug added the bug label Mar 8, 2017
@DeckerSU
Copy link
Author

DeckerSU commented Mar 8, 2017

I think i get a solution ... but need some time to test. Fingers now enrolls correctly and added to base. But seems there is some problem, it doesn't recognize at lock screen. I will write here after some tests about a solution. BTW, where is enroleed fingerprint data is located on stock? I found an XML /data/system/users/0/settings_global.xml with fingers ID, but there is other data located?

@SscSPs
Copy link
Contributor

SscSPs commented Mar 8, 2017

data/app/mcRegistery @DeckerSU

@SscSPs
Copy link
Contributor

SscSPs commented Mar 8, 2017

https://youtu.be/lT6mEh2S-9c?t=12m25s
check this video, you can just mute it if you don't understand Hindi.
the process it till 19.00 to make the backup file for fingerprint data stored with stock

@DeckerSU
Copy link
Author

DeckerSU commented Mar 8, 2017

Heh ... more troubles coming ... fingers really stored in /data/app/mcRegistry/TbStorage, but here another trouble. PackageManager in Lineage see that /data/app/mcRegistry doesn't contain base apk and killing that folder:

03-08 22:34:34.110   633   633 W PackageManager: Destroying /data/app/mcRegistry due to: android.content.pm.PackageParser$PackageParserException: Missing base APK in /data/app/mcRegistry
03-08 22:34:34.110   633   633 I pm_critical_info: Destroying /data/app/mcRegistry due to: android.content.pm.PackageParser$PackageParserException: Missing base APK in /data/app/mcRegistry

Seems need to patch PackageManager in Lineage too ... working ... after i complete all - will post a solution.

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

No branches or pull requests

3 participants