<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Android 15-R32 AOSP Support Request for PN7160 in NFC</title>
    <link>https://community.nxp.com/t5/NFC/Android-15-R32-AOSP-Support-Request-for-PN7160/m-p/2173950#M13627</link>
    <description>&lt;P&gt;&lt;STRONG&gt;JNI Version Mismatch with NXP Extensions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product:&lt;/STRONG&gt; PN7160 NFC Controller&lt;BR /&gt;&lt;STRONG&gt;Android Version:&lt;/STRONG&gt; Android 15 (AOSP)&lt;BR /&gt;&lt;STRONG&gt;Build Target:&lt;/STRONG&gt; AOSP userdebug build&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue Description:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are integrating the PN7160 NFC controller on Android 15 AOSP and encountering JNI registration failures due to apparent version mismatches between NXP NFC components.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Status:&lt;/STRONG&gt; ✓ AIDL HAL successfully running and registered (android.hardware.nfc.INfc/default)&lt;BR /&gt;✓ SELinux policies configured for hal_nfc_default&lt;BR /&gt;✓ Device node /dev/nxpnfc accessible&lt;BR /&gt;✓ P2P disabled per Android 14+ requirements (P2P_LISTEN_TECH_MASK=0x00)&lt;BR /&gt;✗ com.android.nfc crashes during JNI_OnLoad at register_com_android_nfc_NativeNfcManager&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Technical Details:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The NFC framework service fails to start due to JNI method signature mismatches between:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;packages/apps/Nfc (com.android.nfc.dhimpl.NativeNfcManager Java methods)&lt;/LI&gt;&lt;LI&gt;libnfc_nci_jni.so (native gMethods registration)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This indicates version skew between the NXP repositories when building with -DNXP_EXTNS=TRUE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current NXP Repositories in Use:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;packages/apps/Nfc (nxp_nci_hal_nfc)&lt;/LI&gt;&lt;LI&gt;system/nfc (nxp_nci_hal_libnfc-nci)&lt;/LI&gt;&lt;LI&gt;hardware/nxp/nfc (nfcandroid_nfc_hidlimpl)&lt;/LI&gt;&lt;LI&gt;vendor/nxp/frameworks (nfcandroid_frameworks)&lt;/LI&gt;&lt;LI&gt;hardware/nxp/emvco (nfcandroid_emvco_aidlimpl)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Request:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Recommended tag/branch alignment for Android 15 AOSP:&lt;/STRONG&gt; Which specific NXP release tag should we use across all five repositories for Android 15 compatibility? The AN14608 documentation references NFC_AR_INFRA_001E_15.03.00_OpnSrc, but we need confirmation this is appropriate for AOSP Android 15.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;AOSP-specific build configuration:&lt;/STRONG&gt; Are there specific build flags or configurations required for AOSP (vs. NXP's reference Android build) that might affect JNI compatibility?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Migration guidance:&lt;/STRONG&gt; Is there updated documentation for migrating from Android 14 to Android 15 with NXP extensions enabled?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Kernel: Linux 6.6.x with CONFIG_NFC_NCI, CONFIG_NFC_NCI_SPI enabled&lt;/LI&gt;&lt;LI&gt;I2C Interface: /dev/i2c-1, address 0x28&lt;/LI&gt;&lt;LI&gt;IRQ: GPIO 26&lt;/LI&gt;&lt;LI&gt;Build system: AOSP master branch&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Logs Available:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;logcat showing JNI registration failure&lt;/LI&gt;&lt;LI&gt;service list output confirming HAL registration&lt;/LI&gt;&lt;LI&gt;dmesg showing successful driver probe&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We can provide detailed logs and are willing to test any recommended configurations. Our goal is to achieve stable NFC functionality with vendor extensions enabled for potential secure element support.&lt;/P&gt;&lt;P&gt;Would building without NXP_EXTNS=TRUE as a temporary measure affect future enablement of secure element features, or can this be enabled later without major rework?&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 04:38:11 GMT</pubDate>
    <dc:creator>pshop</dc:creator>
    <dc:date>2025-09-23T04:38:11Z</dc:date>
    <item>
      <title>Android 15-R32 AOSP Support Request for PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Android-15-R32-AOSP-Support-Request-for-PN7160/m-p/2173950#M13627</link>
      <description>&lt;P&gt;&lt;STRONG&gt;JNI Version Mismatch with NXP Extensions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product:&lt;/STRONG&gt; PN7160 NFC Controller&lt;BR /&gt;&lt;STRONG&gt;Android Version:&lt;/STRONG&gt; Android 15 (AOSP)&lt;BR /&gt;&lt;STRONG&gt;Build Target:&lt;/STRONG&gt; AOSP userdebug build&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue Description:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are integrating the PN7160 NFC controller on Android 15 AOSP and encountering JNI registration failures due to apparent version mismatches between NXP NFC components.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Status:&lt;/STRONG&gt; ✓ AIDL HAL successfully running and registered (android.hardware.nfc.INfc/default)&lt;BR /&gt;✓ SELinux policies configured for hal_nfc_default&lt;BR /&gt;✓ Device node /dev/nxpnfc accessible&lt;BR /&gt;✓ P2P disabled per Android 14+ requirements (P2P_LISTEN_TECH_MASK=0x00)&lt;BR /&gt;✗ com.android.nfc crashes during JNI_OnLoad at register_com_android_nfc_NativeNfcManager&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Technical Details:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The NFC framework service fails to start due to JNI method signature mismatches between:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;packages/apps/Nfc (com.android.nfc.dhimpl.NativeNfcManager Java methods)&lt;/LI&gt;&lt;LI&gt;libnfc_nci_jni.so (native gMethods registration)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This indicates version skew between the NXP repositories when building with -DNXP_EXTNS=TRUE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current NXP Repositories in Use:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;packages/apps/Nfc (nxp_nci_hal_nfc)&lt;/LI&gt;&lt;LI&gt;system/nfc (nxp_nci_hal_libnfc-nci)&lt;/LI&gt;&lt;LI&gt;hardware/nxp/nfc (nfcandroid_nfc_hidlimpl)&lt;/LI&gt;&lt;LI&gt;vendor/nxp/frameworks (nfcandroid_frameworks)&lt;/LI&gt;&lt;LI&gt;hardware/nxp/emvco (nfcandroid_emvco_aidlimpl)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Request:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Recommended tag/branch alignment for Android 15 AOSP:&lt;/STRONG&gt; Which specific NXP release tag should we use across all five repositories for Android 15 compatibility? The AN14608 documentation references NFC_AR_INFRA_001E_15.03.00_OpnSrc, but we need confirmation this is appropriate for AOSP Android 15.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;AOSP-specific build configuration:&lt;/STRONG&gt; Are there specific build flags or configurations required for AOSP (vs. NXP's reference Android build) that might affect JNI compatibility?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Migration guidance:&lt;/STRONG&gt; Is there updated documentation for migrating from Android 14 to Android 15 with NXP extensions enabled?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Kernel: Linux 6.6.x with CONFIG_NFC_NCI, CONFIG_NFC_NCI_SPI enabled&lt;/LI&gt;&lt;LI&gt;I2C Interface: /dev/i2c-1, address 0x28&lt;/LI&gt;&lt;LI&gt;IRQ: GPIO 26&lt;/LI&gt;&lt;LI&gt;Build system: AOSP master branch&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Logs Available:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;logcat showing JNI registration failure&lt;/LI&gt;&lt;LI&gt;service list output confirming HAL registration&lt;/LI&gt;&lt;LI&gt;dmesg showing successful driver probe&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We can provide detailed logs and are willing to test any recommended configurations. Our goal is to achieve stable NFC functionality with vendor extensions enabled for potential secure element support.&lt;/P&gt;&lt;P&gt;Would building without NXP_EXTNS=TRUE as a temporary measure affect future enablement of secure element features, or can this be enabled later without major rework?&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 04:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Android-15-R32-AOSP-Support-Request-for-PN7160/m-p/2173950#M13627</guid>
      <dc:creator>pshop</dc:creator>
      <dc:date>2025-09-23T04:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Android 15-R32 AOSP Support Request for PN7160</title>
      <link>https://community.nxp.com/t5/NFC/Android-15-R32-AOSP-Support-Request-for-PN7160/m-p/2177307#M13658</link>
      <description>&lt;P&gt;could you send me the log? thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 08:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Android-15-R32-AOSP-Support-Request-for-PN7160/m-p/2177307#M13658</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2025-09-29T08:47:05Z</dc:date>
    </item>
  </channel>
</rss>

