[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
[MENTION=7376763]GoldeneyeS2[/MENTION], I uploaded a build to test NFC. In the same download location (https://1drv.ms/f/s!Ahq68S0B7zYZjmVhmIHwvYGoz3gq), look for nfc_builds sub folder. FIle name: lineage-14.1-20180111-UNOFFICIAL-montana.zip.

FOR THOSE WHO DON'T HAVE NFC SUPPORT OR DON'T USE NFC, Please note that THIS BUILD is ONLY for testing NFC.

Logcat in my device when enabled NFC.

01-11 21:14:21.844 1315 1348 I ActivityManager: Start proc 2585:com.android.nfc/1027 for added application com.android.nfc
01-11 21:14:22.150 2585 2585 D BrcmNfcJni: register_com_android_nfc_NativeNfcManager: enter
01-11 21:14:22.152 2585 2585 D NfcAdaptation: bool CNfcConfig::readConfig(const char *, bool) Opened base config /etc/libnfc-brcm.conf
01-11 21:14:22.171 2585 2585 D BrcmNfcJni: register_com_android_nfc_NativeNfcManager: exit
01-11 21:14:22.171 2585 2585 D BrcmNfcJni: register_com_android_nfc_NativeNfcTag
01-11 21:14:22.173 2585 2585 D BrcmNfcJni: nfcManager_initNativeStruc: enter
01-11 21:14:22.173 2585 2585 D BrcmNfcJni: nfcManager_initNativeStruc: exit
01-11 21:14:22.268 2585 2585 W NfceeAccess: could not find /etc/nfcee_access.xml, no NFCEE access allowed
01-11 21:14:22.350 2585 2781 D BrcmNfcJni: nfcManager_doInitialize: enter; ver=NFCDROID-AOSP_N_00.01 nfa=NFA_PI_1.03.66+ NCI_VERSION=0x10
01-11 21:14:22.351 2585 2781 D NfcAdaptation: const CNfcParam *CNfcConfig::find(const char *) const found NFA_STORAGE=/data/nfc
01-11 21:14:22.351 2585 2781 D NfcNciHal: crcChecksumVerifyIntegrity: filename=/data/nfc/nfaStorage.bin1
01-11 21:14:22.351 2585 2781 D NfcNciHal: crcChecksumVerifyIntegrity: filename=/data/nfc/nfaStorage.bin2
01-11 21:14:22.351 2585 2781 D NfcNciHal: crcChecksumVerifyIntegrity: filename=/data/nfc/nfaStorage.bin3
01-11 21:14:22.351 2585 2781 D NfcNciHal: crcChecksumVerifyIntegrity: filename=/data/nfc/nfaStorage.bin4
01-11 21:14:22.351 2585 2781 D NfcNciHal: crcChecksumVerifyIntegrity: filename=/data/nfc/nfaStorage.bin5
01-11 21:14:22.355 2585 2781 D NfcAdaptation: const CNfcParam *CNfcConfig::find(const char *) const found NCI_HAL_MODULE=nfc_nci.pn54x
01-11 21:14:22.364 2585 2781 D NxpNfcNciHal: nfc_open: enter; name=nci
01-11 21:14:22.364 2585 2781 D NxpNfcNciHal: nfc_open: exit 0
01-11 21:14:22.367 2585 2781 I BrcmNfcNfa: LLCP_RegisterServer (): SAP:0x1, link_type:0x2, ServiceName:<urn:nfc:sn:sdp>
01-11 21:14:22.367 2585 2785 I BrcmNfcNfa: nfc_set_state 0 (NONE)->1 (W4_HAL_OPEN)
01-11 21:14:22.368 2585 2785 D : bool nxp::CNfcConfig::readConfig(const char *, bool) Opened base config /etc/libnfc-nxp.conf
01-11 21:14:22.374 2585 2785 D : bool nxp::CNfcConfig::readConfig(const char *, bool) Opened optional config /etc/libnfc-brcm.conf
01-11 21:14:22.385 2585 2785 D : readNxpTransitConfig-Enter..Reading /data/nfc/libnfc-nxpTransit.conf
01-11 21:14:22.385 2585 2785 E : bool nxp::CNfcConfig::readConfig(const char *, bool) Cannot open config file /data/nfc/libnfc-nxpTransit.conf
01-11 21:14:22.385 2585 2785 D : readNxpRFConfig-Enter..Reading /system/vendor/libnfc-nxp_RF.conf
01-11 21:14:22.385 2585 2785 D : bool nxp::CNfcConfig::readConfig(const char *, bool) Opened optional config /system/vendor/libnfc-nxp_RF.conf
01-11 21:14:22.402 2585 2785 D : bool nxp::CNfcConfig::readConfig(const char *, bool) Opened base config /etc/libnfc-nxp.conf
01-11 21:14:22.408 2585 2785 D : bool nxp::CNfcConfig::readConfig(const char *, bool) Opened optional config /etc/libnfc-brcm.conf
01-11 21:14:22.419 2585 2785 D : readNxpTransitConfig-Enter..Reading /data/nfc/libnfc-nxpTransit.conf
01-11 21:14:22.419 2585 2785 E : bool nxp::CNfcConfig::readConfig(const char *, bool) Cannot open config file /data/nfc/libnfc-nxpTransit.conf
01-11 21:14:22.419 2585 2785 D : readNxpRFConfig-Enter..Reading /system/vendor/libnfc-nxp_RF.conf
01-11 21:14:22.419 2585 2785 D : bool nxp::CNfcConfig::readConfig(const char *, bool) Opened optional config /system/vendor/libnfc-nxp_RF.conf
01-11 21:14:22.444 2585 2808 I BrcmNfcNfa: nfc_main_hal_cback event: HAL_NFC_OPEN_CPLT_EVT(0x0), status=0
01-11 21:14:22.444 2585 2785 I BrcmNfcNfa: nfc_set_state 1 (W4_HAL_OPEN)->2 (CORE_INIT)
01-11 21:14:25.424 2585 2785 E BrcmNfcNfa: nfc_ncif_cmd_timeout
01-11 21:14:25.424 2585 2785 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_GEN_ERROR_REVT(0x500d)
01-11 21:14:25.424 2585 2785 I BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_NFCC_TIMEOUT_REVT(0x500f)
01-11 21:14:25.500 3212 3212 F DEBUG : pid: 2585, tid: 2785, name: AsyncTask #1 >>> com.android.nfc <<<
01-11 21:14:25.522 3212 3212 F DEBUG : #05 pc 0000f71b /system/lib/libnfc_nci_jni.so
01-11 21:14:25.522 3212 3212 F DEBUG : #06 pc 0001a75c /system/lib/libnfc-nci.so
01-11 21:14:25.522 3212 3212 F DEBUG : #07 pc 000522e0 /system/lib/libnfc-nci.so (nfc_ncif_cmd_timeout+116)
01-11 21:14:25.522 3212 3212 F DEBUG : #08 pc 0005466c /system/lib/libnfc-nci.so (nfc_process_timer_evt+144)
01-11 21:14:25.522 3212 3212 F DEBUG : #09 pc 00054b80 /system/lib/libnfc-nci.so (nfc_task+340)
01-11 21:14:25.522 3212 3212 F DEBUG : #10 pc 0007641c /system/lib/libnfc-nci.so (gki_task_entry+40)
01-11 21:14:25.924 1315 1921 I ActivityManager: Process com.android.nfc (pid 2585) has died
01-11 21:14:25.925 511 511 I ServiceManager: service 'nfc' died

Thanks

KS