[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Yukkona:
Hi, today i flash latest AICP (20171201) and found that NFC does not work.

Logcat:

12-02 21:55:18.848 5872 5872 D NfcService: Before mIsHceCapable
12-02 21:55:18.857 5872 5891 D NfcService: checking on firmware download
12-02 21:55:18.857 5872 5891 D NfcService: NFC is on. Doing normal stuff
12-02 21:55:18.857 5872 5891 I NfcService: Enabling NFC
12-02 21:55:18.857 5872 5891 D BrcmNfcJni: nfcManager_getChipVer: enter
12-02 21:55:18.857 5872 5891 D BrcmNfcJni: 6: nfcManager_getChipVer
12-02 21:55:18.860 5872 5891 D BrcmNfcJni: nfcManager_getNfcInitTimeout: enter
12-02 21:55:18.860 5872 5891 D BrcmNfcJni: NAME_NXP_DEFAULT_NFCEE_DISC_TIMEOUT not found
12-02 21:55:18.860 5872 5891 D BrcmNfcJni: int android::nfcManager_getNfcInitTimeout(JNIEnv *, jobject) gNfcInitTimeout = 6000: gdisc_timeout = 0 nfcManager_getNfcInitTimeout
12-02 21:55:18.860 5872 5891 I NfcService: Enabling NFC timeout90000
12-02 21:55:18.861 1698 2170 E NFC : NFC service dead - attempting to recover
12-02 21:55:18.861 1698 2170 E NFC : android.os.DeadObjectException
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.BinderProxy.transactNative(Native Method)
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.BinderProxy.transact(Binder.java:615)
12-02 21:55:18.861 1698 2170 E NFC :	at android.nfc.INfcAdapter$Stub$Proxy.getState(INfcAdapter.java:407)
12-02 21:55:18.861 1698 2170 E NFC :	at android.nfc.NfcAdapter.isEnabled(NfcAdapter.java:682)
12-02 21:55:18.861 1698 2170 E NFC :	at com.android.systemui.qs.tiles.NfcTile.handleUpdateState(NfcTile.java:108)
12-02 21:55:18.861 1698 2170 E NFC :	at com.android.systemui.qs.tiles.NfcTile.handleUpdateState(NfcTile.java:105)
12-02 21:55:18.861 1698 2170 E NFC :	at com.android.systemui.qs.QSTile.handleRefreshState(QSTile.java:260)
12-02 21:55:18.861 1698 2170 E NFC :	at com.android.systemui.qs.QSTile$H.handleMessage(QSTile.java:388)
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.Handler.dispatchMessage(Handler.java:102)
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.Looper.loop(Looper.java:154)
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.HandlerThread.run(HandlerThread.java:61)
12-02 21:55:18.865 5872 5891 D BrcmNfcJni: nfcManager_doInitialize: enter; ver=NFCDROID-AOSP_M_00.01 nfa=NFA_PI_1.03.66+ NCI_VERSION=0x10
12-02 21:55:18.865 5872 5891 D BrcmNfcJni: nfcManager_doInitialize: MW Version: NFC_NCIHALx_ARC0.7.4.8
12-02 21:55:18.865 5872 5891 D BrcmNfcJni: PowerSwitch::initialize: level=PS-FULL (1)
12-02 21:55:18.866 5872 5891 D NfcAdaptation: const CNfcParam *CNfcConfig::find(const char *) const found SCREEN_OFF_POWER_STATE=(0x1)
12-02 21:55:18.866 5872 5891 D BrcmNfcJni: PowerSwitch::initialize: desired screen-off state=1
12-02 21:55:18.866 5872 5891 D NfcAdaptation: NfcAdaptation::Initialize: enter
12-02 21:55:18.866 5872 5891 E NfcAdaptation: NfcAdaptation::Initialize: ver=NFCDROID-AOSP_M_00.01 nfa=NFA_PI_1.03.66+
12-02 21:55:18.866 5872 5891 D NfcAdaptation: const CNfcParam *CNfcConfig::find(const char *) const found NFA_STORAGE=/data/nfc
12-02 21:55:18.866 5872 5891 D NfcAdaptation: const CNfcParam *CNfcConfig::find(const char *) const found PROTOCOL_TRACE_LEVEL=(0x0)
12-02 21:55:18.866 5872 5891 D NfcAdaptation: NfcAdaptation::Initialize: NFA_EE_MAX_EE_SUPPORTED to use 3
12-02 21:55:18.866 5872 5891 D NfcAdaptation: const CNfcParam *CNfcConfig::find(const char *) const found NFA_POLL_BAIL_OUT_MODE=(0x1)
12-02 21:55:18.866 5872 5891 D NfcAdaptation: NfcAdaptation::Initialize: Overriding NFA_POLL_BAIL_OUT_MODE to use 1
12-02 21:55:18.866 5872 5891 D NfcAdaptation: const CNfcParam *CNfcConfig::find(const char *) const found NFA_PROPRIETARY_CFG=����p��
12-02 21:55:18.866 5872 5891 D NfcAdaptation: const CNfcParam *CNfcConfig::find(const char *) const found APPL_TRACE_LEVEL=(0x1)
12-02 21:55:18.868 5872 5895 I BrcmNfcNfa: NFC_TASK started.
12-02 21:55:18.870 5872 5891 E NfcAdaptation: NfcAdaptation::InitializeHalDeviceContext: fail hw_get_module nfc_nci.pn54x
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_dm_init ()
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_sys_register () id=1, enable_cplt_mask=0x0
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_sys_register () id=3, enable_cplt_mask=0x8
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_rw_init ()
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_sys_register () id=6, enable_cplt_mask=0x48
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_ce_init ()
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_sys_register () id=7, enable_cplt_mask=0xc8
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_ee_init ()
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_sys_register () id=2, enable_cplt_mask=0xcc
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_hci_init ()
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_hci_init() 10
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_hci_init() 2000
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: nfa_sys_register () id=8, enable_cplt_mask=0x1cc
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: LLCP - llcp_init ()
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: num_rx_buff = 21, rx_congest_start = 14, rx_congest_end = 10, max_num_ll_rx_buff = 6
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: max_num_tx_buff = 49, max_num_ll_tx_buff = 14
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: LLCP_RegisterServer (): SAP:0x1, link_type:0x2, ServiceName:<urn:nfc:sn:sdp>
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: LLCP_RegisterServer (): Registered SAP = 0x01
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: NFA_Enable ()
12-02 21:55:18.870 5872 5891 I BrcmNfcNfa: NFC_SetTraceLevel () new_level = 1
12-02 21:55:18.870 5872 5895 I BrcmNfcNfa: NFA got event 0x0100

Particularly interesting lines:

12-02 21:55:18.860 5872 5891 D BrcmNfcJni: NAME_NXP_DEFAULT_NFCEE_DISC_TIMEOUT not found
12-02 21:55:18.860 5872 5891 D BrcmNfcJni: int android::nfcManager_getNfcInitTimeout(JNIEnv *, jobject) gNfcInitTimeout = 6000: gdisc_timeout = 0 nfcManager_getNfcInitTimeout
12-02 21:55:18.860 5872 5891 I NfcService: Enabling NFC timeout90000
12-02 21:55:18.861 1698 2170 E NFC : NFC service dead - attempting to recover
12-02 21:55:18.861 1698 2170 E NFC : android.os.DeadObjectException
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.BinderProxy.transactNative(Native Method)
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.BinderProxy.transact(Binder.java:615)
12-02 21:55:18.861 1698 2170 E NFC :	at android.nfc.INfcAdapter$Stub$Proxy.getState(INfcAdapter.java:407)
12-02 21:55:18.861 1698 2170 E NFC :	at android.nfc.NfcAdapter.isEnabled(NfcAdapter.java:682)
12-02 21:55:18.861 1698 2170 E NFC :	at com.android.systemui.qs.tiles.NfcTile.handleUpdateState(NfcTile.java:108)
12-02 21:55:18.861 1698 2170 E NFC :	at com.android.systemui.qs.tiles.NfcTile.handleUpdateState(NfcTile.java:105)
12-02 21:55:18.861 1698 2170 E NFC :	at com.android.systemui.qs.QSTile.handleRefreshState(QSTile.java:260)
12-02 21:55:18.861 1698 2170 E NFC :	at com.android.systemui.qs.QSTile$H.handleMessage(QSTile.java:388)
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.Handler.dispatchMessage(Handler.java:102)
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.Looper.loop(Looper.java:154)
12-02 21:55:18.861 1698 2170 E NFC :	at android.os.HandlerThread.run(HandlerThread.java:61)
...
12-02 21:55:18.870 5872 5891 E NfcAdaptation: NfcAdaptation::InitializeHalDeviceContext: fail hw_get_module nfc_nci.pn54x

So, any solution how to fix NFC?

p.s. Sorry, my english isn't good, cause it's not my native language.