Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFC not found on Samsung SM-J500FN (LineageOS 15.1 build j54) #1

Open
cryptax opened this issue Jan 22, 2019 · 7 comments
Open

NFC not found on Samsung SM-J500FN (LineageOS 15.1 build j54) #1

cryptax opened this issue Jan 22, 2019 · 7 comments

Comments

@cryptax
Copy link

cryptax commented Jan 22, 2019

Hi,

Since I have installed LineageOS 15.1 on my smartphone (Samsung SM-J500FN), NFC does not work. More exactly, NFC does not even exist.

adb shell service list | grep nfc does not show any NFC service (though I should have seen here something like nfc: [android.nfc.INfcAdapter].

I used this build: lineage-15.1_j54_20180726_NIGHTLY-j5nlte. I see some additions to NFC in the change log of lineage-15.1-j58-20180903. Is it in a working state now?

Thanks!

@cryptax
Copy link
Author

cryptax commented Jan 28, 2019

I've tried with a newer ROM: LineageOS 16.0 - j5-20190102. Unfortunately, there is still no NFC service.

$ service list | grep nfc
j5nltexx:/ $

Help please :)

@theLOICofFRANCE
Copy link

Hi @cryptax,

The NFC support has only one commit:
12d4d36#diff-88dc16df0c22cd28f42995ae96d113a8

So I think it's never been tested. The code should be compared with a similar model to fix the problem here.

For information, here is its NFC config in kernel:

# CONFIG_NFC is not set
CONFIG_NFC_QNCI=y
# CONFIG_NFC_NQ is not set
CONFIG_NFC_PN547=y
CONFIG_NFC_PN547_8916_USE_BBCLK2=y
# CONFIG_NFC_PN547_8916_CLK_CTL is not set
CONFIG_NFC_PN547_USE_EXTERNAL_LDO_VIO=y
# CONFIG_NFC_PN547_LDO_CONTROL is not set
# CONFIG_NFC_PN547_PVDD_EN_CONTROL is not set
# CONFIG_ESE_P61 is not set
# CONFIG_NFC_PN547_ESE_SUPPORT is not set
# CONFIG_SEC_NFC_I2C is not set
# CONFIG_SEC_NFC is not set
# CONFIG_ESE_P3 is not set
# CONFIG_SEC_NFC_IO_EN is not set
# CONFIG_BCM2079X_NFC_I2C is not set

So that I can compare, do you know of a smartphone under lineageOS with functional NFC PN547?

@theLOICofFRANCE
Copy link

Here is the cause:
8d3a5a2
a36762b

@vince2678, Have you started to separate NFC without being finished? Has NFC ever been functional here?

Thanks.

@cryptax
Copy link
Author

cryptax commented Jun 27, 2019

Hi @cryptax,

The NFC support has only one commit:
12d4d36#diff-88dc16df0c22cd28f42995ae96d113a8

So I think it's never been tested. The code should be compared with a similar model to fix the problem here.

For information, here is its NFC config in kernel:

# CONFIG_NFC is not set
CONFIG_NFC_QNCI=y
# CONFIG_NFC_NQ is not set
CONFIG_NFC_PN547=y
CONFIG_NFC_PN547_8916_USE_BBCLK2=y
# CONFIG_NFC_PN547_8916_CLK_CTL is not set
CONFIG_NFC_PN547_USE_EXTERNAL_LDO_VIO=y
# CONFIG_NFC_PN547_LDO_CONTROL is not set
# CONFIG_NFC_PN547_PVDD_EN_CONTROL is not set
# CONFIG_ESE_P61 is not set
# CONFIG_NFC_PN547_ESE_SUPPORT is not set
# CONFIG_SEC_NFC_I2C is not set
# CONFIG_SEC_NFC is not set
# CONFIG_ESE_P3 is not set
# CONFIG_SEC_NFC_IO_EN is not set
# CONFIG_BCM2079X_NFC_I2C is not set

So that I can compare, do you know of a smartphone under lineageOS with functional NFC PN547?

Unfortunately no :( But if I find one, will add to this response.

@theLOICofFRANCE
Copy link

The problem must always be present on an updated version but can you test it?
https://androidfilehost.com/?fid=6006931924117910236

@cryptax
Copy link
Author

cryptax commented Jul 11, 2019

I'll test next time I update. I lose some of my settings when I use a new version, so I'm not testing immediately as this should not fix the NFC issue.

@squishyu
Copy link

Any updates on the issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants