diff --git a/BoardConfig.mk b/BoardConfig.mk index f448d3c..db0d537 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -68,13 +68,37 @@ TARGET_BOARD_PLATFORM_GPU := qcom-adreno530 BOARD_ANT_WIRELESS_DEVICE := "qualcomm-hidl" # Audio -AUDIO_FEATURE_ENABLED_AHAL_EXT := false +AUDIO_FEATURE_ENABLED_A2DP_OFFLOAD := true +AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true +AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true +AUDIO_FEATURE_ENABLED_ANC_HEADSET := true +AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true +AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true +AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true +AUDIO_FEATURE_ENABLED_CUSTOMSTEREO := true +AUDIO_FEATURE_ENABLED_DEV_ARBI := true +AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := false +AUDIO_FEATURE_ENABLED_DTS_EAGLE := false AUDIO_FEATURE_ENABLED_DYNAMIC_ECNS := false +AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT := true AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true AUDIO_FEATURE_ENABLED_FFV := false +AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true +AUDIO_FEATURE_ENABLED_FLUENCE := true AUDIO_FEATURE_ENABLED_HW_ACCELERATED_EFFECTS := false AUDIO_FEATURE_ENABLED_KEEP_ALIVE_ARM_FFV := false +AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true +AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true +AUDIO_FEATURE_ENABLED_NT_PAUSE_TIMEOUT := true +AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true +AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true +AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY := true +AUDIO_FEATURE_ENABLED_SND_MONITOR := true +AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true +AUDIO_FEATURE_ENABLED_VOICE_CONCURRENCY :=true +AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true +AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true BOARD_SUPPORTS_SOUND_TRIGGER := false BOARD_USES_ALSA_AUDIO := true USE_CUSTOM_AUDIO_POLICY := 1 diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 0954170..e5d7e5c 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -606,15 +606,15 @@ service vendor.move_wifi_data /system/bin/move_wifi_data.sh disabled oneshot -service wigignpt /vendor/bin/wigignpt - interface vendor.qti.hardware.wigig.netperftuner@1.0::INetPerfTuner default - class hal - socket wigignpt stream 660 system wifi - user system - group wifi - capabilities NET_ADMIN - disabled - +#service wigignpt /vendor/bin/wigignpt +# interface vendor.qti.hardware.wigig.netperftuner@1.0::INetPerfTuner default +# class hal +# socket wigignpt stream 660 system wifi +# user system +# group wifi +# capabilities NET_ADMIN +# disabled +# service dhcpcd_wlan0 /system/bin/dhcpcd -ABKLG class late_start disabled diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 7e2c85c..314daa9 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -177,6 +177,7 @@ /firmware(/.*)? u:object_r:firmware_file:s0 /firmware-modem(/.*)? u:object_r:firmware-modem_file:s0 /omr(/.*)? u:object_r:omr_file:s0 +/persist(/.*)? u:object_r:persist_file:s0 # Sys /sys/class/camera(/.*)? -- u:object_r:sysfs_camera_writable:s0 diff --git a/sepolicy/hal_camera_default.te b/sepolicy/hal_camera_default.te index d9f6739..2bb39ba 100644 --- a/sepolicy/hal_camera_default.te +++ b/sepolicy/hal_camera_default.te @@ -1,14 +1 @@ -allow hal_camera_default app_efs_file:dir rw_dir_perms; -allow hal_camera_default app_efs_file:file rw_file_perms; - -allow hal_camera_default sysfs_camera_writable:dir r_dir_perms; -allow hal_camera_default sysfs_camera_writable:file rw_file_perms; - -allow hal_camera_default sysfs_sensors:file r_file_perms; - -r_dir_file(hal_camera_default, efs_file) -r_dir_file(hal_camera_default, sec_poc_file) - -get_prop(hal_camera_default, graphics_vulkan_prop) -get_prop(hal_camera_default, vendor_factory_prop) -set_prop(hal_camera_default, sec_camera_prop) +allow hal_camera_default camera_data_file:sock_file write; \ No newline at end of file