Repository navigation
Closed as not planned
Labels
device-not-foundDevice not found in the official support reponeeds-triagelabled for new issues in order to confirm viewed and directed properly
Description
Device codename
miatoll
crDroid version
crDroid 13
Exact version / build date
13.1 2026-11-18
What's wrong?
Device: Redmi Note 9 Pro (joyeuse / miatoll), NXP NFC controller (nq-nci / PN553)
Working baseline: NFC worked reliably on LineageOS 22.2 on the same hardware (rules out hardware fault)
- Initial Failure:
- NFC toggle in UI shows ON, but scanning tags (NFC Tools) and contactless apps (Revolut) fail.
- android.hardware.nfc-service.nxp crashes inside /vendor/lib64/nfc_nci_nxp_snxxx.so at:
phNxpNciHal_write_unlocked(unsigned short, unsigned char const*, int) + 1100
immediately after logging:
E/NxpHal : write_unlocked failed - NFCC Maybe in Standby Mode (max count = 0x6) - HAL death triggers
HalAidlBinderDied: INfc aidl hal died, exiting procces to restartin libnfc_nci and crashes foreground NFC reader calls (DeadObjectException).
- Vendor File Comparison (LineageOS 22.2 vs. crDroid 13.1):
- Configs (
libnfc-nci.conf,libnfc-nxp.conf), firmware library (libpn553_fw.so),.rc, and VINTF.xmlmatched in size/checksum. android.hardware.nfc-service.nxphad identical size (40,336 bytes) with a different checksum.nfc_nci_nxp_snxxx.sodiffered in size and build: 371,232 bytes in crDroid 13.1 vs. 334,248 bytes in LineageOS 22.2.
- Workaround Tested & Current Observations:
- Systemlessly overlaying LineageOS 22.2's
nfc_nci_nxp_snxxx.so(334,248 bytes) onto/vendor/lib64/nfc_nci_nxp_snxxx.sovia APatch + OverlayFS metamodule (with SELinux label set tou:object_r:vendor_file:s0, asadb_data_fileinitially causedavc: deniedandCANNOT LINK EXECUTABLElinker errors) resolved the immediatephNxpNciHal_write_unlockedcrash loop and restored tag reading in NFC Tools. - During toggle/standby testing, intermittent behavior was observed: one
dmesgcapture showedi2c_geni 880000.i2c: i2c error :-107andnq-nci 0-0028: nfc_write: failed to write -107, while another toggle log completedNfc::close->Nfc::open->NFA_RF_DISCOVERY_STARTED_EVTandNFA_ACTIVATED_EVT, and after further testing even Off/On toggles worked without reproducing the failure. - Also noted in HAL open log:
Fw_Lib_Path=/vendor/lib64/libpn557_fw.sofailing to load (Error loading FW file !!), followed byD/NxpHal: NFCC Recovery not supported. - As a sidenote: After rebooting with the replacement library initially, I observed one instance where NFC stopped responding after toggling it off and on. However, I subsequently tested the same operation again and could no longer reproduce the problem. NFC is currently working, including after NFC off/on cycles.
- Related issue
This may be related to crDroid issue #1185 — NXP NFC HAL crashes when apps request reader mode on POCO F3 (alioth), which reports very similar HAL and I²C errors on different hardware. The issue is on a different device and crDroid version, so I am reporting this separately.
Request:
Please review nfc_nci_nxp_snxxx.so / NFC HAL & standby/power-management configuration on joyeuse (miatoll) for crDroid 13.1 so NFC works out-of-the-box without requiring the LineageOS nfc_nci_nxp_snxxx.so overlay or possible intermittent standby/I2C wake recovery.
Steps to reproduce
- Boot crDroid with NFC enabled.
- Open NFC Tools and attempt to scan an NFC tag.
- Observe the NFC HAL crash and the subsequent NFC service death.
- The same failure was also observed when Revolut attempted to use NFC reader mode during its document-verification flow.
Logs (logcat / build log)
NXP HAL:
E/NxpHal: write_unlocked failed - NFCC Maybe in Standby Mode (max count = 0x6)
Kernel / I²C driver:
i2c_geni 880000.i2c: i2c error :-107
nq-nci 0-0028: nfc_write: failed to write -107
Native crash:
Fatal signal 6 (SIGABRT)
Android NFC service:
HalAidlBinderDied: INfc aidl hal died, exiting process to restart
Application:
java.lang.RuntimeException: android.os.DeadObjectException
at android.nfc.NfcAdapter.enableReaderMode(...)Screenshots, videos, or extra context
No response
Before submitting
- I understand that all issues must be written in english. Issues that do not follow this rule will be closed
- I'm on an official build, running the latest version for my device from crdroid.net (failing this check, closes the issue automatically)
- I searched existing issues and this isn't a duplicate
Metadata
Metadata
Assignees
Labels
device-not-foundDevice not found in the official support reponeeds-triagelabled for new issues in order to confirm viewed and directed properly
Activity
github-actions commentedon Nov 23, 2026
Device
joyeuse, miatoll familywas not found in the official support repo for crDroid 13 (branch17.0), so this issue has been closed automatically.Made a typo, or picked the wrong crDroid version? Please open a new issue with the correct codename and version.
Using an unofficial build or an unlisted device? We can't provide support here for those. You can get help from the community:
innogrey commentedon Nov 23, 2026
I'm too lazy to send it once again. In case anyone is interested, please reopen and change the device codename to simply miatoll. The device is supported.
306bobby-android commentedon Nov 23, 2026
Edit the post. I will reopen