Compare commits
10 Commits
44a9deba14
...
1676adbf85
Author | SHA1 | Date | |
---|---|---|---|
|
1676adbf85 | ||
|
79d2c1287f | ||
|
781ddd5405 | ||
|
8d912d2156 | ||
|
9d80421aab | ||
|
74cf97bdb2 | ||
|
41bb446a75 | ||
|
50972758d9 | ||
|
04419dcc81 | ||
|
9305a597e2 |
@@ -123,6 +123,7 @@ BOARD_ROOT_EXTRA_FOLDERS := \
|
||||
# Platform
|
||||
BOARD_USES_QCOM_HARDWARE := true
|
||||
TARGET_BOARD_PLATFORM := kalama
|
||||
TARGET_KERNEL_ADDITIONAL_FLAGS += TARGET_BOARD_PLATFORM=$(TARGET_BOARD_PLATFORM)
|
||||
|
||||
# Properties
|
||||
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop
|
||||
|
@@ -155,8 +155,8 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# Health
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.health-service.qti \
|
||||
android.hardware.health-service.qti_recovery
|
||||
android.hardware.health-service.samsung \
|
||||
android.hardware.health-service.samsung-recovery
|
||||
|
||||
# Hotword enrollment
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@@ -199,3 +199,10 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
|
||||
ioprio rt 4
|
||||
task_profiles ProcessCapacityHigh HighPerformance
|
||||
onrestart restart audioserver
|
||||
|
||||
service vendor.audioadsprpcd_audiopd /vendor/bin/audioadsprpcd audiopd
|
||||
override
|
||||
class main
|
||||
user media
|
||||
group media
|
||||
setenv ADSP_LIBRARY_PATH ";/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp;/vendor/dsp;/odm/lib/rfsa/adsp;/vendor/lib/rfsa/adsp"
|
||||
|
4
sepolicy/private/system_server.te
Normal file
4
sepolicy/private/system_server.te
Normal file
@@ -0,0 +1,4 @@
|
||||
# CachedAppOptimizer
|
||||
allow system_server audioserver_tmpfs:file rw_file_perms;
|
||||
allow system_server zygote_tmpfs:file rw_file_perms;
|
||||
allow system_server tmpfs:file rw_file_perms;
|
1
sepolicy/private/untrusted_app.te
Normal file
1
sepolicy/private/untrusted_app.te
Normal file
@@ -0,0 +1 @@
|
||||
allow untrusted_app window_service:service_manager { find };
|
1
sepolicy/vendor/charger_vendor.te
vendored
Normal file
1
sepolicy/vendor/charger_vendor.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
allow charger_vendor vendor_sysfs_battery:file r_file_perms;
|
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
@@ -74,6 +74,7 @@
|
||||
/(vendor|system/vendor)/bin/hermesd u:object_r:hermesd_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android.hardware.sensors-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint(@[0-9].[0-9])?-service\.samsung u:object_r:hal_fingerprint_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.health-service\.samsung u:object_r:hal_health_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.2-service u:object_r:hal_secure_element_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/nxp\.android\.hardware\.nfc@1\.2-service u:object_r:hal_nfc_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/sehradiomanager u:object_r:sehradiomanager_exec:s0
|
||||
|
3
sepolicy/vendor/hal_audio_default.te
vendored
3
sepolicy/vendor/hal_audio_default.te
vendored
@@ -18,3 +18,6 @@ get_prop(hal_audio_default, vendor_radio_prop)
|
||||
allow hal_audio_default hal_bluetooth_a2dp_hwservice:hwservice_manager find;
|
||||
|
||||
dontaudit hal_audio_default default_prop:file { read open getattr map };
|
||||
|
||||
# Allow binder calls from audio hal to system app
|
||||
binder_call(hal_audio_default, system_app)
|
||||
|
3
sepolicy/vendor/hal_camera_default.te
vendored
3
sepolicy/vendor/hal_camera_default.te
vendored
@@ -31,3 +31,6 @@ set_prop(hal_camera_default, sec_camera_prop)
|
||||
allow hal_camera_default system_server:binder call;
|
||||
|
||||
allow hal_camera_default rild:unix_stream_socket connectto;
|
||||
|
||||
# Allow binder calls from camera hal to system app
|
||||
binder_call(hal_camera_default, system_app)
|
||||
|
3
sepolicy/vendor/hal_fingerprint_default.te
vendored
3
sepolicy/vendor/hal_fingerprint_default.te
vendored
@@ -22,3 +22,6 @@ allow hal_fingerprint_default vendor_biometrics_data_file:file create_file_perms
|
||||
|
||||
# Allow fingerprint HAL to search vendor_sysfs_battery files
|
||||
allow hal_fingerprint_default vendor_sysfs_battery:dir search;
|
||||
|
||||
# Allow binder calls from fp hal to system app
|
||||
binder_call(hal_fingerprint_default, system_app)
|
||||
|
3
sepolicy/vendor/hal_health_default.te
vendored
3
sepolicy/vendor/hal_health_default.te
vendored
@@ -11,3 +11,6 @@ allow hal_health_default hal_thermal_samsung_hwservice:hwservice_manager find;
|
||||
binder_call(hal_health_default, hal_thermal_default)
|
||||
|
||||
allow hal_health_default sysfs:file { getattr open read };
|
||||
|
||||
# Allow binder calls from health hal to system app
|
||||
binder_call(hal_health_default, system_app)
|
||||
|
2
sepolicy/vendor/hal_memtrack_default.te
vendored
Normal file
2
sepolicy/vendor/hal_memtrack_default.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Allow binder calls from memtrack hal to system app
|
||||
binder_call(hal_memtrack_default, system_app)
|
3
sepolicy/vendor/hal_power_default.te
vendored
3
sepolicy/vendor/hal_power_default.te
vendored
@@ -15,3 +15,6 @@ allow hal_power_default vendor_sysfs_touchscreen_writable:file rw_file_perms;
|
||||
# Allow power HAL to to read/write vendor_sysfs_battery
|
||||
allow hal_power_default vendor_sysfs_battery:dir r_dir_perms;
|
||||
allow hal_power_default vendor_sysfs_battery:file rw_file_perms;
|
||||
|
||||
# Allow binder calls from power hal to system app
|
||||
binder_call(hal_power_default, system_app)
|
||||
|
3
sepolicy/vendor/vendor_hal_gnss_qti.te
vendored
3
sepolicy/vendor/vendor_hal_gnss_qti.te
vendored
@@ -5,3 +5,6 @@ allow vendor_hal_gnss_qti vendor_sysfs_battery:dir r_dir_perms;
|
||||
allow vendor_hal_gnss_qti hal_gnss_service:service_manager add;
|
||||
|
||||
dontaudit vendor_hal_gnss_qti { default_prop system_prop }:file { read open getattr map };
|
||||
|
||||
# Allow binder calls from gnss hal to system app
|
||||
binder_call(vendor_hal_gnss_qti, system_app)
|
||||
|
12
vendor.prop
12
vendor.prop
@@ -115,16 +115,16 @@ ro.hardware.gatekeeper=mdfpp
|
||||
# Graphics
|
||||
debug.sf.auto_latch_unsignaled=0
|
||||
debug.sf.disable_client_composition_cache=1
|
||||
debug.sf.early.app.duration=13666666
|
||||
debug.sf.early.sf.duration=15666666
|
||||
debug.sf.earlyGl.app.duration=13666666
|
||||
debug.sf.earlyGl.sf.duration=15666666
|
||||
debug.sf.early.app.duration=16600000
|
||||
debug.sf.early.sf.duration=16600000
|
||||
debug.sf.earlyGl.app.duration=16600000
|
||||
debug.sf.earlyGl.sf.duration=16600000
|
||||
debug.sf.enable_gl_backpressure=1
|
||||
debug.sf.enable_hwc_vds=0
|
||||
debug.sf.gpu_freq_index=7
|
||||
debug.sf.latch_unsignaled=1
|
||||
debug.sf.late.app.duration=13666666
|
||||
debug.sf.late.sf.duration=15666666
|
||||
debug.sf.late.app.duration=16600000
|
||||
debug.sf.late.sf.duration=10500000
|
||||
debug.sf.predict_hwc_composition_strategy=0
|
||||
debug.sf.show_refresh_rate_overlay_render_rate=true
|
||||
debug.sf.treat_170m_as_sRGB=1
|
||||
|
@@ -3,6 +3,70 @@
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<compatibility-matrix version="5.0" type="framework">
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.biometrics.fingerprint</name>
|
||||
<version>4</version>
|
||||
<interface>
|
||||
<name>IFingerprint</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.bluetooth.audio</name>
|
||||
<version>4</version>
|
||||
<interface>
|
||||
<name>IBluetoothAudioProviderFactory</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.power</name>
|
||||
<version>5</version>
|
||||
<interface>
|
||||
<name>IPower</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.sensors</name>
|
||||
<version>2</version>
|
||||
<interface>
|
||||
<name>ISensors</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.usb.gadget</name>
|
||||
<version>1</version>
|
||||
<interface>
|
||||
<name>IUsbGadget</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.wifi</name>
|
||||
<version>2</version>
|
||||
<interface>
|
||||
<name>IWifi</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.wifi.hostapd</name>
|
||||
<version>2</version>
|
||||
<interface>
|
||||
<name>IHostapd</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.wifi.supplicant</name>
|
||||
<version>3</version>
|
||||
<interface>
|
||||
<name>ISupplicant</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.samsung.hardware.bluetooth.a2dpsink</name>
|
||||
<version>1.0</version>
|
||||
|
Reference in New Issue
Block a user