fixup! e3q: Initial commit

This commit is contained in:
David Wronek 2024-11-17 16:56:29 +01:00
parent 054f4a1051
commit ff45d7b724
6 changed files with 82 additions and 2184 deletions

View File

@ -20,6 +20,9 @@ TARGET_CPU_VARIANT_RUNTIME := kryo300
# Assert
TARGET_OTA_ASSERT_DEVICE := e3q
# Audio
TARGET_PROVIDES_AUDIO_HAL := true
# Board
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt

View File

@ -40,6 +40,20 @@ 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 \
@ -47,6 +61,7 @@ PRODUCT_PACKAGES += \
# Gatekeeper
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0.vendor \
android.hardware.gatekeeper-V1-ndk.vendor \
libgatekeeper.vendor
@ -61,11 +76,7 @@ PRODUCT_PACKAGES += \
# Keymint
PRODUCT_PACKAGES += \
android.hardware.hardware_keystore.xml \
android.hardware.security.sharedsecret-V1-ndk.vendor \
android.hardware.security.sharedsecret-V2-ndk.vendor \
android.hardware.weaver@1.0.vendor \
android.hardware.weaver-V2-ndk.vendor
android.hardware.hardware_keystore.xml
# Media
PRODUCT_PACKAGES += \
@ -113,8 +124,6 @@ PRODUCT_PACKAGES += \
init.qcom.sdio.sh \
init.qcom.sensors.sh \
init.qcom.sh \
init.qcom.usb.sh \
init.qti.display_boot.sh \
init.qti.kernel.debug-cliffs.sh \
init.qti.kernel.debug-pineapple.sh \
init.qti.kernel.debug.sh \
@ -137,7 +146,6 @@ PRODUCT_PACKAGES += \
init.e3q.rc \
init.qcom.factory.rc \
init.qcom.rc \
init.qcom.usb.rc \
init.qti.kernel.rc \
init.qti.ss-ramdump.sh \
init.qti.ufs.rc \
@ -171,6 +179,20 @@ 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

View File

@ -58,9 +58,10 @@ blob_fixups: blob_fixups_user_type = {
('vendor/bin/hw/vendor.qti.hardware.display.composer-service', 'vendor/lib64/vendor.qti.hardware.display.composer3-V1-ndk.so'): blob_fixup()
.replace_needed('android.hardware.graphics.composer3-V2-ndk.so', 'android.hardware.graphics.composer3-V3-ndk.so')
.replace_needed('vendor.qti.hardware.display.config-V8-ndk.so', 'vendor.qti.hardware.display.config-V11-ndk.so'),
('vendor/lib64/rfs/dsp/libSnpeHtpV75Skel.so', 'vendor/lib64/rfs/dsp/snap/libQnnHtpV75Skel.so'): blob_fixup()
.replace_needed('libc++.so.1', 'libc++.so')
.replace_needed('libc++abi.so.1', 'libc++abi.so.1'),
('vendor/lib64/libskeymint_cli.so', 'vendor/bin/hw/android.hardware.security.keymint-service'): blob_fixup()
.replace_needed('libcrypto.so', 'libcrypto-v33.so')
.replace_needed('libcppbor_external.so', 'libcppbor.so')
.add_needed('android.hardware.security.rkp-V3-ndk.so')
} # fmt: skip
module = ExtractUtilsModule(

View File

@ -23,6 +23,5 @@ PRODUCT_MANUFACTURER := samsung
PRODUCT_GMS_CLIENTID_BASE := android-samsung-ss
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="e3qxxx-user 14 UP1A.231005.007 S928BXXS3AXI8 release-keys"
BUILD_FINGERPRINT := samsung/e3qxxx/qssi_64:14/UP1A.231005.007/S928BXXS3AXI8:user/release-keys
BuildDesc="e3qxxx-user 14 UP1A.231005.007 S928BXXS3AXI8 release-keys" \
BuildFingerprint="samsung/e3qxxx/qssi_64:14/UP1A.231005.007/S928BXXS3AXI8:user/release-keys"

File diff suppressed because it is too large Load Diff

View File

@ -101,12 +101,6 @@ sh_binary {
vendor: true,
}
sh_binary {
name: "init.qcom.usb.sh",
src: "bin/init.qcom.usb.sh",
vendor: true,
}
sh_binary {
name: "init.qti.kernel.debug-cliffs.sh",
src: "bin/init.qti.kernel.debug-cliffs.sh",
@ -225,13 +219,6 @@ prebuilt_etc {
vendor: true,
}
prebuilt_etc {
name: "init.qcom.usb.rc",
src: "etc/init.qcom.usb.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "init.qti.kernel.rc",
src: "etc/init.qti.kernel.rc",