[Q] Can I use my GN NFC with a Wiegand Proximity Reader? - Samsung Galaxy Nexus

I'm not sure if the GN Near Field Communication (NFC) is the same tech as the Wiegand Proximity cards and readers we have at work. Does anyone know if it would be possible to have my phone transmit my key number so that I could use it on the door sensors?
I asked the IT guy at work and he was not sure. He told me our card readers are Wiegand Prox(imity) 126 bit readers. The access key card I have is broadcasting a number code which I know what that is. I was hoping to be able to program this number code into the GN NFC and use it as a spare access key card.
Anyone?
Jim

Android is not capable of card emulation currently.

OK thanks. By currently do you mean they have the physical capability but no software has been written? Are you aware of plans to add this in the future?
Jim

calaski8123 said:
OK thanks. By currently do you mean they have the physical capability but no software has been written? Are you aware of plans to add this in the future?
Jim
Click to expand...
Click to collapse
After looking around the NFC hacking sub-forum, i can say it's not going to happen anytime soon. I read a lot of post over there that says you need access to the Secure Element which is not going to happen(at least now)

OK well thank you for the answer. that is unfortunate. It seemed a nice addition to the phone's capabilities.
Jim

Should be possible on 4.4
I believe android 4.4 should allow this now:
developer.android.com/guide/topics/connectivity/nfc/hce.html
Unfortunately I've not seen an implementation yet

Related

[Q] Is my NFC broken? Hints for troubleshooting NFC

Hi guys,
I believe that the NFC chip in my device (battery) is broken. I have tried two different NFC reader applications and swiped my library card, my RFID keyring for work and my gym card with no success. I turned NFC off and on, rebooted the phone, nothing.
Is there anything else I can do to troubleshoot the NFC chip? I want to make sure its a hardware fault before I turn it in.
I have unlocked the bootloader and rooted via superboot, and it's been flashed with yakju 4.0.2 from googles website.
ipkryss said:
Hi guys,
I believe that the NFC chip in my device (battery) is broken. I have tried two different NFC reader applications and swiped my library card, my RFID keyring for work and my gym card with no success. I turned NFC off and on, rebooted the phone, nothing.
Is there anything else I can do to troubleshoot the NFC chip? I want to make sure its a hardware fault before I turn it in.
I have unlocked the bootloader and rooted via superboot, and it's been flashed with yakju 4.0.2 from googles website.
Click to expand...
Click to collapse
Does NFC enable in settings? Capture a logcat when enabling.
Are you sure that the tags you are scanning operate on the correct frequency (13.56 Mhz)? If so capture a logcat when you try to scan the tags. Capture a logcat when trying to read a tag.
I know this might sound stupid but I'm being serious. Can someone actually explain to me what NFC is, how GNEX can use it and what can be done now with it? I just need it simple terms, searching it online just drove me crazy.
Thanks, appreciate the help.
krohnjw said:
Does NFC enable in settings? Capture a logcat when enabling.
Are you sure that the tags you are scanning operate on the correct frequency (13.56 Mhz)? If so capture a logcat when you try to scan the tags. Capture a logcat when trying to read a tag.
Click to expand...
Click to collapse
Thank you for helping. Yes, NFC seems to startup alright according to logcat, no error messages or warnings when I do this. I also see messages "NFC-EE routing ON" and "NFC-C polling ON". The log is too long to post it for you.
I also tried logcat during scan but it didnt notice anything.
No, I am not sure that my tags are operating at 13.56 Mhz... Perhaps they arent. Have to look this up!
Somebody in Sweden knows anything I could test my NFC against?
bal1985 said:
I know this might sound stupid but I'm being serious. Can someone actually explain to me what NFC is, how GNEX can use it and what can be done now with it? I just need it simple terms, searching it online just drove me crazy.
Thanks, appreciate the help.
Click to expand...
Click to collapse
NFC is for Near-Field Communication and is a wireless communication standard that only operates at a very short instance, eg. 1-4 cm. It can be used as a replacement for regular debit cards so instead of using your card when you go to the shop you just swipe your mobile phone against the shops sensors and enter your pin code to pay. It can also be used to perform a secure handshake, for example if I come to a friends house and I want to access his WiFi, I'll just swipe my phone close to his Wifi Router and they will pair and share the network encryption key. The security in this is that no unauthorized person should be able to get within 1-4 cm of the router to get the encryption key - and NFC simply does not operate at longer ranges then this. These are a couple of things I know are coming with the NFC technology, there's probably alot more stuff we can do with this. Oh btw, we got the Android Beam aswell!
http://en.wikipedia.org/wiki/Near_Field_Communication
http://www.engadget.com/2011/10/18/google-announces-nfc-based-android-beam-for-sharing-between-phon/
ipkryss said:
Hi guys,
I believe that the NFC chip in my device (battery) is broken. I have tried two different NFC reader applications and swiped my library card, my RFID keyring for work and my gym card with no success. I turned NFC off and on, rebooted the phone, nothing.
Is there anything else I can do to troubleshoot the NFC chip? I want to make sure its a hardware fault before I turn it in.
I have unlocked the bootloader and rooted via superboot, and it's been flashed with yakju 4.0.2 from googles website.
Click to expand...
Click to collapse
do you have an extended non Samsung battery or just a non Samsung battery? Or is your battery exterior damaged in any way?
ipkryss said:
Thank you for helping. Yes, NFC seems to startup alright according to logcat, no error messages or warnings when I do this. I also see messages "NFC-EE routing ON" and "NFC-C polling ON". The log is too long to post it for you.
I also tried logcat during scan but it didnt notice anything.
No, I am not sure that my tags are operating at 13.56 Mhz... Perhaps they arent. Have to look this up!
Somebody in Sweden knows anything I could test my NFC against?
Click to expand...
Click to collapse
see if you can find someone with one of the latest nokia phones with NFC support, or is there any nokia show room nearby, you can try connecting their NFC/BT headsets.

[Q] Copy tag to phone

Hi
Here at the university we use a NFC card to check in. Is it possible to copy the tag to my phone so I don't have to carry my student card around?
Depends
Sent from my LS670 using XDA
Shark_On_Land said:
Depends
Sent from my LS670 using XDA
Click to expand...
Click to collapse
Wow, helpful much?
I'd like to know this too.
thx
arjun rajput
+1
I like to know this to.
(Here at the university we use a NFC card to check in. Is it possible to copy the tag to my phone so I don't have to carry my student card around?)
Hi Samuel
I believe this is not possible right now, as there are security measures in place to prevent fraudulent use, but give it a couple of months there will be apps you can download , to copy re-writeable NFC tags to your phone, making your phone work as an emulator of some sort.
virus007 said:
(Here at the university we use a NFC card to check in. Is it possible to copy the tag to my phone so I don't have to carry my student card around?)
Hi Samuel
I believe this is not possible right now, as there are security measures in place to prevent fraudulent use, but give it a couple of months there will be apps you can download , to copy re-writeable NFC tags to your phone, making your phone work as an emulator of some sort.
Click to expand...
Click to collapse
To emulate cards with your NFC phone, you have to have full control of the secure element. In the Nexus phones, access to the secure element is restricted to Google - only they have the codes to access it. In non-Nexus phones like the SGS2, they don't even have built-in secure elements and therefore have to rely on SIMs, which are in turn controlled by operators. Without access to the secure element, you won't be able to emulate another card. So, no, even in a few months you won't be able to copy a tag and emulate it from your phone. Unless Google opens up the secure element to, which is unlikely.
To OP: Even if you could actually copy the contents of the card and then emulate it, this might not be enough. Many schools use just the UID of the card to associate it with your account on their system. This means that there's a good chance that your card actually has no data on it. Furthermore, phones aren't currently able to emulate UIDs. You're out of luck.
LoveNFC said:
To emulate cards with your NFC phone, you have to have full control of the secure element. In the Nexus phones, access to the secure element is restricted to Google - only they have the codes to access it. In non-Nexus phones like the SGS2, they don't even have built-in secure elements and therefore have to rely on SIMs, which are in turn controlled by operators. Without access to the secure element, you won't be able to emulate another card. So, no, even in a few months you won't be able to copy a tag and emulate it from your phone. Unless Google opens up the secure element to, which is unlikely.
To OP: Even if you could actually copy the contents of the card and then emulate it, this might not be enough. Many schools use just the UID of the card to associate it with your account on their system. This means that there's a good chance that your card actually has no data on it. Furthermore, phones aren't currently able to emulate UIDs. You're out of luck.
Click to expand...
Click to collapse
Clearly, a direction NFC will follow. There's no way users will allow something like that to remain as neutered as it currently is. It just (seemingly) has not worked that way in the past.
thanks
thanks

[Q] HTC One X NFC Reader/Writer

Hi XDA,
I'd like to confirm with you guys if you already tested HTC One X NFC to write on tags? Reading should not be an issue. What tag types can you recommend on writing using One X's NFC?
Thanks,
Skidz
I bought a starter pack of tags from rapidnfc which included a variety of different size sticker tags, a wrist band and a key chain fob.
I have written a few tags to test them out but only have 1 that I'm using in a real world situation (stuck to my laptop so I scan it turns my phone into a wifi hotspots which my laptop then connects to.
Sent from my ARHD powered HOX
I read and wrote some 1K and 4K cards and tags and also read an E-Passport (image, data...), no problems.
I also ordered a started pack from rapidnfc looking forwards to some stickers...
NFC Writing
tehdomil said:
I bought a starter pack of tags from rapidnfc which included a variety of different size sticker tags, a wrist band and a key chain fob.
I have written a few tags to test them out but only have 1 that I'm using in a real world situation (stuck to my laptop so I scan it turns my phone into a wifi hotspots which my laptop then connects to.
Sent from my ARHD powered HOX
Click to expand...
Click to collapse
Thanks for the info. How's the writing time? and what app did you use for writing?
NFC Tag Writer
zvieratko said:
I read and wrote some 1K and 4K cards and tags and also read an E-Passport (image, data...), no problems.
I also ordered a started pack from rapidnfc looking forwards to some stickers...
Click to expand...
Click to collapse
Hi,
Which e-passport are you referring? Are the cards and tags rewritable also?
Thanks
skidz13 said:
Hi,
Which e-passport are you referring? Are the cards and tags rewritable also?
Thanks
Click to expand...
Click to collapse
Czech passport with biometry - I think all new European passports (can) have RFID inside. All that was needed to read it was to provide passport number, date of birth and expiration date, and it decrypted the passport and displayed info (used NFC Taginfo app.)
Yes, when you buy blank cards they are rewritable, even some cards you get for access to buildings/garages, or loyalty cards are not locked and can be re-used (depends on how serious they were about security ).
anybody knows how the power usage is for NFC?
Is it a huge drain on the battery?
a friend of mine has some tags laying around and i'm picking them up next saturday.
Want to program a few tags for a couple of tasks
1) Disable BT and enable WiFi when i'm home
2) Disable WiFi and enable BT when i'm in the car
3) Start NAV when i dock my phone in my car mount
4) Disable WiFi and BT when i'm @ work
HOX NFC Topic
zvieratko said:
Czech passport with biometry - I think all new European passports (can) have RFID inside. All that was needed to read it was to provide passport number, date of birth and expiration date, and it decrypted the passport and displayed info (used NFC Taginfo app.)
Yes, when you buy blank cards they are rewritable, even some cards you get for access to buildings/garages, or loyalty cards are not locked and can be re-used (depends on how serious they were about security ).
Click to expand...
Click to collapse
I should try on my passport also using NFC Taginfo. By the way, I'm using farebot to read my mrt card info, how can I use the info itself to be written on different card?
Thanks
NFC Power
tmaniac said:
anybody knows how the power usage is for NFC?
Is it a huge drain on the battery?
a friend of mine has some tags laying around and i'm picking them up next saturday.
Want to program a few tags for a couple of tasks
1) Disable BT and enable WiFi when i'm home
2) Disable WiFi and enable BT when i'm in the car
3) Start NAV when i dock my phone in my car mount
4) Disable WiFi and BT when i'm @ work
Click to expand...
Click to collapse
I think, the power usage of NFC is not bad unlike GPS can drain faster. But if your really want to save battery, try to switch off 3G/Wifi/GPS, etc and decrease the brightness.
skidz13 said:
I should try on my passport also using NFC Taginfo. By the way, I'm using farebot to read my mrt card info, how can I use the info itself to be written on different card?
Thanks
Click to expand...
Click to collapse
You can't just clone a passport, not possible. It is like a smartcard - you ask it for data, provide some password, and it gives you the data. You don't just "read" it.
zvieratko said:
You can't just clone a passport, not possible. It is like a smartcard - you ask it for data, provide some password, and it gives you the data. You don't just "read" it.
Click to expand...
Click to collapse
I'm not referring on my passport but the mrt card which is NFC-readable. Is that possible?
Sent from my HTC One X using xda premium
skidz13 said:
I'm not referring on my passport but the mrt card which is NFC-readable. Is that possible?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
mrt? what is that?
But the probable answer is no - altough you can read and write almost anything, security is usually also tied to the UID of the card, and you can't (usually ;-))) change that. Also, more secure cards don't allow themselves to be read completely - you can just increment/decrement some counter or make them ID themselves.
zvieratko said:
mrt? what is that?
But the probable answer is no - altough you can read and write almost anything, security is usually also tied to the UID of the card, and you can't (usually ;-))) change that. Also, more secure cards don't allow themselves to be read completely - you can just increment/decrement some counter or make them ID themselves.
Click to expand...
Click to collapse
Actually, mrt is a train service in my country. Their card is NFC supported and I'm able to read its data. What I want is if I can add extra data to the card or copy its data to another mrt card. Is overwriting possible without losing its current data?
Sent from my HTC One X using xda premium
lol you wanted to transfer the $ from 1 card to another?
hmm..~
HOX NFC
athenodorus said:
lol you wanted to transfer the $ from 1 card to another?
hmm..~
Click to expand...
Click to collapse
Not really, just want to try adding commands to my existing CEPAS card using NFC.
i have similar idea, so maybe will join this thread.
my thoughts are to clone travel card (to phone) and use phone instead of card (p.ex. to open gates in metro).
is it possible? i couldn't find any app on market
The problem with some actions like change wifi, etc, is the need to unlock the screen for all the actions.
I understand the security point of view, but if I need to unlock the screen, and touch it on a tag, is easier to click a shortcut on my home.
Does have any paramter, or rom that alows to use NFC without unlocking the screen ?
Farebot
skidz13 said:
I should try on my passport also using NFC Taginfo. By the way, I'm using farebot to read my mrt card info, how can I use the info itself to be written on different card?
Thanks
Click to expand...
Click to collapse
My farebot is not reading any details of my ezlink card from HTC One X.
Could you help me please
angusbrasil said:
The problem with some actions like change wifi, etc, is the need to unlock the screen for all the actions.
I understand the security point of view, but if I need to unlock the screen, and touch it on a tag, is easier to click a shortcut on my home.
Does have any paramter, or rom that alows to use NFC without unlocking the screen ?
Click to expand...
Click to collapse
[MOD] NFC on screenoff
Sent from my HTC One X using xda premium
tehdomil said:
I bought a starter pack of tags from rapidnfc which included a variety of different size sticker tags, a wrist band and a key chain fob.
I have written a few tags to test them out but only have 1 that I'm using in a real world situation (stuck to my laptop so I scan it turns my phone into a wifi hotspots which my laptop then connects to.
Sent from my ARHD powered HOX
Click to expand...
Click to collapse
Sorry in advance for the potentially daft question. I would like to do similar to what others have posted, ie a tag in the car to turn on BT and turn off WiFi etc. Will order some tags but don't know how to write them. Can the One X write to the tags using NFC ReTag or similar? If not whats the procedure?
Thanks all

[Q] Unlocking my House gate?

Hello, I live in an apartment complex and in order to get in the gate they use cards which im assuming are NFC you just tap it to the receiver the light lights up and bam opens the gate. I was wondering if there was any way possible to be able to tap my phone to the receiver and it will see the code to unlock the gate and im in. have beeen wondering about this for a while now. Thanks in advance to anyone who can help.
*EDIT* the key that is used is by SecuraKey and looks like they use RFID not NFC. If so would this still be possible?
follow this tread http://forum.xda-developers.com/showthread.php?t=1832499 they havent found the solution to do it yet but they need devs for help i hope they can get it working because i need it too
Unfortunately thiss app is not working with SGS3 with stock FW
Try downloading TagInfo from the Play Store, and then tap the card on your phone. If it shows up, then it could potentially work in the future.

[Q] Copy NFC tag to another NFC tag

Hi everyone, this has probably been asked before but I didn't want to i guess bump a necro thread.
Basically I was wondering is it possible for me to copy an nfc tag to another nfc tag. From a post I saw here, it said it is possible as long as the tag isn't encrypted.
So basically what i was hoping to know is one how would be the best way I would know if its encrypted and two what would be the easiest way to do this.
If it helps my mindset is basically I want to copy the NFC tag from my bus card onto a wristband so that I don't need to use the card anymore. What I'm guessing is that everything is set electronically in terms of card cost and stuff like that as I read that I can recharge and view my balance online so I'm assuming the card just acts like a connecter to your specific account and doesn't actually contain any money information on it.
I tried an app to read from the card and it did show me what I think is numerous files, in which the one I saw said that I was allowed to read from the device but no write access which I'm guessing is fine since all I want to do is read and copy from that NFC tag and then write it to another one I can buy.
The other thing I could do is just cut up my bus card and get the nfc part and place it under a watch or something, the bus company said I can get a new card for free whenever I like if I lose my current one so that's another way but seems a bit crude to me.
eitherrideordie said:
Basically I was wondering is it possible for me to copy an nfc tag to another nfc tag. From a post I saw here, it said it is possible as long as the tag isn't encrypted.
Click to expand...
Click to collapse
You can copy any information you can actually read. BUT the following is not working:
If it helps my mindset is basically I want to copy the NFC tag from my bus card onto a wristband so that I don't need to use the card anymore. What I'm guessing is that everything is set electronically in terms of card cost and stuff like that as I read that I can recharge and view my balance online so I'm assuming the card just acts like a connecter to your specific account and doesn't actually contain any money information on it.
Click to expand...
Click to collapse
Wrong assumption. A card used for banking etc has a private key on it that the bank will use to authenticate you. In order to do this they let the card sign some data and verifies the signature. If everyone could read that key, that would be horrible unsafe. Everybody that would be able to read the key could sign the data on your behalf. That is why the key is on the card and never leaves it.
I tried an app to read from the card and it did show me what I think is numerous files, in which the one I saw said that I was allowed to read from the device but no write access which I'm guessing is fine since all I want to do is read and copy from that NFC tag and then write it to another one I can buy.
Click to expand...
Click to collapse
As I said above, this works for cards that contain only data. You can copy any data that is readable, but cards that give you the functionality you want are not copyable via nfc.
The other thing I could do is just cut up my bus card and get the nfc part and place it under a watch or something, the bus company said I can get a new card for free whenever I like if I lose my current one so that's another way but seems a bit crude to me.
Click to expand...
Click to collapse
Same as above. Id guess your buscard is some sort of mifare card. You can only read/write those if you have the keys. And I don't think you will have them. Well it depends on the exact card but still.
Damastus said:
You can copy any information you can actually read. BUT the following is not working:
Wrong assumption. A card used for banking etc has a private key on it that the bank will use to authenticate you. In order to do this they let the card sign some data and verifies the signature. If everyone could read that key, that would be horrible unsafe. Everybody that would be able to read the key could sign the data on your behalf. That is why the key is on the card and never leaves it.
As I said above, this works for cards that contain only data. You can copy any data that is readable, but cards that give you the functionality you want are not copyable via nfc.
Same as above. Id guess your buscard is some sort of mifare card. You can only read/write those if you have the keys. And I don't think you will have them. Well it depends on the exact card but still.
Click to expand...
Click to collapse
I guess I had too much I was hoping would work, but from reading what you said it doesn't sound like it will . I do get that it has a private key, I was just kind of hoping that in this case it wouldn't since the card doesn't really seem like its worth much, such as compared to something like a visa card or something like that.
Each card has a unique number on them written on the back, so I guess I just kind of assumed each number was assigned for each account type thing and if you lost a card they would just change the account with another different number since you can own multiple bus cards, and that would be all I need, but it seems like you are most likely correct. Our buscard only came into affect about a month or two a go, but I'm assuming they probably paid a company of some sort to do it, and if thats the case they probably would have it encrypted either way
Is there still a way I could check? Just in case theres like some sort of miracle and it is only just a basic card type thing? Even though thats most likely wrong?
You can copy any data that is readable, but cards that give you the functionality you want are not copyable via nfc.
Click to expand...
Click to collapse
If this is the case though I guess its impossible
Cheers though
eitherrideordie said:
Is there still a way I could check? Just in case theres like some sort of miracle and it is only just a basic card type thing? Even though thats most likely wrong?
Click to expand...
Click to collapse
You could try to identify the card. Maybe use sth. like NFC TagInfo or ReTAG to see what type of card it is. These TagInfo will also show you whats in the card when its readable. But dont get your hopes too high.
Damastus said:
You could try to identify the card. Maybe use sth. like NFC TagInfo or ReTAG to see what type of card it is. These TagInfo will also show you whats in the card when its readable. But dont get your hopes too high.
Click to expand...
Click to collapse
Hi, thanks heaps, had a go at using NFC TagInfo and this is what I get
Tag information says the tag type is ISO/IEC 14443-4 smart card
mifare desfire evi(mf3ICD2I)
Under the ISO/IEC 14443-4 Smart card part
it talks about the mifare desfire
Within there it says
Key configuration changeable YES
Master Key required for application creation/deletion YES
Master Key required for application directory list NO
Master Key changeable YES
Available Keys KEY 0: Key version 1
Another key configuration says the exact same thing but also says
Key change permissions AUTHENTICATE WITH KEY 0 application master key
And there's a whole heap of files in there, most of which are readable but some say read fail.
From the sound of all this, its starting to not look that good , I'm assuming if there's keys and things that the only way would be to break them and I don't want to do anything against the rules to be honest .

Categories

Resources