You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is normal, you need to wake up the device to pay in stores.
12
-
13
-
_I HAVE AN ISSUE_
13
+
**GOOGLE PAY DOES NOT WORK WHILE SCREEN IS OFF**
14
14
15
-
Create an issue with this format:
16
-
1. Your Android Version
17
-
1. The name of your ROM
18
-
1. The name of your device
19
-
1. Logs of Magisk at installation
15
+
This is normal, you need to wake up the device to pay in stores.
20
16
21
-
_MY NFC IS NOT DETECTED ANYMORE_
17
+
**MY NFC IS NOT DETECTED ANYMORE**
22
18
23
19
If you did not unlock your device since last boot, unlock it and wait 30 seconds for the module to be loaded.
24
20
25
21
After that time, if NFC does not start automatically or manually, it means that the patch does not work. You can uninstall the module and create an issue.
26
22
27
-
_I AM STUCK IN A BOOTLOOP_
23
+
**I AM STUCK IN A BOOTLOOP**
24
+
25
+
Remove the module manually.
28
26
29
27
1. Boot into TWRP
30
28
1. Advanced -> File Manager
31
29
1. Delete /adb/modules/NFCScreenOff
32
30
1. Reboot
33
31
32
+
**THE MODULE IS NOT WORKING SINCE LAST UPDATE**
34
33
35
-
For now, it only works for reading NFC tags. To pay in stores, you still need to wake up the device.
34
+
Perform a clean reinstallation.
36
35
37
-
I succeeded to make it work only if the `modded` APK is injected while the phone is booted with the `original` APK. That is why I inject the `modded` APK in [service.sh](service.sh).
36
+
1. Uninstall the module
37
+
1. Reboot
38
+
1. Install the module
39
+
1. Restart your device
40
+
41
+
If it does not solve your problem, you can create an issue.
38
42
39
43
# How does it work?
40
44
41
-
Every
45
+
I succeeded to make it work only if the `modded` APK is injected while the phone is booted with the `original` APK. That is why I inject the `modded` APK in [service.sh](service.sh).
42
46
43
-
# How to test?
47
+
I have patched the original `NfcNci.apk` (com/android/nfc/NfcService.smali) 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.
44
48
45
-
1. Download a card emulator like [this app](https://play.google.com/store/apps/details?id=com.yuanwofei.cardemulator.pro).
46
-
1. Put a NFC tag on the back of your phone while it is locked and the screen turned off.
47
-
1. Your phone should give you a feedback that it has successfully read the tag (sound, vibration).
49
+
The modded APK was generated using the method described [here](https://github.com/lapwat/NfcScreenOffPie).
48
50
49
-
If it did not work, uninstall this module and you will be back and running. Please also leave a comment on this [XDA Thread](https://forum.xda-developers.com/apps/magisk/module-nfcscreenoff8-t4034903) with:
I have patched the original `NfcNci.apk` (com/android/nfc/NfcService.smali) 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.
77
-
78
-
The modded APK was generated using the method described [here](https://github.com/lapwat/NfcScreenOffPie).
79
-
80
-
# Todo
81
-
62
+
Leave a comment with your working device on the [XDA Thread](https://forum.xda-developers.com/apps/magisk/module-nfcscreenoff8-t4034903).
0 commit comments