NFC: Mifare Classic 1k tags do not work
<!-- INSTRUCTIONS What not to report - Bugs in unofficial builds or anything not downloaded from our official portal - Missing Builds - Problems with the website - Asking for device support - Feature requests If you need help, please see https://wiki.lineageos.org/how-to/bugreport#android-bugs for more detailed instructions on how to report bugs or https://www.lineageos.org/community/ for ways to get in touch with the community. Anything between <!- - and - -> won't be shown when your issue is created. --> ## Expected Behavior <!--- Tell us what should happen --> The os should show the information stored in the tag if its text or a third party NFC reader app should show information about the tag. ## Current Behavior <!--- Tell us what happens instead of the expected behavior --> When bringing a Mifare Classic 1k Tag close to the NFC reader, nothing happens. After that, the phone is not able to recognize any other NFC tag, until nfc is turned off and turned on again or the phone is put into sleep and woke up. Every NFC tag and card I own that is not a Mifare Classic 1k is working perfectly. All Mifare tags are working fine on the same phone model with the stock os installed. I have attached a logcat filtered for "nfc" with an attempt trying to read a Mifare classic 1k tag starting from when the phone is woken up from sleep with nfc on. [logcat_filtered.txt](/uploads/e1acb111ae117d217c641dbe6df01bab/logcat_filtered.txt) This issue (and a possible solution) may be related to https://gitlab.com/LineageOS/issues/android/-/issues/4905 ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> Try to read a Mifare Classic 1k Tag ## Device information <!-- THIS SECTION IS MANDATORY. If it is not filled out correctly, your issue will be marked as invalid. The following is a partially filled out example. It will be ignored by the bot that processes issues, even if the information in the example is updated. Please fill out the second (blank) copy with your actual device information instead. The device codename can be found at https://wiki.lineageos.org/devices/, and most of the other required information is visible when navigating to "About phone" in the Settings and clicking on the "Android version" item. /device redfin /version lineage-20 /date 2023-03-22 /kernel Linux localhost 4.19.261-ga3e87045cf37 #1 Wed Mar 22 06:26:12 UTC 2023 /baseband g7250-00247.1-230113-B-9488784 /mods Google Apps, F-Droid --> /device a5y17lte /version lineage-18.1 /date 2023-03-14 /kernel 3.18.140-g725aa5ab01e /baseband A520FXXUGCTKA /mods Google Apps, F-Droid <!-- Replace the following line with "I have read the directions" --> I have read the directions.
issue