[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tusker:
NFC issues

Hi guys,

I have been trying to diagnose the NFC issues on the device, and it seems like there are two issues:

1) Incorrect firmware file in the device tree - https://github.com/NXPNFCProject/NXPNFCC_FW/blob/master/pn548ad/64-bit/libpn548ad_fw.so works where as the included libpn548ad_fw.so does not.

2) Even when the NFC hardware initializes properly, it seems as thought the Nfc service does not start properly - NFC service dead - attempting to recover

05-29 23:14:46.856 1242 1242 W PackageManager: Unknown permission android.permission.NFC_UNLOCK in package com.android.nfc
05-29 23:14:48.896 1242 1719 W PackageManager: Unknown permission android.permission.NFC_UNLOCK in package com.android.nfc
05-29 23:19:29.951 4124 4124 E NFC : NFC service dead - attempting to recover
05-29 23:19:29.951 4124 4124 E NFC : android.os.DeadObjectException
05-29 23:19:29.951 4124 4124 E NFC : at android.os.BinderProxy.transactNative(Native Method)
05-29 23:19:29.951 4124 4124 E NFC : at android.os.BinderProxy.transact(Binder.java:615)
05-29 23:19:29.951 4124 4124 E NFC : at android.nfc.INfcAdapter$Stub$Proxy.isNdefPushEnabled(INfcAdapter.java:493)
05-29 23:19:29.951 4124 4124 E NFC : at android.nfc.NfcAdapter.isNdefPushEnabled(NfcAdapter.java:1618)
05-29 23:19:29.951 4124 4124 E NFC : at com.android.settings.nfc.NfcEnabler.handleNfcStateChanged(NfcEnabler.java:129)
05-29 23:19:29.951 4124 4124 E NFC : at com.android.settings.nfc.NfcEnabler.-wrap0(NfcEnabler.java)
05-29 23:19:29.951 4124 4124 E NFC : at com.android.settings.nfc.NfcEnabler$1.onReceive(NfcEnabler.java:52)
05-29 23:19:29.951 4124 4124 E NFC : at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:1122)
05-29 23:19:29.951 4124 4124 E NFC : at android.os.Handler.handleCallback(Handler.java:751)
05-29 23:19:29.951 4124 4124 E NFC : at android.os.Handler.dispatchMessage(Handler.java:95)
05-29 23:19:29.951 4124 4124 E NFC : at android.os.Looper.loop(Looper.java:154)
05-29 23:19:29.951 4124 4124 E NFC : at android.app.ActivityThread.main(ActivityThread.java:6208)
05-29 23:19:29.951 4124 4124 E NFC : at java.lang.reflect.Method.invoke(Native Method)
05-29 23:19:29.951 4124 4124 E NFC : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
05-29 23:19:29.951 4124 4124 E NFC : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
05-29 23:19:39.865 4124 4124 E NFC : NFC service dead - attempting to recover
05-29 23:19:39.865 4124 4124 E NFC : android.os.DeadObjectException
...
05-29 23:19:49.854 4124 4124 E NFC : NFC service dead - attempting to recover
05-29 23:19:49.854 4124 4124 E NFC : android.os.DeadObjectException
...
05-29 23:19:59.672 4124 4124 E NFC : NFC service dead - attempting to recover
05-29 23:19:59.672 4124 4124 E NFC : android.os.DeadObjectException
...
05-29 23:20:09.674 4124 4124 E NFC : NFC service dead - attempting to recover
05-29 23:20:09.674 4124 4124 E NFC : android.os.DeadObjectException
...
05-29 23:20:16.088 4124 6310 E NFC : NFC service dead - attempting to recover
05-29 23:20:16.088 4124 6310 E NFC : android.os.DeadObjectException
...
05-29 23:20:16.088 4124 6310 E NFC : at java.lang.Thread.run(Thread.java:761)
05-29 23:21:29.116 6619 6643 I BrcmNfcNfa: nfa_ee_evt_hdlr (): Event CFG_TO_NFCC(0x218), State: INIT_DONE(1)
05-29 23:21:29.122 6619 6643 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:29.122 6619 6643 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_ROUTING_REVT(0x500a)
05-29 23:21:29.139 6619 6643 I BrcmNfcNfa: listen_mask value after NFC-A = 0x40000
05-29 23:21:29.139 6619 6643 I BrcmNfcNfa: listen_mask value after NFC-B = 0x140000
05-29 23:21:29.139 6619 6643 I BrcmNfcNfa: listen_mask value after NFC-F = 0x140000
05-29 23:21:29.139 6619 6643 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0x140000
05-29 23:21:29.139 6619 6643 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0x140000
05-29 23:21:29.142 6619 6643 I BrcmNfcNfa: NFC_DiscoveryStart
05-29 23:21:29.142 6619 6643 I BrcmNfcNfa: NFC_DiscoveryStart status: 0xe3
05-29 23:21:29.143 6619 6643 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:29.144 6619 6643 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_CONFIG_REVT(0x5002)
05-29 23:21:29.175 6619 6643 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:29.178 6619 6643 I BrcmNfcNfa: NFC_Deactivate 4 (IDLE) deactivate_type:0
05-29 23:21:29.189 6619 6643 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:29.998 6667 6667 I NfcService: Starting NFC service
05-29 23:21:30.002 6667 6667 I BrcmNfcJni: NFC Service: loading nci JNI
05-29 23:21:30.039 6667 6667 I NfceeAccess: read 1 signature(s) for NFCEE access
05-29 23:21:30.040 6667 6667 W NfcSccAccess: could not find /etc/nfcscc_access.xml, no NFCSCC access allowed
05-29 23:21:30.040 6667 6667 I NfcSccAccess: read 0 signature(s) for NFCSCC access
05-29 23:21:30.040 6667 6667 I NfcSeAccess: read 1 signature(s) for NFCSE access
05-29 23:21:30.134 6667 6667 D RegisteredAidCache: Not updating routing table because NFC is off.
05-29 23:21:30.315 6667 6667 D RegisteredAidCache: Not updating routing table because NFC is off.
05-29 23:21:30.316 6667 6667 D RegisteredNfcFServicesCache: Dynamic System Code, NFCID2 file does not exist.
05-29 23:21:30.352 6667 6687 D NfcService: NFC is on. Doing normal stuff
05-29 23:21:30.352 6667 6687 I NfcService: Enabling NFC
05-29 23:21:30.358 6667 6687 I NfcService: Enabling NFC timeout90000
05-29 23:21:30.363 6667 6687 D BrcmNfcJni: nfcManager_doInitialize: enter; ver=NFCDROID-AOSP_M_00.01 nfa=NFA_PI_1.03.66+ NCI_VERSION=0x10
05-29 23:21:30.364 6667 6687 D BrcmNfcJni: nfcManager_doInitialize: MW Version: NFC_NCIHALx_ARC0.7.3.0
05-29 23:21:30.364 6667 6687 E NfcAdaptation: NfcAdaptation::Initialize: ver=NFCDROID-AOSP_M_00.01 nfa=NFA_PI_1.03.66+
05-29 23:21:30.367 6667 6689 D NfcAdaptation: NfcAdaptation::NFCA_TASK: enter
05-29 23:21:30.368 6667 6691 I BrcmNfcNfa: NFC_TASK started.
05-29 23:21:30.375 6667 6687 I BrcmNfcNfa: NFC_SetTraceLevel () new_level = 5
05-29 23:21:30.375 6667 6691 I BrcmNfcNfa: NFC_Enable ()
05-29 23:21:30.412 6667 6691 D NxpExtns: const nxp::CNfcParam *nxp::CNfcConfig::find(const char *) const found NXP_NFC_DEV_NODE=/dev/pn548
05-29 23:21:30.650 6667 6696 I BrcmNfcNfa: nfc_main_hal_cback event: HAL_NFC_OPEN_CPLT_EVT(0x0), status=0
05-29 23:21:30.650 6667 6691 I BrcmNfcNfa: NFC_TASK got NFC_TASK_EVT_TRANSPORT_READY.
05-29 23:21:30.658 6667 6691 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:30.663 6667 6691 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:30.712 6667 6696 I BrcmNfcNfa: nfc_main_hal_cback event: HAL_NFC_POST_INIT_CPLT_EVT(0x2), status=0
05-29 23:21:30.713 6667 6691 I BrcmNfcNfa: nci_interfaces supported by NFCC: 0xf
05-29 23:21:30.715 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_ENABLE_REVT(0x5000)
05-29 23:21:30.734 6667 6691 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:30.740 6667 6691 I BrcmNfcNfa: NFC received rsp gid:2
05-29 23:21:30.740 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCEE_DISCOVER_REVT(0x5004)
05-29 23:21:30.742 6667 6691 I BrcmNfcNfa: NFC received ntf gid:2
05-29 23:21:30.742 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCEE_INFO_REVT(0x5005)
05-29 23:21:30.745 6667 6691 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:30.751 6667 6691 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:30.753 6667 6691 I BrcmNfcNfa: NFC received data
05-29 23:21:30.757 6667 6691 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:30.759 6667 6691 I BrcmNfcNfa: NFC received data
05-29 23:21:30.764 6667 6691 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:30.767 6667 6691 I BrcmNfcNfa: NFC received data
05-29 23:21:34.826 6667 6691 I BrcmNfcNfa: NFC received rsp gid:2
05-29 23:21:34.826 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCEE_DISCOVER_REVT(0x5004)
05-29 23:21:34.829 6667 6691 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:34.831 6667 6691 I BrcmNfcNfa: NFC received data
05-29 23:21:34.835 6667 6691 I BrcmNfcNfa: nfa_hci_evt_hdlr state: WAIT_NFCEE_ENABLE (9) event: CHECK_QUEUE (0x0814)
05-29 23:21:34.864 6667 6687 D BrcmNfcJni: SecureElement::initialize: NFCC Passive Listen Disable timeout =2500
05-29 23:21:34.864 6667 6687 D BrcmNfcJni: SecureElement::initialize: NFCC Passive Listen Disable timeout =2500
05-29 23:21:34.864 6667 6687 D BrcmNfcJni: SecureElement::initialize: NFCC standby mode timeout =0x4e20
05-29 23:21:34.865 6667 6687 D NxpExtns: const CNxpNfcParam *CNxpNfcConfig::find(const char *) const found NXP_NFC_CHIP=(0x3)
05-29 23:21:34.868 6667 6687 D BrcmNfcJni: printMemberData: ACTIVE_SE_NFCF = 0x0
05-29 23:21:34.868 6667 6687 D BrcmNfcJni: printMemberData: DEFAULT_NFCF_ROUTE = 0x0
05-29 23:21:34.868 6667 6687 D BrcmNfcJni: printMemberData: NXP_NFC_CHIP = 0x3;
05-29 23:21:34.875 6667 6691 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:34.875 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_GET_CONFIG_REVT(0x5003)
05-29 23:21:38.879 6667 6687 D BrcmNfcJni: GetNumNFCEEConfigured: enter
05-29 23:21:38.879 6667 6687 D BrcmNfcJni: GetNumNFCEEConfigured: Success NFA_SendNxpNciCommand
05-29 23:21:38.883 6667 6691 D BrcmNfcJni: NxpResponse_GetNumNFCEEValueCb length data = 0xd status = 0x0
05-29 23:21:38.883 6667 6687 D BrcmNfcJni: GetNumNFCEEConfigured : gActualSeCount = 1
05-29 23:21:38.892 6667 6687 D NxpExtns: const CNxpNfcParam *CNxpNfcConfig::find(const char *) const found NXP_DEFAULT_NFCEE_TIMEOUT=(0x14)
05-29 23:21:38.892 6667 6687 D BrcmNfcJni: NAME_DEFAULT_NFCEE_TIMEOUT = 320
05-29 23:21:38.895 6667 6691 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:38.895 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_GET_CONFIG_REVT(0x5003)
05-29 23:21:38.898 6667 6691 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:38.898 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_GET_CONFIG_REVT(0x5003)
05-29 23:21:38.900 6667 6687 D NxpExtns: const CNxpNfcParam *CNxpNfcConfig::find(const char *) const found NXP_NFC_CHIP=(0x3)
05-29 23:21:38.982 6667 6687 D NxpExtns: const CNxpNfcParam *CNxpNfcConfig::find(const char *) const found NXP_NFC_CHIP=(0x3)
05-29 23:21:38.984 6667 6667 E NfcService: Loader service update start from NFC_ON Broadcast
05-29 23:21:39.006 6667 6691 I BrcmNfcNfa: nfa_ee_evt_hdlr (): Event CFG_TO_NFCC(0x218), State: INIT_DONE(1)
05-29 23:21:39.013 6667 6691 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:39.013 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_ROUTING_REVT(0x500a)
05-29 23:21:39.014 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-A = 0x40000
05-29 23:21:39.014 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-B = 0x140000
05-29 23:21:39.014 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-F = 0x140000
05-29 23:21:39.014 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0x140000
05-29 23:21:39.014 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0x140000
05-29 23:21:39.016 6667 6691 I BrcmNfcNfa: NFC_DiscoveryStart
05-29 23:21:39.016 6667 6691 I BrcmNfcNfa: NFC_DiscoveryStart status: 0xe3
05-29 23:21:39.017 6667 6691 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:39.017 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_CONFIG_REVT(0x5002)
05-29 23:21:39.024 6667 6691 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:39.025 6667 6691 I BrcmNfcNfa: NFC_Deactivate 4 (IDLE) deactivate_type:0
05-29 23:21:39.030 6667 6691 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-A = 0x40000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-B = 0x140000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-F = 0x140000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0x140000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0x140000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-A = 0x0
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-B = 0x0
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-F = 0x0
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0x0
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0x0
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-A = 0x4080000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-B = 0x4080000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-F = 0xc480000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0xc480000
05-29 23:21:39.035 6667 6691 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0xc480000
05-29 23:21:39.036 6667 6691 I BrcmNfcNfa: NFC_DiscoveryStart
05-29 23:21:39.036 6667 6691 I BrcmNfcNfa: NFC_DiscoveryStart status: 0xe3
05-29 23:21:39.043 6667 6691 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:39.043 6667 6691 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_CONFIG_REVT(0x5002)
05-29 23:21:39.051 6667 6691 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:39.062 6667 6691 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:39.558 6723 6723 I NfcService: Starting NFC service
05-29 23:21:39.568 6723 6723 I BrcmNfcJni: NFC Service: loading nci JNI
05-29 23:21:39.631 6723 6723 I NfceeAccess: read 1 signature(s) for NFCEE access
05-29 23:21:39.631 6723 6723 W NfcSccAccess: could not find /etc/nfcscc_access.xml, no NFCSCC access allowed
05-29 23:21:39.631 6723 6723 I NfcSccAccess: read 0 signature(s) for NFCSCC access
05-29 23:21:39.632 6723 6723 I NfcSeAccess: read 1 signature(s) for NFCSE access
05-29 23:21:39.658 6723 6723 D RegisteredAidCache: Not updating routing table because NFC is off.
05-29 23:21:39.756 6723 6723 D RegisteredAidCache: Not updating routing table because NFC is off.
05-29 23:21:39.756 6723 6723 D RegisteredNfcFServicesCache: Dynamic System Code, NFCID2 file does not exist.
05-29 23:21:39.770 6723 6744 D NfcService: NFC is on. Doing normal stuff
05-29 23:21:39.770 6723 6744 I NfcService: Enabling NFC
05-29 23:21:39.771 6723 6744 I NfcService: Enabling NFC timeout90000
05-29 23:21:39.773 6723 6744 D BrcmNfcJni: nfcManager_doInitialize: enter; ver=NFCDROID-AOSP_M_00.01 nfa=NFA_PI_1.03.66+ NCI_VERSION=0x10
05-29 23:21:39.773 6723 6744 D BrcmNfcJni: nfcManager_doInitialize: MW Version: NFC_NCIHALx_ARC0.7.3.0
05-29 23:21:39.774 6723 6744 E NfcAdaptation: NfcAdaptation::Initialize: ver=NFCDROID-AOSP_M_00.01 nfa=NFA_PI_1.03.66+
05-29 23:21:39.777 6723 6746 D NfcAdaptation: NfcAdaptation::NFCA_TASK: enter
05-29 23:21:39.778 6723 6748 I BrcmNfcNfa: NFC_TASK started.
05-29 23:21:39.783 6723 6744 I BrcmNfcNfa: NFC_SetTraceLevel () new_level = 5
05-29 23:21:39.783 6723 6748 I BrcmNfcNfa: NFC_Enable ()
05-29 23:21:39.806 6723 6748 D NxpExtns: const nxp::CNfcParam *nxp::CNfcConfig::find(const char *) const found NXP_NFC_DEV_NODE=/dev/pn548
05-29 23:21:39.955 4124 4124 E NFC : NFC service dead - attempting to recover
05-29 23:21:39.955 4124 4124 E NFC : android.os.DeadObjectException
05-29 23:21:39.955 4124 4124 E NFC : at android.os.BinderProxy.transactNative(Native Method)
05-29 23:21:39.955 4124 4124 E NFC : at android.os.BinderProxy.transact(Binder.java:615)
05-29 23:21:39.955 4124 4124 E NFC : at android.nfc.INfcAdapter$Stub$Proxy.getState(INfcAdapter.java:407)
05-29 23:21:39.955 4124 4124 E NFC : at android.nfc.NfcAdapter.getAdapterState(NfcAdapter.java:704)
05-29 23:21:39.955 4124 4124 E NFC : at com.android.settings.nfc.NfcEnabler.resume(NfcEnabler.java:84)
05-29 23:21:39.955 4124 4124 E NFC : at com.android.settings.WirelessSettings.onResume(WirelessSettings.java:400)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.Fragment.performResume(Fragment.java:2399)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1153)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2049)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.FragmentController.dispatchResume(FragmentController.java:198)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.Activity.performResume(Activity.java:6809)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3425)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3488)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1542)
05-29 23:21:39.955 4124 4124 E NFC : at android.os.Handler.dispatchMessage(Handler.java:102)
05-29 23:21:39.955 4124 4124 E NFC : at android.os.Looper.loop(Looper.java:154)
05-29 23:21:39.955 4124 4124 E NFC : at android.app.ActivityThread.main(ActivityThread.java:6208)
05-29 23:21:39.955 4124 4124 E NFC : at java.lang.reflect.Method.invoke(Native Method)
05-29 23:21:39.955 4124 4124 E NFC : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
05-29 23:21:39.955 4124 4124 E NFC : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
05-29 23:21:40.038 6723 6762 I BrcmNfcNfa: nfc_main_hal_cback event: HAL_NFC_OPEN_CPLT_EVT(0x0), status=0
05-29 23:21:40.038 6723 6748 I BrcmNfcNfa: NFC_TASK got NFC_TASK_EVT_TRANSPORT_READY.
05-29 23:21:40.045 6723 6748 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:40.051 6723 6748 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:40.093 6723 6762 I BrcmNfcNfa: nfc_main_hal_cback event: HAL_NFC_POST_INIT_CPLT_EVT(0x2), status=0
05-29 23:21:40.093 6723 6748 I BrcmNfcNfa: nci_interfaces supported by NFCC: 0xf
05-29 23:21:40.099 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_ENABLE_REVT(0x5000)
05-29 23:21:40.113 6723 6748 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:40.115 6723 6748 I BrcmNfcNfa: NFC received rsp gid:2
05-29 23:21:40.115 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCEE_DISCOVER_REVT(0x5004)
05-29 23:21:40.116 6723 6748 I BrcmNfcNfa: NFC received ntf gid:2
05-29 23:21:40.116 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCEE_INFO_REVT(0x5005)
05-29 23:21:40.118 6723 6748 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:40.120 6723 6748 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:40.121 6723 6748 I BrcmNfcNfa: NFC received data
05-29 23:21:40.123 6723 6748 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:40.124 6723 6748 I BrcmNfcNfa: NFC received data
05-29 23:21:40.126 6723 6748 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:40.128 6723 6748 I BrcmNfcNfa: NFC received data
05-29 23:21:44.280 6723 6748 I BrcmNfcNfa: NFC received rsp gid:2
05-29 23:21:44.280 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCEE_DISCOVER_REVT(0x5004)
05-29 23:21:44.283 6723 6748 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:44.286 6723 6748 I BrcmNfcNfa: NFC received data
05-29 23:21:44.292 6723 6748 I BrcmNfcNfa: nfa_hci_evt_hdlr state: WAIT_NFCEE_ENABLE (9) event: CHECK_QUEUE (0x0814)
05-29 23:21:44.310 6723 6744 D BrcmNfcJni: SecureElement::initialize: NFCC Passive Listen Disable timeout =2500
05-29 23:21:44.310 6723 6744 D BrcmNfcJni: SecureElement::initialize: NFCC Passive Listen Disable timeout =2500
05-29 23:21:44.310 6723 6744 D BrcmNfcJni: SecureElement::initialize: NFCC standby mode timeout =0x4e20
05-29 23:21:44.312 6723 6744 D NxpExtns: const CNxpNfcParam *CNxpNfcConfig::find(const char *) const found NXP_NFC_CHIP=(0x3)
05-29 23:21:44.313 6723 6744 D BrcmNfcJni: printMemberData: ACTIVE_SE_NFCF = 0x0
05-29 23:21:44.313 6723 6744 D BrcmNfcJni: printMemberData: DEFAULT_NFCF_ROUTE = 0x0
05-29 23:21:44.313 6723 6744 D BrcmNfcJni: printMemberData: NXP_NFC_CHIP = 0x3;
05-29 23:21:44.323 6723 6748 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:44.323 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_GET_CONFIG_REVT(0x5003)
05-29 23:21:46.714 4124 4124 D WirelessSettings: onPreferenceTreeClick: preference=NFC Allow data exchange when the phone touches another device
05-29 23:21:48.326 6723 6744 D BrcmNfcJni: GetNumNFCEEConfigured: enter
05-29 23:21:48.326 6723 6744 D BrcmNfcJni: GetNumNFCEEConfigured: Success NFA_SendNxpNciCommand
05-29 23:21:48.344 6723 6748 D BrcmNfcJni: NxpResponse_GetNumNFCEEValueCb length data = 0xd status = 0x0
05-29 23:21:48.344 6723 6744 D BrcmNfcJni: GetNumNFCEEConfigured : gActualSeCount = 1
05-29 23:21:48.392 6723 6744 D NxpExtns: const CNxpNfcParam *CNxpNfcConfig::find(const char *) const found NXP_DEFAULT_NFCEE_TIMEOUT=(0x14)
05-29 23:21:48.392 6723 6744 D BrcmNfcJni: NAME_DEFAULT_NFCEE_TIMEOUT = 320
05-29 23:21:48.410 6723 6748 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:48.410 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_GET_CONFIG_REVT(0x5003)
05-29 23:21:48.414 6723 6748 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:48.415 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_GET_CONFIG_REVT(0x5003)
05-29 23:21:48.418 6723 6744 D NxpExtns: const CNxpNfcParam *CNxpNfcConfig::find(const char *) const found NXP_NFC_CHIP=(0x3)
05-29 23:21:48.485 6723 6744 D NxpExtns: const CNxpNfcParam *CNxpNfcConfig::find(const char *) const found NXP_NFC_CHIP=(0x3)
05-29 23:21:48.488 6723 6723 E NfcService: Loader service update start from NFC_ON Broadcast
05-29 23:21:48.532 6723 6748 I BrcmNfcNfa: nfa_ee_evt_hdlr (): Event CFG_TO_NFCC(0x218), State: INIT_DONE(1)
05-29 23:21:48.543 6723 6748 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:48.543 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_ROUTING_REVT(0x500a)
05-29 23:21:48.543 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-A = 0x40000
05-29 23:21:48.543 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-B = 0x140000
05-29 23:21:48.543 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-F = 0x140000
05-29 23:21:48.543 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0x140000
05-29 23:21:48.543 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0x140000
05-29 23:21:48.547 6723 6748 I BrcmNfcNfa: NFC_DiscoveryStart
05-29 23:21:48.547 6723 6748 I BrcmNfcNfa: NFC_DiscoveryStart status: 0xe3
05-29 23:21:48.560 6723 6748 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:48.560 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_CONFIG_REVT(0x5002)
05-29 23:21:48.568 6723 6748 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:48.569 6723 6748 I BrcmNfcNfa: NFC_Deactivate 4 (IDLE) deactivate_type:0
05-29 23:21:48.571 6723 6748 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-A = 0x40000
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-B = 0x140000
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-F = 0x140000
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0x140000
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0x140000
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-A = 0x0
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-B = 0x0
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-F = 0x0
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0x0
05-29 23:21:48.572 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0x0
05-29 23:21:48.573 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-A = 0x4080000
05-29 23:21:48.573 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-B = 0x4080000
05-29 23:21:48.573 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-F = 0xc480000
05-29 23:21:48.573 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-B Prime = 0xc480000
05-29 23:21:48.573 6723 6748 I BrcmNfcNfa: listen_mask value after NFC-DEP = 0xc480000
05-29 23:21:48.574 6723 6748 I BrcmNfcNfa: NFC_DiscoveryStart
05-29 23:21:48.574 6723 6748 I BrcmNfcNfa: NFC_DiscoveryStart status: 0xe3
05-29 23:21:48.581 6723 6748 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:48.581 6723 6748 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_CONFIG_REVT(0x5002)
05-29 23:21:48.589 6723 6748 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:49.184 6787 6787 I NfcService: Starting NFC service
05-29 23:21:49.195 6787 6787 I BrcmNfcJni: NFC Service: loading nci JNI
05-29 23:21:49.275 6787 6787 I NfceeAccess: read 1 signature(s) for NFCEE access
05-29 23:21:49.275 6787 6787 W NfcSccAccess: could not find /etc/nfcscc_access.xml, no NFCSCC access allowed
05-29 23:21:49.275 6787 6787 I NfcSccAccess: read 0 signature(s) for NFCSCC access
05-29 23:21:49.276 6787 6787 I NfcSeAccess: read 1 signature(s) for NFCSE access
05-29 23:21:49.316 6787 6787 D RegisteredAidCache: Not updating routing table because NFC is off.
05-29 23:21:49.415 6787 6787 D RegisteredAidCache: Not updating routing table because NFC is off.
05-29 23:21:49.415 6787 6787 D RegisteredNfcFServicesCache: Dynamic System Code, NFCID2 file does not exist.
05-29 23:21:49.440 6787 6807 D NfcService: NFC is on. Doing normal stuff
05-29 23:21:49.440 6787 6807 I NfcService: Enabling NFC
05-29 23:21:49.447 6787 6807 I NfcService: Enabling NFC timeout90000
05-29 23:21:49.452 6787 6807 D BrcmNfcJni: nfcManager_doInitialize: enter; ver=NFCDROID-AOSP_M_00.01 nfa=NFA_PI_1.03.66+ NCI_VERSION=0x10
05-29 23:21:49.452 6787 6807 D BrcmNfcJni: nfcManager_doInitialize: MW Version: NFC_NCIHALx_ARC0.7.3.0
05-29 23:21:49.452 6787 6807 E NfcAdaptation: NfcAdaptation::Initialize: ver=NFCDROID-AOSP_M_00.01 nfa=NFA_PI_1.03.66+
05-29 23:21:49.468 6787 6809 D NfcAdaptation: NfcAdaptation::NFCA_TASK: enter
05-29 23:21:49.469 6787 6811 I BrcmNfcNfa: NFC_TASK started.
05-29 23:21:49.477 6787 6807 I BrcmNfcNfa: NFC_SetTraceLevel () new_level = 5
05-29 23:21:49.477 6787 6811 I BrcmNfcNfa: NFC_Enable ()
05-29 23:21:49.547 6787 6811 D NxpExtns: const nxp::CNfcParam *nxp::CNfcConfig::find(const char *) const found NXP_NFC_DEV_NODE=/dev/pn548
05-29 23:21:49.789 6787 6816 I BrcmNfcNfa: nfc_main_hal_cback event: HAL_NFC_OPEN_CPLT_EVT(0x0), status=0
05-29 23:21:49.790 6787 6811 I BrcmNfcNfa: NFC_TASK got NFC_TASK_EVT_TRANSPORT_READY.
05-29 23:21:49.796 6787 6811 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:49.801 6787 6811 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:49.846 6787 6816 I BrcmNfcNfa: nfc_main_hal_cback event: HAL_NFC_POST_INIT_CPLT_EVT(0x2), status=0
05-29 23:21:49.847 6787 6811 I BrcmNfcNfa: nci_interfaces supported by NFCC: 0xf
05-29 23:21:49.850 6787 6811 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_ENABLE_REVT(0x5000)
05-29 23:21:49.868 6787 6811 I BrcmNfcNfa: NFC received rsp gid:1
05-29 23:21:49.873 6787 6811 I BrcmNfcNfa: NFC received rsp gid:2
05-29 23:21:49.873 6787 6811 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCEE_DISCOVER_REVT(0x5004)
05-29 23:21:49.875 6787 6811 I BrcmNfcNfa: NFC received ntf gid:2
05-29 23:21:49.875 6787 6811 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCEE_INFO_REVT(0x5005)
05-29 23:21:49.878 6787 6811 I BrcmNfcNfa: NFC received rsp gid:0
05-29 23:21:49.882 6787 6811 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:49.884 6787 6811 I BrcmNfcNfa: NFC received data
05-29 23:21:49.887 6787 6811 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:49.888 6787 6811 I BrcmNfcNfa: NFC received data
05-29 23:21:49.892 6787 6811 I BrcmNfcNfa: NFC received ntf gid:0
05-29 23:21:49.895 6787 6811 I BrcmNfcNfa: NFC received data