msm8937-common: Remove fragments
* Also cleanup unnecessary configs
This commit is contained in:
parent
66440068ec
commit
9731cbf799
69 changed files with 675 additions and 885 deletions
|
@ -1,5 +1,6 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2016 The CyanogenMod Project
|
# Copyright (C) 2016 The CyanogenMod Project
|
||||||
|
# Copyright (C) 2018 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -16,8 +17,172 @@
|
||||||
|
|
||||||
VENDOR_PATH := device/xiaomi/msm8937-common
|
VENDOR_PATH := device/xiaomi/msm8937-common
|
||||||
|
|
||||||
# Inherit device-specific board fragments
|
# Bootloader
|
||||||
include $(VENDOR_PATH)/board/*.mk
|
TARGET_BOOTLOADER_BOARD_NAME := MSM8937
|
||||||
|
TARGET_NO_BOOTLOADER := true
|
||||||
|
|
||||||
|
# Platform
|
||||||
|
TARGET_BOARD_PLATFORM := msm8937
|
||||||
|
|
||||||
|
# Architecture
|
||||||
|
TARGET_ARCH := arm64
|
||||||
|
TARGET_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_CPU_ABI := arm64-v8a
|
||||||
|
TARGET_CPU_ABI2 :=
|
||||||
|
TARGET_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
TARGET_2ND_ARCH := arm
|
||||||
|
TARGET_2ND_ARCH_VARIANT := armv7-a-neon
|
||||||
|
TARGET_2ND_CPU_ABI := armeabi-v7a
|
||||||
|
TARGET_2ND_CPU_ABI2 := armeabi
|
||||||
|
TARGET_2ND_CPU_VARIANT := cortex-a53
|
||||||
|
|
||||||
|
TARGET_USES_64_BIT_BINDER := true
|
||||||
|
|
||||||
|
# ANT+
|
||||||
|
BOARD_ANT_WIRELESS_DEVICE := "qualcomm-uart"
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD := true
|
||||||
|
AUDIO_FEATURE_ENABLED_ANC_HEADSET := true
|
||||||
|
AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true
|
||||||
|
AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true
|
||||||
|
AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true
|
||||||
|
AUDIO_FEATURE_ENABLED_CUSTOMSTEREO := true
|
||||||
|
AUDIO_FEATURE_ENABLED_DEV_ARBI := true
|
||||||
|
AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true
|
||||||
|
AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
|
||||||
|
AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true
|
||||||
|
AUDIO_FEATURE_ENABLED_FLUENCE := true
|
||||||
|
AUDIO_FEATURE_ENABLED_HFP := true
|
||||||
|
AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true
|
||||||
|
AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
|
||||||
|
AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true
|
||||||
|
AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true
|
||||||
|
AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
|
||||||
|
AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true
|
||||||
|
AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true
|
||||||
|
AUDIO_FEATURE_ENABLED_EXT_AMPLIFIER := false
|
||||||
|
|
||||||
|
AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true
|
||||||
|
BOARD_SUPPORTS_SOUND_TRIGGER := true
|
||||||
|
BOARD_USES_ALSA_AUDIO := true
|
||||||
|
USE_CUSTOM_AUDIO_POLICY := 1
|
||||||
|
USE_XML_AUDIO_POLICY_CONF := 1
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
BLUETOOTH_HCI_USE_MCT := true
|
||||||
|
QCOM_BT_USE_SMD_TTY := true
|
||||||
|
|
||||||
|
# Charger
|
||||||
|
BOARD_CHARGER_DISABLE_INIT_BLANK := true
|
||||||
|
BOARD_CHARGER_ENABLE_SUSPEND := true
|
||||||
|
|
||||||
|
# Encryption
|
||||||
|
TARGET_HW_DISK_ENCRYPTION := true
|
||||||
|
|
||||||
|
# Extended Filesystem Support
|
||||||
|
TARGET_EXFAT_DRIVER := sdfat
|
||||||
|
|
||||||
|
# Filesystem
|
||||||
|
TARGET_FS_CONFIG_GEN := $(VENDOR_PATH)/config.fs
|
||||||
|
|
||||||
|
# FM
|
||||||
|
BOARD_HAVE_QCOM_FM := true
|
||||||
|
TARGET_QCOM_NO_FM_FIRMWARE := true
|
||||||
|
|
||||||
|
# GPS
|
||||||
|
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := true
|
||||||
|
USE_DEVICE_SPECIFIC_GPS := true
|
||||||
|
|
||||||
|
# GPU
|
||||||
|
MAX_EGL_CACHE_KEY_SIZE := 12*1024
|
||||||
|
MAX_EGL_CACHE_SIZE := 2048*1024
|
||||||
|
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
|
||||||
|
OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
|
||||||
|
TARGET_USES_GRALLOC1 := true
|
||||||
|
TARGET_USES_HWC2 := true
|
||||||
|
TARGET_USES_ION := true
|
||||||
|
|
||||||
|
# HIDL
|
||||||
|
DEVICE_MANIFEST_FILE := $(VENDOR_PATH)/manifest.xml
|
||||||
|
DEVICE_MATRIX_FILE := $(VENDOR_PATH)/compatibility_matrix.xml
|
||||||
|
|
||||||
|
# Init
|
||||||
|
TARGET_INIT_VENDOR_LIB := libinit_msm8937
|
||||||
|
TARGET_RECOVERY_DEVICE_MODULES := libinit_msm8937
|
||||||
|
|
||||||
|
# Kernel
|
||||||
|
BOARD_KERNEL_BASE := 0x80000000
|
||||||
|
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78B0000
|
||||||
|
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
||||||
|
BOARD_KERNEL_PAGESIZE := 2048
|
||||||
|
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
|
||||||
|
|
||||||
|
TARGET_KERNEL_ARCH := arm64
|
||||||
|
TARGET_KERNEL_SOURCE := kernel/xiaomi/msm8937
|
||||||
|
|
||||||
|
# Lights
|
||||||
|
TARGET_PROVIDES_LIBLIGHT := true
|
||||||
|
|
||||||
|
# Lineage Hardware
|
||||||
|
BOARD_HARDWARE_CLASS += $(VENDOR_PATH)/lineagehw
|
||||||
|
|
||||||
|
# Malloc
|
||||||
|
MALLOC_SVELTE := true
|
||||||
|
|
||||||
|
# Media
|
||||||
|
TARGET_USES_MEDIA_EXTENSIONS := true
|
||||||
|
|
||||||
|
# Partitions
|
||||||
|
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
|
||||||
|
BOARD_FLASH_BLOCK_SIZE := 131072
|
||||||
|
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
|
||||||
|
BOARD_USERDATAIMAGE_PARTITION_SIZE := 26301931008
|
||||||
|
BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912
|
||||||
|
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
TARGET_COPY_OUT_VENDOR := vendor
|
||||||
|
TARGET_USERIMAGES_USE_EXT4 := true
|
||||||
|
TARGET_USERIMAGES_USE_F2FS := true
|
||||||
|
TARGET_USES_MKE2FS := true
|
||||||
|
|
||||||
|
# Power
|
||||||
|
TARGET_HAS_NO_WIFI_STATS := true
|
||||||
|
TARGET_USES_INTERACTION_BOOST := true
|
||||||
|
|
||||||
|
# Qualcomm support
|
||||||
|
BOARD_USES_QCOM_HARDWARE := true
|
||||||
|
|
||||||
|
# Recovery
|
||||||
|
TARGET_RECOVERY_FSTAB := $(VENDOR_PATH)/rootdir/fstab.qcom
|
||||||
|
|
||||||
|
# RIL
|
||||||
|
TARGET_PROVIDES_QTI_TELEPHONY_JAR := true
|
||||||
|
TARGET_RIL_VARIANT := caf
|
||||||
|
|
||||||
|
# SELinux
|
||||||
|
include device/qcom/sepolicy/sepolicy.mk
|
||||||
|
BOARD_SEPOLICY_DIRS += $(VENDOR_PATH)/sepolicy/vendor
|
||||||
|
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(VENDOR_PATH)/sepolicy/private
|
||||||
|
|
||||||
|
# Treble
|
||||||
|
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||||
|
PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE := 27
|
||||||
|
PRODUCT_FULL_TREBLE_OVERRIDE := true
|
||||||
|
|
||||||
|
# WiFi
|
||||||
|
BOARD_HAS_QCOM_WLAN := true
|
||||||
|
BOARD_HOSTAPD_DRIVER := NL80211
|
||||||
|
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_qcwcn
|
||||||
|
BOARD_WLAN_DEVICE := qcwcn
|
||||||
|
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
|
||||||
|
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_qcwcn
|
||||||
|
WIFI_DRIVER_FW_PATH_AP := "ap"
|
||||||
|
WIFI_DRIVER_FW_PATH_STA := "sta"
|
||||||
|
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
||||||
|
|
||||||
# Inherit the common proprietary files
|
# Inherit the common proprietary files
|
||||||
-include vendor/xiaomi/msm8937-common/BoardConfigVendor.mk
|
-include vendor/xiaomi/msm8937-common/BoardConfigVendor.mk
|
||||||
|
|
|
@ -1,173 +0,0 @@
|
||||||
# Global configuration section:
|
|
||||||
# - lists input and output devices always present on the device
|
|
||||||
# as well as the output device selected by default.
|
|
||||||
# Devices are designated by a string that corresponds to the enum in audio.h
|
|
||||||
# - defines whether the speaker output path uses DRC
|
|
||||||
# "TRUE" means DRC is enabled, "FALSE" or omission means DRC isn't used.
|
|
||||||
global_configuration {
|
|
||||||
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_TELEPHONY_TX
|
|
||||||
default_output_device AUDIO_DEVICE_OUT_SPEAKER
|
|
||||||
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX|AUDIO_DEVICE_IN_FM_TUNER|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_TELEPHONY_RX
|
|
||||||
|
|
||||||
speaker_drc_enabled TRUE
|
|
||||||
}
|
|
||||||
|
|
||||||
# audio hardware module section: contains descriptors for all audio hw modules present on the
|
|
||||||
# device. Each hw module node is named after the corresponding hw module library base name.
|
|
||||||
# For instance, "primary" corresponds to audio.primary.<device>.so.
|
|
||||||
# The "primary" module is mandatory and must include at least one output with
|
|
||||||
# AUDIO_OUTPUT_FLAG_PRIMARY flag.
|
|
||||||
# Each module descriptor contains one or more output profile descriptors and zero or more
|
|
||||||
# input profile descriptors. Each profile lists all the parameters supported by a given output
|
|
||||||
# or input stream category.
|
|
||||||
# The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding
|
|
||||||
# to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n".
|
|
||||||
|
|
||||||
audio_hw_modules {
|
|
||||||
primary {
|
|
||||||
outputs {
|
|
||||||
primary {
|
|
||||||
sampling_rates 44100|48000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM
|
|
||||||
flags AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST
|
|
||||||
}
|
|
||||||
raw {
|
|
||||||
sampling_rates 48000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
|
|
||||||
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
|
||||||
}
|
|
||||||
deep_buffer {
|
|
||||||
sampling_rates 44100|48000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
|
||||||
}
|
|
||||||
multichannel {
|
|
||||||
sampling_rates 44100|48000
|
|
||||||
channel_masks dynamic
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT
|
|
||||||
}
|
|
||||||
direct_pcm {
|
|
||||||
sampling_rates 8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|176400|192000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_QUAD|AUDIO_CHANNEL_OUT_PENTA|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_6POINT1|AUDIO_CHANNEL_OUT_7POINT1
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_AUX_DIGITAL
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
|
|
||||||
}
|
|
||||||
compress_offload {
|
|
||||||
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000|64000|88200|96000|176400|192000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_QUAD|AUDIO_CHANNEL_OUT_PENTA|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_6POINT1|AUDIO_CHANNEL_OUT_7POINT1
|
|
||||||
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2
|
|
||||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
|
||||||
}
|
|
||||||
incall_music {
|
|
||||||
sampling_rates 8000|16000|48000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_MONO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_INCALL_MUSIC
|
|
||||||
}
|
|
||||||
voice_tx {
|
|
||||||
sampling_rates 8000|16000|48000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_MONO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_TELEPHONY_TX
|
|
||||||
}
|
|
||||||
voip_rx {
|
|
||||||
sampling_rates 8000|16000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_MONO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX
|
|
||||||
}
|
|
||||||
}
|
|
||||||
inputs {
|
|
||||||
primary {
|
|
||||||
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
|
|
||||||
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_FM_TUNER|AUDIO_DEVICE_IN_VOICE_CALL
|
|
||||||
}
|
|
||||||
surround_sound {
|
|
||||||
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
|
|
||||||
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK|AUDIO_CHANNEL_INDEX_MASK_3|AUDIO_CHANNEL_INDEX_MASK_4|AUDIO_CHANNEL_IN_5POINT1
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC
|
|
||||||
}
|
|
||||||
voice_rx {
|
|
||||||
sampling_rates 8000|16000|48000
|
|
||||||
channel_masks AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_MONO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_IN_TELEPHONY_RX
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
a2dp {
|
|
||||||
outputs {
|
|
||||||
a2dp {
|
|
||||||
sampling_rates 44100
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_ALL_A2DP
|
|
||||||
}
|
|
||||||
}
|
|
||||||
inputs {
|
|
||||||
a2dp {
|
|
||||||
sampling_rates 44100|48000
|
|
||||||
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_IN_BLUETOOTH_A2DP
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
usb {
|
|
||||||
outputs {
|
|
||||||
usb_accessory {
|
|
||||||
sampling_rates 44100
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_USB_ACCESSORY
|
|
||||||
}
|
|
||||||
usb_device {
|
|
||||||
sampling_rates dynamic
|
|
||||||
channel_masks dynamic
|
|
||||||
formats dynamic
|
|
||||||
devices AUDIO_DEVICE_OUT_USB_DEVICE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
inputs {
|
|
||||||
usb_device {
|
|
||||||
sampling_rates dynamic
|
|
||||||
channel_masks AUDIO_CHANNEL_IN_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_IN_USB_DEVICE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
r_submix {
|
|
||||||
outputs {
|
|
||||||
submix {
|
|
||||||
sampling_rates 48000
|
|
||||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
|
|
||||||
}
|
|
||||||
}
|
|
||||||
inputs {
|
|
||||||
submix {
|
|
||||||
sampling_rates 48000
|
|
||||||
channel_masks AUDIO_CHANNEL_IN_STEREO
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
# Platform
|
|
||||||
TARGET_BOARD_PLATFORM := msm8937
|
|
||||||
|
|
||||||
# Architecture
|
|
||||||
TARGET_ARCH := arm64
|
|
||||||
TARGET_ARCH_VARIANT := armv8-a
|
|
||||||
TARGET_CPU_ABI := arm64-v8a
|
|
||||||
TARGET_CPU_ABI2 :=
|
|
||||||
TARGET_CPU_VARIANT := generic
|
|
||||||
|
|
||||||
# Second architecture
|
|
||||||
TARGET_2ND_ARCH := arm
|
|
||||||
TARGET_2ND_ARCH_VARIANT := armv7-a-neon
|
|
||||||
TARGET_2ND_CPU_ABI := armeabi-v7a
|
|
||||||
TARGET_2ND_CPU_ABI2 := armeabi
|
|
||||||
TARGET_2ND_CPU_VARIANT := cortex-a53
|
|
||||||
|
|
||||||
TARGET_USES_64_BIT_BINDER := true
|
|
||||||
|
|
||||||
# Qualcomm support
|
|
||||||
BOARD_USES_QCOM_HARDWARE := true
|
|
||||||
TARGET_PROVIDES_QTI_TELEPHONY_JAR := true
|
|
||||||
TARGET_RIL_VARIANT := caf
|
|
|
@ -1,2 +0,0 @@
|
||||||
# ANT
|
|
||||||
BOARD_ANT_WIRELESS_DEVICE := "vfs-prerelease"
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Bluetooth
|
|
||||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(VENDOR_PATH)/bluetooth
|
|
||||||
BOARD_HAVE_BLUETOOTH_QCOM := true
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Bootloader
|
|
||||||
TARGET_BOOTLOADER_BOARD_NAME := MSM8937
|
|
||||||
TARGET_NO_BOOTLOADER := true
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Charger
|
|
||||||
BOARD_CHARGER_DISABLE_INIT_BLANK := true
|
|
||||||
BOARD_CHARGER_ENABLE_SUSPEND := true
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Encryption
|
|
||||||
TARGET_HW_DISK_ENCRYPTION := true
|
|
|
@ -1,6 +0,0 @@
|
||||||
# Bootanimation
|
|
||||||
TARGET_BOOTANIMATION_HALF_RES := true
|
|
||||||
|
|
||||||
TARGET_USES_C2D_COMPOSITION := true
|
|
||||||
TARGET_USES_ION := true
|
|
||||||
USE_OPENGL_RENDERER := true
|
|
|
@ -1,24 +0,0 @@
|
||||||
# Partitions
|
|
||||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
|
|
||||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
|
|
||||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
|
|
||||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
|
|
||||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 26301931008
|
|
||||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912
|
|
||||||
|
|
||||||
BOARD_FLASH_BLOCK_SIZE := 131072
|
|
||||||
|
|
||||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
||||||
|
|
||||||
TARGET_USERIMAGES_USE_F2FS := true
|
|
||||||
TARGET_USERIMAGES_USE_EXT4 := true
|
|
||||||
TARGET_USES_MKE2FS := true
|
|
||||||
|
|
||||||
# Extended Filesystem Support
|
|
||||||
TARGET_EXFAT_DRIVER := sdfat
|
|
||||||
|
|
||||||
# Filesystem
|
|
||||||
TARGET_FS_CONFIG_GEN := $(VENDOR_PATH)/config.fs
|
|
||||||
|
|
||||||
# Vendor Implementation
|
|
||||||
TARGET_COPY_OUT_VENDOR := vendor
|
|
|
@ -1,4 +0,0 @@
|
||||||
# FM
|
|
||||||
AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
|
|
||||||
BOARD_HAVE_QCOM_FM := true
|
|
||||||
TARGET_QCOM_NO_FM_FIRMWARE := true
|
|
|
@ -1,3 +0,0 @@
|
||||||
# GPS
|
|
||||||
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := true
|
|
||||||
USE_DEVICE_SPECIFIC_GPS := true
|
|
|
@ -1,3 +0,0 @@
|
||||||
# LineageOS Hardware
|
|
||||||
BOARD_HARDWARE_CLASS += \
|
|
||||||
device/xiaomi/msm8937-common/lineagehw
|
|
|
@ -1,3 +0,0 @@
|
||||||
# HIDL
|
|
||||||
DEVICE_MANIFEST_FILE := $(VENDOR_PATH)/manifest.xml
|
|
||||||
DEVICE_MATRIX_FILE := $(VENDOR_PATH)/compatibility_matrix.xml
|
|
|
@ -1,8 +0,0 @@
|
||||||
# kernel
|
|
||||||
BOARD_KERNEL_BASE := 0x80000000
|
|
||||||
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78B0000
|
|
||||||
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
|
||||||
BOARD_KERNEL_PAGESIZE := 2048
|
|
||||||
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
|
|
||||||
TARGET_KERNEL_SOURCE := kernel/xiaomi/msm8937
|
|
||||||
TARGET_USE_SDCLANG := true
|
|
|
@ -1,2 +0,0 @@
|
||||||
#Lights
|
|
||||||
TARGET_PROVIDES_LIBLIGHT:= true
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Malloc
|
|
||||||
MALLOC_SVELTE := true
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Peripheral manager
|
|
||||||
TARGET_PER_MGR_ENABLED := true
|
|
|
@ -1,27 +0,0 @@
|
||||||
# Audio
|
|
||||||
AUDIO_FEATURE_ENABLED_ANC_HEADSET := true
|
|
||||||
AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := 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_EXTN_FORMATS := true
|
|
||||||
AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
|
|
||||||
AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true
|
|
||||||
AUDIO_FEATURE_ENABLED_FLUENCE := true
|
|
||||||
AUDIO_FEATURE_ENABLED_HFP := true
|
|
||||||
AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true
|
|
||||||
AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
|
|
||||||
AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true
|
|
||||||
AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true
|
|
||||||
AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
|
|
||||||
AUDIO_FEATURE_ENABLED_SOURCE_TRACKING := true
|
|
||||||
AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true
|
|
||||||
AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true
|
|
||||||
AUDIO_FEATURE_ENABLED_EXT_AMPLIFIER := false
|
|
||||||
|
|
||||||
AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true
|
|
||||||
BOARD_SUPPORTS_SOUND_TRIGGER := true
|
|
||||||
BOARD_USES_ALSA_AUDIO := true
|
|
||||||
USE_CUSTOM_AUDIO_POLICY := 1
|
|
||||||
USE_XML_AUDIO_POLICY_CONF := 1
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Bluetooth
|
|
||||||
BLUETOOTH_HCI_USE_MCT := true
|
|
||||||
QCOM_BT_USE_SMD_TTY := true
|
|
|
@ -1,9 +0,0 @@
|
||||||
MAX_EGL_CACHE_KEY_SIZE := 12*1024
|
|
||||||
MAX_EGL_CACHE_SIZE := 2048*1024
|
|
||||||
|
|
||||||
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
|
|
||||||
|
|
||||||
OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
|
|
||||||
|
|
||||||
TARGET_USES_GRALLOC1 := true
|
|
||||||
TARGET_USES_HWC2 := true
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Init
|
|
||||||
TARGET_INIT_VENDOR_LIB := libinit_msm8937
|
|
||||||
TARGET_PLATFORM_DEVICE_BASE := /devices/soc/
|
|
||||||
TARGET_RECOVERY_DEVICE_MODULES := libinit_msm8937
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Keystore
|
|
||||||
TARGET_PROVIDES_KEYMASTER := true
|
|
|
@ -1 +0,0 @@
|
||||||
TARGET_USES_MEDIA_EXTENSIONS := true
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Power
|
|
||||||
TARGET_HAS_NO_WIFI_STATS := true
|
|
||||||
TARGET_USES_INTERACTION_BOOST := true
|
|
|
@ -1,17 +0,0 @@
|
||||||
# Wi-Fi
|
|
||||||
BOARD_HAS_QCOM_WLAN := true
|
|
||||||
BOARD_HAS_QCOM_WLAN_SDK := true
|
|
||||||
|
|
||||||
BOARD_HOSTAPD_DRIVER := NL80211
|
|
||||||
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_qcwcn
|
|
||||||
|
|
||||||
BOARD_WLAN_DEVICE := qcwcn
|
|
||||||
PRODUCT_VENDOR_MOVE_ENABLED := true
|
|
||||||
|
|
||||||
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
|
|
||||||
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_qcwcn
|
|
||||||
|
|
||||||
WIFI_DRIVER_FW_PATH_AP := "ap"
|
|
||||||
WIFI_DRIVER_FW_PATH_STA := "sta"
|
|
||||||
|
|
||||||
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Recovery
|
|
||||||
TARGET_RECOVERY_FSTAB := $(VENDOR_PATH)/rootdir/fstab.qcom
|
|
|
@ -1,8 +0,0 @@
|
||||||
include device/qcom/sepolicy/sepolicy.mk
|
|
||||||
|
|
||||||
# SELinux
|
|
||||||
BOARD_SEPOLICY_DIRS += \
|
|
||||||
$(VENDOR_PATH)/sepolicy/vendor
|
|
||||||
|
|
||||||
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
|
|
||||||
$(VENDOR_PATH)/sepolicy/private
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Treble
|
|
||||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
|
||||||
PRODUCT_FULL_TREBLE_OVERRIDE := true
|
|
||||||
PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE := 27
|
|
|
@ -256,15 +256,6 @@
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.thermal</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IThermal</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.vibrator</name>
|
<name>android.hardware.vibrator</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
|
356
msm8937.mk
356
msm8937.mk
|
@ -1,5 +1,6 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2016 The CyanogenMod Project
|
# Copyright (C) 2016 The CyanogenMod Project
|
||||||
|
# Copyright (C) 2017-2018 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -21,8 +22,359 @@ DEVICE_PACKAGE_OVERLAYS += \
|
||||||
$(VENDOR_PATH)/overlay \
|
$(VENDOR_PATH)/overlay \
|
||||||
$(VENDOR_PATH)/overlay-lineage
|
$(VENDOR_PATH)/overlay-lineage
|
||||||
|
|
||||||
# Include device-specific product fragments
|
# Properties
|
||||||
include $(VENDOR_PATH)/product/*.mk
|
-include $(VENDOR_PATH)/vendor_prop.mk
|
||||||
|
|
||||||
|
# AAPT
|
||||||
|
# This device is xhdpi. However the platform doesn't
|
||||||
|
# currently contain all of the bitmaps at xhdpi density so
|
||||||
|
# we do this little trick to fall back to the hdpi version
|
||||||
|
# if the xhdpi doesn't exist.
|
||||||
|
PRODUCT_AAPT_CONFIG := normal
|
||||||
|
PRODUCT_AAPT_PREF_CONFIG := xhdpi
|
||||||
|
# A list of dpis to select prebuilt apk, in precedence order.
|
||||||
|
PRODUCT_AAPT_PREBUILT_DPI := hdpi
|
||||||
|
|
||||||
|
# Boot animation
|
||||||
|
TARGET_SCREEN_HEIGHT := 1280
|
||||||
|
TARGET_SCREEN_WIDTH := 720
|
||||||
|
|
||||||
|
# Additional native libraries
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
|
||||||
|
|
||||||
|
# Ambient display
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
XiaomiDoze
|
||||||
|
|
||||||
|
# ANT+
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
AntHalService \
|
||||||
|
com.dsi.ant.antradio_library \
|
||||||
|
libantradio
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
audio.a2dp.default \
|
||||||
|
audio.primary.msm8937 \
|
||||||
|
audio.r_submix.default \
|
||||||
|
audio.usb.default \
|
||||||
|
libqcompostprocbundle \
|
||||||
|
libqcomvisualizer \
|
||||||
|
libqcomvoiceprocessing
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.audio@2.0-impl \
|
||||||
|
android.hardware.audio@2.0-service \
|
||||||
|
android.hardware.audio.effect@2.0-impl \
|
||||||
|
android.hardware.soundtrigger@2.0-impl
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
|
||||||
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.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 \
|
||||||
|
$(VENDOR_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
||||||
|
$(VENDOR_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
|
||||||
|
$(VENDOR_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||||
|
$(VENDOR_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
|
||||||
|
$(VENDOR_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
|
||||||
|
$(VENDOR_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libbt-vendor
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.bluetooth@1.0-service
|
||||||
|
|
||||||
|
# Camera
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
Snap
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.camera.provider@2.4-impl \
|
||||||
|
android.hardware.camera.provider@2.4-service
|
||||||
|
|
||||||
|
# CNE
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libcnefeatureconfig
|
||||||
|
|
||||||
|
# Consumerir HIDL
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.ir@1.0-impl \
|
||||||
|
android.hardware.ir@1.0-service
|
||||||
|
|
||||||
|
# Display
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
copybit.msm8937 \
|
||||||
|
gralloc.msm8937 \
|
||||||
|
hwcomposer.msm8937 \
|
||||||
|
libdisplayconfig \
|
||||||
|
libqdMetaData.system \
|
||||||
|
libtinyxml \
|
||||||
|
memtrack.msm8937
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.graphics.allocator@2.0-impl \
|
||||||
|
android.hardware.graphics.allocator@2.0-service \
|
||||||
|
android.hardware.graphics.composer@2.1-impl \
|
||||||
|
android.hardware.graphics.composer@2.1-service \
|
||||||
|
android.hardware.graphics.mapper@2.0-impl \
|
||||||
|
android.hardware.memtrack@1.0-impl \
|
||||||
|
android.hardware.memtrack@1.0-service
|
||||||
|
|
||||||
|
# DRM
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.drm@1.0-impl \
|
||||||
|
android.hardware.drm@1.0-service
|
||||||
|
|
||||||
|
# Fingerprint sensor
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937
|
||||||
|
|
||||||
|
# FM
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
FMRadio \
|
||||||
|
libfmjni
|
||||||
|
|
||||||
|
# For config.fs
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
fs_config_files
|
||||||
|
|
||||||
|
# Gatekeeper
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.gatekeeper@1.0-impl \
|
||||||
|
android.hardware.gatekeeper@1.0-service
|
||||||
|
|
||||||
|
# GPS
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libgnss \
|
||||||
|
libgnsspps
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.gnss@1.0-impl-qti \
|
||||||
|
android.hardware.gnss@1.0-service-qti
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/gps/etc/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
|
||||||
|
$(VENDOR_PATH)/gps/etc/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
|
||||||
|
$(VENDOR_PATH)/gps/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
||||||
|
$(VENDOR_PATH)/gps/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
||||||
|
$(VENDOR_PATH)/gps/etc/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
|
||||||
|
$(VENDOR_PATH)/gps/etc/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf
|
||||||
|
|
||||||
|
# Healthd
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.health@1.0-impl \
|
||||||
|
android.hardware.health@1.0-service
|
||||||
|
|
||||||
|
# HIDL
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hidl.base@1.0 \
|
||||||
|
android.hidl.manager@1.0 \
|
||||||
|
android.hidl.manager@1.0-java
|
||||||
|
|
||||||
|
# IMS
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
ims-ext-common
|
||||||
|
|
||||||
|
# IRQ balance
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/configs/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf
|
||||||
|
|
||||||
|
# IRSC
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/configs/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config
|
||||||
|
|
||||||
|
# Keylayout
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/keylayout/ft5x06_720p.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/ft5x06_720p.kl \
|
||||||
|
$(VENDOR_PATH)/keylayout/gf3208.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/gf3208.kl \
|
||||||
|
$(VENDOR_PATH)/keylayout/gpio-keys.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/gpio-keys.kl \
|
||||||
|
$(VENDOR_PATH)/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl
|
||||||
|
|
||||||
|
# IDC
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/idc/gf3208.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/gf3208.idc \
|
||||||
|
$(VENDOR_PATH)/idc/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc
|
||||||
|
|
||||||
|
# Keymaster
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.keymaster@3.0-impl \
|
||||||
|
android.hardware.keymaster@3.0-service
|
||||||
|
|
||||||
|
# Lights
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
lights.msm8937
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.light@2.0-impl \
|
||||||
|
android.hardware.light@2.0-service
|
||||||
|
|
||||||
|
# LiveDisplay native
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
vendor.lineage.livedisplay@1.0-service-sdm
|
||||||
|
|
||||||
|
# Media
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
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_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
|
||||||
|
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
|
||||||
|
$(VENDOR_PATH)/configs/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
||||||
|
$(VENDOR_PATH)/configs/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
|
||||||
|
$(VENDOR_PATH)/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml
|
||||||
|
|
||||||
|
# Net
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.system.net.netd@1.0 \
|
||||||
|
libandroid_net \
|
||||||
|
netutils-wrapper-1.0
|
||||||
|
|
||||||
|
# OMX
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libc2dcolorconvert \
|
||||||
|
libmm-omxcore \
|
||||||
|
libOmxAacEnc \
|
||||||
|
libOmxAmrEnc \
|
||||||
|
libOmxCore \
|
||||||
|
libOmxEvrcEnc \
|
||||||
|
libOmxQcelp13Enc \
|
||||||
|
libOmxSwVencHevc \
|
||||||
|
libOmxVdec \
|
||||||
|
libOmxVenc \
|
||||||
|
libstagefrighthw
|
||||||
|
|
||||||
|
# Permissions
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.dsi.ant.antradio_library.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
|
||||||
|
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 \
|
||||||
|
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.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.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.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-0.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-0.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_0_3.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.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.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.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
|
||||||
|
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
|
||||||
|
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
||||||
|
|
||||||
|
# Power
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.power@1.0-service-qti
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/configs/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
|
||||||
|
|
||||||
|
# QCOM
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/configs/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/privapp-permissions-qti.xml \
|
||||||
|
$(VENDOR_PATH)/configs/qti_whitelist.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/qti_whitelist.xml
|
||||||
|
|
||||||
|
# RCS
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
rcs_service_aidl \
|
||||||
|
rcs_service_aidl.xml \
|
||||||
|
rcs_service_api \
|
||||||
|
rcs_service_api.xml
|
||||||
|
|
||||||
|
# RIL
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
librmnetctl \
|
||||||
|
libxml2
|
||||||
|
|
||||||
|
# Ramdisk
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
fstab.qcom \
|
||||||
|
init.qcom.rc \
|
||||||
|
init.qcom.usb.rc \
|
||||||
|
init.qcom.power.rc \
|
||||||
|
init.recovery.qcom.rc \
|
||||||
|
init.target.rc \
|
||||||
|
ueventd.qcom.rc
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
init.qcom.sh \
|
||||||
|
init.qcom.usb.sh
|
||||||
|
|
||||||
|
# RenderScript
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.renderscript@1.0-impl
|
||||||
|
|
||||||
|
# Seccomp policy
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
|
||||||
|
$(VENDOR_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
|
||||||
|
|
||||||
|
# Sensors
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.sensors@1.0-impl \
|
||||||
|
android.hardware.sensors@1.0-service
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \
|
||||||
|
$(VENDOR_PATH)/configs/sensors/sensor_def_qcomdev.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_def_qcomdev.conf
|
||||||
|
|
||||||
|
# Telephony
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
telephony-ext
|
||||||
|
|
||||||
|
PRODUCT_BOOT_JARS += \
|
||||||
|
telephony-ext
|
||||||
|
|
||||||
|
# Thermal
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
$(VENDOR_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf
|
||||||
|
|
||||||
|
# Vibrator
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.vibrator@1.0-impl \
|
||||||
|
android.hardware.vibrator@1.0-service
|
||||||
|
|
||||||
|
# VNDK-SP
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
vndk-sp
|
||||||
|
|
||||||
|
# WiFi
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libwpa_client \
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
hostapd \
|
||||||
|
wpa_supplicant \
|
||||||
|
wpa_supplicant.conf
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.wifi@1.0-service
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(VENDOR_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
||||||
|
$(VENDOR_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
|
||||||
|
$(VENDOR_PATH)/wifi/firmware/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
|
||||||
|
$(VENDOR_PATH)/wifi/firmware/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
|
||||||
|
|
||||||
# Inherit common proprietary files
|
# Inherit common proprietary files
|
||||||
$(call inherit-product-if-exists, vendor/xiaomi/msm8937-common/msm8937-common-vendor.mk)
|
$(call inherit-product-if-exists, vendor/xiaomi/msm8937-common/msm8937-common-vendor.mk)
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
# ANT
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
AntHalService \
|
|
||||||
com.dsi.ant.antradio_library \
|
|
||||||
libantradio
|
|
||||||
|
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.dsi.ant.antradio_library.xml
|
|
|
@ -1,7 +0,0 @@
|
||||||
# Audio HAL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.audio@2.0-impl \
|
|
||||||
android.hardware.audio@2.0-service \
|
|
||||||
android.hardware.audio.effect@2.0-impl \
|
|
||||||
android.hardware.broadcastradio@1.0-impl \
|
|
||||||
android.hardware.soundtrigger@2.0-impl
|
|
|
@ -1,17 +0,0 @@
|
||||||
# Permissions
|
|
||||||
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
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
qcom.bluetooth.soc=smd \
|
|
||||||
ro.bluetooth.dun=true \
|
|
||||||
ro.bluetooth.hfp.ver=1.7 \
|
|
||||||
ro.bluetooth.sap=true \
|
|
||||||
ro.qualcomm.bt.hci_transport=smd
|
|
||||||
|
|
||||||
# Bluetooth
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.bluetooth@1.0-service \
|
|
||||||
libbt-vendor
|
|
|
@ -1,15 +0,0 @@
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
|
|
||||||
|
|
||||||
# HIDL Packages
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
camera.device@1.0-impl \
|
|
||||||
camera.device@3.2-impl \
|
|
||||||
android.hardware.camera.provider@2.4-impl \
|
|
||||||
android.hardware.camera.provider@2.4-service \
|
|
||||||
vendor.qti.hardware.camera.device@1.0 \
|
|
||||||
vendor.qti.hardware.camera.device@1.0_vendor
|
|
|
@ -1,3 +0,0 @@
|
||||||
# CNE
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
persist.cne.feature=1
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Configstore
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.configstore@1.0-service
|
|
|
@ -1,8 +0,0 @@
|
||||||
# Consumerir HIDL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.ir@1.0-impl \
|
|
||||||
android.hardware.ir@1.0-service
|
|
||||||
|
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
|
|
|
@ -1,43 +0,0 @@
|
||||||
# Boot animation
|
|
||||||
TARGET_SCREEN_HEIGHT := 1280
|
|
||||||
TARGET_SCREEN_WIDTH := 720
|
|
||||||
|
|
||||||
# This device is xhdpi. However the platform doesn't
|
|
||||||
# currently contain all of the bitmaps at xhdpi density so
|
|
||||||
# we do this little trick to fall back to the hdpi version
|
|
||||||
# if the xhdpi doesn't exist.
|
|
||||||
PRODUCT_AAPT_CONFIG := normal
|
|
||||||
PRODUCT_AAPT_PREF_CONFIG := xhdpi
|
|
||||||
# A list of dpis to select prebuilt apk, in precedence order.
|
|
||||||
PRODUCT_AAPT_PREBUILT_DPI := hdpi
|
|
||||||
|
|
||||||
# Ambient display
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
XiaomiDoze
|
|
||||||
|
|
||||||
# Display HAL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.graphics.allocator@2.0-impl \
|
|
||||||
android.hardware.graphics.allocator@2.0-service \
|
|
||||||
android.hardware.graphics.composer@2.1-impl \
|
|
||||||
android.hardware.graphics.composer@2.1-service \
|
|
||||||
android.hardware.graphics.mapper@2.0-impl \
|
|
||||||
android.hardware.memtrack@1.0-impl \
|
|
||||||
android.hardware.memtrack@1.0-service
|
|
||||||
|
|
||||||
# LiveDisplay native
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
vendor.lineage.livedisplay@1.0-service-sdm
|
|
||||||
|
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.opengles.version=196610 \
|
|
||||||
ro.sf.lcd_density=320
|
|
||||||
|
|
||||||
# RenderScript HAL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.renderscript@1.0-impl
|
|
|
@ -1,4 +0,0 @@
|
||||||
# DRM
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.drm@1.0-impl \
|
|
||||||
android.hardware.drm@1.0-service
|
|
|
@ -1,7 +0,0 @@
|
||||||
# Fingerprint
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937
|
|
||||||
|
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Gatekeeper HAL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.gatekeeper@1.0-impl \
|
|
||||||
android.hardware.gatekeeper@1.0-service
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Healthd
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.health@1.0-impl \
|
|
||||||
android.hardware.health@1.0-service
|
|
|
@ -1,5 +0,0 @@
|
||||||
# HIDL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hidl.base@1.0 \
|
|
||||||
android.hidl.manager@1.0 \
|
|
||||||
android.hidl.manager@1.0-java
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Init scripts
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
fstab.qcom \
|
|
||||||
init.qcom.rc \
|
|
||||||
init.target.rc \
|
|
||||||
init.qcom.power.rc \
|
|
||||||
init.qcom.usb.rc \
|
|
||||||
init.recovery.qcom.rc \
|
|
||||||
ueventd.qcom.rc
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
init.qcom.sh
|
|
|
@ -1,3 +0,0 @@
|
||||||
# IRQ
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Keylayouts
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/keylayout/ft5x06_720p.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/ft5x06_720p.kl \
|
|
||||||
$(VENDOR_PATH)/keylayout/gf3208.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/gf3208.kl \
|
|
||||||
$(VENDOR_PATH)/keylayout/gpio-keys.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/gpio-keys.kl \
|
|
||||||
$(VENDOR_PATH)/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl
|
|
||||||
|
|
||||||
# IDC
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/idc/gf3208.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/gf3208.idc \
|
|
||||||
$(VENDOR_PATH)/idc/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Keymaster HAL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.keymaster@3.0-impl \
|
|
||||||
android.hardware.keymaster@3.0-service
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Lights
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.light@2.0-impl \
|
|
||||||
android.hardware.light@2.0-service \
|
|
||||||
lights.msm8937
|
|
|
@ -1,27 +0,0 @@
|
||||||
# Media
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
|
||||||
$(VENDOR_PATH)/configs/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
|
||||||
$(VENDOR_PATH)/configs/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
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_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
|
|
||||||
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
drm.service.enabled=true \
|
|
||||||
media.aac_51_output_enabled=true \
|
|
||||||
mm.enable.smoothstreaming=true \
|
|
||||||
vendor.audio.hw.aac.encoder=true \
|
|
||||||
vendor.vidc.disable.split.mode=1 \
|
|
||||||
vendor.vidc.enc.disable.pq=true \
|
|
||||||
vendor.vidc.enc.disable_bframes=1 \
|
|
||||||
vidc.enc.narrow.searchrange=1 \
|
|
||||||
vidc.disable.split.mode=1
|
|
||||||
|
|
||||||
# Seccomp policy
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
|
|
||||||
$(VENDOR_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
|
|
|
@ -1,7 +0,0 @@
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.vendor.qti.sys.fw.use_trim_settings=true \
|
|
||||||
ro.vendor.qti.sys.fw.empty_app_percent=50 \
|
|
||||||
ro.vendor.qti.sys.fw.trim_empty_percent=100 \
|
|
||||||
ro.vendor.qti.sys.fw.trim_cache_percent=100 \
|
|
||||||
ro.vendor.qti.sys.fw.trim_enable_memory=6442450944
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.control_privapp_permissions=enforce
|
|
|
@ -1,67 +0,0 @@
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
|
|
||||||
|
|
||||||
# Audio
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
audio.a2dp.default \
|
|
||||||
audio.primary.msm8937 \
|
|
||||||
audio.r_submix.default \
|
|
||||||
audio.usb.default \
|
|
||||||
libaudio-resampler \
|
|
||||||
libqcomvisualizer \
|
|
||||||
libqcomvoiceprocessing \
|
|
||||||
libqcompostprocbundle \
|
|
||||||
tinymix
|
|
||||||
|
|
||||||
# Audio configuration
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/audio/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
|
|
||||||
$(VENDOR_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
|
|
||||||
$(VENDOR_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
|
||||||
$(VENDOR_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
|
|
||||||
$(VENDOR_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
|
|
||||||
$(VENDOR_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt
|
|
||||||
|
|
||||||
# XML Audio configuration files
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
|
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
af.fast_track_multiplier=2 \
|
|
||||||
audio.deep_buffer.media=true \
|
|
||||||
audio.offload.disable=true \
|
|
||||||
audio.offload.min.duration.secs=30 \
|
|
||||||
audio.offload.video=true \
|
|
||||||
persist.vendor.audio.fluence.voicecall=true \
|
|
||||||
persist.vendor.audio.fluence.voicerec=true \
|
|
||||||
persist.vendor.audio.fluence.speaker=true \
|
|
||||||
persist.vendor.audio.speaker.prot.enable=false \
|
|
||||||
ro.config.media_vol_steps=25 \
|
|
||||||
ro.config.vc_call_vol_steps=7 \
|
|
||||||
ro.vendor.audio.sdk.ssr=false \
|
|
||||||
ro.vendor.audio.sdk.fluencetype=fluence \
|
|
||||||
audio.parser.ip.buffer.size=262144 \
|
|
||||||
vendor.audio_hal.period_size=192 \
|
|
||||||
vendor.audio.tunnel.encode=false \
|
|
||||||
vendor.audio.offload.buffer.size.kb=64 \
|
|
||||||
vendor.audio.offload.track.enable=true \
|
|
||||||
vendor.audio.playback.mch.downsample=true \
|
|
||||||
vendor.voice.path.for.pcm.voip=true \
|
|
||||||
vendor.audio.use.sw.alac.decoder=true \
|
|
||||||
vendor.audio.use.sw.ape.decoder=true \
|
|
||||||
vendor.audio.offload.gapless.enabled=true \
|
|
||||||
vendor.audio.offload.multiple.enabled=false \
|
|
||||||
vendor.audio.safx.pbe.enabled=true \
|
|
||||||
vendor.audio.pp.asphere.enabled=false \
|
|
||||||
vendor.audio.offload.multiaac.enable=true \
|
|
||||||
vendor.audio.flac.sw.decoder.24bit=true \
|
|
||||||
vendor.voice.playback.conc.disabled=true \
|
|
||||||
vendor.voice.record.conc.disabled=false \
|
|
||||||
vendor.voice.voip.conc.disabled=true \
|
|
||||||
vendor.voice.conc.fallbackpath=deep-buffer
|
|
|
@ -1,14 +0,0 @@
|
||||||
# Snap
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
Snap
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
camera.display.umax=1920x1080 \
|
|
||||||
camera.display.lmax=1280x720 \
|
|
||||||
camera.hal1.packagelist=com.skype.raider,com.google.android.talk \
|
|
||||||
media.camera.ts.monotonic=1 \
|
|
||||||
persist.camera.gyro.android=1 \
|
|
||||||
persist.camera.HAL3.enabled=0 \
|
|
||||||
persist.camera.is_type=1 \
|
|
||||||
vidc.enc.narrow.searchrange=1
|
|
|
@ -1,25 +0,0 @@
|
||||||
# Display
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
copybit.msm8937 \
|
|
||||||
gralloc.msm8937 \
|
|
||||||
hwcomposer.msm8937 \
|
|
||||||
libdisplayconfig \
|
|
||||||
libqdMetaData.system \
|
|
||||||
libtinyxml \
|
|
||||||
memtrack.msm8937
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
debug.gralloc.enable_fb_ubwc=1 \
|
|
||||||
debug.enable.sglscale=1 \
|
|
||||||
debug.mdpcomp.logs=0 \
|
|
||||||
dev.pm.dyn_samplingrate=1 \
|
|
||||||
persist.demo.hdmirotationlock=false \
|
|
||||||
persist.hwc.enable_vds=1 \
|
|
||||||
persist.hwc.mdpcomp.enable=true
|
|
||||||
|
|
||||||
# Vulkan
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
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-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-0.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_0_3.xml
|
|
|
@ -1,8 +0,0 @@
|
||||||
# FM
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
FMRadio \
|
|
||||||
libfmjni
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.fm.transmitter=false
|
|
|
@ -1,19 +0,0 @@
|
||||||
# GPS
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.gnss@1.0-impl-qti \
|
|
||||||
android.hardware.gnss@1.0-service-qti \
|
|
||||||
libcurl \
|
|
||||||
libgnss \
|
|
||||||
libgnsspps
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/gps/etc/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
|
|
||||||
$(VENDOR_PATH)/gps/etc/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
|
|
||||||
$(VENDOR_PATH)/gps/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
|
||||||
$(VENDOR_PATH)/gps/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
|
||||||
$(VENDOR_PATH)/gps/etc/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
|
|
||||||
$(VENDOR_PATH)/gps/etc/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf
|
|
||||||
|
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Media
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
libc2dcolorconvert \
|
|
||||||
libmm-omxcore \
|
|
||||||
libOmxAacEnc \
|
|
||||||
libOmxAmrEnc \
|
|
||||||
libOmxCore \
|
|
||||||
libOmxEvrcEnc \
|
|
||||||
libOmxQcelp13Enc \
|
|
||||||
libOmxVdec \
|
|
||||||
libOmxVenc \
|
|
||||||
libstagefrighthw
|
|
|
@ -1,17 +0,0 @@
|
||||||
|
|
||||||
# Powerhint
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
|
|
||||||
|
|
||||||
# Public Libraries
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
|
|
||||||
|
|
||||||
# Power
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.power@1.0-service-qti
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.vendor.extension_library=libqti-perfd-client.so \
|
|
||||||
ro.vendor.qti.sys.fw.bg_apps_limit=60
|
|
|
@ -1,78 +0,0 @@
|
||||||
# IRSC
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config
|
|
||||||
|
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
|
|
||||||
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
libjson
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
DEVICE_PROVISIONED=1 \
|
|
||||||
persist.data.iwlan.enable=true \
|
|
||||||
persist.data.mode=concurrent \
|
|
||||||
persist.data.netmgrd.qos.enable=true \
|
|
||||||
persist.dbg.ims_volte_enable=1 \
|
|
||||||
persist.dbg.volte_avail_ovr=1 \
|
|
||||||
persist.dbg.vt_avail_ovr=1 \
|
|
||||||
persist.dbg.wfc_avail_ovr=0 \
|
|
||||||
persist.radio.aosp_usr_pref_sel=true \
|
|
||||||
persist.radio.apm_sim_not_pwdn=1 \
|
|
||||||
persist.radio.calls.on.ims=0 \
|
|
||||||
persist.radio.csvt.enabled=false \
|
|
||||||
persist.radio.jbims=0 \
|
|
||||||
persist.radio.mt_sms_ack=20 \
|
|
||||||
persist.radio.multisim.config=dsds \
|
|
||||||
persist.radio.videopause.mode=1 \
|
|
||||||
persist.vendor.radio.custom_ecc=1 \
|
|
||||||
persist.vendor.radio.rat_on=combine \
|
|
||||||
persist.vendor.radio.sib16_support=1 \
|
|
||||||
persist.vendor.qti.telephony.vt_cam_interface=1 \
|
|
||||||
ril.subscription.types=NV,RUIM \
|
|
||||||
rild.libargs=-d/dev/smd0 \
|
|
||||||
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
|
|
||||||
ro.telephony.call_ring.multiple=false \
|
|
||||||
ro.telephony.default_network=20 \
|
|
||||||
ro.use_data_netmgrd=true \
|
|
||||||
service.qti.ims.enabled=1 \
|
|
||||||
telephony.lteOnCdmaDevice=1
|
|
||||||
|
|
||||||
# Radio
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
libcnefeatureconfig \
|
|
||||||
librmnetctl \
|
|
||||||
libxml2
|
|
||||||
|
|
||||||
# Net
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.system.net.netd@1.0 \
|
|
||||||
libandroid_net \
|
|
||||||
netutils-wrapper-1.0
|
|
||||||
|
|
||||||
# RCS
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
rcs_service_aidl \
|
|
||||||
rcs_service_aidl.xml \
|
|
||||||
rcs_service_api \
|
|
||||||
rcs_service_api.xml
|
|
||||||
|
|
||||||
# Telephony
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
telephony-ext \
|
|
||||||
ims-ext-common
|
|
||||||
|
|
||||||
PRODUCT_BOOT_JARS += \
|
|
||||||
telephony-ext
|
|
||||||
|
|
||||||
# Whitelisted app
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml
|
|
||||||
|
|
||||||
# Privileged app
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/privapp-permissions-qti.xml:system/etc/permissions/privapp-permissions-qti.xml
|
|
|
@ -1,8 +0,0 @@
|
||||||
# Thermal
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf
|
|
||||||
|
|
||||||
# Thermal HAL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.thermal@1.0-impl \
|
|
||||||
android.hardware.thermal@1.0-service
|
|
|
@ -1,20 +0,0 @@
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
|
|
||||||
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
|
||||||
|
|
||||||
# Sensors
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.sensors@1.0-impl \
|
|
||||||
android.hardware.sensors@1.0-service \
|
|
||||||
sensors.msm8937
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \
|
|
||||||
$(VENDOR_PATH)/configs/sensors/sensor_def_qcomdev.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_def_qcomdev.conf
|
|
|
@ -1,2 +0,0 @@
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
persist.delta_time.enable=true
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Init scripts
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
init.qcom.usb.sh
|
|
||||||
|
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
|
|
||||||
|
|
||||||
# USB
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
persist.sys.usb.config.extra=none
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Vibrator HAL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.vibrator@1.0-impl \
|
|
||||||
android.hardware.vibrator@1.0-service
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
# VNDK-SP:
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
vndk-sp
|
|
|
@ -1,31 +0,0 @@
|
||||||
# Permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
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.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml
|
|
||||||
|
|
||||||
# Wi-Fi
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
hostapd \
|
|
||||||
libwpa_client \
|
|
||||||
wpa_supplicant \
|
|
||||||
wpa_supplicant.conf
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
libQWiFiSoftApCfg
|
|
||||||
|
|
||||||
# Wi-Fi HIDL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.wifi@1.0-service
|
|
||||||
|
|
||||||
# Properties
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
wifi.interface=wlan0
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
|
||||||
$(VENDOR_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(VENDOR_PATH)/wifi/firmware/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
|
|
||||||
$(VENDOR_PATH)/wifi/firmware/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
|
|
154
vendor_prop.mk
Normal file
154
vendor_prop.mk
Normal file
|
@ -0,0 +1,154 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2018 The LineageOS 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
af.fast_track_multiplier=1 \
|
||||||
|
audio.deep_buffer.media=true \
|
||||||
|
audio.offload.min.duration.secs=30 \
|
||||||
|
audio.offload.video=true \
|
||||||
|
persist.vendor.audio.fluence.voicecall=true \
|
||||||
|
persist.vendor.audio.fluence.speaker=true \
|
||||||
|
persist.vendor.audio.fluence.voicerec=true \
|
||||||
|
persist.vendor.audio.speaker.prot.enable=false \
|
||||||
|
persist.vendor.bt.enable.splita2dp=false \
|
||||||
|
ro.config.media_vol_steps=15 \
|
||||||
|
ro.config.vc_call_vol_steps=7 \
|
||||||
|
ro.vendor.audio.sdk.fluencetype=fluence \
|
||||||
|
ro.vendor.audio.sdk.ssr=false \
|
||||||
|
vendor.audio_hal.period_size=192 \
|
||||||
|
vendor.audio.hw.aac.encoder=true \
|
||||||
|
vendor.audio.offload.buffer.size.kb=64 \
|
||||||
|
vendor.audio.offload.gapless.enabled=true \
|
||||||
|
vendor.audio.playback.mch.downsample=true \
|
||||||
|
vendor.audio.offload.multiple.enabled=false \
|
||||||
|
vendor.audio.offload.passthrough=false \
|
||||||
|
vendor.audio.offload.track.enable=true \
|
||||||
|
vendor.audio.parser.ip.buffer.size=262144 \
|
||||||
|
vendor.audio.pp.asphere.enabled=false \
|
||||||
|
vendor.audio.safx.pbe.enabled=true \
|
||||||
|
vendor.tunnel.audio.encode=false \
|
||||||
|
vendor.voice.conc.fallbackpath=deep-buffer \
|
||||||
|
vendor.voice.path.for.pcm.voip=true
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
qcom.bluetooth.soc=smd \
|
||||||
|
ro.qualcomm.bt.hci_transport=smd
|
||||||
|
|
||||||
|
# Camera
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
persist.vendor.camera.display.umax=1920x1080 \
|
||||||
|
persist.vendor.camera.display.lmax=1280x720 \
|
||||||
|
persist.vendor.qti.telephony.vt_cam_interface=1 \
|
||||||
|
persist.camera.gyro.android=1 \
|
||||||
|
persist.camera.HAL3.enabled=0 \
|
||||||
|
persist.camera.is_type=1 \
|
||||||
|
vidc.enc.dcvs.extra-buff-count=2
|
||||||
|
|
||||||
|
# CNE
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
persist.cne.feature=1
|
||||||
|
|
||||||
|
# Display
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.opengles.version=196610 \
|
||||||
|
ro.qualcomm.cabl=2 \
|
||||||
|
ro.sf.lcd_density=320
|
||||||
|
|
||||||
|
# Fm
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.fm.transmitter=false
|
||||||
|
|
||||||
|
# GPS
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.gps.agps_provider=1
|
||||||
|
|
||||||
|
# Graphics
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
debug.egl.hw=1 \
|
||||||
|
debug.gralloc.enable_fb_ubwc=1 \
|
||||||
|
debug.sf.hw=1 \
|
||||||
|
debug.sf.latch_unsignaled=1 \
|
||||||
|
dev.pm.dyn_samplingrate=1 \
|
||||||
|
persist.demo.hdmirotationlock=false \
|
||||||
|
persist.hwc.enable_vds=1 \
|
||||||
|
persist.sys.wfd.virtual=0
|
||||||
|
|
||||||
|
# IMS
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
persist.dbg.volte_avail_ovr=1 \
|
||||||
|
persist.dbg.vt_avail_ovr=1
|
||||||
|
|
||||||
|
# Media
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
mm.enable.qcom_parser=4176895 \
|
||||||
|
media.stagefright.audio.sink=280 \
|
||||||
|
vendor.vidc.enc.disable_bframes=1 \
|
||||||
|
vendor.vidc.enc.disable_pframes=1 \
|
||||||
|
vendor.vidc.enc.narrow.searchrange=1 \
|
||||||
|
vendor.vidc.disable.split.mode=1
|
||||||
|
|
||||||
|
# Perf
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.vendor.extension_library=libqti-perfd-client.so \
|
||||||
|
ro.vendor.qti.sys.fw.bg_apps_limit=60
|
||||||
|
|
||||||
|
# Priv-app permissions whitelist
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.control_privapp_permissions=enforce
|
||||||
|
|
||||||
|
# Netmgrd
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.use_data_netmgrd=true \
|
||||||
|
persist.data.netmgrd.qos.enable=true \
|
||||||
|
persist.data.mode=concurrent
|
||||||
|
|
||||||
|
# Radio
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
DEVICE_PROVISIONED=1 \
|
||||||
|
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
|
||||||
|
ril.subscription.types=NV,RUIM \
|
||||||
|
ro.telephony.call_ring.multiple=false \
|
||||||
|
ro.telephony.default_network=22,22 \
|
||||||
|
persist.radio.apm_sim_not_pwdn=1 \
|
||||||
|
persist.radio.aosp_usr_pref_sel=true \
|
||||||
|
persist.radio.multisim.config=dsds \
|
||||||
|
persist.vendor.radio.custom_ecc=1 \
|
||||||
|
persist.vendor.radio.rat_on=combine \
|
||||||
|
persist.vendor.radio.sib16_support=1 \
|
||||||
|
telephony.lteOnCdmaDevice=1
|
||||||
|
|
||||||
|
# Time Services
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
persist.delta_time.enable=true \
|
||||||
|
persist.timed.enable=true
|
||||||
|
|
||||||
|
# Trim properties
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.vendor.qti.sys.fw.use_trim_settings=true \
|
||||||
|
ro.vendor.qti.sys.fw.empty_app_percent=50 \
|
||||||
|
ro.vendor.qti.sys.fw.trim_empty_percent=100 \
|
||||||
|
ro.vendor.qti.sys.fw.trim_cache_percent=100 \
|
||||||
|
ro.vendor.qti.sys.fw.trim_enable_memory=2147483648
|
||||||
|
|
||||||
|
# Usb
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
persist.sys.usb.config.extra=none
|
||||||
|
|
||||||
|
# Wifi
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
wifi.interface=wlan0
|
Loading…
Reference in a new issue