-
Notifications
You must be signed in to change notification settings - Fork 657
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
[Xiaomi MIX 2S] NFC does not show up in settings, seapp_context_lookup: No match for app uid 1027 #58
Comments
Well, I'd like to start from scratch. There is no reason you'd need those libs, so please provide logs without those. And I'd rather get logs on AOSP if that's possible On the SELinux issue itself, your problem is that com.android.nfc gets seinfo default, while it should get seinfo platform. If you don't get the proper seinfo, it means your Nfc app isn't properly signed. It should be signed with ROM's platform certificate |
The origin log lines:
Full adb logcat is here: |
Your device has nfc app in /vendor? |
All files containing "nfc" in their name in MIUI vendor:
Full vendor file list: vendor-list.txt |
And in system from MIUI:
|
Today I flashed your AOSP v19 image and NFC is working. Seems a LineageOS specific problem. |
Add initial notch overlay for Xiaomi Mi Play, Redmi Note 7, Mi 9 and Mi 9 Lite(?)
Hello, I compiled gsi for my mix2s, and found the nfc does not show up in system settings. I searched the log and found it complains a lacking nxp nfc library. Then I compared with stock system image and modified devices/phh/treble/base.mk to add these lines:
Then logcat shows:
Could you please tell me how to make selinux happy about the nfc? Or I'm doing something wrong? Thanks very much!
The text was updated successfully, but these errors were encountered: