diff --git a/Android.bp b/Android.bp
index b493403..1dba829 100644
--- a/Android.bp
+++ b/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",
+}
diff --git a/Android.mk b/Android.mk
index 0589539..78e3f3b 100644
--- a/Android.mk
+++ b/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
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 433c344..e79440c 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -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
diff --git a/evolution.dependencies b/evolution.dependencies
deleted file mode 100644
index 979128a..0000000
--- a/evolution.dependencies
+++ /dev/null
@@ -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"
- },
-]
diff --git a/lineage.dependencies b/lineage.dependencies
new file mode 100644
index 0000000..cee2bca
--- /dev/null
+++ b/lineage.dependencies
@@ -0,0 +1,10 @@
+[
+ {
+ "repository": "android_hardware_xiaomi",
+ "target_path": "hardware/xiaomi"
+ },
+ {
+ "repository": "android_kernel_xiaomi_sdm710",
+ "target_path": "kernel/xiaomi/sdm710"
+ }
+]
diff --git a/configs/media_codecs.xml b/media/media_codecs.xml
similarity index 100%
rename from configs/media_codecs.xml
rename to media/media_codecs.xml
diff --git a/configs/media_codecs_performance.xml b/media/media_codecs_performance.xml
similarity index 100%
rename from configs/media_codecs_performance.xml
rename to media/media_codecs_performance.xml
diff --git a/configs/media_codecs_performance_v1.xml b/media/media_codecs_performance_v1.xml
similarity index 100%
rename from configs/media_codecs_performance_v1.xml
rename to media/media_codecs_performance_v1.xml
diff --git a/configs/media_codecs_vendor.xml b/media/media_codecs_vendor.xml
similarity index 100%
rename from configs/media_codecs_vendor.xml
rename to media/media_codecs_vendor.xml
diff --git a/configs/media_codecs_vendor_v1.xml b/media/media_codecs_vendor_v1.xml
similarity index 100%
rename from configs/media_codecs_vendor_v1.xml
rename to media/media_codecs_vendor_v1.xml
diff --git a/overlay-evolution/frameworks/base/core/res/res/values/config.xml b/overlay-evolution/lineage-sdk/lineage/res/res/values/config.xml
similarity index 70%
rename from overlay-evolution/frameworks/base/core/res/res/values/config.xml
rename to overlay-evolution/lineage-sdk/lineage/res/res/values/config.xml
index 7c9cf22..9888aa1 100644
--- a/overlay-evolution/frameworks/base/core/res/res/values/config.xml
+++ b/overlay-evolution/lineage-sdk/lineage/res/res/values/config.xml
@@ -46,21 +46,4 @@
true
-
-
-
- - com.android.camera
- - com.google.android.apps.cameralite
- - org.codeaurora.snapcam
- - org.lineageos.aperture
- - org.lineageos.aperture.dev
- - org.pixelexperience.faceunlock
-
-
-
-
- - com.android.camera
- - org.lineageos.aperture
-
diff --git a/overlay-evolution/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml b/overlay-evolution/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml
index 3c76161..da46c31 100644
--- a/overlay-evolution/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml
+++ b/overlay-evolution/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml
@@ -1,12 +1,20 @@
-
+
-
- true
+ Copyright (C) 2016 The CyanogenMod 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.
+-->
+
+ true
4
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 7dc6be4..015cd99 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -24,9 +24,6 @@
true
-
- true
-
diff --git a/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml b/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml
index 8b5e7a8..a33afa3 100644
--- a/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml
+++ b/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml
@@ -45,12 +45,10 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
+
-
-
+
@@ -90,7 +88,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
+
@@ -105,30 +103,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
+
-
+
-
-
- com.example.android.locationattribution
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -142,8 +123,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
+
@@ -163,6 +143,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
+
@@ -186,10 +167,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
+
-
@@ -200,12 +180,10 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
+
+
@@ -215,30 +193,11 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -246,11 +205,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
@@ -273,11 +227,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
@@ -285,7 +234,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
@@ -295,20 +243,17 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
+
@@ -317,11 +262,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
+
@@ -339,34 +282,19 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
@@ -381,37 +309,18 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -623,41 +532,22 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -668,26 +558,20 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
+
-
-
-
+
-
-
-
@@ -699,19 +583,12 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
@@ -720,38 +597,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1462,36 +1317,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1500,7 +1327,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
@@ -1509,7 +1335,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
@@ -1517,7 +1342,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
@@ -1565,7 +1389,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
@@ -1587,7 +1410,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
@@ -1636,26 +1458,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
China Mobile
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1676,9 +1485,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
China Unicom
-
@@ -1690,12 +1497,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
@@ -1744,26 +1545,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
China Mobile
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1802,85 +1590,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- China Mobile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1901,12 +1620,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
@@ -1923,9 +1637,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
China Unicom
-
@@ -1937,9 +1649,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
@@ -1987,26 +1696,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2053,26 +1749,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2088,9 +1771,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
China Unicom
-
@@ -2102,12 +1783,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
@@ -2155,17 +1830,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
@@ -2198,147 +1863,19 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- China Mobile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- China Broadcasting
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -2346,15 +1883,14 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
+
+
@@ -2362,25 +1898,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2390,11 +1908,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
@@ -2406,12 +1922,10 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
@@ -2422,30 +1936,20 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -2459,10 +1963,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
@@ -2475,10 +1977,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
@@ -2491,10 +1991,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
@@ -2507,10 +2004,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
@@ -2523,13 +2018,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
@@ -2542,10 +2032,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
@@ -2559,14 +2047,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
@@ -2574,145 +2056,103 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
@@ -2723,35 +2163,28 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
+
@@ -2763,85 +2196,21 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2960,107 +2329,14 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3068,2073 +2344,4 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 41919
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
- 3
- supl.rm-n.jp
- 7275
-
-
- 3
- supl.rm-n.jp
- 7275
-
-
- 3
-
-
- 3
- supl.rm-n.jp
- 7275
-
-
- 3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CBN
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
- +436762200
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +31624001233
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +420603123311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +48602950000
-
-
-
-
-
- X-MDN: ##LINE1##
-
-
-
-
-
-
-
-
-
- +36309888444
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +38598151100
-
-
-
-
-
-
-
-
-
-
- +421903333999
-
-
-
-
-
-
-
- 121
-
-
-
-
-
-
-
-
- 171
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +31654501233
- vodafone NL
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +6421700700
-
-
-
-
-
-
-
-
-
-
-
- 123
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +40722033334
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 132
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 5500
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 22177
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 42020
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- vvm_type_omtp
- 21101
- //VVM
- 888
- com.google.android.ims
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 22123
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [B]_[MN]_[DI]
-
-
-
-
-
-
-
-
-
-
-
- 242
- com.google.android.ims
-
-
-
-
-
-
-
-
-
- +447458333222
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +306971000123
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Partner
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- vvm_type_omtp
- 64085
- //VVM
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +40766177177
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- vvm_type_omtp
- 8082
- //VVM
- 5555
-
-
-
-
-
- vvm_type_omtp
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- *99
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +420608989898
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 901
- 901
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 170
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 501501501
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 133
-
-
-
-
-
-
- 200
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [B]_[MN]_[DI]
-
-
- sunsurf
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- T star
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- JIO 4G:JIO True5G
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1:7200000:60000:5000:30000
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +436762200
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +6421700700
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +38598151100
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +48602950000
-
-
-
-
-
-
-
-
-
-
-
-
-
- 242
- com.google.android.ims
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +421903333999
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +31624001233
-
-
-
-
-
-
-
-
-
-
- 171
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +420603123311
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3311
-
-
-
-
-
-
-
-
-
-
- 5500
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +420608989898
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 121
-
-
-
-
-
-
-
-
-
- +36309888444
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +31624001233
-
-
- +41784091233
-
-
- +353896191171
-
-
-
-
-
-
-
-
-
-
- [B]_[MN]_[DI]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/permissions/wfd-system-ext-privapp-permissions-qti.xml b/permissions/wfd-system-ext-privapp-permissions-qti.xml
deleted file mode 100644
index 6142aeb..0000000
--- a/permissions/wfd-system-ext-privapp-permissions-qti.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/proprietary-files.txt b/proprietary-files.txt
index e83c948..cc77959 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -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
diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc
index 144e9d4..419a69b 100644
--- a/rootdir/etc/init.target.rc
+++ b/rootdir/etc/init.target.rc
@@ -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
diff --git a/rootdir/etc/init.xiaomi.rc b/rootdir/etc/init.xiaomi.rc
index d10137d..3c85a9a 100644
--- a/rootdir/etc/init.xiaomi.rc
+++ b/rootdir/etc/init.xiaomi.rc
@@ -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}
diff --git a/sdm710.mk b/sdm710.mk
index 863abc0..f642d4e 100644
--- a/sdm710.mk
+++ b/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
diff --git a/sepolicy/vendor/rild.te b/sepolicy/vendor/rild.te
index e9ee197..323f4fc 100644
--- a/sepolicy/vendor/rild.te
+++ b/sepolicy/vendor/rild.te
@@ -1,3 +1,2 @@
# Allow rild to set IMEI props
set_prop(rild, deviceid_prop)
-binder_call(rild, qtidataservices_app)
diff --git a/system.prop b/system.prop
index df56025..c824925 100644
--- a/system.prop
+++ b/system.prop
@@ -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
diff --git a/vendor.prop b/vendor.prop
index 6bfd91c..7ae058f 100644
--- a/vendor.prop
+++ b/vendor.prop
@@ -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