22 Commits

Author SHA1 Message Date
mukesh22584
3ece11b256 sm8250-common: Exclude AudioFX in favour of Dolby
Signed-off-by: mukesh22584 <mks22584@gmail.com>
2025-12-18 00:20:22 -05:00
mukesh22584
bf22abffa2 sm8250-common: Fix libqtigef suffix 2025-12-18 00:20:22 -05:00
Omkar Chandorkar
876993fcc1 sm8250-common: Introduce Dolby Atmos support
[inferno0230] Use dolby blobs from OnePlus 9RT

Co-authored-by: Sugakesshaa <sugakesshaa@gmail.com>
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Sugakesshaa <sugakesshaa@gmail.com>
Signed-off-by: inferno0230 <mail@inferno0230.in>
2025-12-18 00:20:22 -05:00
Sugakesshaa
22d2251196 sm8250-common: Drop OplusDoze
* in favour of our custom multihal service and aosp lift to wake service

Signed-off-by: inferno0230 <mail@inferno0230.in>
2025-12-18 00:20:22 -05:00
Jake Weinstein
a1cf8b5d4b sm8250: overlay: Only allow 5G SA on Jio 2025-12-18 00:20:22 -05:00
SGCMarkus
9111ff6d3e sm8250-common: overlays: enable 5G SA and NSA
Change-Id: Icf55910aebae8d0ae519f0a0c20708aa81ae0bfc
2025-12-18 00:20:22 -05:00
Mashopy
186954f798 [TMP] sm8250-common: Import /sys/kernel/oplus_display/* permissions from stock to fix:
10-19 14:30:14.505  1145  9785 E SDM     : DisplayBase::SetDisplayState: open /sys/kernel/oplus_display/power_status failed
2025-12-18 00:20:22 -05:00
Christos Athanasiadis
8d67992e5a [TMP] sm8250-common: Unlock VoLTE and VoWIFI for more carriers 2025-12-18 00:20:22 -05:00
Manidweep
cbefe232ea sm8250-common: Initialize for Evolution X 11.x 2025-12-18 00:20:22 -05:00
ppanzenboeck
0f3747bdf9 move oos cam oplus-fwk libs to hardware/oplus [1/2] 2025-12-18 00:20:22 -05:00
ppanzenboeck
cc95012942 props: remove ro.oplus.version.base to avoid oneplus camera crash 2025-12-18 00:20:22 -05:00
cjh1249131356
ab92ddd637 sm8250-common: Add support for OnePlus Camera & Gallery
* Camera repo: https://bitbucket.org/nameless-aosp/vendor_oneplus_camera

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
2025-12-18 00:20:22 -05:00
Lucas Dupin
c09391edd8 sm8250-common: Enable blurs
Bug: 181092919
Test: manual; performance scripts
Change-Id: I5875a99167e80ddd5b79fc245f988d8a6ac167be
2025-11-24 13:11:12 +00:00
Michael Bestas
cf45dfae4a sm8250-common: Switch to AIDL thermal HAL
Change-Id: I6ae621194044ab66fad69b9ef997b3b347bf6120
2025-10-29 13:11:33 +00:00
LuK1337
1d4c78d45b sm8250-common: Build android.hardware.thermal@2.0-service.qti
As seen on stock ROM.

Change-Id: I950ab50ded7b3c1164ff88ab18d7f1e3365a6086
2025-10-29 13:09:10 +00:00
kyasu
c878d8c098 sm8250-common: Disable thumbnail_block_model of libstagefright
Change-Id: I86f92335af282d3de508150bbbcb3026993ec48c
2025-10-19 19:43:22 +02:00
Vincent Wang
508df014d8 sm8250-common: overlay: Enable fp screen off unlock feature and turn off by default
Bug: 389002332
Flag: android.hardware.biometrics.screen_off_unlock_udfps
Test: 1. FP screen off unlcok should be included in settings
      2. FP screen off unlcok should be disabled by default
Change-Id: I65eda6ae6f69ff4e6a3191d91fb8be42797c7fcb
2025-10-14 22:00:58 +02:00
Edgar Arriaga
d6d0443a89 sm8250-common: overlay: Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: Ieed912786ce51f420da9b0e96ea5d93c22244176
2025-10-14 22:00:50 +02:00
basamaryan
15bcd9ce53 sm8250-common: Override kernel BPF version
Change-Id: I3c581f3120b6258b3b45020c5ba12f6bf5b0ee27
2025-09-23 17:06:33 +00:00
Michael Bestas
33388af53f sm8250-common: Enable UFFD GC
Kernel has support for it now.

Change-Id: I3863ee71477f321fe47646571b857fdc39a1902b
2025-09-23 17:06:33 +00:00
Arian
8326525387 sm8250-common: Stop including vendor/debugfs.config
We disable debug fs in the defconfigs directly since
I01a4dd199a357dd85838c071020bf966079a2092

Change-Id: Ifcf9dd9d7a48ee93999c783f0f361e75bb97e364
2025-09-23 17:06:33 +00:00
Yumi Yukimura
9716844cc4 sm8250-common: Cleanup more flags
These are gone after bp conversion for display and media

Change-Id: I1169adf12d717417f5f328ebbcc01ecc9b911889
2025-09-10 16:11:00 +03:00
20 changed files with 647 additions and 26 deletions

View File

@@ -5,6 +5,8 @@
#
COMMON_PATH := device/oneplus/sm8250-common
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
# A/B
AB_OTA_UPDATER := true
@@ -54,6 +56,10 @@ TARGET_BOOTLOADER_BOARD_NAME := kona
# Display
TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE := true
# Camera
$(call soong_config_set,camera,override_format_from_reserved,true)
TARGET_USES_OPLUS_CAMERA := true
# Properties
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop
TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop
@@ -91,10 +97,7 @@ BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
BOARD_RAMDISK_USE_LZ4 := true
TARGET_KERNEL_ADDITIONAL_FLAGS := BRAND_SHOW_FLAG=oneplus
TARGET_KERNEL_SOURCE := kernel/oneplus/sm8250
TARGET_KERNEL_CONFIG := vendor/kona-perf_defconfig vendor/debugfs.config vendor/oplus.config
# Media
TARGET_USES_ION := true
TARGET_KERNEL_CONFIG := vendor/kona-perf_defconfig vendor/oplus.config
# Platform
BOARD_USES_QCOM_HARDWARE := true

162
audio/audio_effects.xml Normal file
View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* Changes from Qualcomm Innovation Center are provided under the following license:
*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the
* disclaimer below) provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
* GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
* HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<audio_effects_conf version="2.0" xmlns="http://schemas.android.com/audio/audio_effects_conf/v2_0">
<libraries>
<library name="bundle" path="libbundlewrapper.so"/>
<library name="reverb" path="libreverbwrapper.so"/>
<library name="visualizer_sw" path="libvisualizer.so"/>
<library name="visualizer_hw" path="libqcomvisualizer.so"/>
<library name="downmix" path="libdownmix.so"/>
<library name="loudness_enhancer" path="libldnhncr.so"/>
<library name="dynamics_processing" path="libdynproc.so"/>
<library name="proxy" path="libeffectproxy.so"/>
<library name="offload_bundle" path="libqcompostprocbundle.so"/>
<library name="audio_pre_processing" path="libqcomvoiceprocessing.so"/>
<library name="volume_listener" path="libvolumelistener.so"/>
<library name="audiosphere" path="libasphere.so"/>
<library name="quasar" path="libquasar.so"/>
<!-- DOLBY START -->
<library name="dap_sw" path="libswdap_v3_6.so"/>
<library name="dap_hw" path="libhwdap_v3_6.so"/>
<library name="vqe" path="libswvqe_v3_6.so"/>
<!-- DOLBY END -->
</libraries>
<effects>
<effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b">
<libsw library="bundle" uuid="8631f300-72e2-11df-b57e-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="2c4a8c24-1581-487f-94f6-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="virtualizer" library="proxy" uuid="d3467faa-acc7-4d34-acaf-0002a5d5c51b">
<libsw library="bundle" uuid="1d4033c0-8557-11df-9f2d-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="509a4498-561a-4bea-b3b1-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="equalizer" library="proxy" uuid="c8e70ecd-48ca-456e-8a4f-0002a5d5c51b">
<libsw library="bundle" uuid="ce772f20-847d-11df-bb17-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="a0dac280-401c-11e3-9379-0002a5d5c51b"/>
</effectProxy>
<effect name="volume" library="bundle" uuid="119341a0-8469-11df-81f9-0002a5d5c51b"/>
<effectProxy name="reverb_env_aux" library="proxy" uuid="48404ac9-d202-4ccc-bf84-0002a5d5c51b">
<libsw library="reverb" uuid="4a387fc0-8ab3-11df-8bad-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="79a18026-18fd-4185-8233-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="reverb_env_ins" library="proxy" uuid="b707403a-a1c1-4291-9573-0002a5d5c51b">
<libsw library="reverb" uuid="c7a511a0-a3bb-11df-860e-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="eb64ea04-973b-43d2-8f5e-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="reverb_pre_aux" library="proxy" uuid="1b78f587-6d1c-422e-8b84-0002a5d5c51b">
<libsw library="reverb" uuid="f29a1400-a3bb-11df-8ddc-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="6987be09-b142-4b41-9056-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="reverb_pre_ins" library="proxy" uuid="f3e178d2-ebcb-408e-8357-0002a5d5c51b">
<libsw library="reverb" uuid="172cdf00-a3bc-11df-a72f-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="aa2bebf6-47cf-4613-9bca-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="visualizer" library="proxy" uuid="1d0a1a53-7d5d-48f2-8e71-27fbd10d842c">
<libsw library="visualizer_sw" uuid="d069d9e0-8329-11df-9168-0002a5d5c51b"/>
<libhw library="visualizer_hw" uuid="7a8044a0-1a71-11e3-a184-0002a5d5c51b"/>
</effectProxy>
<effect name="downmix" library="downmix" uuid="93f04452-e4fe-41cc-91f9-e475b6d1d69f"/>
<effect name="hw_acc" library="offload_bundle" uuid="7d1580bd-297f-4683-9239-e475b6d1d69f"/>
<effect name="loudness_enhancer" library="loudness_enhancer" uuid="fa415329-2034-4bea-b5dc-5b381c8d1e2c"/>
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
<effect name="aec" library="audio_pre_processing" uuid="0f8d0d2a-59e5-45fe-b6e4-248c8a799109"/>
<effect name="ns" library="audio_pre_processing" uuid="1d97bb0b-9e2f-4403-9ae3-58c2554306f8"/>
<effect name="music_helper" library="volume_listener" uuid="08b8b058-0590-11e5-ac71-0025b32654a0"/>
<effect name="ring_helper" library="volume_listener" uuid="0956df94-0590-11e5-bdbe-0025b32654a0"/>
<effect name="alarm_helper" library="volume_listener" uuid="09f303e2-0590-11e5-8fdb-0025b32654a0"/>
<effect name="voice_helper" library="volume_listener" uuid="0ace5c08-0590-11e5-ae9e-0025b32654a0"/>
<effect name="notification_helper" library="volume_listener" uuid="0b776dde-0590-11e5-81ba-0025b32654a0"/>
<effect name="audiosphere" library="audiosphere" uuid="184e62ab-2d19-4364-9d1b-c0a40733866c"/>
<effect name="quasar" library="quasar" uuid="71d0e2ee-e44d-483d-a809-09e75ee55ecd"/>
<!-- DOLBY START -->
<effectProxy name="dap" library="proxy" uuid="9d4921da-8225-4f29-aefa-39537a04bcaa">
<libsw library="dap_sw" uuid="6ab06da4-c516-4611-8166-452799218539"/>
<libhw library="dap_hw" uuid="a0c30891-8246-4aef-b8ad-d53e26da0253"/>
</effectProxy>
<effect name="vqe" library="vqe" uuid="64a0f614-7fa4-48b8-b081-d59dc954616f"/>
<!-- DOLBY END -->
</effects>
<postprocess>
<!--stream type="music">
<apply effect="music_helper"/>
</stream-->
<!--stream type="ring">
<apply effect="ring_helper"/>
</stream-->
<!--stream type="alarm">
<apply effect="alarm_helper"/>
</stream-->
<stream type="voice_call">
<apply effect="voice_helper"/>
</stream>
<!--stream type="notification">
<apply effect="notification_helper"/>
</stream-->
</postprocess>
<preprocess>
<stream type="voice_communication">
<apply effect="aec"/>
<apply effect="ns"/>
</stream>
</preprocess>
</audio_effects_conf>

View File

@@ -57,8 +57,10 @@ PRODUCT_PACKAGES += \
AUDIO_HAL_DIR := hardware/qcom-caf/sm8250/audio
TARGET_EXCLUDES_AUDIOFX := true
PRODUCT_COPY_FILES += \
$(AUDIO_HAL_DIR)/configs/kona/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
$(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
$(AUDIO_HAL_DIR)/configs/kona/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
$(AUDIO_HAL_DIR)/configs/kona/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
$(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
@@ -96,7 +98,11 @@ $(call soong_config_set,QTI_GPT_UTILS,USE_BSG_FRAMEWORK,false)
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl \
android.hardware.camera.provider@2.4-service_64
android.hardware.camera.provider@2.4-service_64 \
libcamera_metadata_shim \
libcamera2ndk_vendor \
libstdc++_vendor \
vendor.qti.hardware.camera.postproc@1.0.vendor
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 \
@@ -126,9 +132,8 @@ PRODUCT_PACKAGES += \
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
# Doze
PRODUCT_PACKAGES += \
OplusDoze
# Dolby
$(call inherit-product, hardware/oplus/dolby/dolby.mk)
# DRM
PRODUCT_PACKAGES += \
@@ -200,6 +205,9 @@ PRODUCT_PACKAGES += \
$(call soong_config_set,libinit,vendor_init_lib,//$(LOCAL_PATH):libinit_oplus)
# Kernel
PRODUCT_ENABLE_UFFD_GC := true
# Lineage Health
PRODUCT_PACKAGES += \
vendor.lineage.health-service.default
@@ -212,11 +220,15 @@ PRODUCT_PACKAGES += \
# Media
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
$(LOCAL_PATH)/media/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
$(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
$(LOCAL_PATH)/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
$(LOCAL_PATH)/media/media_codecs_performance_kona_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_kona.xml \
$(LOCAL_PATH)/media/video_system_specs.json:$(TARGET_COPY_OUT_VENDOR)/etc/video_system_specs.json
$(call soong_config_set,stagefright,target_disable_thumbnail_block_model,true)
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc-service.nxp \
@@ -238,7 +250,8 @@ $(call inherit-product, hardware/oplus/overlay/generic/generic.mk)
$(call inherit-product, hardware/oplus/overlay/qssi/qssi.mk)
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay-lineage
$(LOCAL_PATH)/overlay-lineage \
$(LOCAL_PATH)/overlay-evolution
PRODUCT_ENFORCE_RRO_TARGETS := *
PRODUCT_PACKAGES += \
@@ -250,6 +263,7 @@ PRODUCT_PACKAGES += \
OPlusSystemUIResCommon \
WifiResTarget
# Partitions
PRODUCT_PACKAGES += \
vendor_bt_firmware_mountpoint \
@@ -270,7 +284,7 @@ PRODUCT_PACKAGES += \
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors-service.multihal \
android.hardware.sensors-service.oplus-multihal \
sensors.oplus
PRODUCT_COPY_FILES += \
@@ -321,10 +335,17 @@ PRODUCT_COPY_FILES += \
$(call inherit-product, hardware/oplus/oplus-fwk/oplus-fwk.mk)
# Thermal
PRODUCT_PACKAGES += \
android.hardware.thermal-service.qti
# Touch
PRODUCT_PACKAGES += \
vendor.lineage.touch-service.oplus
# UDFPS
TARGET_HAS_UDFPS := true
# Update engine
PRODUCT_PACKAGES += \
update_engine \
@@ -388,5 +409,8 @@ PRODUCT_PACKAGES += \
firmware_wlan_mac.bin_symlink \
firmware_WCNSS_qcom_cfg.ini_symlink
# Inherit from the OnePlus Camera makefile.
$(call inherit-product, vendor/oneplus/camera/camera-vendor.mk)
# Inherit from the proprietary files makefile.
$(call inherit-product, vendor/oneplus/sm8250-common/sm8250-common-vendor.mk)

23
evolution.dependencies Normal file
View File

@@ -0,0 +1,23 @@
[
{
"repository": "hardware_oplus",
"branch": "bka",
"target_path": "hardware/oplus"
},
{
"repository": "kernel_oneplus_sm8250",
"branch": "bka",
"target_path": "kernel/oneplus/sm8250"
},
{
"repository": "vendor_oneplus_sm8250-common",
"branch": "bka",
"target_path": "vendor/oneplus/sm8250-common"
},
{
"remote": "bitbucket",
"branch": "fifteen",
"repository": "nameless-aosp/vendor_oneplus_camera",
"target_path": "vendor/oneplus/camera"
}
]

View File

@@ -101,6 +101,8 @@ blob_fixups: blob_fixups_user_type = {
.call(blob_fixup_nop_call, 'bl', '_ZN4pxlw18qcomSetDisplayModeEPvii', '_ZN4pxlw15irisSetConfigExEiiPKi@plt'),
'product/app/PowerOffAlarm/PowerOffAlarm.apk': blob_fixup()
.apktool_patch('blob-patches/PowerOffAlarm.patch'),
('odm/etc/libdlbdsservice_v3_6_etc.so', 'odm/etc/libstagefright_soft_ddpdec_etc.so', 'odm/etc/libstagefrightdolby_etc.so', 'odm/lib64/libdlbdsservice_v3_6.so'): blob_fixup()
.replace_needed('libstagefright_foundation.so', 'libstagefright_foundation-v33.so'),
'product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml': blob_fixup()
.regex_replace('/my_product', '/product'),
'vendor/etc/libnfc-nci.conf': blob_fixup()

136
extract-files.sh Executable file
View File

@@ -0,0 +1,136 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
set -e
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.."
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}"
exit 1
fi
source "${HELPER}"
# Default to sanitizing the vendor folder before extraction
CLEAN_VENDOR=true
ONLY_COMMON=
ONLY_FIRMWARE=
ONLY_TARGET=
KANG=
SECTION=
while [ "${#}" -gt 0 ]; do
case "${1}" in
--only-common )
ONLY_COMMON=true
;;
--only-firmware )
ONLY_FIRMWARE=true
;;
--only-target )
ONLY_TARGET=true
;;
-n | --no-cleanup )
CLEAN_VENDOR=false
;;
-k | --kang )
KANG="--kang"
;;
-s | --section )
SECTION="${2}"; shift
CLEAN_VENDOR=false
;;
* )
SRC="${1}"
;;
esac
shift
done
if [ -z "${SRC}" ]; then
SRC="adb"
fi
function blob_fixup() {
case "${1}" in
odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service)
grep -q libshims_fingerprint.oplus.so "${2}" || "${PATCHELF}" --add-needed libshims_fingerprint.oplus.so "${2}"
;;
odm/etc/init/wlchgmonitor.rc)
sed -i "/disabled/d;/seclabel/d" "${2}"
;;
odm/etc/vintf/manifest/manifest_oplus_fingerprint.xml)
sed -ni "/android.hardware.biometrics.fingerprint/{x;s/hal format/hal override=\"true\" format/;x};x;1!p;\${x;p}" "${2}"
;;
odm/lib64/libpwirissoft.so)
"${SIGSCAN}" -p "72 1F 00 94" -P "1F 20 03 D5" -f "${2}"
;;
product/app/PowerOffAlarm/PowerOffAlarm.apk)
apktool_patch "${2}" "${MY_DIR}/blob-patches/PowerOffAlarm.patch" -s
;;
product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml)
sed -i "s/\/my_product/\/product/" "${2}"
;;
system_ext/lib64/libwfdnative.so)
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
;;
vendor/etc/libnfc-nci.conf)
sed -i "s/NFC_DEBUG_ENABLED=1/NFC_DEBUG_ENABLED=0/" "${2}"
;;
vendor/etc/libnfc-nxp.conf)
sed -i "/NXPLOG_\w\+_LOGLEVEL/ s/0x03/0x02/" "${2}"
sed -i "s/NFC_DEBUG_ENABLED=1/NFC_DEBUG_ENABLED=0/" "${2}"
;;
vendor/etc/msm_irqbalance.conf)
sed -i "s/IGNORED_IRQ=27,23,38$/&,115,332/" "${2}"
;;
vendor/lib64/hw/com.qti.chi.override.so)
grep -q libcamera_metadata_shim.so "${2}" || "${PATCHELF}" --add-needed libcamera_metadata_shim.so "${2}"
sed -i "s/com.oem.autotest/\x00om.oem.autotest/" "${2}"
;;
vendor/lib64/sensors.ssc.so)
sed -i "s/qti.sensor.wise_light/android.sensor.light\x00/" "${2}"
"${SIGSCAN}" -p "F1 E9 D3 84 52 49 3F A0 72" -P "F1 A9 00 80 52 09 00 A0 72" -f "${2}"
;;
vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so)
"${SIGSCAN}" -p "23 0A 00 94" -P "1F 20 03 D5" -f "${2}"
;;
vendor/lib64/libAncSegBaseSdk.so|vendor/lib64/libaps_frame_registration.so|vendor/lib64/libyuv2.so)
"${PATCHELF}" --replace-needed "libstdc++.so" "libstdc++_vendor.so" "${2}"
;;
esac
}
if [ -z "${ONLY_FIRMWARE}" ] && [ -z "${ONLY_TARGET}" ]; then
# Initialize the helper for common device
setup_vendor "${DEVICE_COMMON}" "${VENDOR_COMMON:-$VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
fi
if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" ]; then
# Reinitialize the helper for device
source "${MY_DIR}/../../${VENDOR}/${DEVICE}/extract-files.sh"
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
if [ -z "${ONLY_FIRMWARE}" ]; then
extract "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
fi
if [ -z "${SECTION}" ] && [ -f "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-firmware.txt" ]; then
extract_firmware "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-firmware.txt" "${SRC}"
fi
fi
"${MY_DIR}/setup-makefiles.sh"

View File

@@ -34,11 +34,45 @@ on early-boot
on boot
# Display
chmod 0666 /sys/kernel/oplus_display/dump_info
chmod 0666 /sys/kernel/oplus_display/hbm
chmod 0666 /sys/kernel/oplus_display/seed
chmod 0666 /sys/kernel/oplus_display/panel_pwr
chmod 0666 /sys/kernel/oplus_display/dimlayer_bl_en
chmod 0666 /sys/kernel/oplus_display/ffl_set
chmod 0666 /sys/kernel/oplus_display/dimlayer_hbm
chmod 0666 /sys/kernel/oplus_display/force_screenfp
chmod 0666 /sys/kernel/oplus_display/notify_fppress
chmod 0666 /sys/kernel/oplus_display/aod_light_mode_set
chmod 0666 /sys/kernel/oplus_display/power_status
chmod 0666 /sys/kernel/oplus_display/sau_closebl_node
chmod 0666 /sys/kernel/oplus_display/esd_status
chmod 0644 /data/oppo/multimedia/oplus_display_perf_list.xml
chmod 0666 /sys/kernel/oplus_display/spr
chmod 0666 /sys/kernel/oplus_display/write_panel_reg
chmod 0666 /dev/oplus_display
chmod 0666 /sys/kernel/oplus_display/max_brightness
chmod 0666 /sys/kernel/oplus_display/dynamic_osc_clock
chmod 0666 /sys/kernel/oplus_display/panel_serial_number
chown system system /sys/kernel/oplus_display/dump_info
chown system system /sys/kernel/oplus_display/hbm
chown system system /sys/kernel/oplus_display/seed
chown system system /sys/kernel/oplus_display/panel_pwr
chown system system /dev/oplus_display
chown system system /sys/kernel/oplus_display/dimlayer_bl_en
chown system system /sys/kernel/oplus_display/dynamic_osc_clock
chown system system /sys/kernel/oplus_display/hbm
chown system system /sys/kernel/oplus_display/ffl_set
chown system system /sys/kernel/oplus_display/dimlayer_hbm
chown system system /sys/kernel/oplus_display/force_screenfp
chown system system /sys/kernel/oplus_display/notify_fppress
chown system system /sys/kernel/oplus_display/aod_light_mode_set
chown system system /sys/kernel/oplus_display/power_status
chown system system /sys/kernel/oplus_display/sau_closebl_node
chown system system /sys/kernel/oplus_display/esd_status
chown system system /sys/kernel/oplus_display/spr
chown system system /sys/kernel/oplus_display/write_panel_reg
chown system system /sys/kernel/oplus_display/max_brightness
chown system system /sys/kernel/oplus_display/dynamic_osc_clock
chown system system /sys/kernel/oplus_display/panel_serial_number
# Sensors

View File

@@ -60,6 +60,8 @@ on init
write /sys/kernel/icnss/wpss_boot 1
chmod 0660 /sys/fs/cgroup/memory/bg/tasks
setprop vendor.boot.project_name ${ro.boot.project_name}
on early-boot
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864

View File

@@ -58,6 +58,11 @@ on fs
restorecon_recursive /mnt/vendor/persist
mkdir /mnt/vendor/persist/data 0700 system system
mkdir /mnt/vendor/dsp 0770 root root
copy /vendor/dsp/cdsp/fastrpc_shell_3 /mnt/vendor/dsp/fastrpc_shell_3
chmod 0644 /mnt/vendor/dsp/fastrpc_shell_3
mount none /mnt/vendor/dsp/fastrpc_shell_3 /vendor/dsp/cdsp/fastrpc_shell_3 bind
on post-fs
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864

View File

@@ -1,10 +0,0 @@
[
{
"repository": "android_hardware_oplus",
"target_path": "hardware/oplus"
},
{
"repository": "android_kernel_oneplus_sm8250",
"target_path": "kernel/oneplus/sm8250"
}
]

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This file was modified by Dolby Laboratories, Inc. The portions of the
code that are surrounded by "DOLBY..." are copyrighted and
licensed separately, as follows:
(C) 2018 Dolby Laboratories, Inc.
All rights reserved.
This program is protected under international and U.S. Copyright laws as
an unpublished work. This program is confidential and proprietary to the
copyright owners. Reproduction or disclosure, in whole or in part, or the
production of derivative works therefrom without the express permission of
the copyright owners is prohibited.
-->
<Included>
<Decoders>
<!-- DOLBY_UDC -->
<MediaCodec name="OMX.dolby.ac3.decoder" type="audio/ac3">
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-640000" />
</MediaCodec>
<MediaCodec name="OMX.dolby.eac3.decoder" type="audio/eac3">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-6144000" />
</MediaCodec>
<MediaCodec name="OMX.dolby.eac3-joc.decoder" type="audio/eac3-joc">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="32000-6144000" />
</MediaCodec>
<!-- DOLBY_UDC END -->
</Decoders>
</Included>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2015-2021 The Linux Foundation. All rights reserved.
Not a contribution.
Copyright (C) 2012 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.google.opus.decoder" type="audio/opus" update="true" rank="100"/>
<!-- SimpleOMXComponet based software decoder-->
</Decoders>
<Include href="media_codecs_dolby_audio.xml" />
</Included>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 The Evolution X Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Whether device has VOOC charging support -->
<bool name="config_hasVoocCharger">true</bool>
<!-- Path to fast charging status file to detect whether an oem fast charger is active -->
<string name="config_oemFastChargerStatusPath" translatable="false">/sys/devices/virtual/oplus_chg/battery/voocchg_ing</string>
</resources>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 The Evolution X Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Charging info current divider, if needed -->
<integer name="config_currentInfoDivider" translatable="false">1</integer>
<!-- The location of the devices physical tri state switch
0: Left side
1: Right side -->
<integer name="config_alertSliderLocation">1</integer>
</resources>

View File

@@ -3557,6 +3557,10 @@
<item value="405873" />
<item value="405874" />
</string-array>
<!-- PA: Do not allow 5G NSA on Jio -->
<int-array name="carrier_nr_availabilities_int_array" num="1">
<item value="2" />
</int-array>
</carrier_config>
<carrier_config operator="AIRTEL">
<boolean name="carrier_volte_available_bool" value="true" />

View File

@@ -13,8 +13,8 @@
<!-- True if camera app should be pinned via Pinner Service -->
<bool name="config_pinnerCameraApp">true</bool>
<!-- True if home app should be pinned via Pinner Service -->
<bool name="config_pinnerHomeApp">true</bool>
<!-- Bytes that the PinnerService will pin for Home app -->
<integer name="config_pinnerHomePinBytes">6291456</integer>
<!-- Indicate whether to allow the device to suspend when the screen is off
due to the proximity sensor. This resource should only be set to true
@@ -79,6 +79,12 @@
<!-- Whether the new Auto Selection Network UI should be shown -->
<bool name="config_enableNewAutoSelectNetworkUI">true</bool>
<!-- Whether the device enable the standalone (SA) mode of 5G NR.-->
<bool name="config_telephony5gStandalone">true</bool>
<!-- Whether the device enable the non-standalone (NSA) mode of 5G NR.-->
<bool name="config_telephony5gNonStandalone">true</bool>
<!-- Safe headphone volume index. When music stream volume is below this index
the SPL on headphone output is compliant to EN 60950 requirements for portable music
players. -->
@@ -120,4 +126,11 @@
and one pSIM) -->
<integer name="config_num_physical_slots">2</integer>
<!-- Whether to enable fp unlock when screen turns off on udfps devices -->
<bool name="config_screen_off_udfps_enabled">true</bool>
<!-- Default value for fp screen off unlock toggle, it only works for the devices that support
fp screen off unlock-->
<bool name="config_screen_off_udfps_default_on">false</bool>
</resources>

View File

@@ -1,5 +1,12 @@
# Audio
af.fast_track_multiplier=1
# eBPF
ro.bpf.kver_override=5.10.239
# GMS
ro.opa.device_model_id=ga-oplus-skill-os121-211011
# Google Lens
ro.com.google.lens.oem_camera_package=com.oneplus.camera
ro.com.google.lens.oem_image_package=com.oneplus.gallery

View File

@@ -81,7 +81,7 @@ vendor/lib/libaudcal.so
vendor/lib/libaudio_log_utils.so
vendor/lib/libaudioparsers.so
vendor/lib/libhdmipassthru.so
vendor/lib/libqtigef.so
vendor/lib/libqtigef.so;MODULE_SUFFIX=_vendor
vendor/lib64/libadsprpc.so
# Bluetooth
@@ -129,12 +129,17 @@ odm/lib64/camera/fdconfigpreviewlite.bin
odm/lib64/camera/fdconfigvideo.bin
odm/lib64/camera/fdconfigvideolite.bin
odm/lib64/libSonyIMX471RmscLibrary.so
odm/lib64/libaiboost.so
odm/lib64/libaiboost_hexagon.so
odm/lib64/libfastov_dsp.so
odm/lib64/libormshalclient.so
odm/lib64/libvl53l1_daemon.so
odm/lib64/sensors.hal.tof.so
odm/lib64/vendor.oplus.hardware.cammidasservice-V1-ndk_platform.so
vendor/etc/camera/M_Attribute_AG_BMW_1.1.0.model.hardcode
vendor/etc/camera/depth.dlc
vendor/etc/camera/model.data
vendor/etc/camera/segment.dlc
vendor/lib/libc++_shared.so
vendor/lib/libnightvision.so;FIX_SONAME
vendor/lib64/camera/components/com.oneplus.node.memcpy.so
@@ -203,7 +208,35 @@ vendor/lib64/com.qti.feature2.rt.so
vendor/lib64/com.qti.feature2.serializer.so
vendor/lib64/com.qti.feature2.stub.so
vendor/lib64/com.qti.feature2.swmf.so
vendor/lib64/lib_bokehlib.so
vendor/lib64/lib_oneplus_watermark.so
vendor/lib64/lib_oneplus_vivideffect.so
vendor/lib64/libAlgoProcess.so
vendor/lib64/libAncSegBaseSdk.so
vendor/lib64/libFaceBeautyLiteCap.so
vendor/lib64/libOPPO_Front_SCPortrait.so
vendor/lib64/libOPPO_SCPortrait.so
vendor/lib64/libPlatformValidatorShared.so
vendor/lib64/libPolarrRender.so
vendor/lib64/libSNPE.so
vendor/lib64/libSonyIMX471RmscLibrary.so
vendor/lib64/libSuperSensor.so
vendor/lib64/libSuperSensorFallback.so
vendor/lib64/libSuperSensorProcessor.so
vendor/lib64/libSuperSensorProcessorCWrapper.so
vendor/lib64/libVDBlurless.so
vendor/lib64/libVDDualCameraBlurlessAPI.so
vendor/lib64/libVDFusionBlurlessAPI_v2.so
vendor/lib64/libVDSuperPhotoAPI.so
vendor/lib64/libalCFR.so
vendor/lib64/libalCFRLV.so
vendor/lib64/libalCFRLV_dsp.so
vendor/lib64/libalHexController.so
vendor/lib64/libancbase_segbase.so
vendor/lib64/libaps_frame_registration.so
vendor/lib64/libapsdarksight.so
vendor/lib64/libapsexif.so
vendor/lib64/libapsjpeg.so
vendor/lib64/libarcsoft_beautyshot.so
vendor/lib64/libarcsoft_beautyshot_4.0.so;FIX_SONAME
vendor/lib64/libarcsoft_calibverify_TriCamera.so
@@ -234,6 +267,7 @@ vendor/lib64/libarcsoft_tricam_calibration.so
vendor/lib64/libarcsoft_tricam_verification.so
vendor/lib64/libarcsoft_video_fringing_correction.so
vendor/lib64/libbitmlengine.so
vendor/lib64/libc++_shared.so
vendor/lib64/libcamera_nn_stub.so
vendor/lib64/libcamerapostproc.so
vendor/lib64/libcamxexternalformatutils.so
@@ -253,21 +287,37 @@ vendor/lib64/libcvface_api.so
vendor/lib64/libcvp2.so
vendor/lib64/libcvp2_hfi.so
vendor/lib64/libcvp_common.so
vendor/lib64/libcvpcpuRev_skel.so
vendor/lib64/libdualcam_image_optical_zoom.so
vendor/lib64/libdualcam_optical_zoom_control.so
vendor/lib64/libdualcam_video_optical_zoom.so
vendor/lib64/libipebpsstriping.so
vendor/lib64/libmidasserviceintf.so
vendor/lib64/libmidasserviceintf_aidl.so
vendor/lib64/libmmcamera_faceproc.so
vendor/lib64/libmmcamera_faceproc2.so
vendor/lib64/libmorpho_dcface.so
vendor/lib64/libmorpho_image_refiner_deflicker.so
vendor/lib64/libmpbase.so
vendor/lib64/libnanopb.so
vendor/lib64/libnightvision.so
vendor/lib64/libofflinelog.so
vendor/lib64/libop-bokeh.so
vendor/lib64/libos.so
vendor/lib64/libsnpe_adsp.so
vendor/lib64/libsnpe_dsp_domains.so
vendor/lib64/libsnpe_dsp_domains_v2.so
vendor/lib64/libsnpe_loader.so
vendor/lib64/libstblur_capture_api.so
vendor/lib64/libswregistrationalgo.so
vendor/lib64/libsymphony-cpu.so
vendor/lib64/libsymphonypower.so
vendor/lib64/libsynx.so
vendor/lib64/libthreadutils.so
vendor/lib64/libtriplecam_image_optical_zoom.so
vendor/lib64/libtriplecam_optical_zoom_control.so
vendor/lib64/libtriplecam_video_optical_zoom.so
vendor/lib64/libyuv2.so
vendor/lib64/vendor.oplus.hardware.cammidasservice@1.0.so
vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so
@@ -503,6 +553,30 @@ vendor/lib64/vendor.display.color@1.4.so
vendor/lib64/vendor.display.color@1.5.so
vendor/lib64/vendor.display.postproc@1.0.so
# Dolby - MT2111_14.0.0.730(EX01)
odm/etc/dolby/multimedia_dolby_dax_default.xml|be49c4cde1bc41f67fbfa2c49ba6d8f4e40eb8dc
odm/etc/init/vendor.dolby_v3_6.hardware.dms360@2.0-service.rc|5da96cf855061860f27dff6399505f8d1f1daeee
odm/bin/hw/vendor.dolby_v3_6.hardware.dms360@2.0-service|7951f0ede5108f0080bb8abb18651058db9e46ae
odm/etc/vintf/manifest/manifest_dax_dolby_v3_6.xml|c4704e5bc4da7cdf291c79389f379c8355eaf730
odm/lib/libdapparamstorage_v3_6.so:odm/etc/libdapparamstorage_v3_6_etc.so;SYMLINK=odm/lib/libdapparamstorage_v3_6.so|c6c36fba280f2373034cf754870611614bf0f22f
odm/lib/libdeccfg_v3_6.so:odm/etc/libdeccfg_v3_6_etc.so;SYMLINK=odm/lib/libdeccfg_v3_6.so|742cadaf61aea20eabdac099668bfd43ddf4bb35
odm/lib/libdlbdsservice_v3_6.so:odm/etc/libdlbdsservice_v3_6_etc.so;SYMLINK=odm/lib/libdlbdsservice_v3_6.so|eac269dfbf334f4cc9d5900fb1c53dbfbaea4d6b|d0c30c56c88635392d05ccbca8d6b136b7f405e2
odm/lib/libqtigef.so:odm/etc/libqtigef_etc.so;SYMLINK=odm/lib/libqtigef.so|c7d588a80c3aac52b160db6ded1528bb8b8fd7bd
odm/lib/libstagefright_soft_ddpdec_v3_6.so:odm/etc/libstagefright_soft_ddpdec_etc.so;SYMLINK=odm/lib/libstagefright_soft_ddpdec.so|7b9a91a1d15c90a0d804d372554e561380cd109e|893c61e2e39f977406e4c7a6214838fd4fe3eceb
odm/lib/libstagefrightdolby.so:odm/etc/libstagefrightdolby_etc.so;SYMLINK=odm/lib/libstagefrightdolby.so|47b7e78597d7d047ff28a573092ed3ad7f88df48|e34e83479cfdaa9d55fe790815742d7a5bde1e52
odm/lib/soundfx/libhwdap_v3_6.so:odm/etc/soundfx/libhwdap_v3_6_etc.so;SYMLINK=odm/lib/soundfx/libhwdap_v3_6.so|1992eea271d67bef7482377605a2efa4c2f6dba8
odm/lib/soundfx/libswdap_v3_6.so:odm/etc/soundfx/libswdap_v3_6_etc.so;SYMLINK=odm/lib/soundfx/libswdap_v3_6.so|3e521eb43ea5b43e2436f2c46d7b8f169b2f1553
odm/lib/vendor.dolby_v3_6.hardware.dms360@2.0-impl.so:odm/etc/vendor.dolby_v3_6.hardware.dms360@2.0-impl_etc.so;SYMLINK=odm/lib/vendor.dolby_v3_6.hardware.dms360@2.0-impl.so|b535d7ebc47cb933fe7654a53cc36a5bfc928639
odm/lib/vendor.dolby_v3_6.hardware.dms360@2.0.so:odm/etc/vendor.dolby_v3_6.hardware.dms360@2.0_etc.so;SYMLINK=odm/lib/vendor.dolby_v3_6.hardware.dms360@2.0.so|d6f89d6499661023dc8fe451ca5c55f1a3ba7d55
odm/lib64/libdapparamstorage_v3_6.so|d0c9e16ec5a589a9e47a8d3907d7949fd4fdb439
odm/lib64/libdeccfg_v3_6.so|25a64da2aa3bf9cb2b6fd644547ba1e94cdb47f4
odm/lib64/libdlbdsservice_v3_6.so|08ae454ff029791ba436f750ca6c717cb6d7bf36|55f2884a2305886b20f904820664bf6e6e390883
odm/lib64/libqtigef.so|09fb25411b4767ab2f7eebdccd7cc7fd9a85feee
odm/lib64/soundfx/libhwdap_v3_6.so|e4bf45ccd3ae9d4347d1416019d96681b2c651ea
odm/lib64/soundfx/libswdap_v3_6.so|92dca01e5bc4cd654a1b72197fc744d8e5bb1b74
odm/lib64/vendor.dolby_v3_6.hardware.dms360@2.0-impl.so|5b5f4b383c03a6aaa759b1cc7f6f0aea7d1f6ba0
odm/lib64/vendor.dolby_v3_6.hardware.dms360@2.0.so|e62f04117fead61eea7f2593e7ccbb565436a0ee
# DPM
system_ext/bin/dpmd
system_ext/bin/tcmd
@@ -863,6 +937,7 @@ vendor/etc/vintf/manifest/c2_manifest_vendor.xml|0e532bf1c7d6a0ee2e7e03a9cc3283a
vendor/etc/public.libraries.txt
# Neural networks
odm/lib64/hta_lib/libhta_hexagon_runtime.so
vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc
vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti-hta.xml

View File

@@ -17,6 +17,10 @@ persist.vendor.cne.feature=1
# Dalvik
dalvik.vm.dex2oat64.enabled=true
# Camera
persist.camera.privapp.list=com.oneplus.camera
persist.vendor.camera.privapp.list=com.oneplus.camera
# DPM
persist.vendor.dpm.feature=9

View File

@@ -119,6 +119,8 @@ vendor.qcom.bluetooth.soc=hastings
# Camera
vendor.camera.aux.packageexcludelist=org.telegram.messenger,org.thunderdog.challegram,us.zoom.videomeetings
vendor.camera.algo.jpeghwencode=0
vendor.camera.aux.packagelist=android,com.oneplus.camera
# Chipset
ro.soc.manufacturer=QTI
@@ -127,6 +129,19 @@ ro.soc.model=SM8250
# Crypto
ro.crypto.volume.filenames_mode=aes-256-cts
# Dolby
vendor.audio.dolby.ds2.enabled=false
vendor.audio.dolby.ds2.hardbypass=false
ro.vendor.dolby.dax.version=DAX3_3.6.0.12_r1
ro.vendor.dolby.model=PAFM00
ro.vendor.dolby.device=OP46C3
ro.vendor.dolby.manufacturer=OPLUS
ro.vendor.dolby.brand=OPLUS
# DPM
persist.vendor.dpm.idletimer.mode=default
persist.vendor.dpmhalservice.enable=1
# Display
vendor.display.disable_hw_recovery_dump=1
vendor.display.disable_offline_rotator=1
@@ -176,6 +191,7 @@ ro.surface_flinger.max_frame_buffer_acquired_buffers=3
ro.surface_flinger.protected_contents=true
ro.surface_flinger.set_idle_timer_ms=4000
ro.surface_flinger.set_touch_timer_ms=4000
ro.surface_flinger.supports_background_blur=1
ro.surface_flinger.use_color_management=true
ro.surface_flinger.use_content_detection_for_refresh_rate=true
ro.surface_flinger.wcg_composition_dataspace=143261696
@@ -204,6 +220,29 @@ persist.vendor.radio.procedure_bytes=SKIP
persist.vendor.radio.rat_on=combine
persist.vendor.radio.sib16_support=1
ro.telephony.default_network=33,33
persist.data.iwlan.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=1
persist.radio.rat_on=combine
persist.radio.data_ltd_sys_ind=1
persist.radio.data_con_rprt=1
persist.radio.calls.on.ims=1
persist.dbg.ims_volte_enable=1
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
persist.dbg.wfc_avail_ovr=1
persist.data.iwlan=1
persist.data.iwlan.ipsec.ap=1
persist.radio.volte.dan_support=true
persist.radio.rat_on=combine
persist.radio.data_ltd_sys_ind=1
persist.radio.data_con_rprt=1
persist.radio.calls.on.ims=1
persist.radio.VT_ENABLE=1
persist.sys.cust.lte_config=true
persist.rcs.supported=1
# Sensors
persist.vendor.sensors.allow_non_default_discovery=true