mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sdm710-common
synced 2026-01-27 12:13:48 +00:00
sdm710-common: Initialize for Evolution X 9.x
This commit is contained in:
14
Android.bp
14
Android.bp
@@ -14,3 +14,17 @@ soong_namespace {
|
||||
"vendor/qcom/opensource/usb/etc",
|
||||
],
|
||||
}
|
||||
|
||||
install_symlink {
|
||||
name: "firmware_WCNSS_qcom_cfg.ini_symlink",
|
||||
vendor: true,
|
||||
installed_location: "firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini",
|
||||
symlink_target: "/vendor/etc/wifi/WCNSS_qcom_cfg.ini",
|
||||
}
|
||||
|
||||
install_symlink {
|
||||
name: "firmware_wlan_mac.bin_symlink",
|
||||
vendor: true,
|
||||
installed_location: "firmware/wlan/qca_cld/wlan_mac.bin",
|
||||
symlink_target: "/mnt/vendor/persist/wlan_mac.bin",
|
||||
}
|
||||
|
||||
66
Android.mk
66
Android.mk
@@ -31,70 +31,4 @@ $(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT)
|
||||
|
||||
RFS_MSM_ADSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/adsp/
|
||||
$(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "Creating RFS MSM ADSP folder structure: $@"
|
||||
@rm -rf $@/*
|
||||
@mkdir -p $(dir $@)/readonly/vendor
|
||||
$(hide) ln -sf /data/vendor/tombstones/rfs/lpass $@/ramdumps
|
||||
$(hide) ln -sf /mnt/vendor/persist/rfs/msm/adsp $@/readwrite
|
||||
$(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
|
||||
$(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
|
||||
$(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
|
||||
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
|
||||
|
||||
RFS_MSM_CDSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/cdsp/
|
||||
$(RFS_MSM_CDSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "Creating RFS MSM CDSP folder structure: $@"
|
||||
@rm -rf $@/*
|
||||
@mkdir -p $(dir $@)/readonly/vendor
|
||||
$(hide) ln -sf /data/vendor/tombstones/rfs/cdsp $@/ramdumps
|
||||
$(hide) ln -sf /mnt/vendor/persist/rfs/msm/cdsp $@/readwrite
|
||||
$(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
|
||||
$(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
|
||||
$(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
|
||||
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
|
||||
|
||||
RFS_MSM_MPSS_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/mpss/
|
||||
$(RFS_MSM_MPSS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "Creating RFS MSM MPSS folder structure: $@"
|
||||
@rm -rf $@/*
|
||||
@mkdir -p $(dir $@)/readonly/vendor
|
||||
$(hide) ln -sf /data/vendor/tombstones/rfs/modem $@/ramdumps
|
||||
$(hide) ln -sf /mnt/vendor/persist/rfs/msm/mpss $@/readwrite
|
||||
$(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
|
||||
$(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
|
||||
$(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
|
||||
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
|
||||
|
||||
RFS_MSM_SLPI_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/slpi/
|
||||
$(RFS_MSM_SLPI_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "Creating RFS MSM SLPI folder structure: $@"
|
||||
@rm -rf $@/*
|
||||
@mkdir -p $(dir $@)/readonly/vendor
|
||||
$(hide) ln -sf /data/vendor/tombstones/rfs/slpi $@/ramdumps
|
||||
$(hide) ln -sf /mnt/vendor/persist/rfs/msm/slpi $@/readwrite
|
||||
$(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
|
||||
$(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
|
||||
$(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
|
||||
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_CDSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS)
|
||||
|
||||
WCNSS_INI_SYMLINK := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini
|
||||
$(WCNSS_INI_SYMLINK): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "WCNSS config ini link: $@"
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /vendor/etc/wifi/$(notdir $@) $@
|
||||
|
||||
WCNSS_MAC_SYMLINK := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/wlan_mac.bin
|
||||
$(WCNSS_MAC_SYMLINK): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "WCNSS MAC bin link: $@"
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /mnt/vendor/persist/$(notdir $@) $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(WCNSS_INI_SYMLINK) $(WCNSS_MAC_SYMLINK)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2022 The LineageOS Project
|
||||
# Copyright (C) 2024 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
@@ -7,7 +7,6 @@
|
||||
COMMON_PATH := device/xiaomi/sdm710-common
|
||||
|
||||
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
|
||||
BUILD_BROKEN_INCORRECT_PARTITION_IMAGES := true
|
||||
|
||||
# APEX
|
||||
DEXPREOPT_GENERATE_APEX_IMAGE := true
|
||||
@@ -42,6 +41,9 @@ USE_CUSTOM_AUDIO_POLICY := 1
|
||||
TARGET_BOOTLOADER_BOARD_NAME := sdm710
|
||||
TARGET_NO_BOOTLOADER := true
|
||||
|
||||
# Camera
|
||||
TARGET_USES_YCRCB_CAMERA_ENCODE := true
|
||||
|
||||
# Display
|
||||
TARGET_HAS_WIDE_COLOR_DISPLAY := true
|
||||
TARGET_USES_GRALLOC1 := true
|
||||
@@ -163,7 +165,7 @@ BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1
|
||||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
|
||||
$(COMMON_PATH)/framework_compatibility_matrix.xml \
|
||||
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
|
||||
hardware/qcom-caf/common/vendor_framework_compatibility_matrix_legacy.xml \
|
||||
hardware/qcom-caf/common/vendor_framework_compatibility_matrix_legacy.xml \
|
||||
hardware/xiaomi/vintf/xiaomi_framework_compatibility_matrix.xml \
|
||||
vendor/lineage/config/device_framework_matrix.xml
|
||||
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest.xml
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
[
|
||||
{
|
||||
"repository": "Evolution-X/hardware_xiaomi",
|
||||
"target_path": "hardware/xiaomi",
|
||||
"remote": "github-non-los"
|
||||
},
|
||||
{
|
||||
"repository": "kernel_xiaomi_sdm710",
|
||||
"target_path": "kernel/xiaomi/sdm710"
|
||||
},
|
||||
{
|
||||
"repository": "vendor_xiaomi_sdm710-common",
|
||||
"target_path": "vendor/xiaomi/sdm710-common"
|
||||
},
|
||||
{
|
||||
"repository": "Evolution-X/vendor_bcr",
|
||||
"target_path": "vendor/bcr",
|
||||
"remote": "github-non-los"
|
||||
},
|
||||
]
|
||||
10
lineage.dependencies
Normal file
10
lineage.dependencies
Normal file
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_hardware_xiaomi",
|
||||
"target_path": "hardware/xiaomi"
|
||||
},
|
||||
{
|
||||
"repository": "android_kernel_xiaomi_sdm710",
|
||||
"target_path": "kernel/xiaomi/sdm710"
|
||||
}
|
||||
]
|
||||
@@ -46,21 +46,4 @@
|
||||
|
||||
<!-- Whether device has screen with higher aspect ratio -->
|
||||
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
||||
|
||||
<!-- The list of package IDs that are allowed to use aux cameras.
|
||||
NOTE: If this list is empty then all apps will be able to use aux cameras. -->
|
||||
<string-array name="config_cameraAuxPackageAllowList" translatable="false">
|
||||
<item>com.android.camera</item>
|
||||
<item>com.google.android.apps.cameralite</item>
|
||||
<item>org.codeaurora.snapcam</item>
|
||||
<item>org.lineageos.aperture</item>
|
||||
<item>org.lineageos.aperture.dev</item>
|
||||
<item>org.pixelexperience.faceunlock</item>
|
||||
</string-array>
|
||||
|
||||
<!-- The list of package IDs that are allowed to skip camera high frame rate checks. -->
|
||||
<string-array name="config_cameraHFRPrivAppList" translatable="false">
|
||||
<item>com.android.camera</item>
|
||||
<item>org.lineageos.aperture</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
@@ -1,12 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright (C) 2024 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<bool name="call_recording_enabled">true</bool>
|
||||
Copyright (C) 2016 The CyanogenMod Project
|
||||
|
||||
<!-- 1 (MIC) for microphone audio source (default)
|
||||
4 (VOICE_CALL) if supported by device for voice call uplink + downlink audio source -->
|
||||
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.
|
||||
-->
|
||||
<resources>
|
||||
<bool name="call_recording_enabled">true</bool>
|
||||
<integer name="call_recording_audio_source">4</integer>
|
||||
</resources>
|
||||
|
||||
@@ -24,9 +24,6 @@
|
||||
<!-- The restoring is handled by modem if it is true-->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
|
||||
<bool name="config_cellBroadcastAppLinks">true</bool>
|
||||
|
||||
<!-- This string array should be overridden by the device to present a list of network
|
||||
attributes. This is used by the connectivity manager to decide which networks can coexist
|
||||
based on the hardware -->
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
<permissions>
|
||||
<privapp-permissions package="com.qualcomm.wfd.service">
|
||||
<permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/>
|
||||
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
|
||||
</privapp-permissions>
|
||||
</permissions>
|
||||
@@ -463,12 +463,6 @@ vendor/lib64/libmmosal.so
|
||||
|
||||
# Media configs
|
||||
odm/etc/media_profiles_V1_0.xml
|
||||
vendor/etc/media_codecs.xml
|
||||
vendor/etc/media_codecs_performance.xml
|
||||
vendor/etc/media_codecs_performance_v1.xml
|
||||
vendor/etc/media_codecs_vendor.xml
|
||||
vendor/etc/media_codecs_vendor_audio.xml
|
||||
vendor/etc/media_codecs_vendor_v1.xml
|
||||
vendor/etc/media_profiles.xml
|
||||
vendor/etc/media_profiles_vendor.xml
|
||||
vendor/etc/system_properties.xml
|
||||
@@ -772,6 +766,7 @@ vendor/etc/wifi/aoa_cldb_swl14.bin
|
||||
system/framework/WfdCommon.jar|a661c494d064b79a3f71579592411fada1ea232f
|
||||
system_ext/bin/wfdservice|400d123df78c1ed2e9643ff3ddf5ee5748f954fe
|
||||
system_ext/etc/init/wfdservice.rc|907def8565d8f91f531ca7dfad880af05d540b0c
|
||||
system_ext/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml|10dcd4e58f0652d800d48ae5b76e4fab43fda214
|
||||
system_ext/etc/seccomp_policy/wfdservice.policy|5b3592c965f16b2d55ac89d56d8d3c49a6b5800b
|
||||
system_ext/etc/wfdconfigsink.xml|cb78df66948314a75080a4161321fb3111a0785a
|
||||
system_ext/lib/com.qualcomm.qti.wifidisplayhal@1.0.so|cb88bc73bf9f44d7da000a41d38b309ffdf71370
|
||||
|
||||
@@ -69,9 +69,6 @@ on fs
|
||||
chmod 0644 /proc/tp_selftest
|
||||
|
||||
on late-fs
|
||||
# Wait for keymaster
|
||||
exec_start wait_for_keymaster
|
||||
|
||||
# Mount RW partitions which need run fsck
|
||||
mount_all /vendor/etc/fstab.qcom --late
|
||||
|
||||
@@ -157,7 +154,6 @@ on boot
|
||||
setprop vendor.usb.rmnet.inst.name "rmnet"
|
||||
setprop vendor.usb.dpl.inst.name "dpl"
|
||||
setprop vendor.usb.qdss.inst.name "qdss"
|
||||
setprop sys.usb.configfs 1
|
||||
|
||||
#pd-mapper
|
||||
service vendor.pd_mapper /vendor/bin/pd-mapper
|
||||
@@ -194,7 +190,6 @@ on boot
|
||||
|
||||
on charger
|
||||
start vendor.power_off_alarm
|
||||
setprop sys.usb.configfs 1
|
||||
|
||||
service thermal-engine /system/vendor/bin/thermal-engine -T
|
||||
class main
|
||||
|
||||
@@ -64,54 +64,3 @@ on boot
|
||||
on boot
|
||||
chmod 0660 /sys/class/power_supply/battery/input_suspend
|
||||
chown system system /sys/class/power_supply/battery/input_suspend
|
||||
|
||||
# USB
|
||||
on early-boot && property:vendor.usb.uvc.function.init=1
|
||||
write /config/usb_gadget/g1/functions/uvc.0/function_name "Android Webcam"
|
||||
# Remove H264 format
|
||||
rm /config/usb_gadget/g1/functions/uvc.0/streaming/header/h1/h1
|
||||
rm /config/usb_gadget/g1/functions/uvc.0/streaming/header/h/h
|
||||
|
||||
on property:sys.usb.config=uvc,adb && property:sys.usb.configfs=1
|
||||
start adbd
|
||||
|
||||
on property:sys.usb.ffs.ready=1 && property:sys.usb.config=uvc,adb && property:sys.usb.configfs=1
|
||||
write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "uvc_adb"
|
||||
rm /config/usb_gadget/g1/configs/b.1/f1
|
||||
rm /config/usb_gadget/g1/configs/b.1/f2
|
||||
rm /config/usb_gadget/g1/configs/b.1/f3
|
||||
rm /config/usb_gadget/g1/configs/b.1/f4
|
||||
rm /config/usb_gadget/g1/configs/b.1/f5
|
||||
rm /config/usb_gadget/g1/configs/b.1/f6
|
||||
rm /config/usb_gadget/g1/configs/b.1/f7
|
||||
rm /config/usb_gadget/g1/configs/b.1/f8
|
||||
rm /config/usb_gadget/g1/configs/b.1/f9
|
||||
write /config/usb_gadget/g1/idVendor 0x18d1
|
||||
write /config/usb_gadget/g1/idProduct 0x4eee
|
||||
write /config/usb_gadget/g1/bDeviceClass 0xEF
|
||||
write /config/usb_gadget/g1/bDeviceSubClass 0x02
|
||||
write /config/usb_gadget/g1/bDeviceProtocol 0x01
|
||||
symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f1
|
||||
symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2
|
||||
write /config/usb_gadget/g1/UDC ${sys.usb.controller}
|
||||
setprop sys.usb.state ${sys.usb.config}
|
||||
|
||||
on property:sys.usb.config=uvc && property:sys.usb.configfs=1
|
||||
write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "uvc"
|
||||
rm /config/usb_gadget/g1/configs/b.1/f1
|
||||
rm /config/usb_gadget/g1/configs/b.1/f2
|
||||
rm /config/usb_gadget/g1/configs/b.1/f3
|
||||
rm /config/usb_gadget/g1/configs/b.1/f4
|
||||
rm /config/usb_gadget/g1/configs/b.1/f5
|
||||
rm /config/usb_gadget/g1/configs/b.1/f6
|
||||
rm /config/usb_gadget/g1/configs/b.1/f7
|
||||
rm /config/usb_gadget/g1/configs/b.1/f8
|
||||
rm /config/usb_gadget/g1/configs/b.1/f9
|
||||
write /config/usb_gadget/g1/idVendor 0x18d1
|
||||
write /config/usb_gadget/g1/idProduct 0x4eed
|
||||
write /config/usb_gadget/g1/bDeviceClass 0xEF
|
||||
write /config/usb_gadget/g1/bDeviceSubClass 0x02
|
||||
write /config/usb_gadget/g1/bDeviceProtocol 0x01
|
||||
symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f1
|
||||
write /config/usb_gadget/g1/UDC ${sys.usb.controller}
|
||||
setprop sys.usb.state ${sys.usb.config}
|
||||
|
||||
41
sdm710.mk
41
sdm710.mk
@@ -7,7 +7,8 @@
|
||||
# Setup dalvik vm configs
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
||||
|
||||
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := true
|
||||
# Add common definitions for Qualcomm
|
||||
$(call inherit-product, hardware/qcom-caf/common/common.mk)
|
||||
|
||||
# Permissions
|
||||
PRODUCT_COPY_FILES += \
|
||||
@@ -111,10 +112,10 @@ PRODUCT_PACKAGES += \
|
||||
libstdc++_vendor \
|
||||
vendor.qti.hardware.camera.device@1.0.vendor \
|
||||
vendor.qti.hardware.camera.postproc@1.0.vendor
|
||||
|
||||
|
||||
# Configstore
|
||||
PRODUCT_PACKAGES += \
|
||||
disable_configstore
|
||||
disable_configstore
|
||||
|
||||
# Consumer IR
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -190,7 +191,7 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.gnss@1.1.vendor \
|
||||
android.hardware.gnss@2.1.vendor \
|
||||
libsqlite.vendor:64
|
||||
libsqlite.vendor
|
||||
|
||||
# Health
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -218,16 +219,19 @@ PRODUCT_PACKAGES += \
|
||||
# Input
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/keylayout/sdm670-mtp-snd-card_Button_Jack.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/sdm670-mtp-snd-card_Button_Jack.kl
|
||||
|
||||
|
||||
# ION
|
||||
PRODUCT_PACKAGES += \
|
||||
libion.vendor
|
||||
libion.vendor
|
||||
|
||||
# IPACM
|
||||
PRODUCT_PACKAGES += \
|
||||
ipacm \
|
||||
IPACM_cfg.xml
|
||||
|
||||
# Kernel
|
||||
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := true
|
||||
|
||||
# Keymaster
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.keymaster@4.1.vendor
|
||||
@@ -254,12 +258,10 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml \
|
||||
$(LOCAL_PATH)/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
||||
$(LOCAL_PATH)/configs/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
||||
$(LOCAL_PATH)/configs/media_codecs_performance_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \
|
||||
$(LOCAL_PATH)/configs/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
|
||||
$(LOCAL_PATH)/configs/media_codecs_vendor_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/media/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
||||
|
||||
# Mlipay
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -318,7 +320,7 @@ PRODUCT_PACKAGES += \
|
||||
# Overlays
|
||||
DEVICE_PACKAGE_OVERLAYS += \
|
||||
$(LOCAL_PATH)/overlay \
|
||||
$(LOCAL_PATH)/overlay-evolution
|
||||
$(LOCAL_PATH)/overlay-lineage
|
||||
|
||||
PRODUCT_ENFORCE_RRO_TARGETS := *
|
||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += $(LOCAL_PATH)/overlay/packages/apps/CarrierConfig
|
||||
@@ -423,11 +425,13 @@ PRODUCT_PACKAGES += \
|
||||
|
||||
# USB
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.usb@1.3-service.dual_role_usb
|
||||
android.hardware.usb@1.3-service.dual_role_usb \
|
||||
android.hardware.usb.gadget@1.2-service-qti
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
init.qcom.usb.rc \
|
||||
init.qcom.usb.sh
|
||||
init.qcom.usb.sh \
|
||||
usb_compositions.conf
|
||||
|
||||
# Vibrator
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -449,6 +453,10 @@ PRODUCT_PACKAGES += \
|
||||
wpa_supplicant \
|
||||
wpa_supplicant.conf
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
firmware_WCNSS_qcom_cfg.ini_symlink \
|
||||
firmware_wlan_mac.bin_symlink
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \
|
||||
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
||||
@@ -459,9 +467,6 @@ PRODUCT_PACKAGES += \
|
||||
libnl \
|
||||
libpng.vendor \
|
||||
libwfdaac_vendor
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/permissions/wfd-system-ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml
|
||||
|
||||
PRODUCT_BOOT_JARS += \
|
||||
WfdCommon
|
||||
|
||||
1
sepolicy/vendor/rild.te
vendored
1
sepolicy/vendor/rild.te
vendored
@@ -1,3 +1,2 @@
|
||||
# Allow rild to set IMEI props
|
||||
set_prop(rild, deviceid_prop)
|
||||
binder_call(rild, qtidataservices_app)
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# Camera
|
||||
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.aperture,org.lineageos.aperture.dev
|
||||
|
||||
# Fwk detect
|
||||
ro.vendor.qti.va_aosp.support=1
|
||||
|
||||
|
||||
@@ -154,6 +154,7 @@ persist.sys.sf.native_mode=2
|
||||
ro.hardware.egl=adreno
|
||||
ro.hardware.vulkan=adreno
|
||||
ro.opengles.version=196610
|
||||
ro.surface_flinger.enable_frame_rate_override=false
|
||||
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true
|
||||
ro.surface_flinger.has_HDR_display=true
|
||||
ro.surface_flinger.has_wide_color_display=true
|
||||
@@ -162,7 +163,6 @@ ro.surface_flinger.max_virtual_display_dimension=4096
|
||||
ro.surface_flinger.protected_contents=true
|
||||
ro.surface_flinger.use_color_management=true
|
||||
ro.surface_flinger.wcg_composition_dataspace=143261696
|
||||
ro.surface_flinger.enable_frame_rate_override=false
|
||||
|
||||
# IMS
|
||||
persist.dbg.volte_avail_ovr=1
|
||||
@@ -221,14 +221,16 @@ persist.vendor.ssr.restart_level=ALL_ENABLE
|
||||
|
||||
# USB
|
||||
ro.usb.uvc.enabled=true
|
||||
sys.usb.mtp.batchcancel=1
|
||||
vendor.usb.controller=a600000.dwc3
|
||||
vendor.usb.diag.func.name=diag
|
||||
vendor.usb.dpl.inst.name=dpl
|
||||
vendor.usb.qdss.inst.name=qdss
|
||||
vendor.usb.rmnet.func.name=gsi
|
||||
vendor.usb.rmnet.inst.name=rmnet
|
||||
vendor.usb.rndis.func.name=gsi
|
||||
vendor.usb.use_ffs_mtp=0
|
||||
vendor.usb.use_gadget_hal=0
|
||||
vendor.usb.use_ffs_mtp=1
|
||||
vendor.usb.use_gadget_hal=1
|
||||
|
||||
# Zygote
|
||||
zygote.critical_window.minute=10
|
||||
|
||||
Reference in New Issue
Block a user