yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] vrthe1:
HTC One, ARHD 22.0 Logcat.

Logcat:

E/NFCJNI (1387): phLibNfc_Ndef_Read() returned 0x0000[NFCSTATUS_SUCCESS]
E/HtcAudPMB(254): getOutput() IOProfile is null.
E/HtcAudPMB(254): getOutput() IOProfile is null.
E/HtcAudPMB(254): getOutput() IOProfile is null.
E/ACDB-LOADER(254): Error: ACDB AFE returned = -8
E/HTC Acoustic(254): Opening P-sensor device failed.
E/AudioStreamOutALSA(254): PCM_Write set_amp_mode,1
E/HtcAudPMB(254): getOutput() IOProfile is null.
E/HtcAudPMB(254): getOutput() IOProfile is null.
E/HtcAudPMB(254): getOutput() IOProfile is null.
[Xposed Framework Modules] Mikegrmn:
I can read my Samsung Tectile, but when I get to the screen which I assume is the one where you enter a name for the tag, I cannot do anything. No keyboard comes up and when I hit back, there's not even an empty entry. Any idea?
[Xposed Framework Modules] MohammadAG:
Hmm, what happens if you hit Ok? It should be saved as an empty tag.

Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
[Xposed Framework Modules] Mikegrmn:
There's nothing coming up. Also no ok button :(
[Xposed Framework Modules] MohammadAG:
I don't get it, so you get a dialog with no buttons?

Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
[Xposed Framework Modules] MohammadAG:
V1.9.1 fixes dialog issues on devices with a lower than 17 API level.

Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
[Xposed Framework Modules] MohammadAG:
Your logcat doesn't help with the issue, mainly cause that's stuff from the system, not the mod.

Turn on debug mode and filter for Xposed.

Anyway, I think I figured out the issue. I'll come up with an APK tomorrow.

Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
[Xposed Framework Modules] tripex2k:
I think I found the problem, the HTC One forces NFC off when screen is off. I think I have to contact the author of the MOD (http://xdaforums.com/showthread.php?t=2325410) for this to work.
[Xposed Framework Modules] Mikegrmn:
i get a "new tag scanned" view and that was it. What should happen next? I assume there should be some kind of dialog or keyboard, no?
[Xposed Framework Modules] kenpen:
evo 4g lte deck irc cm10,2

not working for me either

note

was using a brand new tag and did not work

used old one written on and now works:)

notice it unlock screen some time and other time it unlocks screen but show a screen saying 'new tag collected'
[Xposed Framework Modules] Mikegrmn:
I first used the one I used to unlock my razr HD via tasker. So it was written at first. I then deleted it and it didn't work either :(

Maybe I'll set it up in tasker again.
[Xposed Framework Modules] glimmling:
The crashing is gone for me. Thank you!

Now I can authorize tags, but unlocking doesn't work yet.

Do you need another logcat?
[Xposed Framework Modules] MohammadAG:
I'll come up with a way to diagnose issues, that should help me with development.
[Xposed Framework Modules] artymarty:
I have a htc One, and cant get it to work either...
[Xposed Framework Modules] tripex2k:
The problem is not this Xposed module, the problem is a Nfc.apk problem from HTC. I said is some posts before and linked to the corresponding MOD thread here on xda. HTC configured NFC to shut down when the phone is locked and screen is off, even when locked and screen on the NFC service is off. This has to be "fixed" within the Nfc.apk in the /system/app/ folder from HTC, this Xposed module can't do it.
[Xposed Framework Modules] MohammadAG:
It can, and it does. The problem is HTC's modified lockscreen implementation, not NFC itself.

This module hooks into both Nfc.apk and android.policy.jar

Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
[Xposed Framework Modules] getmesmerized:
Need to tap 3 times on HTC one

The app works great on my HTC ONE M7 running ARHD the issue is that I need to tap my ring three times to unlock completely ,

at the first tap it turns the screen on ,

on the second it shows the PIN input screen,

finally on the third tap it shows my home screen,

is there any work around to this?
[Xposed Framework Modules] ojyaki:
Workinggreat on xperia z2. I'mloving it
[Xposed Framework Modules] wako_dc:
It works great on my Nexus 5. Thank you
[Xposed Framework Modules] Inviditas:
Not working on AT&T LG G3
[Xposed Framework Modules] katadu76:
Not working on my LG G3 EUR
[Xposed Framework Modules] Daedulus Minion:
Hello [MENTION=2011359]MohammadAG[/MENTION] i would like to report that your app is not able to unlock through NFC on my Oneplus One. Its on Stock CM11S 38R firmware. It would be nice if you make it work on this. I will provide you with the required files and do beta testing too if required.
[Xposed Framework Modules] GRMrGecko:
So, can someone tell me how to compile this? I never done Android Apps.

Once I learn how to compile, I can add OnePlus One support.
[Xposed Framework Modules] 7eguitar:
Oneplus one

Anyway you could add support for the oneplus? Nfc tags are recognized but will not wake or unlock the device.....
[Xposed Framework Modules] GRMrGecko:
When I learn how to compile, I'll have it working. I have got as far as figuring out how to get it into eclipse, and discovered how it wants the list view library. Just don't know how to compile anything yet.
[Xposed Framework Modules] GRMrGecko:
Still trying to compile!

So far, I got to where I'm trying to compile ListViewAnimations and am failing hard. Any help? https://p.gecko.im/sl

---------- Post added at 01:11 PM ---------- Previous post was at 12:43 PM ----------

I got around compiling ListViewAnimations by downloading pre-compiled versions. Now I'm having issues trying to compile the NFC LockScreenOff Enabler. I'm getting the following errors without knowledge on how to fix.

[IMG="Errors"]http://g.gec.im/fe76a4b869f0219ab744be01e6c7569a.png[/IMG]
[Xposed Framework Modules] kicikk:
I have similar problems regarding authorized tags. I can add one tag to the trusted list and after few hours i can add the same tag, but with different ID. Please see attached screenshot:

[IMG="screen"]http://i.imgur.com/O66Q9yU.png[/IMG]

Please note that "Auto" and "Samochód" are the same tags but scanned subsequently within few hours. As you can see, they have different IDs.

So at the end, I need to add the same tag every few hours in order to make it working as authorized tag.

I have also an impression that when I add more than 4-5 authorized tags, delete some tags from the list and add new ones, the functionality gets somehow corrupt and behaves messy. But this is only an impression, not confirmed for now. Needs more tests.

PS: i like very much the idea of this module and i really appreciate your work. Thank you!
[Xposed Framework Modules] bravesrock:
Does NFC need to be turned on all the time?

I have a very dumb question. Do I need to keep NFC turned on for this thing to work? Or does this turn on NFC by itself?

If I need to keep NFC on all the time, won't it consume battery?

Is there anyway to turn on NFC only when screen is on and locked?
[Xposed Framework Modules] stealthdave:
Short answer: Yes, but you have a couple of options.

You can have NFC turned on all the time, including Screen Off, or just when the screen is On. The latter allows you to unlock after you turn the screen on and can see the Lock Screen, while the former can unlock even when the screen is off. These options are available in the settings for this module.
[Xposed Framework Modules] adubay:
Is someone going to add support for the g3?
[Xposed Framework Modules] bravesrock:
Not working

Thanks for the quick reply. I have a rooted Verizon Samsung Galaxy S3. The NFC doesn't turn on by itself in the Lock screen even though I have set it to Enable in the Settings. Any idea what could be wrong?
[Xposed Framework Modules] GRMrGecko:
This may be a security feature of your NFC Tag, or a issue with your phone's NFC reader.

I have a Motorola Skip and after so many uses it changes the UID.
[Xposed Framework Modules] ilikesnowflakes:
Tag UID and tag names getting swapped.

It seems the tag UID and the tag nickname list, the items are getting swapped as you add more tags onto the list. Something seems to be corrupting the database. Also made add an option to chanhe the name of a tag?
[Xposed Framework Modules] MrCapito:
Have there been any updates for OnePlus One users? I'm able to add tags, but not able to unlock with them. I've heard that the problem is related to the lockscreen app used in CyanogenMod 11S for OPO phones, but I don't want to install a new rom just to get this feature.

Is there any way I can help?
[Xposed Framework Modules] GRMrGecko:
I tried to compile this mod so I can make it work, but never got it to compile.

An easy way to fix will probably be to replace the keyguard on CM11S with the keyguard that is on CM11.

Download CM11 from http://download.cyanogenmod.org/?device=bacon and use Linux to extract the keyguard from /system/priv-apps/
[Xposed Framework Modules] chase000:
I have the same issue as this guy, it seems.

Galaxy S4 GT-I9500 (4.4.2), swipe to unlock. With "phone is locked, but the screen is on" everything works perfectly. But with "screen is off (regardless of lock state)" it works like this when I touch an authorized tag (that starts an app) with the phone locked and the screen off: the start sound plays, and nothing appears to happen (the screen remains off); once I press Home or Power button (the phone's no longer touching the tag), the screen switches on, the phone is already unlocked, and the app from the tag is running. So the only thing wrong is that the MOD doesn't turn the screen on.

Any ideas on how to fix this?
[Xposed Framework Modules] Janjij:
I habe the same problem. Nothing happen if the screen is off.

HTC One M8 with ViperRom
[Xposed Framework Modules] wrapcaesar:
My NFC was working great until I decided to install this mod... I was going through settings and phone started to be really slow...I had to reboot and after that my NFC doesn't work at all :C I'm really sad

Could you help me please?

I'm on a OnePlus One and i already did flash previous version of ROM which i had NFC working well and still nothing... Is it hardware?
[Xposed Framework Modules] Kazuo81:
Request for extension

First of all, I thank you for this great module. Now to my problem. If I unlock my phone with a tag it also retrieve the data stored on the tag. In my case, this is a vcard. Is it possible to suppress the execution of the stored data when the "nfc screen off" option is used?

Regards

Axel
[Xposed Framework Modules] dimex:
I love it when you come on XDA with a question and someone posts the same thing days before. Looking for this solution too. The vCard open with dialer or contacts option pops up when unlocking. Kazuo, you using an xNTi?
[Xposed Framework Modules] Kazuo81:
xNT

Hehe... Yes i use xNT
[Xposed Framework Modules] Cuerdas:
This isnt working for me... I have a THL5000 and the Target Technology classes (Android) are android.nfc.tech.MifareUltralight, android.nfc.tech.NfcA, android.nfc.tech.NdeFormatable

Solved: Installing the last exposed *face palm*
[Xposed Framework Modules] dimex:
Little bit of strange behavior. It was working great on my N5 with my implant, but then the display hardware crapped out. So Google's currently sending me a brand new N5, and at the moment I'm using a N4, 4.4.4 stock.

If I lock the phone and hold it up to NFC within ~5 seconds, it will turn on the screen and unlock the device. If it's longer than that, it will not wake the display. However, if I press the power button with the phone on the tag it will unlock immediately.

Anyone else with a N4 experience this?
[Xposed Framework Modules] kicikk:
Is there any alternative for such functionality on Android 5.0?
[Xposed Framework Modules] manite:
Can't get this module to work with the LG Volt. Everything goes well but is unresponsive to tags at lockscreen.

*edit* Added logcat
[Xposed Framework Modules] idbl_fanatic:
Try this: https://play.google.com/store/apps/details?id=com.moonpi.tapunlock

It works on my daughters LG Volt
[Xposed Framework Modules] manite:
That's what I'm using for the moment. That doesn't work for the stock lock screen however which is what I want to use in the end. I want to enable encryption so I would need it to unlock the default lock screen which is mandated by encrypting your phone.

I want to get the kind of security you can have by default on android 5.

Tapunlock has been the most reliable of the lock apps though. It is still just an app on top of the screen and can be bypassed somewhat easily if one were so inclined.

(btw, yes, you did make me look)
[Xposed Framework Modules] JazzMozz:
I have had installed this app for over 9 months now. I used to use it with only one NFC tag, attached to my keycord. It works fine. Last week I bought myself some additional tags to perform other tasks when the screen is off. I have added them to the authorized tags in the app itself. I have noticed however that these tags only work when the phone is not in deep sleep. When the phone appears to be in deep sleep and I tap the tag to the phone, nothing happens. When I switch on the screen, the requested task is performed (silent profile in Llama). When the phone appears not to be in deep sleep mode, the task is performed immediately. The "old" tag seems to work even in deep sleep mode. So it looks like there is something wrong with the tags. But I bought two different types (5 of each) and they all seem to suffer from this problem. Any ideas? Thanks for helping out.
[Xposed Framework Modules] manite:
I wish I could get it to work at all on my LG volt.
[Xposed Framework Modules] MathewBrack:
Is there a way I can have something written to a tag such as text etc and it not open it when using this to unlock my phone etc.

E.g. I scan my tag and my phone just unlocks and does not open the app programmed to open on my tag or displays text etc until I rescan whilst my phone is unlocked
[Xposed Framework Modules] Terr1:
Is it possible to make nfc a requirement for unlocking? To use it as a security feature instead of mostly "convenience"
[Xposed Framework Modules] manite:
I'd like this. Like a 2 factor security. I just wish I could read nfc at the stock lockscreen on my LG volt.
[Xposed Framework Modules] MathewBrack:
Seconded!

Aye please make an option for NFC being a requirement for unlocking with the stock lockscreen.

At the moment I have this and a knock code meaning you can't see any method of unlocking at all.

But the ability to only use NFC would be awesome.
[Xposed Framework Modules] Galt42:
Not working LG G3

I am certain Xposed is operational, I checked and double checked that the module was enabled and I rebooted, soft and hard, and still I've got nothing.

Comparability issue or user error?
[Xposed Framework Modules] Mysfit:
It does not work on my LG G2!

Rooted+ ROM stock

Any ideas ?

Regards,
[Xposed Framework Modules] shoaib30:
cyanogen

Does this work with CM 11? Using Oneplus one stock with xposed can't seem to get it to unlock... Enabled the module rebooted authorized the tag but does nothing when I test it.. Worked for anyone on OPO with CM?
[Xposed Framework Modules] skyli91:
Not working on LG G-flex (screen off is not working)
[Xposed Framework Modules] rebj2007:
Vibrate when detected a nfc please. Thank you!
[Xposed Framework Modules] Lord Childe:
Gem of a mod. Working perfectly on my OPPO Find 7.

I don't think I'd have persevered with NFC if the only way to get rid of that irritating bleep was to mute notifications, hardly practical. Maybe an option to use alternate/custom sounds could be implemented (I've got a soft, undemonstrative sound just waiting) ,but it's a minor thing.
[Xposed Framework Modules] elmerohueso:
I just got Xposed for Lollipop, and had been really missing this mod. However, it doesn't seem to work in Lollipop.
[Xposed Framework Modules] natoilva:
Can you update this module to work on lollipop? Thanks
[Xposed Framework Modules] vitoski:
This thread seems to be abandoned, therefore don't expect any further updates.
[Xposed Framework Modules] Rob3E:
I know it's been a while, but I recently ran into a similar problem. The two tags I have been using all along continue to work. The new tag I'm trying to add will not. I have been meaning to look into this more, but looking at other comments, it sounds like this module doesn't work on Lollipop, which I'll be switching to soon, so I guess I shouldn't worry about it.
[Xposed Framework Modules] XlAfbk:
looking forward for a lollipop version
[Xposed Framework Modules] elmerohueso:
Some people are reporting that this module is working with Lollipop already. However, for me, it's sending "Tag Lost" signals correctly, but only if the screen is on and unlocked. I've set the module to enable NFC when screen is off and/or locked, but it doesn't seem to work.
[Xposed Framework Modules] XlAfbk:
for me it's completly non-functional: with screen off tags aren't discovered + when tags are discovered with screen on and i turn screen off they're lost. so stock behaviour

tested on n4
[Xposed Framework Modules] elmerohueso:
Stock doesn't fire "Tag Lost", so at least it's doing that. So the real issue is getting NFC polling to continue when screen is off.
[Xposed Framework Modules] XlAfbk:
true enough, i completly forgot about stock not having tag lost. can't remember a time without this mod ;)

so it's partially working, just not polling
[Xposed Framework Modules] Beatzekatze:
Hello to all,

I use CyanogenMod 12 with a Nightly a few days old.

Now I use the Exposed Framework for Lollipop. My other Moduls in Exposed Framework work well. But the NFC Unlocking doen´t work.

I installed the Modul and it works when the Screen is on, but if the Screen is off there is no reaction. I use the Displaylock pattern.

Did everyone the same Problem
[Xposed Framework Modules] dimex:
Did you read the posts directly above yours?

If someone is on Cataclysm for N5 or another ROM for another phone that allows it, please enable screen off polling in settings and see if the module works in conjunction with that. I will try later after installing Xposed to my MultiROM'd Lollipop if I don't hear back.

Can guarantee you NfcNci.apk changed in Lollipop so the setting to change polling modes probably does nothing at this point.
[Xposed Framework Modules] Beatzekatze:
[MENTION=4979112]dimex[/MENTION],

thank you for your Answer. I don´t really read the post before. Now I have done this and I think I am not alone.

I don´t understand not all. I don´t understand what you mean with "polling".

I think I wait for update because I like the app.....
[Xposed Framework Modules] dimex:
Think of polling as when the NFC reader is looking for a tag. By default, it's set to "screen on, unlocked." This means that when your phone's screen is on and your phone's unlocked, you can scan NFC tags. The module allows you to change that to "screen on, locked" and "screen off," allowing for NFC use under other conditions. Default is set that way from a security perspective.
[Xposed Framework Modules] giallu87:
Auto relock for Nfc Implants

Hallo!

Nice app, but can you please add an auto relock function wher moved away from the NfcTag??

Many thanks!!!
[Xposed Framework Modules] XlAfbk:
you can do that yourself, just capture the event, e.g. with tasker
[Xposed Framework Modules] giallu87:
Sorry but i really don't like trigger, make conflicts with Nfc tools pro! :)
[Xposed Framework Modules] Noxious Ninja:
I just rooted my Note 4 so I could use this module and my YubiKey NEO to unlock it. It works great!

Only problem is the NFC action being triggered, as others have mentioned. :-/
[Xposed Framework Modules] XlAfbk:
http://repo.xposed.info/module/com.mohammadag.disablenfctagempty
[Xposed Framework Modules] TheFeinkoster:
NFC Lockscreen Off Enabler doesn't work on my LG D-802 running CM12. Any experience by somone else?
[Xposed Framework Modules] steinerlein:
I tried using this on lollipop with stock 5.0.0 on my nexus 4 - Unfortunately it doen't work.. Any ideas why?
[Xposed Framework Modules] XlAfbk:
anyone making any progress on Lollipop? I tried modifying NfcNci.apk in the old fashioned way but no success so far. The Xposed module seems to complex for me to have any chance there :(
[Xposed Framework Modules] Rubberducky:
Is it possible with this module to set it up that NFC is only on while the screen is locked and is turned on?

So NFC is off when the phone is unlocked or the screen is off?
[Xposed Framework Modules] dio62000:
+1 to get this to work with CM12/Lollipop. Unfortunately it doesn't work with Xposed for Lollipop yet.
[Xposed Framework Modules] ykumar00:
Please get this to work on lollipop!
[Xposed Framework Modules] trunzoc:
FWIW, the NFC functionality into Tasker is still working. which is awesome.
[Xposed Framework Modules] almahix:
+2, please.
[Xposed Framework Modules] i.surfers:
+3 !
[Xposed Framework Modules] irotsoma:
Which functionality? Do you mean there is an app or plugin that can notify Tasker of NFC tags while the screen is locked or off? Or only that it works with the screen on and unlocked.

I have a rooted HTC One M8 running ARHD (close to stock Sense ROM) and this plugin isn't working for me. I'd love any info on something else that might allow for NFC tag notifications into Tasker while the screen is on, but locked as I used this function daily before getting lollipop. Even if that means switching to CM12 or another semi-stable ROM for compatibility of the app/script. Thanks!
[Xposed Framework Modules] trunzoc:
Just meant when the screen is on and unlocked :(
[Xposed Framework Modules] !@ndre@!:
Any chance of getting this working on Lollipop?
[Xposed Framework Modules] trunzoc:
Not likely. The developer hasn't posted or updated the module in 9 months. Plus, he's not really known for sticking around long enough to maintain his modules.

Basically, if noone following the thread has the knowledge or desire to fix it, it's not getting fixed.
[Xposed Framework Modules] almahix:
Too bad. On my note 3 I used Wanam to enable NFC on locked sleeping phone, but it won't run on my new Nexus 6.
[Xposed Framework Modules] XlAfbk:
The sources for this mod are public, anyone can give it a go, there's no dependency on this mods author.

I'm currently trying to patch the apk the old way but am making slow progress there. Any support from an experienced smali modder would be welcome.
[Xposed Framework Modules] trunzoc:
I wish I could help. I appreciate that you are trying to get it working. Thank you!
[Xposed Framework Modules] twinsen.net:
Google is paranoid about security, but advanced users like us spend most of the time with Android to omit those security rules. That's horrible. Ability to unlock device with NFC tak is basic funcionality for me - when I'm inserting my device into car cradle, it should unlock and run car mode (with Car Home Ultra). It was working on 4.4.4 CM11, and now on Lollipop it doesn't work. I don't want to touch device while sliding into the cradle. So I omitted NFC now with Lllama task to trigger by both BT HF set + when charging from USB. That's working. I hope some day this Xposed NFC enabler will be compatible with Android 5+
[Xposed Framework Modules] rhystagram:
maybe someone who develops custom roms can help...

im guessing because its open source on CM, someone could modify the NFC.apk and people who want it can build the rom replacing stock nfc with the edited nfc apk?

// minimum screen state that enables NFC polling
static final int NFC_POLLING_MODE = ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED

from cm12, cant find the similar codes as to cm11 "static final int SCREEN_STATE_***"

// Screen state, used by mScreenState
static final int SCREEN_STATE_UNKNOWN = 0;
static final int SCREEN_STATE_OFF = 1;
static final int SCREEN_STATE_ON_LOCKED = 2;
static final int SCREEN_STATE_ON_UNLOCKED = 3;

/** minimum screen state that enables NFC polling (discovery) */
static final int POLLING_MODE = SCREEN_STATE_ON_UNLOCKED;

i'm not a dev, so only guessing this could be a solution?

ofcourse for users that only want it, due to security issues.

would love a soultion found, i've ordered my xNT :)!!
[Xposed Framework Modules] booboss:
Hello,

Any chance to get this work on LG G3 on Android 4.4?
[Xposed Framework Modules] rhystagram:
i have this working on lg g3 running cm11.