Universal NFC - NFC Hacking

The idea is to have a NFC tag that stores an andriod command to cancel or change pin or pattern to any supported android. I thought if Google smartlock can can detect it then there should be a bypass. So basically once I swipe a NFC tag across any of mt android devices smartlock or not, unlocks. My is question is what is the command that does so. I'm not an expert on it or a developer. I just need help with this project. It would be nice if someone can guide me in the right direction.

Related

To the developers: regarding Lock Screen Development

I really really love the vanilla lock screen with pin protection. But I find it always tiresome to enter pin and press OK and get in. I would definitely love to use some sort of a clone of iPhone's pin protected lock screen on Android where you enter the pin and it automatically unlocks without any extra clicks or any hassles.
I know developers out there have better things to do than to develop a clone of something else. I would have developed it myself. But I've lost my touch in Java and not really into Android Development (tried once, never worked out).
So here's an app I coded as a part of my project in university last year. I was asked to design a working model of an entry system for doors which would let anyone in and out by opening door after pressing the right sequence of digits. The only catch was it was supposed to be fool proof, and by using several design patterns.
I have attached the application for windows here for a demo. If any developer is up to really code a lock screen similar to that, I would love to release the code under public domain.
thanks for your time.

[APP] Locale/Tasker NFC Plugin

About the app
This is a plug-in for Locale and Tasker that extends them with NFC-functionality. It works by reading the UID (Unique Identifier) of a tag. Actions can then be associated with this UID and will be executed when the tag is scanned.
This allows you to reuse old discarded NFC-tags/cards that you might have lying around. Maybe you have some old access-cards or commuter-cards that you can use. It currently supports all NFC-standards that are supported by the Android system.
How to use it
Add a new situation
Add a new condition
Choose Locale NFC Plugin
Scan the tag
Add settings of your choice
You have now registered the tag with the phone and associated it with the desired actions. The next time you scan the tag the actions will be executed.
How do I get the app?
Please note that it's only a plug-in so you MUST have Locale or Tasker already installed on your device for it to work!
Follow the link to Google Play Store
Or scan the QR-code with your phone.
I'm happy to answer any questions that you might have.
reserved
reserved 2
I was under the impression tasker already had this functionality built in?
Evostance said:
I was under the impression tasker already had this functionality built in?
Click to expand...
Click to collapse
What I know Tasker dosen't have this functionality built in. At least I haven't been able to find it. However I do believe that NFC Task Launcher + Tasker makes a similar combination.
The difference between Locale NFC Plugin + Tasker and NFC Task Launcher + Tasker would be that, with NFC Task Launcher you will have to write to the tag what it is that the phone should do once the tag is scanned. This means that you will have to buy tags that you can write to.
With Locale NFC Plugin you won't have to write anything to the tag. Hence you can reuse old NFC-tags/cards that you might have lying around.
Edit: strike the following as it's now showing as compatible (now purchased!). Not sure what happened but it's all good now.
Market / Play Store says it's not compatible with my device - a GSM GNex running AOKP (4.0.4 / build 32) and Franco kernel #135. I'm guessing your plug-in appears for devices that haven't been messed around with quite so much? It sounds very handy!
Advertising of paid apps is only allowed in the Paid Software Announcement and Discussion forum.
Please read the forum rules and any relevant stickied threads before creating any new posts.
Forum & Marketplace Rules

[Tutorial] Unlock your device using NFC

Hey everyone, here is a tutorial on how to use a nfc tag to unlock galaxy s3 and other android devices with nfc.
Translated from the french version : http://www.galaxys2.fr/forum/voir-t14883.html#p146889
Required:
-Anything with nfc (nfc card , nfc tag , tectiles ...)
-Be rooted
-Installed Tasker + secure settings plug-in , Widgetlocker , NFC Re-tag
-download the NFCmodSGS3_lockscreen matching your ROM here : http://forum.xda-developers.com/showthr ... ?t=1712024
-Deactivate any lockscreen in settings (even the slide to unlock one)
-10 min of time
Ready ? Let's go
1st step : Flash the NFCmodSGS3_lockscreen***** via CWM
2nd step : Lockscreen configuration
Start widgetlocker and select a lockscreen with only one function : unlock
In settings , inputs, enable the back button, in advance select the 2 last ones
3rd step: Tasker
New profile :
events, 3rd party widget locker , unlocked ==> if %WIFI~Off, wait 300ms , plug in secure settings password pin , enable : type the password you want to use if you forgot your nfc tag.
New profile :
event, display screen off ==> plug in secure settings nfc on
New profile:
event system boot : plug in secure settings password pin , enable : type the password you want to use if you forgot your nfc tag + condition %WIFI~Off
New profile:
event network , wifi on , plug in secure settings password pin , disable
Exit task : plug in secure settings password pin , enable : type the password you want to use if you forgot your nfc tag.
New task: (name it UNLOCK)
plug in secure settings password pin , disable
wait 200ms
input , button : back button
4th and last step : NFC-Retag
Scan your tag and add the action : tasker task : UNLOCK
In settings , mute pop ups et do not show
:good: And you are ready to go ! :good:
Video in french on the original thread, feel free to correct my mistakes or help me improve the way this tutorial is (it's my first one)
I'm trying to follow your tutorial, but it is written quite complicated.
Why do I need WidgetLocker?
God bless you, sir. I was thinking of awesome ways to use this when I thought about putting a tag in my wristband. Its completely invisible and more handy than I thought it would be.
Sent from my Nexus 7 using Tapatalk 2
ifonuser78 said:
I'm trying to follow your tutorial, but it is written quite complicated.
Why do I need WidgetLocker?
Click to expand...
Click to collapse
Because it's the only locker that I know that can be unlocked by the "return" key.
DannyDrama said:
God bless you, sir. I was thinking of awesome ways to use this when I thought about putting a tag in my wristband. Its completely invisible and more handy than I thought it would be.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
You are welcome
It's great to read such a comment when it's only the second one you get after waiting 2 months ^^
Have Fun !
Your link is messed up...
Download link: http://forum.xda-developers.com/showthread.php?t=1712024
---------- Post added at 05:47 PM ---------- Previous post was at 05:41 PM ----------
You said: "...here is a tutorial on how to use a nfc tag to unlock galaxy s3 and other android devices with nfc."
But I don't see how you can flesh NFCmodSGS3_lockscreen to other devices when it's made specifically for SGS3...
Monteillard said:
Hey everyone, here is a tutorial on how to use a nfc tag to unlock galaxy s3 and other android devices with nfc.
Translated from the french version : http://www.galaxys2.fr/forum/voir-t14883.html#p146889
Required:
-Anything with nfc (nfc card , nfc tag , tectiles ...)
-Be rooted
-Installed Tasker + secure settings plug-in , Widgetlocker , NFC Re-tag
-download the NFCmodSGS3_lockscreen matching your ROM here : http://forum.xda-developers.com/showthr ... ?t=1712024
-Deactivate any lockscreen in settings (even the slide to unlock one)
-10 min of time
Ready ? Let's go
1st step : Flash the NFCmodSGS3_lockscreen***** via CWM
2nd step : Lockscreen configuration
Start widgetlocker and select a lockscreen with only one function : unlock
In settings , inputs, enable the back button, in advance select the 2 last ones
3rd step: Tasker
New profile :
events, 3rd party widget locker , unlocked ==> if %WIFI~Off, wait 300ms , plug in secure settings password pin , enable : type the password you want to use if you forgot your nfc tag.
New profile :
event, display screen off ==> plug in secure settings nfc on
New profile:
event system boot : plug in secure settings password pin , enable : type the password you want to use if you forgot your nfc tag + condition %WIFI~Off
New profile:
event network , wifi on , plug in secure settings password pin , disable
Exit task : plug in secure settings password pin , enable : type the password you want to use if you forgot your nfc tag.
New task: (name it UNLOCK)
plug in secure settings password pin , disable
wait 200ms
input , button : back button
4th and last step : NFC-Retag
Scan your tag and add the action : tasker task : UNLOCK
In settings , mute pop ups et do not show
:good: And you are ready to go ! :good:
Video in french on the original thread, feel free to correct my mistakes or help me improve the way this tutorial is (it's my first one)
Click to expand...
Click to collapse
Great!
I would like to work with you on monetizing and creatig a business with the app you have created.
This is cool and all, but I'm curious about the practical application of using this. I would think that sliding to unlock would be easier than carrying/wearing an NFC tag all the time.
This makes me want to implant a nfc tag into my palm now...
spenc938 said:
This is cool and all, but I'm curious about the practical application of using this. I would think that sliding to unlock would be easier than carrying/wearing an NFC tag all the time.
Click to expand...
Click to collapse
^^^ yes. Can someone explain or shine some light to what good uses this would bring?
Security????
Hey everyone, sorry I didn't notice the replies sooner.
For the ones asking, this is useful when you don't want to waste time typing your password but still want a kind of security in case your phone is stolen.
As someone said, having an nfc tag in your hand would be the absolutely perfect thing, your phone would unlock just by holding it, and noone else would be able to use it
spenc938 said:
This is cool and all, but I'm curious about the practical application of using this. I would think that sliding to unlock would be easier than carrying/wearing an NFC tag all the time.
Click to expand...
Click to collapse
Well, sure you think that now, but once you've been equipped with your government-supplied NFC tracking implant, it'll all make perfect sense.
Actually...This isn't something I'd use on my personal device, but for the phones in my dev environment, it's a decent way to lock 'em but still make it easy enough for a group of techs to unlock the devices when they're near the bench...
I'm trying to use NFC Task Launcher to control App Protector Pro so that specific Apps can be unlocked via NFC.
Basically the following method:
NFC Task Launcher -> Tasker Task -> App Protector Pro Plugin -> Disable App Protector Pro
But the problem is, the task to unlock App Protector Pro can be called from directly within NFC Launcher. This defeats the purpose of App Protector Pro since anyone can go into NFC Task Launcher to unlock App Protector Pro.
at least a PIN lock is needed to plug this security hole.
Is there any NFC Task Launcher that locks itself?
You could try locking NFC Task Launcher with a different locking app. Keep the same setup but have a passcode using a different locking app to lock it. If you need to tasker can lock apps too. It's a very basic lock but it still works.
Method 1: download a new locking app to lock NFC Task Launcher. Here's one I saw that looked good
Method 2: Lock NFC Task Launcher with tasker
Sorry no links. XDA won't let me because I'm new.
Sent from my Nexus 4 using xda premium
Problem with that is that the given lock app will pop-up once you scan a tag as NFC Task Launcher is utilized.
So cool
Sent from my Xperia S using xda premium
Thx its very cool
Sweet! I'm going to try this ASAP! Thank you for the tutorial
Support for other devices...
Any chance of this mod being used for non GSIII devices? The file you want to download seems GSIII specific and like it wouldn't work for other devices, but you say that this is a tutorial for "other devices." Anyone tested this on another other devices to confirm that it works?
ssyphon said:
Any chance of this mod being used for non GSIII devices? The file you want to download seems GSIII specific and like it wouldn't work for other devices, but you say that this is a tutorial for "other devices." Anyone tested this on another other devices to confirm that it works?
Click to expand...
Click to collapse
Yeah I'm curious about this too. Has anyone done this successfully on another device, like maybe a Note 2?
ssyphon said:
Any chance of this mod being used for non GSIII devices? The file you want to download seems GSIII specific and like it wouldn't work for other devices, but you say that this is a tutorial for "other devices." Anyone tested this on another other devices to confirm that it works?
Click to expand...
Click to collapse
capite said:
Yeah I'm curious about this too. Has anyone done this successfully on another device, like maybe a Note 2?
Click to expand...
Click to collapse
It's most likely that the S3 version will not work on other devices...
If you want, you can try flashing it after BACKUP!!!!
But this is what I did...
The NFC on Lockscreen/ScreenOff MOD seem to first started on this thread: CLICK HERE
So, I kindly asked on that thread if someone could port this MOD so I could use it on my Skyrocket.
Thankfully, one of the developers ported over for me with 24 hours...
*** When you are asking for a port, tell them your phone's model # and the link of the ROM that you are currently running!

[Q] Is this possible using nfc?

First off I'm new to NFC tags and programming them. I was wandering if it would be possible to program a nfc tag in a manner that when I swipe it it would record the following things:
First swipe=current time, date and the address of the location the tag is at.(I would like to have the actual address of the location, not the geolocation)
Second swipe= current time date.
Basicly it would be a time in and time out, if I understand right I would basicly have to create a switch.
I would like it to send the information to either a calander of perferably a spread sheet.
Is something like this possible, and any idea what size nfc tag I may need.
Thank you in advance for any help,
Sean
That's not REALLY an NFC question, because basically like you said the NFC part is just - "Can you make an NFC Switch/Toggle tag?" The answer to that is yes, with the right NFC App. I recommend NFC Smart Q.
The stuff you want to do is about having an app do all that - probably Tasker would be best. Date, Time, and Geolocation I'm sure it can do. But specific address... not so sure about that.
Anyway, with the Tasker URL Launcher plugin app from the play store you can use a URL to launch a task. So you'd create two task - one to do the date, time, location and a second to do date/time. Then using NFC Smart Q you create a switch tag - have the first command be the URL to launch the first Tasker Task and the second to launch the second.
You'd have to ask in a Tasker forum about being able to get exact address, but my guess is it can provide geolocation only...
there is more than enough SPACE in the tags themselves to store the address just write it into the tag. the trick would be recording the time/date and linking it to the stored address.

[Q] NFC Permanent LOCK

Hi,
I am about to develop a mobile apps check -in event using NFC tags.
One of the problem we encounter is about the permanent lock.
We had try the factory reset feature by using Tag Writer application, then apply permanent lock feature on the tag.
As far that we know; once permanent lock is applied, the tag cannot be unlock or even become factory reset.
Why is it that particular tag with permanent lock still can be write with new action and even be cloned?
What is the function of permanent lock on this tags? Can it protect the written data?
May I know what is the constraint of using NFC tags?
Please respond to this, since i am NFC rookie..
Best Regard, Thank You
ummm
if youre asking WHY they have perm write protect on some tags, its because they dont want people rewriting public nfc tags with garbage do they ?
I read somewhere that it actually burns out a track to the writable area, which is why you cant reverse it. but if your app is just for checking in, why are you write locking tags ?
CountParadox said:
ummm
if youre asking WHY they have perm write protect on some tags, its because they dont want people rewriting public nfc tags with garbage do they ?
I read somewhere that it actually burns out a track to the writable area, which is why you cant reverse it. but if your app is just for checking in, why are you write locking tags ?
Click to expand...
Click to collapse
Thank for the heads Up..:good:
Actually why i wanna lock the tag is because we wanna put unique ID in each tags, so other people cannot overwritten it.
In your opinion is it possible to do that?
Ira Effendi said:
Thank for the heads Up..:good:
Actually why i wanna lock the tag is because we wanna put unique ID in each tags, so other people cannot overwritten it.
In your opinion is it possible to do that?
Click to expand...
Click to collapse
each NFC tag already has a unique UID if im not mistaken
why dont you make your app use that ??
then you can use the tags for other things too

Categories

Resources