F linker : CANNOT LINK EXECUTABLE /vendor/bin/hw/vendor.qti.camera.provider@2.7-service_64: library libcamera_metadata.so not found: needed by main executable
F linker : CANNOT LINK EXECUTABLE /vendor/bin/hw/vendor.qti.camera.provider@2.7-service_64: library libexif.so not found: needed by main executable
E CamX : [ERROR][UTILS ] camxosutilslinux.cpp:1183 LibMap() dlopen: dlopen failed: library libjpeg.so not found: needed by /vendor/lib64/camera/plugins/com.xiaomi.plugin.swjpegencode.so in namespace (default), on '/vendor/lib64/camera/plugins/com.xiaomi.plugin.swjpegencode.so'
Change-Id: Ie3572db410f8ec6b0f0e8de093498063083cb8b5
E vndksupport: Could not load /vendor/lib64/hw/camera.qcom.so from default namespace: dlopen failed: library libprocessgroup_shim.so not found: needed by /vendor/lib64/hw/camera.qcom.so in namespace (default)
The camera HAL forced stop because it could not load
/vendor/lib64/hw/camera.xiaomi.so which is due to the missing
symbol referenced in several libraries:
fiqri@Fiqri:~/proprietary_vendor_xiaomi_marble$ grep -i -r SetTaskProfiles
grep: proprietary/vendor/lib64/hw/com.qti.chi.override.so: binary file matches
grep: proprietary/vendor/lib64/libmialgoengine.so: binary file matches
grep: proprietary/vendor/lib64/libcamxcommonutils.so: binary file matches
This is because DECLS was removed in [1] on Android 15 QPR2, and
caused SetTaskProfiles() to be hidden, so shim SetTaskProfiles
with libprocessgroup_shim.
[1]: 3e7c17a8e7
Change-Id: Ic46aae47bdf6be09736fe89d798cb7017f07cc6c
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
- Its deprecated
vendor/lineage/config/BoardConfigSoong.mk:34: warning: TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_path
vendor/lineage/config/BoardConfigSoong.mk:42: warning: TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_enabled
vendor/lineage/config/BoardConfigSoong.mk:46: warning: TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_disabled
vendor/lineage/config/BoardConfigSoong.mk:50: warning: TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS is deprecated, please migrate to soong_config_set,lineage_health,charging_control_supports_bypass
vendor/lineage/config/BoardConfigSoong.mk:74: warning: TARGET_INIT_VENDOR_LIB is deprecated, please migrate to soong_config_set,libinit,vendor_init_lib
[W][2025-05-11T16:15:28-0400][1258695] logParams():267 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2025-05-11T16:15:28-0400][1258695] logParams():277 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
vendor/lineage/config/BoardConfigSoong.mk:34: warning: TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_path
vendor/lineage/config/BoardConfigSoong.mk:42: warning: TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_enabled
vendor/lineage/config/BoardConfigSoong.mk:46: warning: TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_disabled
vendor/lineage/config/BoardConfigSoong.mk:50: warning: TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS is deprecated, please migrate to soong_config_set,lineage_health,charging_control_supports_bypass
As one can see in cfq_arm_slice_timer(), the CFQ I/O scheduler supports
two parameters that can make it delay I/O: group_idle and slice_idle.
Restore I/O performance by setting both the group_idle and slice_idle
parameters to zero.
Bug: 213617178
Bug: 313578691
Change-Id: I02429876790a6456ca957ff7c38f0c8bf88127f9
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This tweak also aligns the policy with P23.
Test: boots with correct settings
Bug: 299975853
Change-Id: I0ed7088ddf2ff2fa0feca2197e5cc03c7f5c6778
Signed-off-by: Martin Liu <liumartin@google.com>
Logcats:
04-20 08:01:32.314 1310 1465 E minksocket: MinkIPC_QRTR_Service: client with node 1 port 591a went down
04-20 08:01:32.318 1310 1465 E minksocket: MinkIPC_QRTR_Service: client with node 1 port 591b went down
04-20 08:01:32.322 1310 1465 E minksocket: MinkIPC_QRTR_Service: client with node 1 port 591c went down
04-20 08:01:32.324 1310 1465 E minksocket: MinkIPC_QRTR_Service: client with node 1 port 591d went down
04-20 08:01:32.327 1310 1465 E minksocket: MinkIPC_QRTR_Service: client with node 1 port 591e went down
04-20 08:01:32.330 1310 1465 E minksocket: MinkIPC_QRTR_Service: client with node 1 port 591f went down
It's probably related to adsp firmware, but will Xiaomi fix it?
Let's just silence it for now.
Change-Id: Iea5acd5a5cf180f51504e1dce2f22b79f88f4695
system-background should only include efficiency cores
and restricted should do the same in order to save
power while the screen is off. Copy system-background
CPUs instead of hardcoding to account for platforms
with varying numbers of efficiency cores.
Change-Id: I3a46190a2fa76eb1e9061a605c6a2e74006975de
Gold+ cores use significantly more power than Gold cores.
Only allow top-app tasks to run on Gold+ to save power
and prioritize the most critical threads.
Change-Id: I95e5e18dfe0e5b6818eee1c589a22959bea4868a
Fixes the problem of no sound during a VoIP call on speaker, earpiece.
This fix is intended as an interim solution pending a proper resolution in the upstream audio stack.
- When changing the sound output, for example from the speaker to the regular one, the sound in the call disappears completely, this should be fixed as of now.
Resolve denial where mediacodec was attempting to read graphics config properties.
The following denial was resolved:
- avc: denied { read } for comm="EvtQ_c2.qti.avc" name="u:object_r:graphics_config_prop:s0" dev="tmpfs" ino=223 scontext=u:r:mediacodec:s0 tcontext=u:object_r:graphics_config_prop:s0 tclass=file
Added allow rule to permit mediacodec to read, open and get attributes of graphics_config_prop files.
Test: Verified no SELinux denials related to graphics_config_prop access by mediacodec.
Signed-off-by: Kleidione <kleidione@gmail.com>
- The vendor performance HAL tries to read certain sysfs entries like thermal status or hardware states to optimize power/performance balance.
- Add permission to fix:
avc: denied { read } for name="status" dev="sysfs"
scontext=u:r:vendor_hal_perf_default:s0
tcontext=u:object_r:sysfs:s0 tclass=file
Signed-off-by: AspectPower <95100392+AspectPower@users.noreply.github.com>
- Some system apps (Such as XiaomiParts HBM Mode) require read access to vendor sysfs nodes under /sys/class/graphics to retrieve backlight or framebuffer status. Denials were observed due to lack of directory search permissions.
- Add r_dir_perms to vendor_sysfs_graphics for system_app to resolve:
avc: denied { search } for name="backlight" dev="sysfs"
scontext=u:r:system_app:s0
tcontext=u:object_r:vendor_sysfs_graphics:s0 tclass=dir
Signed-off-by: AspectPower <95100392+AspectPower@users.noreply.github.com>
Add missing SELinux permissions to allow system_app to read GPU and CPU
stat-related files. These denials were causing runtime warnings and
potential performance metric issues.
- Allow access to /proc/stat for CPU stats
- Allow access to vendor_sysfs_kgsl and vendor_sysfs_kgsl_gpuclk for GPU stats
Signed-off-by: AspectPower <95100392+AspectPower@users.noreply.github.com>