yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] stealthdave:
I got some really small NFC tags from http://www.buynfctags.com/. (No affiliation; just a satisfied customer.) I glued them to my wrist watches and use them to unlock my phone by tapping the band. Their prices are pretty good, less than $1 for the tags I linked to, cost gets lower if you order 25+. (Not a bad idea, btw. Tags can go bad and need to be replaced.) The small sized tags make them great for projects and such.

A note for you crafty types out there, if you're attaching an NFC tag to metal, you're going to need to put a spacer between the tag and the metal, or you'll get interference. Dense foam is a good choice.

- Dave
[Xposed Framework Modules] gadgetsnpepsi:
Sweet. I was thinking of doing this same thing myself, but the NFC tags I got off eBay were circular and too big to fit in the band, so I settled with attaching one of my Sony Smart tags to the end of a lanyard attached to my Xperia Z.

The clip looks interesting and easy to make too, so I might go for that first. Thanks for the link! :good:
[Xposed Framework Modules] jasonsf:
Anyone with a Verizon G2 been successful with this? I still can't get nfc recognized with lockscreen or screen off.
[Xposed Framework Modules] subzero2000:
I don't have a G2, but have you looked at this post of mine: http://xdaforums.com/showthread.php?p=46950451

It would help in troubleshooting your problem.
[Xposed Framework Modules] jasonsf:
Here's what the app reports.
[Xposed Framework Modules] subzero2000:
And does what you see on your device when attempting to authorize a tag resemble the video linked in that post, or are you not able to authorize any tags at all? I have a feeling based on that screen shot that the problem is not in your G2, but in the type/brand of NFC tag you're using, which may mean that the app simply may need some more tweaking to it's NFC tag support routines. However, that is a guess. I'll do some research and get back to you sometime soon; probably this weekend.
[Xposed Framework Modules] jasonsf:
The tag appears to authorize just fine. It comes up and I gave it a name.

I know this phone turns off NFC when it charges wirelessly. I wouldn't be surprised if it is doing something similar when the lockscreen comes on or the screen turns off.
[Xposed Framework Modules] subzero2000:
Ok, based on that, then it is most likely an issue with your G2, and not the brand of tag. I know code was added to deal with some LG issues; are you sure you're using version 1.9.5 of this mod?
[Xposed Framework Modules] jasonsf:
Yep.1.9.5 with latest xposed framework.
[Xposed Framework Modules] subzero2000:
Ok, and I assume you've rebooted since installing/upgrading to 1.9.5?

To be honest, it sounds like the G2 support added by MohammedAG may not be quite working correctly, and unfortunately I don't have a G2 that I can test it on. I'm going to have to defer to MohammedAG on this, since it's his code, and I couldn't release a properly signed APK anyways... :)

Last questions from me, what version of Android are you running on your G2, and is it stock or not?
[Xposed Framework Modules] MohammadAG:
I haven't tested the G2 code added, it may or may not work, though it seems to be the latter. The code added was based on me reading the NFC apk from the G2.

If anyone feels like pushing a patch on Github, I'll be happy to merge it.

Sent from my Sony Xperia Z1 (C6903) using Taptalk 4
[Xposed Framework Modules] jasonsf:
Stock, rooted verizon rom.
[Xposed Framework Modules] hobbypunk90:
Hey MohammadAG,

here the screenshot:

I have to slide up or down to unlock ;) but it's irrelevant, I think :D

But I don't have a deodexed android.policy.jar, I think, what can I do? :)

Gesendet von meinem C1905 mit Tapatalk
[Xposed Framework Modules] Hotbread:
[MENTION=2011359]MohammadAG[/MENTION] This module is... half working on my Galaxy S4. It's an SGH-M919 (T-Mobile version) running on VirginROM 4.3 (a Google Edition based rom).

I installed the latest xposed framework and downloaded this module's APK from inside xposed download section. (installed update, activate module, and rebooted)

It can read NFC when the screen is off and phone is locked. I know this because it toggles my bluetooth correctly when I unlock the phone to check.

However, I cannot register any NFC tag from inside the module to Authorize only the specific tag.

So at present, it will scan ANY tag when the phone is locked and screen off.

Also, while the NFC tag can be read while phone is locked and screen off, it doesn't unlock my phone or turn my screen on.

I have a pin code security lock.

My goal is to put an NFC tag inside my car's phone craddle. Then when ever I put my phone in, it would auto unlock my phone to the homescreen and Trigger (https://play.google.com/store/apps/details?id=com.jwsoft.nfcactionlauncher&hl=en) would run a Tasker task to trigger car mode.

So far, it can activate Trigger on the NFC scan and launch the Tasker task. But I still have to manually unlock my phone to get to the homescreen.

Any help is much appreciated. Thanks!

EDIT: I should also mention that the phone scans the NFC tags fine. While I'm in the "Authorize NFC Tags" screen of the module to register tags, scanning any NFC tag will trigger the recorded action or fire a generic NFC "empty tag" screen. In other words, the phone reads the NFC tags, but the module doesn't register it even while in the module's Authorize NFC tags screen.
[Xposed Framework Modules] subzero2000:
Have you looked at this post of mine: http://xdaforums.com/showthread.php?p=46950451

It might help in troubleshooting your problem.
[Xposed Framework Modules] MohammadAG:
I'm guessing he did but he's using a weird type of tech, just like TecTiles.
[Xposed Framework Modules] subzero2000:
That's what I was thinking as well. If that's the case, it should be fairly simple to add support if he can provide the output of NFC Tag Info.
[Xposed Framework Modules] klau1:
First of all, Thansk for this APK!! It's very useful to me!

Just one possible bug:

Setting:

NFCEnable Enable NFC When = Screen Off (All states)

If I leave the phone in contact with a NFC Tag, the phone will keep making NFC noises periodically when the screen is off and turn the screen on.

For example:

If I leave it in contact with an authorized tag, with the screen off, the phone will eventually make an NFC sound and turn the screen on.

For example 2:

If I leave it in contact with an UNauthorized tag, with the screen off, the phone will eventually make an NFC sound, but LEAVE the screen OFF.

Is this expected behavior?

Environment:

Note 3 N900 Android 4.3 MJ1 Stock rooted
[Xposed Framework Modules] Fede Luzzi:
Hi, the app don't detect a tag I have, here is the screenshot,

Can you help me?

Thanks!

Enviado desde mi XT1058 mediante Tapatalk
[Xposed Framework Modules] konstantin1286:
need help

i have a galaxy s3, rooted, omega 43.1 custom rom

i use xposed framework and i can unlock my phone from my nfc tag!

i don't use any security on my phone (no gesture or pin to unlock) (i am bored having to unlock it all the time)

but sometimes i wish my phone was locked (my nephew is killing my battery)

so i want to use an nfc tag to hard-lock my phone in a way that it can only be unlocked from the same nfc tag...! do you have any ideas? thnx in advance!
[Xposed Framework Modules] MindTeaser:
hi.. I have the problem that I can't authorize the tag..

would u help me????? thanks :) :) :)
[Xposed Framework Modules] jasonsf:
Trying to diagnose another module's issues, I noticed some errors related to nfclockscreenoffenabler in the Xposed log.

http://pastebin.com/fXE5WTBh
[Xposed Framework Modules] BlueMoonRising:
Help needed with Medfield

I'm running an Orange San Diego(Intel Medfield) which is rooted and has the Xolo X900 rom installed. I've got the framework installed fine and the NFC Unlocking module installed, enabled and rebooted. I've authorised a tag successfully however it won't wake the phone up or unlock the screen with screen off or on. I've disabled the lockscreen entirely with the same lack of result.

Would I be correct in that I would need to replace the nfc.apk? If so can I use one of the ones posted for different phones or are they specific to each phone?
[Xposed Framework Modules] klau1:
Did you set it to enable nfc reading even when screen is off and locked?
[Xposed Framework Modules] BlueMoonRising:
Lol yes, I read all 14 pages first because I didn't want to look silly and I find it disrespectful to you guys & gals who help if anyone doesn't.

I did everything that any of the other posts raise with no success. That said I left it overnight in airplane mode with everything turned off except for NFC and it never entered deepsleep. 40 minutes @ 1.6Ghz and the rest @ 600Mhz so at least I know it doesn't turn off NFC when it's locked although it did eat up 16% of battery in just over 9 hours.
[Xposed Framework Modules] BlueMoonRising:
Success thanks to someone on Modaco pointing me to http://xdaforums.com/showpost.php?p=46354954&postcount=4422.
[Xposed Framework Modules] BlueMoonRising:
Even better, the phone is now entering deep sleep fine. So absolutely no downside.

I'm going to see if I can sew a tag inside the flip case so that when I open the case and fold it back on itself it will switch on and unlock the phone in one go.
[Xposed Framework Modules] rlmesq:
Great work, MohammadAG!

Would it be possible to enable sounds for some tags, but not others? I'd like to hear the NFC beep to confirm when I hit the tag in my car, but I wouldn't want it to make noise when I tap the tag I discretely hid in a courtroom.
[Xposed Framework Modules] MohammadAG:
Well, if you're using Tasker, I'd suggest playing the sounds you want in the tasks, and disabling global sounds. Sounds are playing with one method for all, so disabling them on a per tag basis would be too hard / complex for the module.
[Xposed Framework Modules] tommyleinen:
I take it you just use a swipe gesture to unlock? It would be pointless doing this if you had a pin code...

---------- Post added at 02:35 AM ---------- Previous post was at 02:31 AM ----------

Download the 'secure settings' app and use Trigger to enable secure settings - edit it to unlock the phone and also add the car dashboard task to the list. You could then program Trigger to lock the phone on exit with the second swipe and kill car mode while you are at it.
[Xposed Framework Modules] BlueMoonRising:
Yes, just a swipe although the flip case idea won't work since the back is too thick. I've reverted to my old slip case instead with a sticky NFC tag on the front. You'd have to own an OSD to realise how bad the power switch is...
[Xposed Framework Modules] tommyleinen:
How about putting the tag on the front of the case, which would cut down the thickness by around half? All my (cheap ass) tags look pretty unsightly but you could probably find one that suits or modify one...
[Xposed Framework Modules] Raznor:
Since 4.4 doesn't unlock screen anymore

Since I upgraded today to Andoid 4.4 on my unlocked and rooted Nexus 4, NFC doesn't unlock my phone anymore if it is locked, used to work on 4.3.

Latest Xposed is installed as well as NFC LockScreenOFF Enabler [1.9.5].

Installed - deinstalled a couple of times with no luck.

Any ideas?
[Xposed Framework Modules] BlueMoonRising:
In just the second line of the Xposed thread http://xdaforums.com/showthread.php?t=1574401

.

Sorry, you'll have to wait.

---------- Post added at 08:29 PM ---------- Previous post was at 08:20 PM ----------

It's a little bit hit and miss just through the back, I guess there's a reason they call it Near Field Communication. ;)
[Xposed Framework Modules] CypherX1389:
Unable to associate tag

Hey there, all

I apologize, as this has been asked a few times, but the circumstances seem to be slightly different.

I have both NFC Unlocking and "Disable NFC Tag Empty [1.0]" modules installed on xposed framework, and I am still unable to associate a tag. It STILL pops up with the "New tag discovered", and fails to associate. Even when I empty the tag, or if I write other data to it. I'm running Cyanogen 10.1 android version 4.2.2. I also made sure I clicked "Install/Update" on Xposed, and soft restarted after all installs, as well as switching NFC mode to "screen off". Device is Galaxy Nexus (GSM)

I believe that covers everything, and thank you so much for your help. :)

-Malachai
[Xposed Framework Modules] BlueMoonRising:
Have you tried any other module to see if it's the Framework that's not working. Have you actually used a Play Store NFC app with the tags you're using to make sure it's not the tags or even your hardware that's not working?
[Xposed Framework Modules] CypherX1389:
I've not tried another framework module. Any recommendations including expected results? I do know that the NFC hardware and tags are working flawlessly. They're Topaz chips (as I plan to update to a Nexus 5 relatively soon, and I know the Mifare 1k's aren't broadcom-compatible.) and they store data perfectly fine. I've used "NFC TagInfo" both the NXP and non-NXP ones, NXP TagWriter, and NFCTools. All of the above work flawlessly.

-Malachai
[Xposed Framework Modules] BlueMoonRising:
I'm afraid I've not tried any others myself only installing it in the last few days.

I got mine working thanks to this post on Modaco :-

http://www.modaco.com/topic/366428-appshare-xposed-framework-for-theming-mods-and-much-more/?p=2174238
[Xposed Framework Modules] CypherX1389:
Sadly, I've already tried that, minus the root explorer. It still pops up with the stupid "New tag" dialog. Even with the module that's supposed to make that not appear.
[Xposed Framework Modules] BlueMoonRising:
Because the OSD is bootloader locked we're stuck with ICS anyway so we can't use the empty tag module. I used the 'NFC Smart Q' app from the Play Store and used it to set the media volume, at least it gets rid of the 'empty tag' notice.
[Xposed Framework Modules] shantzg001:
[MENTION=2011359]MohammadAG[/MENTION] sent a pull request on the github repo for adding kitkat/N5 support for NFC unlocking. Please review.
[Xposed Framework Modules] graelb:
Moto X & republic wireless?

Morning,

I have the RW Moto X. I'm trying to get NFC to listen and unlock or run tasker apps (through trigger) when the screen is off, or locked (go figure that's what the module is for right?)

For some reason it does not want to work. The NFC Tags will register, but only read when the screen is on, and unlocked.

THoughts?
[Xposed Framework Modules] Rob3E:
So does this mean it's confirmed that it won't work in KitKat? My choice of ROM has been updated to KitKat. Xposed has a KitKat-compatible beta. But if this doesn't work yet, then I will have to be patient.
[Xposed Framework Modules] shantzg001:
It won't work without my changes merged (or similar changes done by mohammedAG). With the changes merged, it will work
[Xposed Framework Modules] MohammadAG:
Sorry, I forgot to push the new APK, I'll push it tonight.
[Xposed Framework Modules] annewand:
Error running mod on Nexus 5

Hey,

I would really love to unlock my Nexus 5 using NFC. I'm running the beta 1 of Xposed framework and the latest version of your mod with KitKat-support. Anyway, the mod doesn't work showing a ClassNotFoundException: com.android.keyguard.KeyguardViewManager in the Xposed log. Looking at the kitkat source the mentioned class seems to be perfectly fine. Is this a bug in the Xposed framework or in the mod?

Thanks for your help!

Greetings

annewand
[Xposed Framework Modules] MohammadAG:
Could you try the 1.9.7.1 update? The provided patch was missing another change.
[Xposed Framework Modules] shantzg001:
yeah, my mistake. Apologies.
[Xposed Framework Modules] annewand:
Thanks for the quick response. Works for me now!

Gesendet von meinem Nexus 5 mit Tapatalk
[Xposed Framework Modules] hobbypunk90:
+MohammadAG it isn't possible to unlock phones, which are locked with pin or password, or can you do anything for this problem?

Gesendet von meinem C1905 mit Tapatalk
[Xposed Framework Modules] Mikegrmn:
Do you have more than NFC unlock running? If you also run wanam, the NFC settings may interfere. I never tried on my N3, but both modules have NFC settings.
[Xposed Framework Modules] zarathoustroy:
Problem with Nexus5

Hi there,

I'm trying to use latest version (pk.qwerty12.nfclockscreenoffenabler_v14_bee9e8.apk) on the Nexus 5 but I can't make it run (it runs once with screen off, then no more, need to reboot).

I'm using framework (de.robv.android.xposed.installer_v21_77db90.apk). Do I need to use a beta version of the framework?(where can I find it?)

I can send you some logs if you need or help you to debug if needed.

A+

Zarathoustroy
[Xposed Framework Modules] zarathoustroy:
Forget my message, I've just seen there is a beta framework for kitkat. I'm gonna try it.

Thanks a lot for the NFCScreenOff module!
[Xposed Framework Modules] MohammadAG:
Version 1.9.7.2 should include full KitKat support.

Changing the timeout isn't supported as Google changed the code and made the int final.
[Xposed Framework Modules] tommyleinen:
So this should work on an unlocked, rooted nexus 5? Thanks
[Xposed Framework Modules] MohammadAG:
It was testes on a stock 4.4 Nexus 7, so I imagine it should work fine. Remember to install Xposed first.
[Xposed Framework Modules] Trfrde:
Hello,

Yes, it works perfectly.

Cheers

Gesendet von meinem Nexus 5 mit Tapatalk
[Xposed Framework Modules] zloglasni:
Guys does this method require root or not ? I've red all 17 pages and did everything and it still wont unlock my LG G2.It does recognize tag but it wont unlock
[Xposed Framework Modules] curti.nogg:
Yes. Do you have the Xposed framework installed?

Sent from my Nexus 5
[Xposed Framework Modules] Rob3E:
To use this mod, you have to first install the Xposed framework, which requires root. Then you install the mod. Once Xposed is installed, I don't think you have to be rooted, but you do have to be rooted to install it in the first place. If you open the Xposed settings, it should tell you if Xposed is running and if NFC Unlocking is enabled.
[Xposed Framework Modules] zloglasni:
Thanks for reply.I did install both framework and mode but it says it's not running and it requires reboot (of course after reboot is the same thing).All of this makes sense considering that my phone is not rooted.
[Xposed Framework Modules] tommyleinen:
Nice one, thanks! Framework and module installed with no issues, very straightforward! Can't wait to tinker with this tomorrow. Can't decide whether to enable nfc all the time or just when screen is on. The chances of someone exploiting it must be negligible, surely? Even then, they would be pretty limited in what they could do, right?
[Xposed Framework Modules] MohammadAG:
Anyone who has the NFC tag can of course unlock your phone. Mind is in my wallet, and someone having my wallet worries me more than him being able to unlock my phone.

I may add a feature that stops NFC unlocking if the passcode is reset with something like Android Device Manager or Cerberus.
[Xposed Framework Modules] tommyleinen:
Absolutely, my tag will be in my car dock, so if he's nicked my car, he's probably going to be drunk or drugged up, and I have bigger things to worry about!

Does Cerberus not already allow you to run an app remotely? If so you would just require a hidden app that auto uninstalls the module when run.

---------- Post added at 10:44 AM ---------- Previous post was at 10:37 AM ----------

Actually, you may already be able to uninstall the lockscreen enabler app remotely using Cerberus...
[Xposed Framework Modules] tommyleinen:
Can anybody advise more on the presence check timeout option?

My phone will be sitting on the tag for any period of time, I would like my phone to detect when the tag is no longer there and lock up again, is this possible?
[Xposed Framework Modules] jonny_mako:
Problems with Nexus 4 KitKat

I'm using Xposed installer 2.4.1 on my Nexus 4 running KitKat. I enabled NFCLockScreenOffEnabler version 1.9.7.2 and it is hit and miss. Sometimes it does not work with "screen off". In the log, I see messages like:

pk.qwerty12.nfclockscreenoffenabler: Settings updated, reloading...
[Xposed Framework Modules] matthewtyson:
Has anyone had tag read success on the LG G2 with screen off or locked? I have 1.9.7.2 installed through Xposed (on a Verizon device, running stock rooted), and it only works with screen on and unlocked. TIA.
[Xposed Framework Modules] jonny_mako:
logcat

Here is perhaps a more useful set of messages from the main log:

12-08 20:11:36.987 I/ActivityManager( 595): START u0 {flg=0x10008000 cmp=com.android.nfc/.NfcRootActivity (has extras)} from pid 925
12-08 20:11:37.067 I/ActivityManager( 595): START u0 {act=android.nfc.action.NDEF_DISCOVERED typ=x/nfctl-s cmp=com.jwsoft.nfcactionlauncher/com.tagstand.launcher.activity.MappedTagReceiverActivity (has extras)} from pid 925
12-08 20:11:37.248 I/ActivityManager( 595): START u0 {flg=0x10008000 cmp=com.jwsoft.nfcactionlauncher/com.tagstand.launcher.activity.ParserActivity (has extras)} from pid 17061
12-08 20:11:41.682 I/ActivityManager( 595): Killing 16709:pk.qwerty12.nfclockscreenoffenabler/u0a127 (adj 9): remove task
12-08 20:11:41.702 W/InputDispatcher( 595): channel '42683df8 pk.qwerty12.nfclockscreenoffenabler/pk.qwerty12.nfclockscreenoffenabler.NFCLockScreenOffEnablerActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
12-08 20:11:41.702 E/InputDispatcher( 595): channel '42683df8 pk.qwerty12.nfclockscreenoffenabler/pk.qwerty12.nfclockscreenoffenabler.NFCLockScreenOffEnablerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
12-08 20:11:41.702 W/InputDispatcher( 595): Attempted to unregister already unregistered input channel '42683df8 pk.qwerty12.nfclockscreenoffenabler/pk.qwerty12.nfclockscreenoffenabler.NFCLockScreenOffEnablerActivity (server)'
12-08 20:11:41.702 I/WindowState( 595): WIN DEATH: Window{42683df8 u0 pk.qwerty12.nfclockscreenoffenabler/pk.qwerty12.nfclockscreenoffenabler.NFCLockScreenOffEnablerActivity}
12-08 20:12:08.809 D/NfcDispatcher( 925): dispatch tag: TAG: Tech [android.nfc.tech.NfcA, android.nfc.tech.MifareUltralight, android.nfc.tech.Ndef] message: NdefMessage [NdefRecord tnf=2 type=782F6E6663746C2D73 payload=00]
[Xposed Framework Modules] Avamander:
This is unfortunately not working on my phone (LG L9 II)

Sent from my flying car
[Xposed Framework Modules] tigger2014:
Any plans to implement this at rom levels maybe with cm as a base as many of us now use ART and sadly we cant use this?
[One (M7) Q&A, Help & Troubleshooting] drumdrum:
Hi there,

To day I upgraded my HTC One from ADRHD 12 to ADRHD v22. I did a full user wipe during the installation and I also cleared the cache and dalvik before rebooting.

So the phone started up, went through its usual initial starup sequence and all is working ok now, though the battery did drain from 100% to 70% over the course of the installation and app downloads (about 20 apps).

Anyways, I noticed that there is a permanent symbol in my notification bar that is driving me crazy. Its not from any app as all the apps are stopped. It kind of looks like the Nescafe "N" symbol. I've attached a screenshot of my phone so you can see it at the top.

Does anyone know what this symbol is, what it means, and how I can remove it?

Many thanks

-DD
[One (M7) Q&A, Help & Troubleshooting] EddyOS:
NFC, it's on by default now for some reason (same with the stock DE RUU)
[One (M7) Q&A, Help & Troubleshooting] homeslice976:
You can change that in /system/customize/ACC/default.xml. Change

<item type="integer" name="nfc_show_icon">1</item>

to

<item type="integer" name="nfc_show_icon">0</item>

And the NFC icon won't show when NFC is on
[One (M7) Q&A, Help & Troubleshooting] nkk71:
It's the NFC (Near Field Communication) icon.

To remove it two choices:

1- if you dont use NFC, go to Settings->More (under Wireless & Networks)->NFC, uncheck that

2- if you DO use NFC, use a root-enabled file explorer (eg ES File Explorer but with ROOT enabled) and go the file

/system/customize/acc/default.xml

change the line <item type="boolean" name="nfc_show_icon">1</item> (it's at about 15% from the top according to ES)

and change 1 to 0, save, and reboot ==> NFC still working, but no icon