r8q: Switch to blobbed NXP NFC

AIDL NXP hal conflicts with HIDL Samsung hal and fails to start. Switch to blobbed HIDL NXP hal as Android 14 dropped HIDL NXP hal, so sn100u users can initialize their nfc once again.

Signed-off-by: ata-kaner <ata.kaner03@gmail.com>
This commit is contained in:
ata-kaner
2024-04-13 18:31:10 +03:00
parent 6885a1cf17
commit 2d00a52d0e
5 changed files with 15 additions and 1 deletions
@@ -0,0 +1,10 @@
service vendor.nfc_hal_service /vendor/bin/hw/nxp.android.hardware.nfc@1.2-service
interface android.hardware.nfc@1.0::INfc default
interface android.hardware.nfc@1.1::INfc default
interface android.hardware.nfc@1.2::INfc default
interface vendor.samsung.hardware.nfc@2.0::ISehNfc default
class hal
oneshot
disabled
user nfc
group nfc net_bt_admin
Binary file not shown.
Binary file not shown.
+5 -1
View File
@@ -6,11 +6,15 @@ PRODUCT_SOONG_NAMESPACES += \
vendor/samsung/r8q
PRODUCT_COPY_FILES += \
vendor/samsung/r8q/proprietary/vendor/bin/hw/nxp.android.hardware.nfc@1.2-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/nxp.android.hardware.nfc@1.2-service \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.secure_element@1.0-service-gto-sku.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.0-service-gto-sku.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.secure_element@1.0-service-sku.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.0-service-sku.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/nxp.android.hardware.nfc@1.2-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/nxp.android.hardware.nfc@1.2-service.rc \
vendor/samsung/r8q/proprietary/vendor/etc/libese-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libese-nxp.conf \
vendor/samsung/r8q/proprietary/vendor/etc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
vendor/samsung/r8q/proprietary/vendor/firmware/nfc/libsn100u_fw.so:$(TARGET_COPY_OUT_VENDOR)/firmware/nfc/libsn100u_fw.so
vendor/samsung/r8q/proprietary/vendor/firmware/nfc/libsn100u_fw.so:$(TARGET_COPY_OUT_VENDOR)/firmware/nfc/libsn100u_fw.so \
vendor/samsung/r8q/proprietary/vendor/lib64/nfc_nci_nxpsn.so:$(TARGET_COPY_OUT_VENDOR)/lib64/nfc_nci_nxpsn.so \
vendor/samsung/r8q/proprietary/vendor/lib64/vendor.samsung.hardware.nfc@2.0.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.samsung.hardware.nfc@2.0.so
PRODUCT_PACKAGES += \
android.hardware.secure_element-impl-gto \