# # Copyright (C) 2024 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # # Enable project quotas and casefolding for emulated storage without sdcardfs $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk) # Enforce generic ramdisk allow list $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk) # Dalvik $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) # Enable updating of APEXes $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) # Add common definitions for Qualcomm $(call inherit-product, hardware/qcom-caf/common/common.mk) # AAPT PRODUCT_AAPT_CONFIG := normal PRODUCT_AAPT_PREF_CONFIG := xxxhdpi # API levels BOARD_SHIPPING_API_LEVEL := 34 PRODUCT_SHIPPING_API_LEVEL := $(BOARD_SHIPPING_API_LEVEL) # Audio PRODUCT_PACKAGES += \ libagmmixer # Bluetooth # Boot animation TARGET_SCREEN_HEIGHT := 3120 TARGET_SCREEN_WIDTH := 1440 # DebugFS PRODUCT_SET_DEBUGFS_RESTRICTIONS := true # Display PRODUCT_PACKAGES += \ android.hardware.graphics.mapper@4.0-impl-qti-display \ init.qti.display_boot.rc \ init.qti.display_boot.sh \ vendor.qti.hardware.display.allocator-service \ vendor.qti.hardware.display.composer-service \ vendor.qti.hardware.display.composer-service.rc \ vendor.qti.hardware.display.composer-service.xml \ vendor.qti.hardware.display.demura-service 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 # fastbootd PRODUCT_PACKAGES += \ android.hardware.fastboot@1.1-impl-mock \ fastbootd # Gatekeeper PRODUCT_PACKAGES += \ android.hardware.gatekeeper@1.0.vendor \ android.hardware.gatekeeper-V1-ndk.vendor \ libgatekeeper.vendor # HIDL PRODUCT_PACKAGES += \ libhidltransport.vendor \ libhwbinder.vendor # Keymaster PRODUCT_PACKAGES += \ android.hardware.keymaster@4.1.vendor # Keymint PRODUCT_PACKAGES += \ android.hardware.hardware_keystore.xml # Media PRODUCT_PACKAGES += \ libavservices_minijail.vendor # Overlays PRODUCT_ENFORCE_RRO_TARGETS := * # Partitions PRODUCT_USE_DYNAMIC_PARTITIONS := true # Product characteristics PRODUCT_CHARACTERISTICS := phone # Protobuf PRODUCT_PACKAGES += \ libprotobuf-cpp-full-3.9.1-vendorcompat # QMI PRODUCT_PACKAGES += \ libcurl.vendor \ libjsoncpp.vendor \ libsqlite.vendor # RIL PRODUCT_PACKAGES += \ libnetutils.vendor \ libsecril-client # Rootdir PRODUCT_PACKAGES += \ dcc_extension.sh \ hdm_status.sh \ init.class_main.sh \ init.crda.sh \ init.kernel.post_boot-cliffs.sh \ init.kernel.post_boot-pineapple.sh \ init.kernel.post_boot.sh \ init.mdm.sh \ init.qcom.class_core.sh \ init.qcom.coex.sh \ init.qcom.early_boot.sh \ init.qcom.efs.sync.sh \ init.qcom.post_boot.sh \ init.qcom.sdio.sh \ init.qcom.sensors.sh \ init.qcom.sh \ init.qti.kernel.debug-cliffs.sh \ init.qti.kernel.debug-pineapple.sh \ init.qti.kernel.debug.sh \ init.qti.kernel.early_debug-pineapple.sh \ init.qti.kernel.early_debug.sh \ init.qti.kernel.sh \ init.qti.media.sh \ init.qti.qcv.sh \ init.qti.time.daemon.sh \ init.qti.write.sh \ init.vendor.sensordebug.sh \ init.vendor.sensordebug.ssr_dump.sh \ install-recovery.sh \ qca6234-service.sh \ system_dlkm_modprobe.sh \ vendor_modprobe.sh \ PRODUCT_PACKAGES += \ fstab.qcom \ init.e3q.rc \ init.qcom.factory.rc \ init.qcom.rc \ init.qti.kernel.rc \ init.qti.ss-ramdump.sh \ init.qti.ufs.rc \ init.samsung.bsp.rc \ init.samsung.display.rc \ init.samsung.dp.rc \ init.samsung.factory.rc \ init.samsung.power.rc \ init.samsung.rc \ init.samsung.user.rc \ init.target.rc \ init.recovery.qcom.rc \ init.recovery.samsung.rc \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.qcom # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) \ hardware/samsung \ kernel/samsung/sm8650 \ kernel/samsung/sm8650-modules # Thermal PRODUCT_PACKAGES += \ android.hardware.thermal@1.0.vendor # Trusted UI PRODUCT_PACKAGES += \ android.hidl.memory.block@1.0.vendor \ vendor.qti.hardware.systemhelper@1.0.vendor # USB PRODUCT_PACKAGES += \ android.hardware.usb-service.qti \ android.hardware.usb.gadget-service.qti \ init.qcom.usb.rc \ init.qcom.usb.sh PRODUCT_SOONG_NAMESPACES += \ vendor/qcom/opensource/usb/etc PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml # 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 # Wi-Fi PRODUCT_PACKAGES += \ firmware_wlanmdsp.otaupdate_symlink \ firmware_wlan_mac.bin_symlink \ firmware_WCNSS_qcom_cfg.ini_symlink # Inherit the proprietary files $(call inherit-product, vendor/samsung/e3q/e3q-vendor.mk)