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

sdm845-common: SELinux init and sync some configs from Xiaomi tree #1

Draft
wants to merge 6 commits into
base: T
Choose a base branch
from

Conversation

oobaboo
Copy link

@oobaboo oobaboo commented Sep 6, 2023

No description provided.

@oobaboo oobaboo force-pushed the selinux branch 2 times, most recently from 072f277 to 013b2aa Compare September 8, 2023 10:55
add_hwservice(rild, default_android_hwservice)
binder_call(rild, init)
set_prop(rild, vendor_default_prop)
binder_call(rild, hal_lgdata_default)

Choose a reason for hiding this comment

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

this one doesn't exist for me

add_hwservice(init, hal_nxpnfc_hwservice)
add_hwservice(init, hal_power_stats_hwservice)
add_hwservice(init, hal_thermal_hwservice)
add_hwservice(init, hal_vibrator_hwservice)

Choose a reason for hiding this comment

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

something in this pr broke the vibration motor.
hwservicemanager: Tried to start [email protected]::IVibrator/default as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.

I tried manually adding vendor.qti.hardware.vibrator.service to PRODUCT_PACKAGES and that suppressed the error but the hardware still won't function.

@sajattack
Copy link

sajattack commented Oct 3, 2023

Other than the handful of issues I mentioned, great work! Do you have any plans to remove SELINUX_IGNORE_NEVERALLOWS?

@sajattack
Copy link

Sorry it seems I missed the existence of this repo https://github.com/oobaboo/android_device_lge_common

bgcngm and others added 4 commits December 10, 2023 20:52
It's pointless when using extern "C".

Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d
Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.

Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0

FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0

Signed-off-by: Chenyang Zhong <[email protected]>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286
* Why bothering with C++ mangling when we can just build it as a standard C library?

Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d
@EmanuelCN EmanuelCN force-pushed the T branch 2 times, most recently from 3563407 to 20f91f0 Compare March 31, 2024 22:45
@EmanuelCN EmanuelCN force-pushed the T branch 2 times, most recently from fab04f3 to 91119f2 Compare April 15, 2024 18:45
@EmanuelCN EmanuelCN force-pushed the T branch 8 times, most recently from 1bfc915 to 8d0aa02 Compare May 7, 2024 12:52
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.

5 participants