[LeEco Le Pro3 ROMs, Kernels, Recoveries, & Other D] qqzwc:
[MENTION=3208754]codeworkx[/MENTION]

Edit:Maybe this code should be added in configs/manifest.xml（$(TARGET_OUT_VENDOR)/etc/vintf/manifest.xml）

<!--UICC secure element -->
<hal format="hidl">
<name>android.hardware.secure_element</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>ISecureElement</name>
<instance>SIM1</instance>
</interface>
<fqname>@1.0::ISecureElement/SIM1</fqname>
</hal>

NFC boot full logcat file and failed NFC card emulation full logcat fille on lineage16.0-20181008 are attached.

There are three obvious errors:

D/NxpFwDnld(667): @@@/system/vendor/lib/libpn548ad_fw.so

E/NxpFwDnld(667): NULL handler : unable to load the library file, specify correct path

hwservicemanager: getTransport: Cannot find entry android.hardware.secure_element@1.0::ISecureElement/SIM1 in either framework or device manifest."

SecureElementService: No HAL implementation for SIM1

(My SIM1 contain SecureElement surely)

D/NxpExtns(667): find found NXP_FW_NAME=libpn548ad_fw.so
D/NxpFwDnld(667): @@@/system/vendor/lib/libpn548ad_fw.so
E/NxpFwDnld(667): NULL handler : unable to load the library file, specify correct path
E/NxpFwDnld(667): FW Image Length - ImageInfoLen 0
E/NxpFwDnld(667): FW Image Info Pointer - pImageInfo 0x0
E/NxpFwDnld(667): Image extraction Failed - invalid imginfo or imginfolen!!
E/NxpFwDnld(667): Error loading libpn5xx_fw.so !!!
E/NxpHal (667): FW version of the libpn5xx.so binary = 0x
E/NxpHal (667): FW version found on the device = 0x10011e
D/NxpHal (667): FW update not required
E/NxpFwDnld(667): Freeing Mem for Dnld Context..
D/NxpHal (667): phNxpNciHal_CheckFwRegFlashRequired() : exit - status = ff
D/NxpHal (667): phNxpNciHal_MinOpen(): exit
E/NxpHal (667): phNxpNciHal_open Done.
E/NxpHal (667): phNxpNciHal_open Exit.

E NFC : could not retrieve NFC service
I ActivityManager: Start proc 2292:com.android.nfc/1027 for added application com.android.nfc
I NfcService: Starting NFC service
I SecureElementService: main onCreate
W hwservicemanager: getTransport: Cannot find entry android.hardware.secure_element@1.0::ISecureElement/eSE1 in either framework or device manifest.
E droid.launcher: Not starting debugger since process cannot load the jdwp agent.
I SecureElementService: No HAL implementation for eSE1
W hwservicemanager: getTransport: Cannot find entry android.hardware.secure_element@1.0::ISecureElement/SIM1 in either framework or device manifest.
I SecureElementService: No HAL implementation for SIM1
D BrcmNfcJni: JNI_OnLoad: enter
I BrcmNfcJni: NFC Service: loading nci JNI
D BrcmNfcJni: register_com_android_nfc_NativeNfcManager: enter
D BrcmNfcJni: PowerSwitch::initialize: level=PS-UNKNOWN (0)
E NfcAdaptation: get vendor.qti.nfc.fwver fail, rc = 0
D NfcAdaptation: readConfig Opened base config /vendor/etc/libnfc-brcm.conf
D NfcAdaptation: readConfig Opened optional config /vendor/etc/libnfc-nxp.conf
D AccountManagerService: Visibility was not initialized
V BackupManagerService: No ancestral data
D AccountManagerService: Visibility was not initialized
D NfcAdaptation: readConfig Cannot open config file /data/vendor/nfc/libnfc-nxpTransit.conf
D NfcAdaptation: find found SCREEN_OFF_POWER_STATE=(0x1)
D BrcmNfcJni: PowerSwitch::initialize: desired screen-off state=1
D BrcmNfcJni: register_com_android_nfc_NativeNfcManager: exit
D BrcmNfcJni: register_com_android_nfc_NativeNfcTag
D BrcmNfcJni: RoutingManager::RoutingManager():enter
D NfcAdaptation: find found DEFAULT_OFFHOST_ROUTE=(0x2)
D NfcAdaptation: find found AID_MATCHING_MODE=(0x1)
I pn54x : default config file exists = /vendor/etc/libnfc-nxp.conf, dynamic selection disabled

refer:

https://github.com/LineageOS/androi...6640327d3cfc14233d653e13/configs/manifest.xml