[Sony Xperia M2] f2065:
A bug with reading NFC-cards.

Some cards do not see absolutely (which work fine in the original firmware).

logcat no reaction to the cards that do not see.

I'm files libnfc-nxp.conf and libnfc-brcm.conf set the level of logs =0x3

After that, the "invisible" cards - logcat writes reaction

For "invisible" cards log is as follows:

11-07 00:22:04.580 2648 2853 D NxpTml : PN54X - I2C Read successful.....
11-07 00:22:04.580 2648 2853 D NxpNciR : len = 26 > ***********************
11-07 00:22:04.580 2648 2853 D NxpTml : PN54X - Posting read message.....
11-07 00:22:04.580 2648 2856 D NxpHal : read successful status = 0x0
11-07 00:22:04.580 2648 2856 D NxpHal : NxpNci: RF Interface = MIFARE
11-07 00:22:04.580 2648 2856 D NxpHal : NxpNci: Protocol = MIFARE
11-07 00:22:04.581 2648 2856 D NxpHal : NxpNci: Mode = A Passive Poll
11-07 00:22:04.581 2648 2853 D NxpTml : PN54X - Read requested.....
11-07 00:22:04.581 2648 2795 I BrcmNfcNfa: NFA_Deactivate (): sleep_mode:0
11-07 00:22:04.581 2648 2853 D NxpTml : PN54X - Invoking I2C Read.....
11-07 00:22:04.581 2648 2795 I BrcmNfcNfa: LLCP_DeactivateLink () link_state = 0

Card falls off immediately and NFC is completed. It seems that the firmware is something wrong with the support of the MIFARE? Because it seems more at this stage, there is no difference ...

For normal visible cards logs begin so:

11-07 00:20:13.467 2648 2853 D NxpTml : PN54X - I2C Read successful.....
11-07 00:20:13.467 2648 2853 D NxpNciR : len = 17 > ***********************
11-07 00:20:13.467 2648 2853 D NxpTml : PN54X - Posting read message.....
11-07 00:20:13.467 2648 2856 D NxpHal : read successful status = 0x0
11-07 00:20:13.468 2648 2853 D NxpTml : PN54X - Read requested.....
11-07 00:20:13.468 2648 2853 D NxpTml : PN54X - Invoking I2C Read.....
11-07 00:20:13.469 2648 2853 D NxpTml : PN54X - I2C Read successful.....
11-07 00:20:13.469 2648 2853 D NxpNciR : len = 17 > ***********************
11-07 00:20:13.469 2648 2853 D NxpTml : PN54X - Posting read message.....
11-07 00:20:13.469 2648 2856 D NxpHal : read successful status = 0x0
11-07 00:20:13.469 2648 2853 D NxpTml : PN54X - Read requested.....
11-07 00:20:13.469 2648 2795 E BrcmNfcJni: NfcTag::discoverTechnologies (discovery): unknown protocol 0x80
11-07 00:20:13.469 2648 2853 D NxpTml : PN54X - Invoking I2C Read.....
11-07 00:20:13.469 2648 2795 I BrcmNfcNfa: NFA_Select (): rf_disc_id:0x1, protocol:0x4, rf_interface:0x2
11-07 00:20:13.469 2648 2795 D NxpExtns: const CNfcParam* CNfcConfig::find(const char*) const found MIFARE_READER_ENABLE=(0x1)
11-07 00:20:13.470 2648 2854 D NxpTml : PN54X - Write requested.....
11-07 00:20:13.470 2648 2854 D NxpTml : PN54X - Invoking I2C Write.....
11-07 00:20:13.470 2648 2854 D NxpNciX : len = 6 > 210403010402
11-07 00:20:13.470 2648 2854 D NxpTml : PN54X - I2C Write successful.....
11-07 00:20:13.470 2648 2854 D NxpTml : PN54X - Posting Fresh Write message.....
11-07 00:20:13.470 2648 2854 D NxpTml : PN54X - Tml Writer Thread Running................
11-07 00:20:13.470 2648 2856 D NxpHal : write successful status = 0x0
11-07 00:20:13.472 2648 2853 D NxpTml : PN54X - I2C Read successful.....
11-07 00:20:13.472 2648 2853 D NxpNciR : len = 4 > 41040100
11-07 00:20:13.472 2648 2853 D NxpTml : PN54X - Posting read message.....
11-07 00:20:13.472 2648 2856 D NxpHal : read successful status = 0x0
11-07 00:20:13.472 2648 2853 D NxpTml : PN54X - Read requested.....

Here is another visible card

11-07 00:18:10.915 2648 2853 D NxpTml : PN54X - I2C Read successful.....
11-07 00:18:10.915 2648 2853 D NxpNciR : len = 26 > ***********************
11-07 00:18:10.915 2648 2853 D NxpTml : PN54X - Posting read message.....
11-07 00:18:10.915 2648 2856 D NxpHal : read successful status = 0x0
11-07 00:18:10.915 2648 2856 D NxpHal : NxpNci: RF Interface = Frame RF
11-07 00:18:10.916 2648 2856 D NxpHal : NxpNci: Protocol = T2T
11-07 00:18:10.916 2648 2856 D NxpHal : NxpNci: Mode = A Passive Poll
11-07 00:18:10.916 2648 2853 D NxpTml : PN54X - Read requested.....
11-07 00:18:10.916 2648 2853 D NxpTml : PN54X - Invoking I2C Read.....
11-07 00:18:10.919 2648 2648 D NativeNfcTag: Connect to a tech with a different handle
11-07 00:18:10.919 2648 2648 I BrcmNfcNfa: NFA_Deactivate (): sleep_mode:1
11-07 00:18:10.919 2648 2795 I BrcmNfcNfa: NFC_Deactivate 5 (OPEN) deactivate_type:1
11-07 00:18:10.919 2648 2795 D NxpExtns: const CNfcParam* CNfcConfig::find(const char*) const found MIFARE_READER_ENABLE=(0x1)
11-07 00:18:10.919 2648 2854 D NxpTml : PN54X - Write requested.....
11-07 00:18:10.919 2648 2854 D NxpTml : PN54X - Invoking I2C Write.....
11-07 00:18:10.920 2648 2854 D NxpNciX : len = 4 > 21060101
11-07 00:18:10.920 2648 2854 D NxpTml : PN54X - I2C Write successful.....
11-07 00:18:10.920 2648 2854 D NxpTml : PN54X - Posting Fresh Write message.....
11-07 00:18:10.920 2648 2856 D NxpHal : write successful status = 0x0
11-07 00:18:10.920 2648 2854 D NxpTml : PN54X - Tml Writer Thread Running................
11-07 00:18:10.921 2648 2853 D NxpTml : PN54X - I2C Read successful.....
11-07 00:18:10.921 2648 2853 D NxpNciR : len = 4 > 41060100
11-07 00:18:10.921 2648 2853 D NxpTml : PN54X - Posting read message.....
11-07 00:18:10.921 2648 2856 D NxpHal : read successful status = 0x0