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 does not work after restarting the phone when NFC was disabled before the restart #83

Open
atithi02 opened this issue Apr 17, 2024 · 4 comments
Labels
A11 Affects Android 11 A12L Affects Android 12 A13 Affects Android 13 bug Something isn't working

Comments

@atithi02
Copy link

Build used

lineage-19.1-20240416-UNOFFICIAL-zerofltexx.zip

Model number

SM-G920F

Describe the bug

If NFC was turned off when you restarted or turned off your phone, you cannot turn NFC back on. The February and March 2024 versions behaved the same way.

To Reproduce

  1. Go to: Settings -> Connected devices -> Connection preferences -> NFC
  2. Turn off the "Use NFC"
  3. Wait until NFC is stopped and restart the phone
  4. Go to: Settings -> Connected devices -> Connection preferences -> NFC
  5. Try turn on the "Use NFC"

Any extra info

Workaround:
NFC will be turned on when we restart the phone after trying to turn it on, and from then on it works without any problems.

@atithi02 atithi02 added the A12L Affects Android 12 label Apr 17, 2024
@fakemanoan fakemanoan added the bug Something isn't working label Apr 24, 2024
@atithi02
Copy link
Author

The same problem occurs in Lineage 20. I tested using lineage-20.0-20240517-UNOFFICIAL-zerofltexx.zip .

@fakemanoan fakemanoan added the A13 Affects Android 13 label Jul 6, 2024
@fakemanoan
Copy link
Owner

An additional detail: this behaviour does NOT occur on Android 11 and earlier.

@xiaoniaoawa
Copy link

An additional detail: this behaviour does NOT occur on Android 11 and earlier.

I found a link that show why:
Fix for unstable NFC connection on LineageOS
So I think maybe just happened on all A13+ LineageOS devices?

PS: I also tested Lineage 21 lineage-21.0-20240705-nightly-polaris-signed.zip on Polaris(MI MIX 2S), not work too.

@fakemanoan
Copy link
Owner

This could explain it. However we use prebuilt NFC from Oreo because the open source Samsung NFC doesnt work with our device. I'm thinking it is more related to do with changes to the backend in Android introduced with 12+ that also broke GPS and other things for us.

Will require more debugging for sure.

@fakemanoan fakemanoan added the A11 Affects Android 11 label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11 Affects Android 11 A12L Affects Android 12 A13 Affects Android 13 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants