Read NFC tags when screen is off. Disable NFC tagging sound.
Useful integrations: NFC Card Emulator Pro - Tasker
The NFC app is patched during installation into a modded
version. This modded
version is injected at boot time by service.sh so that the phone thinks the screen is always on and unlocked. This patch only applies to NFC Service so it does not impact any other functionality of the phone that involves screen state detection.
The modded
app was generated using this method.
I AM STUCK IN A BOOTLOOP
Remove the module manually.
- Boot into TWRP
- Advanced -> File Manager
- Delete /adb/modules/NFCScreenOff
- Reboot
THE MODULE IS NOT WORKING SINCE LAST UPDATE
Perform a clean reinstallation.
- Uninstall the module
- Reboot
- Install the module
- Reboot
If it does not solve your problem, you can create an issue.
MY NFC IS NOT DETECTED ANYMORE
If you did not unlock your device since last boot, unlock it and wait 30 seconds for the module to be loaded.
After that time, if NFC does not start automatically or manually, it means that the patch does not work for your device. You can uninstall the module and create an issue.