diff --git a/r8q/proprietary/vendor/bin/hw/nxp.android.hardware.nfc@1.2-service b/r8q/proprietary/vendor/bin/hw/nxp.android.hardware.nfc@1.2-service new file mode 100644 index 0000000..7cb0208 Binary files /dev/null and b/r8q/proprietary/vendor/bin/hw/nxp.android.hardware.nfc@1.2-service differ diff --git a/r8q/proprietary/vendor/etc/init/nxp.android.hardware.nfc@1.2-service.rc b/r8q/proprietary/vendor/etc/init/nxp.android.hardware.nfc@1.2-service.rc new file mode 100644 index 0000000..20531da --- /dev/null +++ b/r8q/proprietary/vendor/etc/init/nxp.android.hardware.nfc@1.2-service.rc @@ -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 diff --git a/r8q/proprietary/vendor/lib64/nfc_nci_nxpsn.so b/r8q/proprietary/vendor/lib64/nfc_nci_nxpsn.so new file mode 100644 index 0000000..84f37d4 Binary files /dev/null and b/r8q/proprietary/vendor/lib64/nfc_nci_nxpsn.so differ diff --git a/r8q/proprietary/vendor/lib64/vendor.samsung.hardware.nfc@2.0.so b/r8q/proprietary/vendor/lib64/vendor.samsung.hardware.nfc@2.0.so new file mode 100644 index 0000000..dbd43f0 Binary files /dev/null and b/r8q/proprietary/vendor/lib64/vendor.samsung.hardware.nfc@2.0.so differ diff --git a/r8q/r8q-vendor.mk b/r8q/r8q-vendor.mk index 46011b3..7d8f9b8 100644 --- a/r8q/r8q-vendor.mk +++ b/r8q/r8q-vendor.mk @@ -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 \