COMMON_PATH := device/amlogic/g12-common
-## Android Verified Boot
-BOARD_AVB_ALGORITHM := SHA256_RSA2048
-BOARD_AVB_ENABLE := true
-BOARD_AVB_RECOVERY_ALGORITHM := SHA256_RSA2048
-BOARD_AVB_RECOVERY_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
-BOARD_AVB_RECOVERY_ROLLBACK_INDEX := 0
-BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 2
-BOARD_AVB_ROLLBACK_INDEX := 0
-BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
-
-## Audio
-BOARD_USES_ALSA_AUDIO := true
-USE_CUSTOM_AUDIO_POLICY := 1
-
## BUILD_BROKEN_*
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
-## Dex Pre-Opt
-WITH_DEXPREOPT_DEBUG_INFO := false
-
-## Display
-TARGET_SCREEN_DENSITY := 320
-
# GPU
TARGET_AMLOGIC_GPU_ARCH := bifrost
## HIDL
-ifeq ($(BOARD_HAVE_BLUETOOTH),false)
-DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml
-else
DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml
-DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest_bt.xml
-endif
-DEVICE_MATRIX_FILE := $(COMMON_PATH)/compatibility_matrix.xml
## Kernel
-BOARD_BOOTIMG_HEADER_VERSION := 2
-BOARD_DTB_OFFSET := 0x00e88000
-BOARD_KERNEL_BASE := 0x01078000
-BOARD_KERNEL_CMDLINE := androidboot.dynamic_partitions=true androidboot.dtbo_idx=0 androidboot.boot_devices=ffe07000.emmc otg_device=1 use_uvm=1
-BOARD_KERNEL_IMAGE_NAME := Image.gz
-BOARD_KERNEL_OFFSET := 0x00008000
-BOARD_KERNEL_PAGESIZE := 2048
-BOARD_PREBUILT_DTBOIMAGE ?= $(TARGET_OUT_INTERMEDIATES)/DTBO_OBJ/arch/$(KERNEL_ARCH)/boot/dtbo.img
-BOARD_RAMDISK_OFFSET := 0xfef10000
-BOARD_SECOND_OFFSET := 0xfee10000
-BOARD_TAGS_OFFSET := 0xfdf10100
-TARGET_BOOTLOADER_IS_2ND := true
-TARGET_KERNEL_ADDITIONAL_FLAGS := HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument"
-TARGET_KERNEL_CLANG_COMPILE := true
+BOARD_KERNEL_CMDLINE := androidboot.dynamic_partitions=true androidboot.boot_devices=ffe07000.emmc use_uvm=1
TARGET_KERNEL_CONFIG := g12a_defconfig
TARGET_KERNEL_SOURCE := kernel/amlogic/linux-4.9
TARGET_KERNEL_VARIANT_CONFIG ?= g12a_variant_defconfig
-TARGET_USES_64_BIT_BINDER := true
-
-BOARD_MKBOOTIMG_ARGS = --base $(BOARD_KERNEL_BASE) --pagesize $(BOARD_KERNEL_PAGESIZE) --kernel_offset $(BOARD_KERNEL_OFFSET) --second_offset $(BOARD_SECOND_OFFSET) --ramdisk_offset $(BOARD_RAMDISK_OFFSET) --tags_offset $(BOARD_TAGS_OFFSET) --dtb_offset $(BOARD_DTB_OFFSET) --header_version $(BOARD_BOOTIMG_HEADER_VERSION) --dtb $(PRODUCT_OUT)/dtb.img
-
-## LMKD
-TARGET_LMKD_STATS_LOG := true
-
-## Metadata
-BOARD_USES_METADATA_PARTITION := true
## Partitions
CORE_PARTITIONS := system vendor
endif
BOARD_VENDORIMAGE_PARTITION_RESERVED_SIZE := 5000000
-$(foreach p, $(call to-upper, $(ALL_PARTITIONS)), \
- $(eval BOARD_$(p)IMAGE_FILE_SYSTEM_TYPE := ext4) \
- $(eval TARGET_COPY_OUT_$(p) := $(call to-lower, $(p))))
-
-BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
-BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
-BOARD_CACHEIMAGE_PARTITION_SIZE := 838860800
-BOARD_DTBOIMG_PARTITION_SIZE := 2097152
-BOARD_FLASH_BLOCK_SIZE := 131072
-BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 4896849920
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 25165824
-TARGET_USERIMAGES_USE_EXT4 := true
-
## Properties
TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop
-TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop
## Recovery
TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/init-files/fstab.amlogic
-TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888"
## Releasetools
TARGET_RELEASETOOLS_EXTENSIONS := $(COMMON_PATH)/releasetools
## Vendor SPL
VENDOR_SECURITY_PATCH := 2021-11-05
-## Wi-Fi
-BOARD_HOSTAPD_DRIVER := NL80211
-BOARD_WPA_SUPPLICANT_DRIVER := NL80211
-WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
-WPA_SUPPLICANT_VERSION := VER_0_8_X
-
## Include the main common tree BoardConfig makefile
include device/amlogic/common/BoardConfigAmlogic.mk
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- A2dp Audio HAL Audio Policy Configuration file -->
-<module name="a2dp" halVersion="2.0">
- <mixPorts>
- <mixPort name="a2dp input" role="sink">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="44100,48000"
- channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
- </mixPort>
- </mixPorts>
- <devicePorts>
- <devicePort tagName="BT A2DP In" type="AUDIO_DEVICE_IN_BLUETOOTH_A2DP" role="source">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="44100,48000"
- channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
- </devicePort>
- </devicePorts>
- <routes>
- <route type="mix" sink="a2dp input"
- sources="BT A2DP In"/>
- </routes>
-</module>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright (C) 2015 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<!-- Volume section defines a volume curve for a given use case and device category.
-It contains a list of points of this curve expressing the attenuation in Millibels for a given
-volume index from 0 to 100.
-<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
-<point>0,-9600</point>
-<point>100,0</point>
-</volume>
--->
-
-<volumes>
- <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
- <point>0,-4200</point>
- <point>33,-2800</point>
- <point>66,-1400</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
- <point>0,-2400</point>
- <point>33,-1600</point>
- <point>66,-800</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
- <point>0,-2400</point>
- <point>33,-1600</point>
- <point>66,-800</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
- <point>1,-3000</point>
- <point>33,-2600</point>
- <point>66,-2200</point>
- <point>100,-1800</point>
- </volume>
- <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER"
- ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
- ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
- <point>1,-2970</point>
- <point>33,-2010</point>
- <point>66,-1020</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
- ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER"
- ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
- ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
- <point>0,-2970</point>
- <point>33,-2010</point>
- <point>66,-1020</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
- ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
- <point>1,-2970</point>
- <point>33,-2010</point>
- <point>66,-1020</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
- <point>0,-4200</point>
- <point>33,-2800</point>
- <point>66,-1400</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
- <point>0,-2400</point>
- <point>33,-1600</point>
- <point>66,-800</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
- <point>0,-4200</point>
- <point>33,-2800</point>
- <point>66,-1400</point>
- <point>100,0</point>
- </volume>
- <volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
- <point>1,-3000</point>
- <point>33,-2600</point>
- <point>66,-2200</point>
- <point>100,-1800</point>
- </volume>
- <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER"
- ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
- <point>1,-3000</point>
- <point>33,-2600</point>
- <point>66,-2200</point>
- <point>100,-1800</point>
- </volume>
- <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER"
- ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
- ref="SILENT_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
- ref="FULL_SCALE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="SILENT_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="SILENT_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
- ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
- ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
- ref="FULL_SCALE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
- ref="FULL_SCALE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="FULL_SCALE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="FULL_SCALE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
- ref="FULL_SCALE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
- ref="FULL_SCALE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
- ref="FULL_SCALE_VOLUME_CURVE"/>
- <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
- ref="FULL_SCALE_VOLUME_CURVE"/>
-</volumes>
-
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Hearing aid Audio HAL Audio Policy Configuration file -->
-<module name="hearing_aid" halVersion="2.0">
- <mixPorts>
- <mixPort name="hearing aid output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="24000,16000"
- channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
- </mixPort>
- </mixPorts>
- <devicePorts>
- <devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
- </devicePorts>
- <routes>
- <route type="mix" sink="BT Hearing Aid Out" sources="hearing aid output"/>
- </routes>
-</module>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright (C) 2017-2018 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<!-- Multi Stream Decoder Audio Policy Configuration file -->
-<module name="msd" halVersion="2.0">
- <attachedDevices>
- <item>MS12 Input</item>
- <item>MS12 Output</item>
- </attachedDevices>
- <mixPorts>
- <mixPort name="ms12 input" role="source">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
- </mixPort>
- <mixPort name="ms12 compressed input" role="source"
- flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
- <profile name="" format="AUDIO_FORMAT_AC3"
- samplingRates="32000,44100,48000"
- channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_5POINT1"/>
- <profile name="" format="AUDIO_FORMAT_E_AC3"
- samplingRates="32000,44100,48000"
- channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
- <profile name="" format="AUDIO_FORMAT_AC4"
- samplingRates="32000,44100,48000"
- channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
- </mixPort>
- <mixPort name="ms12 output" role="sink">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
- <profile name="" format="AUDIO_FORMAT_AC3"
- samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_5POINT1"/>
- <profile name="" format="AUDIO_FORMAT_E_AC3"
- samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_5POINT1"/>
- </mixPort>
- </mixPorts>
- <devicePorts>
- <devicePort tagName="MS12 Input" type="AUDIO_DEVICE_OUT_BUS" role="sink">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
- </devicePort>
- <devicePort tagName="MS12 Output" type="AUDIO_DEVICE_IN_BUS" role="source">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
- </devicePort>
- </devicePorts>
- <routes>
- <route type="mix" sink="MS12 Input" sources="ms12 input,ms12 compressed input"/>
- <route type="mix" sink="ms12 output" sources="MS12 Output"/>
- </routes>
-</module>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Copyright (C) 2018 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<surroundSound>
- <!-- Each of the listed formats gets an entry in Surround Settings dialog on TV devices.
- There must be a corresponding Java ENCODING_... constant defined in AudioFormat.java,
- and a display name defined in AudioFormat.toDisplayName. For the formats that don't
- need a dedicated Surrond Settings dialog entry, a subformats list has to be used. -->
- <!-- Remove dolby Atmos -->
- <formats>
- <format name="AUDIO_FORMAT_AC3" />
- <format name="AUDIO_FORMAT_E_AC3" />
- <format name="AUDIO_FORMAT_DTS" />
- <format name="AUDIO_FORMAT_AAC_LC" subformats="AUDIO_FORMAT_AAC_HE_V1 AUDIO_FORMAT_AAC_HE_V2 AUDIO_FORMAT_AAC_ELD AUDIO_FORMAT_AAC_XHE" />
- <format name="AUDIO_FORMAT_AC4" />
- <format name="AUDIO_FORMAT_E_AC3_JOC" />
- </formats>
-</surroundSound>
+++ /dev/null
-<compatibility-matrix version="2.0" type="device">
- <hal format="hidl" optional="false">
- <name>android.hidl.manager</name>
- <version>1.0</version>
- <interface>
- <name>IServiceManager</name>
- <instance>default</instance>
- </interface>
- </hal>
-</compatibility-matrix>
## Audio
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/audio/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
$(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
- $(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
- $(LOCAL_PATH)/audio/hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/hearing_aid_audio_policy_configuration.xml \
- $(LOCAL_PATH)/audio/msd_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/msd_audio_policy_configuration.xml \
- $(LOCAL_PATH)/audio/surround_sound_configuration_5_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/surround_sound_configuration_5_0.xml \
- $(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
- frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
- frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
- frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
+ $(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
PRODUCT_PACKAGES += \
- android.hardware.audio@2.0-impl \
- android.hardware.audio@4.0-impl \
android.hardware.audio@5.0-impl \
android.hardware.audio@7.0.vendor \
android.hardware.audio@7.0-util.vendor \
android.hardware.audio.common@7.0-util \
- android.hardware.audio.effect@2.0-impl \
- android.hardware.audio.effect@4.0-impl \
android.hardware.audio.effect@5.0-impl \
android.hardware.audio.effect@7.0-util.vendor \
- android.hardware.audio.service \
- audio.a2dp.default \
- audio.r_submix.default \
- audio.usb.default \
av-types-aidl-cpp.vendor \
libaudioclient_aidl_conversion_util.vendor \
libaudiofoundation.vendor
## Bluetooth
-ifeq ($(BOARD_HAVE_BLUETOOTH),false)
-PRODUCT_PROPERTY_OVERRIDES += \
- config.disable_bluetooth=true
-else
+ifneq ($(BOARD_HAVE_BLUETOOTH),false)
PRODUCT_PACKAGES += \
- android.hardware.bluetooth@1.0.vendor \
- android.hardware.bluetooth.audio@2.0-impl
-
-PRODUCT_PROPERTY_OVERRIDES += \
- ro.vendor.autoconnectbt.btclass=50c \
- ro.vendor.autoconnectbt.isneed=false \
- ro.vendor.autoconnectbt.macprefix=00:CD:FF \
- ro.vendor.autoconnectbt.nameprefix=Amlogic_RC \
- ro.vendor.autoconnectbt.rssilimit=70
-
-PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
- frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
+ android.hardware.bluetooth@1.0.vendor
endif
-## Boot animation
-TARGET_SCREEN_HEIGHT := 1080
-TARGET_SCREEN_WIDTH := 1920
-
## Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-legacy \
$(LOCAL_PATH)/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
$(LOCAL_PATH)/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
-ifeq ($(PRODUCT_USE_SW_OMX),true)
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/media/media_codecs_sw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
- frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
- frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml
-else
+ifneq ($(PRODUCT_USE_SW_OMX),true)
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
$(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml
endif
-## DRM
-PRODUCT_PACKAGES += \
- android.hardware.drm@1.4-service.clearkey \
- libdrm.vendor
-
## dumpstate
PRODUCT_PACKAGES += \
android.hardware.dumpstate@1.1.vendor
-## fastbootd
-PRODUCT_PACKAGES += fastbootd
-
-## File-system permissions
-PRODUCT_PACKAGES += \
- fs_config_dirs \
- fs_config_files
-
-## Gatekeeper
-PRODUCT_PACKAGES += \
- android.hardware.gatekeeper@1.0-service.software
-
## Graphics
PRODUCT_PACKAGES += \
android.hardware.graphics.composer@2.4.vendor
-## Hardware Compsoer
-PRODUCT_PACKAGES += \
- libhwc2on1adapter \
- libhwc2onfbadapter
-
-## HDMI CEC
-PRODUCT_PACKAGES += \
- android.hardware.tv.cec@1.0-impl \
- android.hardware.tv.cec@1.0-service
-
## Health
PRODUCT_PACKAGES += \
android.hardware.health@2.1.vendor
android.hardware.keymaster@4.1-service
endif
-## Light
-PRODUCT_PACKAGES += \
- android.hardware.light@2.0-impl \
- android.hardware.light@2.0-service
-
-## Memtrack
-PRODUCT_PACKAGES += \
- android.hardware.memtrack@1.0-impl \
- android.hardware.memtrack@1.0-service
-
-## Overlays
-DEVICE_PACKAGE_OVERLAYS += \
- $(LOCAL_PATH)/overlay
-PRODUCT_ENFORCE_RRO_TARGETS := *
-
## Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
## Permissions
PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.audio.output.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.output.xml \
frameworks/native/data/etc/android.hardware.device_unique_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.device_unique_attestation.xml \
- frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
- frameworks/native/data/etc/android.hardware.gamepad.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.gamepad.xml \
- frameworks/native/data/etc/android.hardware.hdmi.cec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hdmi.cec.xml \
- frameworks/native/data/etc/android.hardware.location.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.xml \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
- frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \
- frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
- frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
- frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
- frameworks/native/data/etc/android.software.app_widgets.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.app_widgets.xml \
- frameworks/native/data/etc/android.software.backup.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.backup.xml \
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
- frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
frameworks/native/data/etc/android.software.opengles.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \
- frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \
frameworks/native/data/etc/android.software.vulkan.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
## Platform
PRODUCT_PACKAGES += \
android.hardware.thermal@2.0.vendor
-## Trust HAL
-PRODUCT_PACKAGES += \
- vendor.lineage.trust@1.0-service
-
## USB
PRODUCT_PACKAGES += \
- android.hardware.usb@1.0-service \
android.hardware.usb.gadget@1.2.vendor
-## Wi-Fi
-PRODUCT_PACKAGES += \
- android.hardware.wifi@1.0-service \
- hostapd \
- libwpa_client \
- WifiOverlay \
- wpa_supplicant \
- wpa_supplicant.conf
-
## Inherit from the main common tree product makefile
$(call inherit-product, device/amlogic/common/amlogic.mk)
<instance>legacy/0</instance>
</interface>
</hal>
- <hal format="hidl">
- <name>android.hardware.configstore</name>
- <transport>hwbinder</transport>
- <version>1.1</version>
- <interface>
- <name>ISurfaceFlingerConfigs</name>
- <instance>default</instance>
- </interface>
- </hal>
<hal format="hidl">
<name>android.hardware.drm</name>
<transport>hwbinder</transport>
<instance>default</instance>
</interface>
</hal>
- <hal format="hidl">
- <name>android.hardware.health</name>
- <transport>hwbinder</transport>
- <version>2.0</version>
- <interface>
- <name>IHealth</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
- <name>android.hardware.light</name>
- <transport>hwbinder</transport>
- <version>2.0</version>
- <interface>
- <name>ILight</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
- <name>android.hardware.media.omx</name>
- <transport>hwbinder</transport>
- <version>1.0</version>
- <interface>
- <name>IOmx</name>
- <instance>default</instance>
- </interface>
- <interface>
- <name>IOmxStore</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
- <name>android.hardware.memtrack</name>
- <transport>hwbinder</transport>
- <version>1.0</version>
- <interface>
- <name>IMemtrack</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
- <name>android.hardware.tv.cec</name>
- <transport>hwbinder</transport>
- <version>1.0</version>
- <interface>
- <name>IHdmiCec</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
- <name>vendor.amlogic.hardware.systemcontrol</name>
- <transport>hwbinder</transport>
- <version>1.1</version>
- <interface>
- <name>ISystemControl</name>
- <instance>default</instance>
- </interface>
- </hal>
</manifest>
+++ /dev/null
-<manifest version="1.0" type="device">
- <hal format="hidl">
- <name>android.hardware.bluetooth</name>
- <transport>hwbinder</transport>
- <version>1.0</version>
- <interface>
- <name>IBluetoothHci</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
- <name>android.hardware.bluetooth.audio</name>
- <transport>hwbinder</transport>
- <version>2.0</version>
- <interface>
- <name>IBluetoothAudioProvidersFactory</name>
- <instance>default</instance>
- </interface>
- </hal>
-</manifest>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8" ?>
-<!-- Copyright (C) 2012 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<!--
-<!DOCTYPE MediaCodecs [
-<!ELEMENT MediaCodecs (Decoders,Encoders)>
-<!ELEMENT Decoders (MediaCodec*)>
-<!ELEMENT Encoders (MediaCodec*)>
-<!ELEMENT MediaCodec (Type*,Quirk*)>
-<!ATTLIST MediaCodec name CDATA #REQUIRED>
-<!ATTLIST MediaCodec type CDATA>
-<!ELEMENT Type EMPTY>
-<!ATTLIST Type name CDATA #REQUIRED>
-<!ELEMENT Quirk EMPTY>
-<!ATTLIST Quirk name CDATA #REQUIRED>
-]>
-
-There's a simple and a complex syntax to declare the availability of a
-media codec:
-
-A codec that properly follows the OpenMax spec and therefore doesn't have any
-quirks and that only supports a single content type can be declared like so:
-
- <MediaCodec name="OMX.foo.bar" type="something/interesting" />
-
-If a codec has quirks OR supports multiple content types, the following syntax
-can be used:
-
- <MediaCodec name="OMX.foo.bar" >
- <Type name="something/interesting" />
- <Type name="something/else" />
- ...
- <Quirk name="requires-allocate-on-input-ports" />
- <Quirk name="requires-allocate-on-output-ports" />
- <Quirk name="output-buffers-are-unreadable" />
- </MediaCodec>
-
-Only the three quirks included above are recognized at this point:
-
-"requires-allocate-on-input-ports"
- must be advertised if the component does not properly support specification
- of input buffers using the OMX_UseBuffer(...) API but instead requires
- OMX_AllocateBuffer to be used.
-
-"requires-allocate-on-output-ports"
- must be advertised if the component does not properly support specification
- of output buffers using the OMX_UseBuffer(...) API but instead requires
- OMX_AllocateBuffer to be used.
-
-"output-buffers-are-unreadable"
- must be advertised if the emitted output buffers of a decoder component
- are not readable, i.e. use a custom format even though abusing one of
- the official OMX colorspace constants.
- Clients of such decoders will not be able to access the decoded data,
- naturally making the component much less useful. The only use for
- a component with this quirk is to render the output to the screen.
- Audio decoders MUST NOT advertise this quirk.
- Video decoders that advertise this quirk must be accompanied by a
- corresponding color space converter for thumbnail extraction,
- matching surfaceflinger support that can render the custom format to
- a texture and possibly other code, so just DON'T USE THIS QUIRK.
-
--->
-
-<MediaCodecs>
- <Include href="media_codecs_google_audio.xml" />
- <Include href="media_codecs_google_video.xml" />
-</MediaCodecs>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-**
-** Copyright (C) 2021 The LineageOS Project
-**
-** SPDX-License-Identifier: Apache-2.0
-**
-*/
--->
-<resources>
- <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
- Please don't copy them, copy anything else. -->
-
- <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
- before automatically restore the default connection. Set -1 if the connection
- does not require auto-restore. -->
- <!-- the 6th element indicates boot-time dependency-met value. -->
- <string-array translatable="false" name="networkAttributes">
- <item>"wifi,1,1,1,-1,true"</item>
- <item>"ethernet,9,9,9,-1,true"</item>
- </string-array>
-
- <!-- This string array should be overridden by the device to present a list of radio
- attributes. This is used by the connectivity manager to decide which networks can coexist
- based on the hardware -->
- <!-- An Array of "[ConnectivityManager connectionType],
- [# simultaneous connection types]" -->
- <string-array translatable="false" name="radioAttributes">
- <item>"1,1"</item>
- <item>"9,1"</item>
- </string-array>
-
- <!-- Buttons -->
- <integer name="config_longPressOnPowerBehavior">0</integer>
-
- <!-- LMK -->
- <integer name="config_lowMemoryKillerMinFreeKbytesAbsolute">384000</integer>
-
- <!-- Resolution -->
- <integer name="config_maxUiWidth">1920</integer>
-
- <!-- HDMI CEC -->
- <bool name="config_cecPowerControlModeBroadcast_default">true</bool>
- <bool name="config_cecPowerControlModeTv_default">false</bool>
- <bool name="config_cecPowerStateChangeOnActiveSourceLostNone_default">false</bool>
- <bool name="config_cecPowerStateChangeOnActiveSourceLostStandbyNow_default">true</bool>
-
- <!-- If supported and enabled, are dreams activated when asleep and charging? (by default) -->
- <bool name="config_dreamsActivatedOnSleepByDefault">true</bool>
-
- <!-- True if the device supports split screen as a form of multi-window. -->
- <bool name="config_supportsSplitScreenMultiWindow">false</bool>
-
- <!-- Maximum number of supported users -->
- <integer name="config_multiuserMaximumUsers">2</integer>
-</resources>
-#
-# Copyright (C) 2021 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-## Audio
-ro.af.client_heap_size_kbyte=1536
-ro.config.ringtone=Ring_Synth_04.ogg
-ro.config.notification_sound=pixiedust.ogg
-
-## Battery (Fake)
-ro.boot.fake_battery=42
-
## Bluetooth
-atv.setup.bt_remote_pairing=true
ro.boot.btmacaddr=22:22:ce:d2:ca:13
## Camera
camera.disable_zsl_mode=1
rw.camera.usb.faceback=true
-## HDMI
-ro.hdmi.cec.source.playback_device_action_on_routing_control=wake_up_and_send_active_source
-ro.sys.hdmiin.enable=true
-
## Identifiers
ro.oem.key1=ATV00100020
-
-## LMK
-ro.lmk.use_new_strategy=true
+++ /dev/null
-//
-// Copyright (C) 2021 The LineageOS Project
-//
-// SPDX-License-Identifier: Apache-2.0
-//
-runtime_resource_overlay {
- name: "WifiOverlay",
- resource_dirs: ["res"],
- sdk_version: "current",
- proprietary: true
-}
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-**
-** Copyright (C) 2021 The LineageOS Project
-**
-** SPDX-License-Identifier: Apache-2.0
-**
-*/
--->
-<!-- Device specific wifi overlays -->
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.wifi.resources.g12"
- android:versionCode="1"
- android:versionName="1.0">
- <application android:hasCode="false" />
- <overlay
- android:targetPackage="com.android.wifi.resources"
- android:targetName="WifiCustomization"
- android:isStatic="true"
- android:priority="0"/>
-</manifest>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-**
-** Copyright (C) 2021 The LineageOS Project
-**
-** SPDX-License-Identifier: Apache-2.0
-**
-*/
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <bool name="config_wifi_connected_mac_randomization_supported">true</bool>
-
- <!-- Disable WPA2 to WPA3 auto-upgrade -->
- <bool translatable="false" name="config_wifiSaeUpgradeEnabled">false</bool>
-</resources>
+++ /dev/null
-#
-# Copyright (C) 2021 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-## fastbootd
-ro.fastbootd.available=true
-#
-# Copyright (C) 2021 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-## Audio
-ro.config.media_vol_default=20
-ro.config.media_vol_steps=25
-
-## Dalvik
-dalvik.vm.heapgrowthlimit=256m
-dalvik.vm.heapmaxfree=8m
-dalvik.vm.heapminfree=512k
-dalvik.vm.heapsize=384m
-dalvik.vm.heapstartsize=8m
-dalvik.vm.heaptargetutilization=0.75
-
-## DRM
-drm.service.enabled=1
-vendor.drm.service.enable=true
-
-## HDMI
-mbx.hdmiin.switchfull=false
-mbx.hdmiin.videolayer=false
-persist.sys.hdmi.keep_awake=false
-persist.vendor.sys.cec.power_assist_standby=false
-ro.hdmi.device_type=4
-ro.vendor.hdmi.auto_otp=false
-ro.vendor.platform.has.mbxuimode=true
-ro.vendor.platform.has.realoutputmode=true
-ro.vendor.platform.hdmi.device_type=4
-ro.vendor.platform.need.display.hdmicec=true
-
-## LMKD
-ro.lmk.kill_heaviest_task=true
-ro.lmk.kill_timeout_ms=100
-ro.lmk.use_minfree_levels=true
-
-# Graphics
+## Graphics
debug.renderengine.backend=skiaglthreaded
ro.hardware.vulkan=amlogic
ro.opengles.version=196610
-ro.surface_flinger.max_graphics_height=1080
-ro.surface_flinger.max_graphics_width=1920
ro.surface_flinger.supports_background_blur=1
-ro.surface_flinger.update_device_product_info_on_hotplug_reconnect=1
## Media
libplayer.livets.softdemux=1
ro.media.camera_preview.maxsize=1920x1080
ro.media.camera_preview.limitedrate=1920x1080x30,1280x720x30,640x480x30,320x240x28
ro.media.camera_preview.usemjpeg=1
-ro.media.maxmem=629145600
ro.vendor.media.support.ffmpeg.adec=false
-ro.vendor.platform.disable.audiorawout=false
-ro.vendor.platform.support.dolby=true
-ro.vendor.platform.support.dts=true
ro.vendor.sdr2hdr.enable=true
vendor.afbcd.enable=1
vendor.media.libplayer.curlenable=true
## USB
vendor.usb.controller=ff400000.dwc2_a
-
-## Wi-Fi
-ro.carrier=wifi-only
-wifi.direct.interface=p2p-dev-wlan0
-wifi.interface=wlan0