fixup! e3q: Initial commit

This commit is contained in:
David Wronek
2024-11-02 21:01:48 +01:00
parent 3c5ab147f1
commit 8c3382a257
14 changed files with 166 additions and 2345 deletions

View File

@@ -6,3 +6,24 @@
soong_namespace { soong_namespace {
} }
install_symlink {
name: "firmware_wlanmdsp.otaupdate_symlink",
vendor: true,
installed_location: "firmware/wlanmdsp.otaupdate",
symlink_target: "/data/vendor/firmware/wlanmdsp.mbn",
}
install_symlink {
name: "firmware_wlan_mac.bin_symlink",
vendor: true,
installed_location: "firmware/wlan/qca_cld/kiwi_v2/wlan_mac.bin",
symlink_target: "/mnt/vendor/persist/kiwi_v2/wlan_mac.bin",
}
install_symlink {
name: "firmware_WCNSS_qcom_cfg.ini_symlink",
vendor: true,
installed_location: "firmware/wlan/qca_cld/kiwi_v2/WCNSS_qcom_cfg.ini",
symlink_target: "/odm/vendor/etc/wifi/WCNSS_qcom_cfg.ini",
}

View File

@@ -8,4 +8,24 @@ LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),e3q) ifeq ($(TARGET_DEVICE),e3q)
include $(call all-subdir-makefiles,$(LOCAL_PATH)) include $(call all-subdir-makefiles,$(LOCAL_PATH))
include $(CLEAR_VARS)
FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/firmware_mnt
$(FIRMWARE_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
@echo "Creating $(FIRMWARE_MOUNT_POINT)"
@mkdir -p $(TARGET_OUT_VENDOR)/firmware_mnt
BT_FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/bt_firmware
$(BT_FIRMWARE_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
@echo "Creating $(BT_FIRMWARE_MOUNT_POINT)"
@mkdir -p $(TARGET_OUT_VENDOR)/bt_firmware
DSP_MOUNT_POINT := $(TARGET_OUT_VENDOR)/dsp
$(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
@echo "Creating $(DSP_MOUNT_POINT)"
@mkdir -p $(TARGET_OUT_VENDOR)/dsp
ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT)
endif endif

View File

@@ -12,12 +12,14 @@ DEVICE_PATH := device/samsung/e3q
# Architecture # Architecture
TARGET_ARCH := arm64 TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a TARGET_ARCH_VARIANT := armv9-a
TARGET_CPU_ABI := arm64-v8a TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_ABI2 :=
TARGET_CPU_VARIANT := generic TARGET_CPU_VARIANT := generic
TARGET_CPU_VARIANT_RUNTIME := kryo300 TARGET_CPU_VARIANT_RUNTIME := kryo300
# Assert
TARGET_OTA_ASSERT_DEVICE := e3q
# Board # Board
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
@@ -28,7 +30,6 @@ BOARD_RAMDISK_USE_LZ4 := true
# Bootloader # Bootloader
TARGET_BOOTLOADER_BOARD_NAME := pineapple TARGET_BOOTLOADER_BOARD_NAME := pineapple
TARGET_NO_BOOTLOADER := true
# Display # Display
TARGET_SCREEN_DENSITY := 450 TARGET_SCREEN_DENSITY := 450
@@ -194,13 +195,6 @@ TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_PATH)
# Security patch level # Security patch level
VENDOR_SECURITY_PATCH := 2024-10-01 VENDOR_SECURITY_PATCH := 2024-10-01
# Sepolicy
#include device/qcom/sepolicy_vndr/SEPolicy.mk
#include device/lineage/sepolicy/libperfmgr/sepolicy.mk
#BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
#SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private
#SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/public
# Verified Boot # Verified Boot
BOARD_AVB_ENABLE := true BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3 BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
@@ -230,19 +224,15 @@ BOARD_AVB_ODM_ADD_HASHTREE_FOOTER_ARGS += --hash_algorithm sha256
# VINTF # VINTF
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \ DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
$(DEVICE_PATH)/configs/vintf/compatibility_matrix.device.xml \ $(DEVICE_PATH)/vintf/device_framework_matrix.xml \
$(DEVICE_PATH)/configs/vintf/compatibility_matrix.samsung.xml \
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \ hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
vendor/lineage/config/device_framework_matrix.xml \ hardware/samsung/vintf/samsung_framework_compatibility_matrix.xml \
hardware/samsung/vintf/samsung_framework_compatibility_matrix.xml vendor/lineage/config/device_framework_matrix.xml
DEVICE_FRAMEWORK_MANIFEST_FILE += $(DEVICE_PATH)/configs/vintf/framework_manifest.xml # DEVICE_FRAMEWORK_MANIFEST_FILE
DEVICE_MATRIX_FILE := \ DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
$(DEVICE_PATH)/configs/vintf/compatibility_matrix.xml \ DEVICE_MANIFEST_FILE := \
hardware/qcom-caf/common/compatibility_matrix.xml $(DEVICE_PATH)/vintf/manifest.xml
DEVICE_MANIFEST_SKUS := pineapple
DEVICE_MANIFEST_PINEAPPLE_FILES := \
$(DEVICE_PATH)/configs/vintf/manifest_pineapple.xml \
$(DEVICE_PATH)/configs/vintf/manifest_samsung.xml
# Inherit the proprietary files # Inherit the proprietary files
include vendor/samsung/e3q/BoardConfigVendor.mk include vendor/samsung/e3q/BoardConfigVendor.mk

File diff suppressed because it is too large Load Diff

View File

@@ -1,88 +0,0 @@
<!-- Copyright (c) 2017, 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.
-->
<compatibility-matrix version="7.0" type="device">
<hal format="hidl" optional="false">
<name>android.frameworks.sensorservice</name>
<version>1.0</version>
<interface>
<name>ISensorManager</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>android.hidl.allocator</name>
<version>1.0</version>
<interface>
<name>IAllocator</name>
<instance>ashmem</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>android.hidl.manager</name>
<version>1.0</version>
<interface>
<name>IServiceManager</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>android.hidl.memory</name>
<version>1.0</version>
<interface>
<name>IMapper</name>
<instance>ashmem</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>android.hidl.token</name>
<version>1.0</version>
<interface>
<name>ITokenManager</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.qti.hardware.sigma_miracast</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>Isigma_miracast</name>
<instance>sigmahal</instance>
<instance>sigmahal64</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.qti.hardware.qccsyshal</name>
<transport>hwbinder</transport>
<version>1.0-2</version>
<interface>
<name>IQccsyshal</name>
<instance>qccsyshal</instance>
</interface>
</hal>
</compatibility-matrix>

View File

@@ -1,39 +0,0 @@
<!-- Copyright (c) 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.
-->
<manifest version="7.0" type="framework">
<!-- atfwd -->
<hal format="hidl">
<name>vendor.qti.hardware.radio.atcmdfwd</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IAtCmdFwd</name>
<instance>AtCmdFwdService</instance>
</interface>
</hal>
</manifest>

View File

@@ -1,283 +0,0 @@
<!-- Copyright (c) 2019-2021 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) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause-Clear
==========================================================================
-->
<manifest version="7.0" type="device" target-level="8">
<!-- CapabilityConfigStore HAL Service -->
<hal format="hidl">
<name>vendor.qti.hardware.capabilityconfigstore</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>ICapabilityConfigStore</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<version>7.1</version>
<interface>
<name>IDevicesFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.audio.effect</name>
<transport>hwbinder</transport>
<version>7.0</version>
<interface>
<name>IEffectsFactory</name>
<instance>default</instance>
</interface>
</hal>
<!-- DSP Service -->
<hal format="hidl">
<name>vendor.qti.hardware.dsp</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IDspService</name>
<instance>dspservice</instance>
</interface>
</hal>
<hal format="aidl">
<name>android.hardware.gatekeeper</name>
<version>1</version>
<interface>
<name>IGatekeeper</name>
<instance>default</instance>
</interface>
</hal>
<!-- NFC HAL service -->
<!--hal format="aidl">
<name>android.hardware.nfc</name>
<version>1</version>
<fqname>INfc/default</fqname>
</hal-->
<!--hal format="aidl">
<name>vendor.nxp.nxpnfc_aidl</name>
<version>1</version>
<fqname>INxpNfc/default</fqname>
</hal-->
<!--hal format="aidl">
<name>android.hardware.secure_element</name>
<version>1</version>
<fqname>ISecureElement/eSE1</fqname>
</hal-->
<!-- dpm QMI hal service -->
<hal format="hidl">
<name>com.qualcomm.qti.dpm.api</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IdpmQmi</name>
<instance>dpmQmiService</instance>
</interface>
</hal>
<!-- IMS UCE Service -->
<hal format="hidl">
<name>com.qualcomm.qti.uceservice</name>
<transport>hwbinder</transport>
<version>2.3</version>
<interface>
<name>IUceService</name>
<instance>com.qualcomm.qti.uceservice</instance>
</interface>
</hal>
<!-- IMS callinfo Service -->
<hal format="hidl">
<name>vendor.qti.ims.callinfo</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IService</name>
<instance>default</instance>
</interface>
</hal>
<!-- IMS CM Service -->
<hal format="hidl">
<name>com.qualcomm.qti.imscmservice</name>
<transport>hwbinder</transport>
<version>2.2</version>
<interface>
<name>IImsCmService</name>
<instance>qti.ims.connectionmanagerservice</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.ims.factory</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IImsFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.cacert</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IService</name>
<instance>default</instance>
</interface>
</hal>
<!-- Factory HAL service -->
<hal format="hidl">
<name>vendor.qti.hardware.factory</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IFactory</name>
<instance>default</instance>
</interface>
</hal>
<!-- Secure image data processor HAL Service -->
<hal format="hidl">
<name>vendor.qti.hardware.secureprocessor.device</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>ISecureProcessor</name>
<instance>qti-tee</instance>
<instance>qti-tvm</instance>
</interface>
</hal>
<!-- bluetooth -->
<hal format="hidl">
<name>android.hardware.bluetooth</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothHci</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.bluetooth_audio</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.btconfigstore</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IBTConfigStore</name>
<instance>default</instance>
</interface>
</hal>
<!-- fm -->
<hal format="hidl">
<name>vendor.qti.hardware.fm</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IFmHci</name>
<instance>default</instance>
</interface>
</hal>
<!--ANT-->
<hal format="hidl">
<name>com.dsi.ant</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IAnt</name>
<instance>default</instance>
</interface>
</hal>
<!-- WifiStats HAL service -->
<hal format="hidl">
<name>vendor.qti.hardware.wifi.wifilearner</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IWifiStats</name>
<instance>wifiStats</instance>
</interface>
</hal>
<!-- BluetoothSar service-->
<hal format="hidl">
<name>vendor.qti.hardware.bluetooth_sar</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothSar</name>
<instance>default</instance>
</interface>
</hal>
<!-- SPU service-->
<hal format="hidl">
<name>vendor.qti.spu</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>ISPUManager</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.spu</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>ISPUManager</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>vendor.qti.hardware.spu</name>
<version>2</version>
<interface>
<name>ISPUManager</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.security.keymint</name>
<version>3</version>
<fqname>IKeyMintDevice/strongbox</fqname>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.security.keymint</name>
<version>3</version>
<fqname>IRemotelyProvisionedComponent/strongbox</fqname>
</hal>
</manifest>

View File

@@ -1,62 +0,0 @@
<manifest version="7.0" type="device" target-level="8">
<!--<hal format="aidl">
<name>vendor.samsung.hardware.gnss</name>
<version>2</version>
<fqname>ISehGnss/default</fqname>
</hal>-->
<!--<hal format="aidl">
<name>vendor.samsung.hardware.hyper</name>
<version>2</version>
<fqname>ISehHyPer/default</fqname>
</hal>-->
<hal format="aidl">
<name>vendor.samsung.hardware.media.mpp</name>
<version>2</version>
<fqname>ISehMppStore/default</fqname>
</hal>
<hal format="aidl">
<name>vendor.samsung.hardware.security.hdcp.wifidisplay</name>
<version>2</version>
<fqname>ISehHdcp/default</fqname>
</hal>
<hal format="aidl">
<name>vendor.samsung.hardware.snap</name>
<version>2</version>
<fqname>ISehSnap/default</fqname>
</hal>
<hal format="aidl">
<name>vendor.samsung.hardware.sysinput</name>
<version>2</version>
<interface>
<name>ISehSysInputDev</name>
<instance>default</instance>
</interface>
<interface>
<name>ISehSysInputCallback</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>vendor.samsung.hardware.keymint</name>
<version>3</version>
<fqname>ISehKeyMintExtension/default</fqname>
</hal>
<hal format="aidl">
<name>vendor.samsung.hardware.keymint</name>
<version>3</version>
<fqname>ISehKeyMintFactory/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.samsung.hardware.bluetooth</name>
<transport>hwbinder</transport>
<fqname>@2.0::ISehBluetooth/default</fqname>
</hal>
<hal format="aidl" override="true">
<name>android.hardware.weaver</name>
<version>2</version>
<interface>
<name>IWeaver</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View File

@@ -20,7 +20,12 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
$(call inherit-product, hardware/qcom-caf/common/common.mk) $(call inherit-product, hardware/qcom-caf/common/common.mk)
# API levels # API levels
PRODUCT_SHIPPING_API_LEVEL := 34 BOARD_SHIPPING_API_LEVEL := 34
PRODUCT_SHIPPING_API_LEVEL := $(BOARD_SHIPPING_API_LEVEL)
# Boot animation
TARGET_SCREEN_HEIGHT := 3120
TARGET_SCREEN_WIDTH := 1440
# DebugFS # DebugFS
PRODUCT_SET_DEBUGFS_RESTRICTIONS := true PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
@@ -30,6 +35,12 @@ PRODUCT_PACKAGES += \
android.hardware.fastboot@1.1-impl-mock \ android.hardware.fastboot@1.1-impl-mock \
fastbootd fastbootd
# Keymint
PRODUCT_PACKAGES += \
android.hardware.hardware_keystore.xml \
android.hardware.security.sharedsecret-V2-ndk.vendor \
android.hardware.weaver-V2-ndk.vendor
# Overlays # Overlays
PRODUCT_ENFORCE_RRO_TARGETS := * PRODUCT_ENFORCE_RRO_TARGETS := *
@@ -39,6 +50,14 @@ PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Product characteristics # Product characteristics
PRODUCT_CHARACTERISTICS := phone PRODUCT_CHARACTERISTICS := phone
# Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-3.9.1-vendorcompat
# QMI
PRODUCT_PACKAGES += \
libjsoncpp.vendor
# Rootdir # Rootdir
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
dcc_extension.sh \ dcc_extension.sh \
@@ -106,5 +125,17 @@ PRODUCT_SOONG_NAMESPACES += \
kernel/samsung/sm8650 \ kernel/samsung/sm8650 \
kernel/samsung/sm8650-modules kernel/samsung/sm8650-modules
# Vendor service manager
PRODUCT_PACKAGES += \
vndservicemanager
# Verified Boot
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
# VNDK
PRODUCT_PACKAGES += \
libcrypto-v33
# Inherit the proprietary files # Inherit the proprietary files
$(call inherit-product, vendor/samsung/e3q/e3q-vendor.mk) $(call inherit-product, vendor/samsung/e3q/e3q-vendor.mk)

View File

@@ -64,22 +64,11 @@ fi
function blob_fixup() { function blob_fixup() {
case "${1}" in case "${1}" in
vendor/lib/libsample1.so) vendor/bin/hw/android.hardware.security.keymint-service|vendor/lib64/libskeymint10device.so|vendor/lib64/libskeymint_cli.so)
[ "$2" = "" ] && return 0 [ "$2" = "" ] && return 0
sed -i 's|/data/misc/sample1|/data/misc/sample2|g' "${2}" grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}"
;; ${PATCHELF} --replace-needed libcrypto.so libcrypto-v33.so "${2}"
vendor/lib64/libsample2.so) #${PATCHELF} --replace-needed libcppbor_external.so libcppbor.so "${2}"
[ "$2" = "" ] && return 0
"${PATCHELF}" --remove-needed "libsample3.so" "${2}"
"${PATCHELF}" --add-needed "libsample4.so" "${2}"
;;
vendor/lib/libsample5.so)
[ "$2" = "" ] && return 0
"${PATCHELF}" --replace-needed "libsample6.so" "libsample7.so" "${2}"
;;
vendor/lib/libsample7.so)
[ "$2" = "" ] && return 0
"${PATCHELF}" --set-soname "libsample7.so" "${2}"
;; ;;
*) *)
return 1 return 1

View File

@@ -633,8 +633,8 @@ vendor/bin/hw/vendor.qti.hardware.display.composer-service
vendor/etc/init/vendor.qti.hardware.display.allocator-service.rc vendor/etc/init/vendor.qti.hardware.display.allocator-service.rc
vendor/etc/init/vendor.qti.hardware.display.color-service.rc vendor/etc/init/vendor.qti.hardware.display.color-service.rc
vendor/etc/init/vendor.qti.hardware.display.composer-service.rc vendor/etc/init/vendor.qti.hardware.display.composer-service.rc
vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.qti.hardware.display.allocator-service.xml vendor/etc/vintf/manifest/vendor.qti.hardware.display.allocator-service.xml;MAKE_COPY_RULE_ONLY
vendor/lib64/egl/eglSubDriverAndroid.so vendor/lib64/egl/eglSubDriverAndroid.so
vendor/lib64/egl/libEGL_adreno.so vendor/lib64/egl/libEGL_adreno.so
vendor/lib64/egl/libGLESv1_CM_adreno.so vendor/lib64/egl/libGLESv1_CM_adreno.so
@@ -774,7 +774,7 @@ vendor/bin/hw/vendor.qti.hardware.qseecom@1.0-service
vendor/bin/qseecomd vendor/bin/qseecomd
vendor/etc/init/qseecomd.rc vendor/etc/init/qseecomd.rc
vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc
vendor/etc/vintf/manifest/vendor.qti.hardware.qseecom@1.0-service.xml vendor/etc/vintf/manifest/vendor.qti.hardware.qseecom@1.0-service.xml;MAKE_COPY_RULE_ONLY
vendor/lib64/hw/vendor.qti.hardware.qseecom@1.0-impl.so vendor/lib64/hw/vendor.qti.hardware.qseecom@1.0-impl.so
vendor/lib64/libQSEEComAPI.so vendor/lib64/libQSEEComAPI.so
vendor/lib64/libdrmfs.so vendor/lib64/libdrmfs.so
@@ -830,8 +830,7 @@ vendor/bin/loc_launcher
vendor/bin/lowi-server vendor/bin/lowi-server
vendor/bin/xtra-daemon vendor/bin/xtra-daemon
vendor/etc/init/android.hardware.gnss-aidl-service-qti.rc vendor/etc/init/android.hardware.gnss-aidl-service-qti.rc
vendor/etc/vintf/manifest/android.hardware.gnss-aidl-service-qti.xml vendor/etc/vintf/manifest/vendor.qti.gnss-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.qti.gnss-service.xml
vendor/lib64/hw/vendor.samsung.hardware.gnss-aidl-impl-sec.so vendor/lib64/hw/vendor.samsung.hardware.gnss-aidl-impl-sec.so
vendor/lib64/libdataitems.so vendor/lib64/libdataitems.so
vendor/lib64/libgps.utils.so vendor/lib64/libgps.utils.so
@@ -998,7 +997,7 @@ vendor/etc/perf/targetresourceconfigs.xml
vendor/etc/perf/targetsysnodesconfigs.xml vendor/etc/perf/targetsysnodesconfigs.xml
vendor/etc/perf/testcommonresourceconfigs.xml vendor/etc/perf/testcommonresourceconfigs.xml
vendor/etc/perf/testtargetresourceconfigs.xml vendor/etc/perf/testtargetresourceconfigs.xml
vendor/etc/vintf/manifest/vendor.qti.hardware.perf2.xml vendor/etc/vintf/manifest/vendor.qti.hardware.perf2.xml;MAKE_COPY_RULE_ONLY
vendor/etc/powerhint.xml vendor/etc/powerhint.xml
vendor/lib64/libperfconfig.so vendor/lib64/libperfconfig.so
vendor/lib64/libperfgluelayer.so vendor/lib64/libperfgluelayer.so
@@ -1043,7 +1042,7 @@ system_ext/lib64/vendor.qti.hardware.qccsyshal@1.2.so
system_ext/lib64/vendor.qti.hardware.qccvndhal@1.0.so system_ext/lib64/vendor.qti.hardware.qccvndhal@1.0.so
system_ext/lib64/vendor.qti.qccvndhal_aidl-V1-ndk.so system_ext/lib64/vendor.qti.qccvndhal_aidl-V1-ndk.so
vendor/bin/qcc-vendor vendor/bin/qcc-vendor
vendor/etc/vintf/manifest/vendor.qti.qccvndhal_aidl-service.xml vendor/etc/vintf/manifest/vendor.qti.qccvndhal_aidl-service.xml;MAKE_COPY_RULE_ONLY
vendor/lib64/vendor.qti.hardware.qccsyshal@1.0.so vendor/lib64/vendor.qti.hardware.qccsyshal@1.0.so
vendor/lib64/vendor.qti.hardware.qccsyshal@1.1.so vendor/lib64/vendor.qti.hardware.qccsyshal@1.1.so
vendor/lib64/vendor.qti.hardware.qccsyshal@1.2.so vendor/lib64/vendor.qti.hardware.qccsyshal@1.2.so
@@ -1169,7 +1168,7 @@ vendor/bin/hw/android.hardware.security.keymint-service
vendor/bin/hw/android.hardware.security.keymint-service-spu-qti vendor/bin/hw/android.hardware.security.keymint-service-spu-qti
vendor/etc/init/android.hardware.security.keymint-service-spu-qti.rc vendor/etc/init/android.hardware.security.keymint-service-spu-qti.rc
vendor/etc/init/android.hardware.security.keymint-service.rc vendor/etc/init/android.hardware.security.keymint-service.rc
#vendor/etc/vintf/manifest/android.hardware.security.keymint-service-spu-qti.xml vendor/etc/vintf/manifest/android.hardware.security.keymint-service-spu-qti.xml
vendor/lib64/libcppbor_external.so vendor/lib64/libcppbor_external.so
vendor/lib64/libhermes_cred.so vendor/lib64/libhermes_cred.so
vendor/lib64/libkeymaster4_1support.so vendor/lib64/libkeymaster4_1support.so
@@ -1187,7 +1186,7 @@ vendor/bin/hw/android.hardware.sensors-service.multihal
vendor/bin/sensors.qti vendor/bin/sensors.qti
vendor/bin/sscrpcd vendor/bin/sscrpcd
vendor/etc/init/android.hardware.sensors-service-multihal.rc vendor/etc/init/android.hardware.sensors-service-multihal.rc
vendor/etc/vintf/manifest/android.hardware.sensors-multihal.xml vendor/etc/vintf/manifest/android.hardware.sensors-multihal.xml;MAKE_COPY_RULE_ONLY
vendor/lib64/hw/sensors.dynamic_sensor_hal.so vendor/lib64/hw/sensors.dynamic_sensor_hal.so
vendor/lib64/libhidparser.so vendor/lib64/libhidparser.so
vendor/lib64/libqsh.so vendor/lib64/libqsh.so
@@ -1277,7 +1276,7 @@ vendor/bin/hw/vendor.qti.hardware.trustedui@1.0-service-qti
vendor/bin/TrustedUISampleTest vendor/bin/TrustedUISampleTest
vendor/etc/init/vendor.qti.hardware.trustedui-aidl-service-qti.rc vendor/etc/init/vendor.qti.hardware.trustedui-aidl-service-qti.rc
vendor/etc/init/vendor.qti.hardware.trustedui@1.0-service-qti.rc vendor/etc/init/vendor.qti.hardware.trustedui@1.0-service-qti.rc
vendor/etc/vintf/manifest/vendor.qti.hardware.trustedui-aidl-service.xml vendor/etc/vintf/manifest/vendor.qti.hardware.trustedui-aidl-service.xml;MAKE_COPY_RULE_ONLY
vendor/lib64/libTouchInputVM.so vendor/lib64/libTouchInputVM.so
vendor/lib64/libTrustedInput.so vendor/lib64/libTrustedInput.so
vendor/lib64/libTrustedInputAIDL.so vendor/lib64/libTrustedInputAIDL.so
@@ -1297,7 +1296,7 @@ vendor/lib64/vendor.qti.hardware.trustedui@1.2.so
# USB # USB
vendor/bin/hw/android.hardware.usb-service.qti vendor/bin/hw/android.hardware.usb-service.qti
vendor/etc/init/android.hardware.usb-service.qti.rc vendor/etc/init/android.hardware.usb-service.qti.rc
vendor/etc/vintf/manifest/android.hardware.usb-service.qti.xml vendor/etc/vintf/manifest/android.hardware.usb-service.qti.xml;MAKE_COPY_RULE_ONLY
# Vibrator # Vibrator
vendor/lib64/hw/vibrator.default.so vendor/lib64/hw/vibrator.default.so
@@ -1832,54 +1831,53 @@ vendor/etc/ssg/ta_config.json
vendor/etc/ssg/tz_whitelist.json vendor/etc/ssg/tz_whitelist.json
vendor/etc/str/str_preference_data.dat vendor/etc/str/str_preference_data.dat
vendor/etc/sysconfig/vendor-apex-allowlist.xml vendor/etc/sysconfig/vendor-apex-allowlist.xml
vendor/etc/vintf/manifest/androd.hardware.camera.provider-external-service.xml vendor/etc/vintf/manifest/androd.hardware.camera.provider-external-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/atfwd-saidl.xml vendor/etc/vintf/manifest/atfwd-saidl.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/bluetooth_audio.xml vendor/etc/vintf/manifest/bluetooth_audio.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/bttpi-saidl.xml vendor/etc/vintf/manifest/bttpi-saidl.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/drk_manifest.xml vendor/etc/vintf/manifest/drk_manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/face-default-sec.xml vendor/etc/vintf/manifest/face-default-sec.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/hyper-default-sec.xml vendor/etc/vintf/manifest/iweaver_aidl_v2_manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/iweaver_aidl_v2_manifest.xml vendor/etc/vintf/manifest/khdm-default-sec.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/khdm-default-sec.xml vendor/etc/vintf/manifest/manifest_non_qmaa.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/manifest_non_qmaa.xml vendor/etc/vintf/manifest/manifest_non_qmaa_extn.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/manifest_non_qmaa_extn.xml vendor/etc/vintf/manifest/memtrack_qti.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/memtrack_qti.xml vendor/etc/vintf/manifest/mpos-default-sec.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/mpos-default-sec.xml vendor/etc/vintf/manifest/power-samsung.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/power-samsung.xml vendor/etc/vintf/manifest/qms-saidl.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/qms-saidl.xml vendor/etc/vintf/manifest/sec_c2_manifest_default0_1_2.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/sec_c2_manifest_default0_1_2.xml vendor/etc/vintf/manifest/vendor.qti.camera.aon-impl.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.qti.camera.aon-impl.xml vendor/etc/vintf/manifest/vendor.qti.camera.offlinecamera-impl.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.qti.camera.offlinecamera-impl.xml vendor/etc/vintf/manifest/vendor.qti.camera.postproc-impl.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.qti.camera.postproc-impl.xml vendor/etc/vintf/manifest/vendor.qti.diag.hal.service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.qti.diag.hal.service.xml vendor/etc/vintf/manifest/vendor.qti.hardware.display.demura-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.qti.hardware.display.demura-service.xml vendor/etc/vintf/manifest/vendor.qti.hardware.tetheroffload.service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.qti.hardware.tetheroffload.service.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.authfw-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.authfw-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.biometrics.fingerprint-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.biometrics.fingerprint-service.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.camera.provider-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.camera.provider-service.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.frcmc-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.frcmc-service.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.radio.exclude.qcom.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.radio.exclude.qcom.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.radio_manifest_2_34.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.radio_manifest_2_34.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.engmode-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.engmode-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.fkeymaster-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.fkeymaster-service.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.hdcp.keyprovisioning-default.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.hdcp.keyprovisioning-default.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.hermes.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.hermes.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.rtts-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.rtts-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.sem@1.0-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.sem@1.0-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.skpm@1.0-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.skpm@1.0-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.vaultkeeper-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.vaultkeeper-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.widevine.keyprov-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.widevine.keyprov-service.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.security.wsm.service-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.security.wsm.service-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.sehradio_manifest_2_34.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.sehradio_manifest_2_34.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.thermal-default.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.thermal-default.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.ddar-default.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.ddar-default.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.iccc@1.0-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.iccc@1.0-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.kg-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.kg-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.snap@1.0-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.snap@1.0-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.ucm-manifest.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.tlc.ucm-manifest.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.uwb@1.0-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.uwb@1.0-service.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.vibrator-default.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.vibrator-default.xml vendor/etc/vintf/manifest/vendor.samsung.hardware.wifi-service.xml;MAKE_COPY_RULE_ONLY
vendor/etc/vintf/manifest/vendor.samsung.hardware.wifi-service.xml
vendor/etc/DsgpPolicy.csv vendor/etc/DsgpPolicy.csv
vendor/etc/Hapticsconfig.xml vendor/etc/Hapticsconfig.xml
vendor/etc/IPACM_Filter_cfg.xml vendor/etc/IPACM_Filter_cfg.xml
@@ -1894,7 +1892,6 @@ vendor/etc/boringssl_self_test.zygote64.rc
vendor/etc/boringssl_self_test.zygote64_32.rc vendor/etc/boringssl_self_test.zygote64_32.rc
vendor/etc/btcon.json vendor/etc/btcon.json
vendor/etc/card-defs.xml vendor/etc/card-defs.xml
vendor/etc/charger_fw_fstab.qti
vendor/etc/clstc_config_library.xml vendor/etc/clstc_config_library.xml
vendor/etc/dax3_media_codecs_dolby_audio.xml vendor/etc/dax3_media_codecs_dolby_audio.xml
vendor/etc/djsk vendor/etc/djsk
@@ -1902,8 +1899,6 @@ vendor/etc/dpolicy
vendor/etc/excluded-input-devices.xml vendor/etc/excluded-input-devices.xml
vendor/etc/external_camera_config.xml vendor/etc/external_camera_config.xml
vendor/etc/floating_feature.xml vendor/etc/floating_feature.xml
vendor/etc/fstab.qcom
vendor/etc/fstab.ramplus
vendor/etc/gnss_antenna_info.conf vendor/etc/gnss_antenna_info.conf
vendor/etc/gpfspath_oem_config.xml vendor/etc/gpfspath_oem_config.xml
vendor/etc/hdr_samsung_mx.key vendor/etc/hdr_samsung_mx.key

View File

@@ -47,7 +47,8 @@ odm /odm e
/dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check /dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check /dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults,first_stage_mount /dev/block/bootdevice/by-name/misc /misc emmc defaults defaults,first_stage_mount
/dev/block/bootdevice/by-name/apnhlos /vendor/firmware_mnt vfat ro,context=u:object_r:firmware_file:s0,shortname=lower,uid=0,gid=1000,dmask=227,fmask=337 wait # TODO SELinux Labels
/dev/block/bootdevice/by-name/apnhlos /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=227,fmask=337 wait
/dev/block/bootdevice/by-name/modem /vendor/firmware-modem vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait /dev/block/bootdevice/by-name/modem /vendor/firmware-modem vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/bootdevice/by-name/efs /mnt/vendor/efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check /dev/block/bootdevice/by-name/efs /mnt/vendor/efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
/dev/block/bootdevice/by-name/sec_efs /efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check /dev/block/bootdevice/by-name/sec_efs /efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check

View File

@@ -1,8 +1,4 @@
<!-- <compatibility-matrix version="8.0" type="framework">
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<compatibility-matrix version="7.0" type="framework">
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>vendor.samsung.hardware.authfw</name> <name>vendor.samsung.hardware.authfw</name>
<interface> <interface>
@@ -19,7 +15,6 @@ SPDX-License-Identifier: Apache-2.0
</hal> </hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>vendor.samsung.hardware.gnss</name> <name>vendor.samsung.hardware.gnss</name>
<version>2</version>
<interface> <interface>
<name>ISehGnss</name> <name>ISehGnss</name>
<instance>default</instance> <instance>default</instance>
@@ -27,7 +22,6 @@ SPDX-License-Identifier: Apache-2.0
</hal> </hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>vendor.samsung.hardware.hyper</name> <name>vendor.samsung.hardware.hyper</name>
<version>2</version>
<interface> <interface>
<name>ISehHyPer</name> <name>ISehHyPer</name>
<instance>default</instance> <instance>default</instance>
@@ -40,14 +34,6 @@ SPDX-License-Identifier: Apache-2.0
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.media.mpp</name>
<version>2</version>
<interface>
<name>ISehMppStore</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>vendor.samsung.hardware.mpos</name> <name>vendor.samsung.hardware.mpos</name>
<interface> <interface>
@@ -55,56 +41,6 @@ SPDX-License-Identifier: Apache-2.0
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.radio.bridge</name>
<interface>
<name>ISehRadioBridge</name>
<instance>slot1</instance>
<instance>slot2</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.radio.channel</name>
<interface>
<name>ISehRadioChannel</name>
<instance>epdgd</instance>
<instance>epdgd2</instance>
<instance>imsd</instance>
<instance>imsd2</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.radio.data</name>
<interface>
<name>ISehRadioData</name>
<instance>slot1</instance>
<instance>slot2</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.radio.messaging</name>
<interface>
<name>ISehRadioMessaging</name>
<instance>slot1</instance>
<instance>slot2</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.radio.network</name>
<interface>
<name>ISehRadioNetwork</name>
<instance>slot1</instance>
<instance>slot2</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.radio.sim</name>
<interface>
<name>ISehRadioSim</name>
<instance>slot1</instance>
<instance>slot2</instance>
</interface>
</hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>vendor.samsung.hardware.security.drk</name> <name>vendor.samsung.hardware.security.drk</name>
<interface> <interface>
@@ -133,14 +69,6 @@ SPDX-License-Identifier: Apache-2.0
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.security.hdcp.wifidisplay</name>
<version>2</version>
<interface>
<name>ISehHdcp</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>vendor.samsung.hardware.security.hermes</name> <name>vendor.samsung.hardware.security.hermes</name>
<interface> <interface>
@@ -192,26 +120,6 @@ SPDX-License-Identifier: Apache-2.0
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.snap</name>
<version>2</version>
<interface>
<name>ISehSnap</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>vendor.samsung.hardware.sysinput</name>
<version>2</version>
<interface>
<name>ISehSysInputCallback</name>
<instance>default</instance>
</interface>
<interface>
<name>ISehSysInputDev</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>vendor.samsung.hardware.tlc.ddar</name> <name>vendor.samsung.hardware.tlc.ddar</name>
<interface> <interface>
@@ -219,14 +127,6 @@ SPDX-License-Identifier: Apache-2.0
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl" optional="true">
<name>vendor.samsung.hardware.tlc.iccc</name>
<version>1.0</version>
<interface>
<name>ISehIccc</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>vendor.samsung.hardware.tlc.kg</name> <name>vendor.samsung.hardware.tlc.kg</name>
<interface> <interface>
@@ -263,7 +163,7 @@ SPDX-License-Identifier: Apache-2.0
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="aidl" optional="false"> <hal format="aidl" optional="false">
<name>vendor.samsung.hardware.keymint</name> <name>vendor.samsung.hardware.keymint</name>
<version>1-3</version> <version>1-3</version>
<interface> <interface>
@@ -279,12 +179,4 @@ SPDX-License-Identifier: Apache-2.0
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<!--hal format="hidl" optional="true">
<name>android.hardware.health</name>
<version>2.0-1</version>
<interface>
<name>IHealth</name>
<instance>default</instance>
</interface>
</hal-->
</compatibility-matrix> </compatibility-matrix>

16
vintf/manifest.xml Normal file
View File

@@ -0,0 +1,16 @@
<!--
Copyright (C) 2024 The Linux Foundation
SPDX-License-Identifier: BSD-3-Clause
-->
<manifest version="8.0" type="device" target-level="8">
<hal format="aidl">
<name>vendor.samsung.hardware.keymint</name>
<version>3</version>
<fqname>ISehKeyMintExtension/default</fqname>
</hal>
<hal format="aidl">
<name>vendor.samsung.hardware.keymint</name>
<version>3</version>
<fqname>ISehKeyMintFactory/default</fqname>
</hal>
</manifest>