yarpiin / device_xiaomi_sm8250_common

5 stars 6 forks source link

[Lineage OS] NFC restarts infinitely when trying to read a tag #8

Closed schqual closed 3 years ago

schqual commented 3 years ago

Hello. Thank you for your work!

I have an issue with NFC. When placing NFC tag at phone back nothing happens. If go to Settings - NFC while tag is attached infinite toggling NFC setting appears.

Here's logcat

Device: umi (Mi 10) Build: Lineage OS 20210730 GApps: open_gapps-arm64-11.0-nano-20210731 Magisk v23.0 FW: fw_umi_miui_UMI_V12.5.5.0.RJBCNXM_8fa4752ff3_11.0 (flashed before LOS zip, but seems it's still unnecessary following previous instructions on Telegram channel) Clean flash, formatted data, no apps installed.

yarpiin commented 3 years ago

Use different gapps and remove magisk and try to reproduce. Oh and try reflash firmware after the rom. My builds have firmware built in, but some individuals have issues like that and more likley it is firmware related , clean flash rom then firmware and see

schqual commented 3 years ago

Tried this variants (in order of zips flashing):

The issue still occurs

yarpiin commented 3 years ago

just checked with other users and you are the only one unfortunate affeaid

schqual commented 3 years ago

Weird. But that issue presents on latest Evolution X, but on last Pixel Experience NFC works properly. Tried more different fw 12.5.3/12.2.2 with clean flash. Evo/LOS still have this bug. And PE anytime works fine. Seems like some source updates? I see in lash change logs following line:

  • sm8250-common: Switch to source built NFC My log says this is a problem with libnfc-nci.so.

And more: I tried to flash by fastboot official MIUI package V12.5.2.0.RJBEUXM with bootloader locking and following unlocking/flashin twrp/roms procedure - this issui still happens on EvoX.

Is there any additional info required?

yarpiin commented 3 years ago

As I said earlier , no one else reported such issues. If you use any mods , custom kernel , magisk remove them . If it presist send me full logs please.

schqual commented 3 years ago

No mods, no magisk, no any additional packages as I said earlier. Logs in first post. It's not full?

schqual commented 3 years ago

Look - same problem https://t.me/mi10aosp/50412