symbuzzer / systemless-hosts-KernelSU-module

Required module to use applications such as AdAway on KernelSU and APatch
GNU General Public License v3.0
390 stars 15 forks source link

systemless-host breaks nfc on MIUI 14.0.8.0 Poco F3 #12

Open ThiagoMC40 opened 11 months ago

ThiagoMC40 commented 11 months ago

Hi. This is my first time using github so I'm not sure if I'm addressing this properly, but I noticed that after flashing this module with kernelSU (0.7.1 - 11366) the NFC stops working on the Poco F3. It can't be enabled and when you test it on CIT NFC Test, it says "NFC is not available".

Removing this module fixed the problem.

symbuzzer commented 11 months ago

Such an error has not been reported before. Could you try disabling the module instead of removing it?

ThiagoMC40 commented 11 months ago

Just tested it and after disabling the module and rebooting, NFC works fine again.

I tried this with other modules installed and also with systemless host as the only one. Neither worked as intended. NFC always breaks for some reason.

symbuzzer commented 10 months ago

Is it fixed?

symbuzzer commented 9 months ago

@LordMagnos1 Can u create PR for module files only, not yml

rsp4jack commented 9 months ago

com.android.nfc_2024-02-18T15_14_42.721.log

@symbuzzer Here is an exception stack trace about the same bug happening on Redmi Note 11T Pro. Hope this would help.

rsp4jack commented 9 months ago

I think it could be a duplicate of #5.

symbuzzer commented 9 months ago

com.android.nfc_2024-02-18T15_14_42.721.log

@symbuzzer Here is an exception stack trace about the same bug happening on Redmi Note 11T Pro. Hope this would help.

https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/12#issuecomment-1951056564

This error message you're encountering indicates that the class com.android.nfc.NfcService$NxpNfcAdapterService could not be found during runtime, leading to a NoClassDefFoundError.

It is not possible to see the error from this log. Maybe the hosts file you are using is causing a problem. Just install the module and try it without activating any ad blocking applications.

rsp4jack commented 9 months ago

Tried but still not works 😕

symbuzzer commented 9 months ago

I really dont know what causes this issue. I see it only MIUI based roms

rsp4jack commented 9 months ago

I unpacked com.android.nfc in my ROM, and com.android.nfc.NfcService$NxpNfcAdapterService is right there. Really confused

snake-4 commented 8 months ago

I think your KSU doesn't umount at all, especially if your kernel is non-GKI. Try it with ZygiskNext + Shamiko. More than likely MIUI has root checks somewhere. @symbuzzer I don't think this issue is within the scope of this module.

cubewhy commented 7 months ago

same issue on my device Screenshot_2024-04-21-07-47-45-166_com sevtinge hyperceiler

Gleb2372372 commented 1 month ago

Same problem on Redmi note 12 pro 5g HyperOS 1.0.8.0

Gleb2372372 commented 1 month ago

Try this module I got it working https://github.com/dchristl/KernelSU-systemless-hosts?tab=readme-ov-file or https://github.com/backslashxx/bindhosts