[Xposed Framework Modules] MohammadAG:
Requires Xposed Framework!

This module is based off qwerty12's NFCLockScreenOffEnabler, coupled with madfish73's modifications.

The Moto X had a feature called the Motorola Skip, a $20 NFC tag that unlocks your device.

(Speaking of the Moto Skip, here's a tutorial by [MENTION=5407907]Mikegrmn[/MENTION] on how to make a similar tag)

This Xposed module imitates that, while giving a bit more freedom as it also works with the screen off, and with any NFC tag.

Screenshots:

Compatibility:

Any 4.0-4.4 NFC-equipped device that can run Xposed Framework.

Download:

http://repo.xposed.info/module/pk.qwerty12.nfclockscreenoffenabler

Source code:

https://github.com/MohammadAG/NFCLockscreenoffEnabler

Credits:

qwerty12 for original module.

madfish73 for tag lost support

rovo89 for the Xposed Framework

Niek Haarman for ListViewAnimations, initially I wanted the NFC tag list animated but it was unnecessary overhead, I kept support for swiping to delete tags though.

Roman Nurik for his UndoBar implementation.

Reason for fork:

I spent a lot of time researching how the lockscreen works so I could bypass the user's code without actually storing the code somewhere, and even when that was done, my implementation was insecure and left a big security hole, I also spent some time looking for ways to secure that which I've come up with. An explanation of how it was secured can be found here.

In any case, when I decided to post my work in that thread, it was because I felt I shouldn't fork another version of the module. However, 2 days later, I feel that it got buried in the thread with no one knowing about it, so I emailed qwerty12 and asked him if I could make a thread about the module with all the updates.

Suggestions?

I feel like the name and icon could be changed, if anyone has suggestions, feel free to reply with them down below :)

FAQ

This module isn't installing, it's saying something about signatures!

Due to this being a fork, and no one can share their signatures, you're going to have to uninstall all previous versions prior to installing this.​

This module isn't working, what's wrong?

Do you have Xposed Framework installed? Installing the Installer app isn't enough, you need to hit Install/Update it in. After that, you'll have to tick the module to enable it and soft reboot. If the module still doesn't work, turn on debug mode and attach a logcat after a reboot.​

I did what the question above said, I still can't unlock my phone using NFC!

Have you authorized the tag? See this video by [MENTION=2856934]subzero2000[/MENTION] to know how to do that http://www.youtube.com/watch?v=5ix-5utZwAY

If you can't authorize the tag as in the video, someone (probably me) messed up somewhere, refer to http://xdaforums.com/showpost.php?p=46950451&postcount=101 to help us debug the problem.

If you can authorize a tag, but still can't unlock, your manufacturer did something to the lockscreen that's very far from stock Android. Leave a comment and we'll try to help. Alternatively, ask a developer for your device to have a look at it.​

An app pops up each time I scan the tag saying that the tag is empty, what should I do?

Either write to the tag so it does something else, or install this http://xdaforums.com/showthread.php?t=2474379​

How do I configure Tasker?

An intent is broadcasted as of version 1.9.5 that can be picked up by apps like Tasker.

Just configure the app to receive the intent with action "android.nfc.action.TAG_CHANGED". The intent has two extras:

"tag_uuid": type String, this extra holds the tag ID

"tag_present": type boolean, this extra is true when the tag is detected, and false when it's lost.

These extras can be used in Tasker by using the variables %tag_uuid and %tag_present​