5,596,128 Members 33,667 Now Online
XDA Developers Android and Mobile Development Forum

[Tutorial] Unlock your device using NFC

Tip us?
 
Monteillard
Old
(Last edited by Monteillard; 27th August 2012 at 08:52 PM.)
#1  
Member - OP
Thanks Meter 16
Posts: 30
Join Date: Dec 2011
Location: Paris
Default [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


And you are ready to go !

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)
The Following 8 Users Say Thank You to Monteillard For This Useful Post: [ Click to Expand ]
 
ifonuser78
Old
#2  
Member
Thanks Meter 4
Posts: 47
Join Date: Mar 2012
I'm trying to follow your tutorial, but it is written quite complicated.

Why do I need WidgetLocker?
The Following User Says Thank You to ifonuser78 For This Useful Post: [ Click to Expand ]
 
DannyDrama
Old
#3  
Senior Member
Thanks Meter 31
Posts: 210
Join Date: Dec 2010
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
 
Monteillard
Old
#4  
Member - OP
Thanks Meter 16
Posts: 30
Join Date: Dec 2011
Location: Paris
Quote:
Originally Posted by ifonuser78 View Post
I'm trying to follow your tutorial, but it is written quite complicated.

Why do I need WidgetLocker?
Because it's the only locker that I know that can be unlocked by the "return" key.

Quote:
Originally Posted by DannyDrama View Post
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
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 !
 
peurocs4
Old
(Last edited by peurocs4; 9th November 2012 at 01:52 AM.)
#5  
peurocs4's Avatar
Senior Member
Thanks Meter 140
Posts: 171
Join Date: Nov 2010
Location: Somewhere in South Korea

 
DONATE TO ME
Your link is messed up...

Download link: http://forum.xda-developers.com/show....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...


Quote:
Originally Posted by Monteillard View Post
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


And you are ready to go !

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)

My Devices / Models / Carrior (Latest to Earliest)
LG G2 / F320s / SKT
LG Optimus G / F180s / SKT
Samsung Galaxy S2 Skyrocket / i727 / AT&T
Samsung Galaxy S Captivate / i897 / AT&T


[IMG][/IMG]
Any action followed by my posts is at your own risk and I shall not be liable for any harm to you or others resulting from such actions.
The Following User Says Thank You to peurocs4 For This Useful Post: [ Click to Expand ]
 
rashanh
Old
#6  
Junior Member
Thanks Meter 1
Posts: 1
Join Date: Nov 2010
Default Great!

I would like to work with you on monetizing and creatig a business with the app you have created.
The Following User Says Thank You to rashanh For This Useful Post: [ Click to Expand ]
 
spenc938
Old
#7  
Junior Member
Thanks Meter 0
Posts: 14
Join Date: Nov 2012
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.
 
Talal916
Old
#8  
Talal916's Avatar
Senior Member
Thanks Meter 35
Posts: 260
Join Date: Dec 2011
Location: Sacramento
This makes me want to implant a nfc tag into my palm now...
T-mobile G1-CM6
HTC Hero-Stock Rooted
Motorola Droid-CM7
HTC EVO-MIUI
Nexus S 4G-HP420's JB Port
Droid RAZR XT912-Stock-Unrooted
Galaxy SII/Epic 4G Touch-Stock Rooted
HTC EVO 4G LTE-Stock-Rooted
HTC One-Stock Rooted

ASUS TF101 Stock!
The Following User Says Thank You to Talal916 For This Useful Post: [ Click to Expand ]
 
svfreddy
Old
#9  
svfreddy's Avatar
Member
Thanks Meter 7
Posts: 60
Join Date: Mar 2011
Quote:
Originally Posted by spenc938 View Post
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.
^^^ yes. Can someone explain or shine some light to what good uses this would bring?
Security????
 
Monteillard
Old
#10  
Member - OP
Thanks Meter 16
Posts: 30
Join Date: Dec 2011
Location: Paris
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes