[Tutorial] Unlock your device using NFC - NFC Hacking

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!

Related

[APP] LocationAware v0.3, PCBuddy {14th April 2010}

Location Aware is an automatic volume profile switcher.
This application works out of the data received from GSM signals.(NO CDMA)
so almost all windows mobile devices can use it.I developed it on my elf and it seems it is working
Requires GSM network, Windows Mobile , .Net CF 3.5
1. Battery Friendly, No active background process.
2. No GPS needed.
3. User configurable interval to check for location.
4. Can save settings automatically v0.3
Well it works like this: (May change per version)
1. Install it.
2. Open the Location Aware(from programs)
3. When ever you start the app it will vibrate the device 2 times and then asks "Add this Location".
4. Click OK and it prompts to save the volume level for this location and save.
5. Adjust the volume level as you desire from the Slider on right hand side of screen.
6. Then goto Menu and Save Location Mode, this should save the setting for this location(Prompt will be displayed).
7. Now you can let the application run itself every X mins to check for new location and prompt you whenever a new location is found.
8. To set the interval time goto Menu -> "Stopped" this should open up a panel to enter the interval time, fill it and click set. "Stopped" should be changed to "Running". Now you can Exit.
9. If prompt is not dismissed or OKayed within 1 min(Automode). It dismisses itself and will prompt again if new location is found after next X mins.
10. The limit for interval is 2-60 mins, that means the app will run itself after every X mins and check for location, if a new location is found it vibrates
and then asks you to save this location or not, in case you dont respond to it, it will close itself after 1 min.
and in case the location was already saved it will automatically apply the volume profile.
Basically as you keep on using it the database keeps on growing and in parallel profile settings gets more customized.
PS: You may notice that the taskbar volume indicator is not changed, but that is normal. The volume setting is still applied as per your choice this issue is fixed in v0.3
V0.2
1. No alert popup will be displayed to inform select n save the location.
2. Save the location mode directly by clicking the volume level image.
v0.3
1. Reflect the volume level changes in the taskbar volume icon
2. New mode added "AutoSave", enabling it makes the app save new location automatically with the last volume preference, whenever a new location is found.
PS. AutoSave mode works in Scheduled mode, if you have set the app to run after a scheduled interval with autosave mode enabled and it detects a new location it will prompt a message-box, if you don't give it a response i.e ignore it, it will add the location automatically after 1 min and will dismiss itself.
for users of previous versions:
It will use the already existing database of location settings, just install it over the previous version.
PCBuddy
This app is used to plot all the collected points by the location aware app on google maps.
Unzip the files and then copy the locations.db file from your device to the same folder on your system. Once the file has been copied Run CreateMap.exe this should generate a html file in the same folder. Run that and see for yourself
Please replace the dll in PCBuddy with the one in 64Bit.zip in case you are using a 64Bit Windows
Suggested setting:
For the first time I suggest to keep the interval at around 5 mins so that it can grab almost all the desired locations. once you feel it is having settings for your daily use u may turn the interval to a higher(suggested 15 mins) so that it can apply the volume settings for the known locations.
SUPPORT LATE NIGHTS- DONATE!
No comments???
Great idea !
By using GSM signal to get your position you avoid to use the gps which take more time to get position + a little battery consumption.
We certainly can find a lot of functions linked to this automatic profile/location system
I will try your app
Vesperial said:
Great idea !
By using GSM signal to get your position you avoid to use the gps which take more time to get position + a little battery consumption.
We certainly can find a lot of functions linked to this automatic profile/location system
I will try your app
Click to expand...
Click to collapse
Thanks Vesperial, hope it works out fine
Hmmm
hmmm and I thought this was useful
it is a nice idea
but as a nice addon it would be cool, if it would be possible to add names for specific cell id locations and if the app would be a today plugin
diboze said:
it is a nice idea
but as a nice addon it would be cool, if it would be possible to add names for specific cell id locations and if the app would be a today plugin
Click to expand...
Click to collapse
thanks diboze,
well your ideas are nice but since i want to keep the user inputs to minimum i went on this way and about making it a today plugin...hmm i m not sure how to do that with a C# app
but suggestions are always welcome
Great Concept!!!!
Just saw your P.S. that the volume icon will not change accordingly...but it works as intended. (Please Fix) Is there a radius on the set locations? I work across the street from our main mall, is why I ask.
I love this concept as I saw the other O.S. had a similar app. (Sweet Dreams)
~PLUR~ Peace Love Unity Respect
~DJyoSNOW~
djyosnow said:
Just saw your P.S. that the volume icon will not change accordingly...but it works as intended. (Please Fix) Is there a radius on the set locations? I work across the street from our main mall, is why I ask.
I love this concept as I saw the other O.S. had a similar app. (Sweet Dreams)
~PLUR~ Peace Love Unity Respect
~DJyoSNOW~
Click to expand...
Click to collapse
Hi djyosnow,
understood your concerns about the radius thing but thaz not in myhands as that thing is dependent on lot of factors like, your disance from tower, signal strength etc. But still you may experiment if you get new location alert in case you are at your office.
n yes this is really nice ~PLUR~
Peace Love Unity Respect
Very good application, specially like me who travel a lot from office to client to mall and to our factory
I will give my comment after i use it...
devya said:
Very good application, specially like me who travel a lot from office to client to mall and to our factory
I will give my comment after i use it...
Click to expand...
Click to collapse
Sure will wait for your inputs. n hope you find it useful
v0.2 Out
Some modification in GUI and user interaction
Re mohitsapru,
i tested your app on my HD, it worked well
I have one suggestion to ease the way we can use it, an option like 'Save the actual sound profile automatically when a new unknown position is found'
Then we can move without thinking about it but it will be good as an enabled/disabled option.
Good job !
Vesperial said:
Re mohitsapru,
i tested your app on my HD, it worked well
I have one suggestion to ease the way we can use it, an option like 'Save the actual sound profile automatically when a new unknown position is found'
Then we can move without thinking about it but it will be good as an enabled/disabled option.
Good job !
Click to expand...
Click to collapse
Thanks Vesperial,
well about your suggestion it sounds good. right now it is dismissing it after 1 min i need to save the location automatically.. hmm sounds OK... will do it next time.
Thanks,
Mohit
Does this app able to detect the change of location if the device switched off(suspended) by power button?
For example:
1. Save volume setting at location A and location B
2. At location A, press power button to turn off the device
3. Move the device from location A to location B
4. Will the volume be changed automatically (without turning on the device) at location B?
ahlok_hk said:
Does this app able to detect the change of location if the device switched off(suspended) by power button?
For example:
1. Save volume setting at location A and location B
2. At location A, press power button to turn off the device
3. Move the device from location A to location B
4. Will the volume be changed automatically (without turning on the device) at location B?
Click to expand...
Click to collapse
Yes, it does. But dont forget to exit whenever you save a location setting
hey there,
this looks brilliant! ill try this out tomorrow!
thanks a lot
MG
MysticGenius said:
hey there,
this looks brilliant! ill try this out tomorrow!
thanks a lot
MG
Click to expand...
Click to collapse
Thanks MG,
Do let me know of your suggestions and experience using it.
Thanks,
Mohit
I have run it on my Samsung I900 Omnia and i think it works perfect.
But here some ideas:
It would be great if you can add 2 or more cells to 1 location (Because i have here to cells at home, and if I use UMTS 3G i had another one)
If you write the cell id a little bit greater.
And expert mode were you add name for cells (i see this wish earlier here, too), and can add more things.
Dtrieb said:
I have run it on my Samsung I900 Omnia and i think it works perfect.
But here some ideas:
It would be great if you can add 2 or more cells to 1 location (Because i have here to cells at home, and if I use UMTS 3G i had another one)
If you write the cell id a little bit greater.
And expert mode were you add name for cells (i see this wish earlier here, too), and can add more things.
Click to expand...
Click to collapse
Hi Dtrieb,
Thanks for trying it out.
Well i will think about the other two options/suggestions but i am not able to get what you meant by the first suggestion Which 2 cells are you referring to?

Tasker/Locale NFC Plugin

I just purchased this plugin to use with Tasker:
https://play.google.com/store/apps/....&purchaseButton=9yzEcX63VIYisA_oRMh13HqYUXs=
Seems to work ok, but ever time it scans my NFC tag it pops up a dialogue asking if I want to "Activate NFC condition" or "New tag collected". I just want it to kick off the action in Tasker without any dialogue. Anyone have experience with this plugin, or should I use something else?
Nevermind... got it working with NFC ReTAG FREE. Works great! Don't mess with the app I posted a link to above, it's a pain to use.
Glad you like NFC ReTag ;-)
For any questions: http://forum.xda-developers.com/showthread.php?t=1477138
kimboinatl said:
I just purchased this plugin to use with Tasker:
https://play.google.com/store/apps/....&purchaseButton=9yzEcX63VIYisA_oRMh13HqYUXs=
Seems to work ok, but ever time it scans my NFC tag it pops up a dialogue asking if I want to "Activate NFC condition" or "New tag collected". I just want it to kick off the action in Tasker without any dialogue. Anyone have experience with this plugin, or should I use something else?
Click to expand...
Click to collapse
Hi kimboinatl!
I'm the developer of the NFC plugin for Locale. The reason why this chooser pops-up is because there are multiple apps on your phone that can handle the NFC-tag that was scanned.
This can be solved by either disabling the other apps that the NFC scan action can choose from or you can create a unique tag following this guide.
I'm glad that you have been able to solve your needs with NFC ReTAG.
May I ask what it is that makes it a pain to use ? The feedback is greatly appreciated so that I might make it more pain free for other users.
Kind Regards
m3llon
m3llon said:
Hi kimboinatl!
I'm the developer of the NFC plugin for Locale. The reason why this chooser pops-up is because there are multiple apps on your phone that can handle the NFC-tag that was scanned.
This can be solved by either disabling the other apps that the NFC scan action can choose from or you can create a unique tag following this guide.
I'm glad that you have been able to solve your needs with NFC ReTAG.
May I ask what it is that makes it a pain to use ? The feedback is greatly appreciated so that I might make it more pain free for other users.
Kind Regards
m3llon
Click to expand...
Click to collapse
Hey m3llon,
I think the the problem was getting rid of the popup. Typically when there are multiple apps that can be launched from an action my phone gives me the option to select a default, but I couldn't do it in this case. I spent a while trying to figure out how to disable the popup, or if there was another app that was causing this, and had no luck, so I ended up uninstalling it. If there was a way to specify what the default action was I probably would have kept the plugin. Sorry if my feedback sounded a bit harsh, I was just grumpy after not being able to get it to work the way I wanted it to. Thanks for checking in with me about it, I appreciate the work you have put into it.
kimboinatl said:
Hey m3llon,
I think the the problem was getting rid of the popup. Typically when there are multiple apps that can be launched from an action my phone gives me the option to select a default, but I couldn't do it in this case. I spent a while trying to figure out how to disable the popup, or if there was another app that was causing this, and had no luck, so I ended up uninstalling it. If there was a way to specify what the default action was I probably would have kept the plugin. Sorry if my feedback sounded a bit harsh, I was just grumpy after not being able to get it to work the way I wanted it to. Thanks for checking in with me about it, I appreciate the work you have put into it.
Click to expand...
Click to collapse
Ok thanks for explaining what the neusens was. That have been fixed in the last update together with the workarounds that's linked in the app description.
Good luck with your future NFC endeavours
Sent from my Galaxy Nexus using Tapatalk 2
Just in case anyone else has issues with the popup, I find that using non-formatted tags doesn't produce a popup. Once the tag is formatted, or if you buy them preformatted, it doesn't look like it can be UNformatted though (wiped, yes.. but not unformatted)
When I first got my GS3 and started scanning everything possible, I found that some tags would produce the popup discussed (despite having no other nfc apps installed), and others wouldn't.. I ended up realising that unformatted tags don't produce the popup.
I ended up using the Tasker/Locale NFC Plugin as I didn't want something else running all the time when I had Tasker for that - and since the plugin uses the serial number (or what I assume is a serial number - it's different on each tag) rather than what's written on the tag itself, there's no need to format it - Same would apply with NFC ReTAG.
So as long as any tags are unformatted, you should be good to go.
So I bought the plugin and wrote the bad://access/developer URL to one of my tags. I scan it and Locale reacts accordingly.
But then what? Locale is in that situation forever.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Trinition said:
So I bought the plugin and wrote the bad://access/developer URL to one of my tags. I scan it and Locale reacts accordingly.
But then what? Locale is in that situation forever.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Yes, you will have to scan another tag to exit the situation.
For using Tasker with NFC Tags I like Tasker URL Launcher the best. Once installed you simply write a short URL that ends with the name of your Tasker Task to a tag then anytime you tap that tag it intiates that Tasker Task.
I did at one time have issues with those pop-ups (new tag collected) and through much searching found that I needed to disable a system app on my Galaxy S3 called "Tags". It wasn't there on ICS, but was after the update to Jelly Bean so not sure if it's something Android added into JB and not sure why they would or what it's purpose is, but disabling it fixed the annoying pop-up issue and has had no affect on reading/writing tags with various apps.
Kaibosh said:
Just in case anyone else has issues with the popup, I find that using non-formatted tags doesn't produce a popup. Once the tag is formatted, or if you buy them preformatted, it doesn't look like it can be UNformatted though (wiped, yes.. but not unformatted)
So as long as any tags are unformatted, you should be good to go.
Click to expand...
Click to collapse
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
dragon_76 said:
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
Click to expand...
Click to collapse
Thanks for that.. That definitely wasn't the case when I wrote the post as I'd tried with numerous apps (including NFC Tagwriter, which is also my go to app for writing) and using the Clear option left the tag wiped, but did not leave it in the same state as prior to formatting.
Also, the developer of the app implemented a direct url that could be written to the tags so that only this app is launched - so the need for unformatted tags (when using this app at least) is somewhat moot.
I have this app and I must say it makes building tasks extremely tedious.
If you want to scan the same tag twice, you have to put an action in your task to disable the first task after the first one is done and then put a disable of the task you are running in the second task.
Also, both need to run as exit tasks.
It would have helped if the dev used some better logic and came up with exit tasks on repetitive scan
Sent from my DROID RAZR MAXX HD
dragon_76 said:
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
Click to expand...
Click to collapse
You can also use the app StartNFC Expert to "unformat" a tag. It's a great simple app for formatting/unformatting and testing tags and seeing what types they are etc.
It's extremely disappointing they the developer has completely abandoned this plugin.
Solution
Hello !
A solution I found to avoid this popup :
- Scan a tag (popup appears)
- Long press on the unwanted app
- Choose disable
- Enjoy the plugin
You can also go to your apps list and search "tags" and disable it
Hopefully pent does something with NFC in the next version of Tasker so we can be rid of this unsupported plugin.
Sent from my Nexus 7 using Tapatalk
Hoping someone is still using this plugin and can answer my question...
Do I have to have two tags if I want an on / off tasks? For example, I have hue lights and I would like to turn off the bedroom light on / off with the same NFC tag but not sure if that is possible
No.. Just use the check box for repetitive scan
Ignore: Haha I accidentally posted in the wrong thread.

[Q] Basics

I have a Samsung Galaxy SIII and just made my first NFC-steps using some Samsung TecTiles tabs.
After trying a few NFC apps from the Google play, I have a few basic questions.
While basic functions like p.ex. switching Bluetooth are available in all apps, other functions like p.ex. showing a pop-up, text-to-speech or calendar functions are only available in only in one particular app.
Is there a predefined set of nfc-functions for any given android version or the app-author is basically free to program any function he can think of?
I tried to import a tag in one app which i previously have written with another app. This didn't always succeed. I could understand that there is a problem with importing special functions which are unknow to an app, but at least the basic tag and the basic functions should be recognised by all nfc-apps.
As the nfc-apps progress, will we see new functions/possibilities or will it stay about at the present level as the available functions are limited by android?
My device is locked, mainly because it was mandatory by a VPN installation.
Is there a way to unlock it 'automatically' thru NFC? I know this can be a security issue, but it would be so handy just p.ex. to put the phone in the car-holder and it would automatically go to the home screen or the car screen, and also during driving its annoying when the device has a time lock and needs to be unlocked in the middle of an intersection......
What is the power consumption of the nfc-module in the S3?
Thanks for your input.
Rgds
sansibar said:
I have a Samsung Galaxy SIII and just made my first NFC-steps using some Samsung TecTiles tabs.
After trying a few NFC apps from the Google play, I have a few basic questions.
While basic functions like p.ex. switching Bluetooth are available in all apps, other functions like p.ex. showing a pop-up, text-to-speech or calendar functions are only available in only in one particular app.
Click to expand...
Click to collapse
I think, I know which app you mean
Is there a predefined set of nfc-functions for any given android version or the app-author is basically free to program any function he can think of?
Click to expand...
Click to collapse
There is a set of predefined nfc-functions, (like open a webpage, vcard, open an app..) but this set is very very limited and even the mentioned Bluetooth function is not included .... in fact, bluetooth needs a little hacking, because the official api does not support to turn on bluetooth without asking the user .....so basically a developer can (/ has to!) implement every function he wants, but in reality a lot of functions are blocked on non-rooted devices, because android defined them as security related....
I tried to import a tag in one app which i previously have written with another app. This didn't always succeed. I could understand that there is a problem with importing special functions which are unknow to an app, but at least the basic tag and the basic functions should be recognised by all nfc-apps.
Click to expand...
Click to collapse
As mentioned the basic set is very limited.... it´s based on the nfc forum specifications and using nfc to control your device, is something these guys never had in mind ....so, sure you could use some standard nfc writer and write a webpage on a tag..... and this should be something every nfc device (not only android, but also blackberry, windows phone etc...) could handle .... but if you want to control your device, you need a more sophisticated app .... and there is no way to import a tag from one app to another ...
As the nfc-apps progress, will we see new functions/possibilities or will it stay about at the present level as the available functions are limited by android?
Click to expand...
Click to collapse
The functions are limited by android .... and my feeling is, that with every android update it get´s more limited! --> on Gingerbread, nfc was enabled while screen was off --> a function they skipped with ICS (ok, again, on a rooted device you could change the NFC.apk, to re-enable it) ... the last JB update declared the airplane modes as a security feature ... so no luck with airplane mode since 4.2 ...only to mention 2 examples ...don´t get me wrong, I don´t think it will stay at the present level, but it´s definitiv not in googles focus yet .... personally, I have a lot of new functions and use cases on my ToDo list, so I would say it´s just the beginning
My device is locked, mainly because it was mandatory by a VPN installation.
Is there a way to unlock it 'automatically' thru NFC? I know this can be a security issue, but it would be so handy just p.ex. to put the phone in the car-holder and it would automatically go to the home screen or the car screen, and also during driving its annoying when the device has a time lock and needs to be unlocked in the middle of an intersection......
Click to expand...
Click to collapse
yep, but again some hacking is envolved ... root your phone, change the nfc.apk, etc. ...I think there are several threads regarding this topic available ....
EDIT: Link added: http://forum.xda-developers.com/showthread.php?t=1853721
What is the power consumption of the nfc-module in the S3?
Click to expand...
Click to collapse
Forget it .... it doesn´t make a significant difference, if you have NFC enabled or disabled ....
Thanks for your input.
Rgds
Click to expand...
Click to collapse
no problem

[APP][IR][ALPHA] TvTerminator [Testers needed!]

Hi @ all
As already mentioned in the "3rd party ir app" thread, I'm working on a TV-B-GONE like app for the HTC One.
The app should be capable to:
• Sync tv-off-codes with an online database
• Send all known (in database) codes out through IR blaster
• Learn an off code and upload to database for other users
All these features maybe already work, but I can't test it as I don’t have my HTC ONE yet!
So if you wanna try, download it from and here and give me some feedback in the thread
• There is a good chance that the app doesn’t even start – I can't test any of the IR blaster related functions! – That’s why I need you until I get my phone :laugh:
• The app sends bug reports to me using bugsense – you can disable this feature in the options if you don't want to send reports! If you disable and get an force close -> please send me the logcat
• The database view is not fully implemented, you can list vendors and search for models but if you click on vendor / model nothing will happen
• Database sync on startup can be disabled in settings
• The Database is EMPTY now(except of one vendor), so don’t wonder if nothings getting synced
Used permissions:
• INTERNET -> For online syncing
• ACCESS_NETWORK_STATE -> To pre-check if sync is possible (not in flight mode)
Future:
• Making the app fully work.
• Making a universal remote app with database sync. So any user can scan his codes (not only power off codes), tag them, create remote layouts, upload schemes for a device, etc. Usable for any IR device (tv, hifi, Roomba, etc)
Changelog
(04.05.2013) Version 0.5:
• old IR blaster control
• send code when click on model name in model search box
(03.05.2013) Version 0.5:
• debug toasts
• new IR blaster control
• send all codes on main thread
(03.05.2013) Version 0.4:
• Bugfix where local recorded codes were not sent out
• Removed test buttons
• Learn-Timeout can be adjust in app settings
(03.05.2013) Version 0.3:
• New Send command used, maybe works now with "all off"
• Some test buttons to debug
(02.05.2013) Version 0.2:
• New Code format (sorry, had to purge the whole database). Old Version will not work anymore.
• Some Bugfixes
• Update check on startup
Download link of version 0.6
http://goo.gl/sjXzi
I'll take the plunge
Will let you know how it goes.
Theres already a new entry for a "dreambox" so recording codes (can) work.
Thx for trying!
antifish said:
Theres already a new entry for a "dreambox" so recording codes (can) work.
Thx for trying!
Click to expand...
Click to collapse
Ok. So given her a spin.
nothing happened lol.
installed fine. I have a LG tv and a virgin TiVo digital box (made by Cisco)
when you go to the search box, enter just moves down to the next line. it doesn't "enter" if that makes sense.
See attached pics anyway.
Hope it helps.
Thanks for the info.
That was excepted - you see vendors "sony" (dummy vendor by me) and vendor "" (empty, ill catch that in the next version) which someone who uploaded a code for a dreambox. As mentioned before, database view is not fully implemeted, you only see vendors ("Sony" and "") and models("dreambox") which other ussrr uploaded until now. Please try recording an offcode for one of your devices
Cool.
Sorry, I must of originally miss understood. Thought you had just added Dreambox to the list of others.
Ill keep an eye out for when you add LG on there
Keep up the good work though. What exactly is the end purpose of the app?
From what I can see, it would be a perfect app for me to prank friends and family whilst at home messing with the TV "quickly" instead of going through setting up the tv first.
:victory:
Downloaded.
Was going to try with the TV at my office but its LG also.
Ill test at home with a Samsung and a Panny.
Hi and thanks for this app, i was able to learn 2 codes, it turned off my TVs when using "Test Code (ir)" button before uploading, but once uploaded (the Panasonic one and a Samsung one are mines) i can't use "all off!" command, i'm still stuck at "Sending codes : 4/10" and then it FC ...
Maybe you could add a tool to try code from database (when pushing on a brand name, sending all codes for this brand) and to avoid duplicates ...
ps : sorry for my english
snowblind2142 said:
Cool.
Sorry, I must of originally miss understood. Thought you had just added Dreambox to the list of others.
Ill keep an eye out for when you add LG on there
Keep up the good work though. What exactly is the end purpose of the app?
From what I can see, it would be a perfect app for me to prank friends and family whilst at home messing with the TV "quickly" instead of going through setting up the tv first.
:victory:
Click to expand...
Click to collapse
michael.s.under said:
Downloaded.
Was going to try with the TV at my office but its LG also.
Ill test at home with a Samsung and a Panny.
Click to expand...
Click to collapse
scarabe17 said:
Hi and thanks for this app, i was able to learn 2 codes, it turned off my TVs when using "Test Code (ir)" button before uploading, but once uploaded (the Panasonic one and a Samsung one are mines) i can't use "all off!" command, i'm still stuck at "Sending codes : 4/10" and then it FC ...
Maybe you could add a tool to try code from database (when pushing on a brand name, sending all codes for this brand) and to avoid duplicates ...
ps : sorry for my english
Click to expand...
Click to collapse
Thanks guys for downloading and testing.
I think there is a little misunderstanding here -> i dont add vendors or devices or codes (at least not until i get my HTC ONE finally).
Its you, the useres, which upload codes. If you enter a model or a vendor which is unknown for the database, it will be created and then usable for everybody else.
@scarabe17
Thanks for the feedback. The force closes is becasue there are some wrong ir codes (data is invalid) in the database from failed uploads. will be fixed in the next version.
I have a lot of ideas what to implement in the app, and as mentioned before, the "tv-b-gone" functionalty (send all known off-codes) will be only a "special function".
The end purpose is an universal IR remote app, with community driven code uploads for all kind of devices and codes (not only power off).
There will be a "layout editor" where you can create your own layout with custom buttoms mapped to custom functions, and you will can share that with other users.
regards
antifish
This will be something cool
Please note, there is version 0.2 now!
Dont use 0.1 anymore, new codes will not work and upload will not be possible!
I had to purge the whole database (sorry to you who already uploaded a code) the format in database was a bad choice.
(details: i used java objectwriterstream to serialize the IR data, and if HTC will change something in that class it cant be serialized back without some trouble, so i changed to a json format)
also there should (hopefully) be less force closses.
and there is a check for updates, so you will notice when i upload the next version
uploaded my panasoic tv model
would be nice here to keep an update of model list cause apps, only show sony.
Also you should add a Vol + button cause at the end its more annoying in shops to set volume to the max than turn tv off
nocomp said:
uploaded my panasoic tv model
would be nice here to keep an update of model list cause apps, only show sony.
Also you should add a Vol + button cause at the end its more annoying in shops to set volume to the max than turn tv off
Click to expand...
Click to collapse
Thanks for the upload!
Can you please sync the database (with the sync icon in the actionbar). At least the Panasonic should apper now, as you uploaded it!
(Sony + Pansonic are the only two venors in the database now)
db synced, model showing, but not working.
you should apply for htc ir api for get codes, cause if you fill the db only with ppl having a htc one member of xda, i doubt you ll reach 50 models
Tried to learn my LG Remote. Got 3 different error-messages.
"Out of Frequ"
"Timeout"
and something with "Pulse"
nocomp said:
db synced, model showing, but not working.
you should apply for htc ir api for get codes, cause if you fill the db only with ppl having a htc one member of xda, i doubt you ll reach 50 models
Click to expand...
Click to collapse
what do you mean with "not working"? The database view actually does nothing when clicking on a model or vendor, thats not integrated yet. The only thing which should happen is that when you press "all off" it should turn off your tv :fingers-crossed:
I have the HTC IR API but it does not provide access to the integrated code database (or i don't know how). I'll decompile a ROM to look after the codes when i have time, maybe i find something! Its no easy to try these things as i dont have a HTC ONE at the moment (still waiting)...
I hope that the next HTC models will all have the IR blaster integrated! And when the app is ready i hope that it gets more response and codes in the play store.
When i got time and be in the mood i'll have a look at the galaxy S4, as it have an IR blaster integrated too, and it would be nice to have an app that support every pontetial model.
s60mike said:
Tried to learn my LG Remote. Got 3 different error-messages.
"Out of Frequ"
"Timeout"
and something with "Pulse"
Click to expand...
Click to collapse
how often did you tried to learn the code?
I'll make the timeout variable in the next version.
Maybe it works better in a darker room?
Ola, lemme know if i can help
When i say not working, it means my tv doesnt turn off
Envoyé depuis mon HTC One avec Tapatalk
nocomp said:
Ola, lemme know if i can help
When i say not working, it means my tv doesnt turn off
Envoyé depuis mon HTC One avec Tapatalk
Click to expand...
Click to collapse
Okay, maybe the data is corrupt (in the database), the scanning of the IR code is not as good on the ONE
as desired, or there is a bug in sending the codes.
Can you please learn the code 2..3 times again? I'll can compare the data then and see if the scanned data is
always the same
Oki i ll try
Envoyé depuis mon HTC One avec Tapatalk

NFC Door card Emulator

Hey guys not my app. i found this app on a chinese forum.
I have read few posts here about people wanting to emulate their Mifare NFC work door cards (Yes, you at that co-working space) Just tried and can confirm it works with my 6P root required
1. Use Mifare Classic to read my door card
2. Apparently it works 100% if only sector 0 has data. probably encryption.
3. Use the app to read my door card and store data
4. It worked!
cant post outside links yet :(
Its called NFC Emulator NFC门禁卡模拟器 in Chinese
Some chinese dude used this to put more money in his Dining card in Uni LOL
i don't want to share the app until i get the permission from the maker.
Would you be kind to share
Sent from my SM-N920T using Tapatalk
http://www.coolapk.com/apk/com.geektoy.nfcemulator
Anyone good at reading Chinese?!
Mateus109 said:
http://www.coolapk.com/apk/com.geektoy.nfcemulator
Anyone good at reading Chinese?!
Click to expand...
Click to collapse
I was the user of NFC Emulator too. It works perfectly on my old HTC Desire EYE but failed on my S7 Edge, still keep trying to solve this problem.
The link you post is dead, try this instead (http://nfcemulator.bmob.site/), this is the official download link. Just click the "Android" button and the download will begin, or you can scan the QR code below it.
http://imgur.com/a/XYaQf
Btw this is the official website (https://nfcemulator.kuaizhan.com/)
I did some simple translation in the picture down there, hope that this could help you guys, though the website is almost Chinese
http://imgur.com/a/LyzP5
Anyone is able to do a quick tutorial about how to use it?
Everything in Chinese makes it impossible to use even with @hyes93214 information.
I can read the card, and it shows up in the app, but..., then, how do I emulate it?
I attach an image of what I see.
Lost in translation, uhm, payment...
I translated screenshots of most parts of the app by using the google translate app and tried to get it to work. Spoiler: no success so far.
The second button is the one to start simulating the card, BUT it always fails.
You will see a notification on the bottom of the screen. Translation: "The simulation failed, the phone is not logged in or not registered."
Long story short:
1. You need to install the QQ app and create an account. It took the hard way and installed the Chinese app. There is an international app which might work, too. Update: It doesn't work with the international app.
2. Then you can login (the person icon with the + symbol) and authorize the app to access your QQ-account.
3. You need to register the app by paying 9.99 Chinese Yuan via Alipay or WeChat payment.
I'm stuck at step 3 because Alipay is "currently not available in the country or region" where I live (Germany) and I blocked my WeChat-Account right after creating it. :silly:
Update: To use the payment option in WeChat yout have to add a Chinese Bank Card. Well, I don't have one.
Here is the translation of the app:
Notification on start:
Be sure to log in online for the first time using the program.
You can use it offline after logging in.
Click to expand...
Click to collapse
Main menu
1. Restart NFC
2. Start simulation
3. Start writing
4. Card maintenance
5. Key restore
tips: Write function needs to match custom white card
Click to expand...
Click to collapse
Restart NFC
Prompt
Please choose how to restart NFC
Buttons: Manual restart, Forced restart
Click to expand...
Click to collapse
First button opens Android Settings "Wireless & networks"
Second button restarts NFC automatically (requires root)
Start simulation
Select card (do not indicate current ID)
Buttons: help, ok
Click to expand...
Click to collapse
Click help:
Simulation help:
1. The simulation function requires a root phone, some models need to unlock the system.
2. Some mobile phones need to manually select the HCE option, otherwise the card does not respond or play various pay.
3. Right slide the main interface with functions settings, you can set the default SE.
4. The simulation front access control does not respond to the mobile phone. There is usually no reaction after the simulation.
5. After the simulation, the acccess control has a response but does not open the door. The access control may be encrypted.
6. If you have any questions, you can click on the small house in the upper right corner of the main interface or join the official Q group to find the answer.
Click to expand...
Click to collapse
Clicking ok leads to notification:
Simulating AB:CD:EF:GH, please wait
The simulation failed, the phone is not logged in or not registered
Click to expand...
Click to collapse
Start writing
Select card
Buttons: help, ok
Click to expand...
Click to collapse
Click help:
Write function help:
1. Write function does not require root phone.
2. The write function needs to buy a special white card.
3. After writing a white card, the white card becomes your access card, and the white card is used to swipe the door.
4. White cards come in many styles, including patches, rings, etc.
5. Some castrated NFC phones do not support white card writing.
6. If you have any questions, you can click on the small house in the upper right corner of the main interface or join the official Q group to find the answer.
Click to expand...
Click to collapse
Card maintenance
Buttons for each card: modify, delete
Button on the bottom: quick restore
Click to expand...
Click to collapse
Notification:
Click the card icon to send a card shortcut to the desktop or save the card
Click to expand...
Click to collapse
Click the N left to a card
send to
Please choose to send the card AB:CD:EF:GH to:
Tips: If the send shortcut fails, check if the program has permission to send shortcuts
Buttons: share it, desktop
Click to expand...
Click to collapse
share it
opens "share to" menu
desktop
Notification:
The shortcut has been sent, please remember to give the program permission to send desktop shortcuts
Click to expand...
Click to collapse
modify
Prompt
Name: AB:CD:EF:GH
Data: AB:CD:EF:GH
Buttons: cancel, ok
Click to expand...
Click to collapse
delete
Are you sure you want to delete this card?
Buttons: cancel, ok
Click to expand...
Click to collapse
quick restore
send to
Please select to send the card: One-Click restore to:
Tips: If the send shortcut fails, check if the program has permission to send shortcuts
Buttons: share it, desktop
Click to expand...
Click to collapse
Key restore
prompt
Are you sure you need to restore your system NFC?
Buttons: help, ok
Click to expand...
Click to collapse
Click help:
Restore features help:
1. The NFC setting will be recorded when the software first simulates. When it is restored, it will return to this setting.
2. If you have any questions, you can click on the small house in the upper right corner of the main interface or join the official Q group to find the answer.
Click to expand...
Click to collapse
Side menu
1. One-click login
2. Adapter file
3. Factory settings
4. Function setting
5. User community
Click to expand...
Click to collapse
One-click login
Notification: Going to QQ login
Opens QQ app to login or leads to webpage:
QQ
You have not installed the latest version of QQ, please download and install it first, login is faster and safer.
Button: Download QQ
feedback
Click to expand...
Click to collapse
Button leads to direct download of QQ app
Adapter file
Switch: Using universal adapter file
Separator, NFC control file address
The first half of the NFC control file
The second half of the NFC control file
Button: ok
Click to expand...
Click to collapse
Factory settings
Prompt
Clicking OK will delete all data of the program and return the program to the initialization state!
Buttons: cancel, ok
Click to expand...
Click to collapse
Function setting
Function setting
Switch: Analog functions switch
Switch: Write function switch
Switch: Key restore switch
Switch: Key switch SE switch
Simulation settings
NFC-SE settings
Button: ok
Click to expand...
Click to collapse
NFC-SE settings
SE setting (does not indicate the current SE)
Buttons: help, ok
Click to expand...
Click to collapse
Click help:
SE settings:
1. NO SE: Do not set SE, is the HCE mode, most mobile phones can solve the problem of dynamic ID after selecting this item.
2. eSE: Built-in SE, if you want to use the mobile phone's own various pay or HCE while simulating the access control, you need to choose this, but select this part of the mobile phone will have a dynamic ID.
3. UICC: sim se, some phones that support nfc-sim, you need to select this option if you want to simulate the access control and use the ncf_sim function at the samet time; in short, the choice of these option is not dangerous to the mobile phone.
4. You can choose to try each one during the test until you find the option that suits you.
enjoy
Click to expand...
Click to collapse
User community
Notification:
Entering the community, there are all kinds of good things about software
Click to expand...
Click to collapse
=> redirects to https://nfcemulator.kuaizhan.com
Side menu (logged in)
1. Logout (warning: logs you out instantly - no safety prompt!)
2. Register now
3. Backup card
4. Restore card
5. Adapter file
6. Factory settings
7. Function setting
8. User community
Click to expand...
Click to collapse
Logout
Logs you out instantly - no safety prompt!
Register now
Buy a cup of milk tea for the author
I am the author of the software, thank you for your support of the software.
You can sucessfully register and use the software permanently.
Support, I can spend more energy to improve the software.
Hello everyone, now I only need to spend 9.99 yuan to buy a cup of milk tea for the author.
I also use your spare time to develop software.
Please read the tutorial provided by the community carefully.
Because, before the payment is registered, make sure the software can support you.
Mobile phones and access control are re-paid because the third-party payment platform account and handling fees, etc., cannot be refunded after purchase.
Please understand.
After the payment is successful, if the registration fails, please press the text description on the interface, and then clickt the [payment registration] button to register.
Button: Alipay
Button: WeChat payment
Button: cancel
Click to expand...
Click to collapse
Notification: Waiting for registration page, please be patient
The payment buttons lead to the two payment services.
Backup card
prompt
After uploading the card, it will overwrite the data stored on the server.
If you need to save the data on the server, please download it to the local and organize the card data and upload it again!
Buttons: cancel, ok
Click to expand...
Click to collapse
Restore card
prompt
Click OK to download the card data from the servern, and the downloaded data will be merged with the local data!
Buttons: cancel, ok
Click to expand...
Click to collapse
Adapter file
same as if not logged in
Factory settings
same as if not logged in
Function setting
same as if not logged in
User community
same as if not logged in
I realy wanted to try some NFC stuff:
My steps:
1. so to make things a lot easier just use: AllTrans . It will translate all resources in the app. You need to get yandex api key, as written in the post.
https://forum.xda-developers.com/xposed/modules/xposed-alltrans-completely-translate-t3539878
2. Install QQ (Also translated by Alltrans) and log in (create account if needed). I had to disable AdAway in order to login
3. Press register and pay 9 yuan (about 1 usd) luckily i have always some yuan in my wechat account (i have some chinese friends but you can use online services to top up)
to be continued
I can help.
Hi.
I live in China and I know some Chinese. If I can help you please let me know how.
I used all-time NFC cars door so I also interested.
May suspecting
This app come from chine, and chine gov loves spy anyone!
This app need root, and at first run start download one suspecting file, maybe virus?
Someone need do dinner security test, before trust!
eekthecat said:
This app come from chine, and chine gov loves spy anyone!
This app need root, and at first run start download one suspecting file, maybe virus?
Someone need do dinner security test, before trust!
Click to expand...
Click to collapse
West gov loves spy much more.
تم الإرسال من Xperia Z2 باستخدام Tapatalk
I have somehow able to simulate my NFC lock door using this Chinese app. First, you go to the NFC Emulator window, put your tag under your phone NFC chip. It should show you the ID of the tag. Then click the button between ID and version, this should add/save the card. After this, click menu 2 to simulate the card, if you have more than 1 tag, it will give you option to choose which tag to be simulated.
Other alternative is NFC Card Emulator. Free version only allows user to simulate the 1st registered card.

Categories

Resources