From 3ad7e1fa0924a6c03987d0add1c29c0acc5534ee Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Thu, 6 Jul 2023 01:42:22 -0400 Subject: [PATCH 1/2] GS290: Build USB Element HIDL libs into vendor Change-Id: Ib0066897a255944d137952eadf97d67045e8e797 Signed-off-by: Jackeagle --- device.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device.mk b/device.mk index cfbcfd5..d4937e8 100644 --- a/device.mk +++ b/device.mk @@ -345,6 +345,9 @@ 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 \ +PRODUCT_PACKAGES += \ + android.hardware.usb@1.1.vendor + # 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 -- GitLab From 3e5b2ad99b81fb46e87f84a8d55d67dd1b342594 Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Thu, 6 Jul 2023 01:44:55 -0400 Subject: [PATCH 2/2] GS290: Build required HIDL libs into vendor Change-Id: I60f664b7a7f4e672dfa457bc488837957b4405c7 Signed-off-by: Jackeagle --- device.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/device.mk b/device.mk index d4937e8..4010502 100644 --- a/device.mk +++ b/device.mk @@ -260,7 +260,8 @@ PRODUCT_PACKAGES += \ # Sensors PRODUCT_PACKAGES += \ libsensorndkbridge \ - libstdc++.vendor + libstdc++.vendor \ + android.hardware.sensors@2.0.vendor PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ @@ -352,6 +353,12 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml +# Vendor HIDL +PRODUCT_PACKAGES += \ + android.frameworks.displayservice@1.0.vendor \ + android.hardware.gnss@2.0.vendor \ + android.system.net.netd@1.1.vendor + # Vibrator PRODUCT_PACKAGES += \ android.hardware.vibrator@1.0-impl \ -- GitLab