I've had issues with all non-stock roms and NFC with my d855. Initially I though that NFC just wasn't working. Turns out that it's just no longer able to read Mifare Classic cards (which it can do with stock).
Any one have any ideas how easy this would be to solve? I'm not afraid of messing about in the kernel or adding additional drivers. Just been a while since I played around with the NFC subsystem
Mods: Not sure if this is the correct subforum for this. Feel free to move if needed
-EDIT
After a bit of playing around, it looks like NFC works fine for a 14443-4 card until I scan a mifare classic card. At this point all NFC stops working until the screen is switched off and back on again. This makes the Type A card start working again. Still no Mifare Classic tho.
Picking though some Logcat logs to see if I can figure anything out.
Exact same issue here with CM12 (Even just did a full install of the newest nightly, with same issue).
With the stock ROM, I could scan cards with the MIFARE Classic Tool no problem. Now, after I cycle the screen on/off, I can repeatably scan a DESFire card, no problem, and Mifare Classic Tool comes up saying so, but the second I try to scan a normal MIFARE Classic card, nothing happens and I can no longer scan the DESFire card anymore until I cycle the screen.
In the Logcat, I can see activity with the MIFARE Classic scan, just have no idea what I'm looking at or what the problem is.
Did you ever find a fix? Anything I can provide to help anyone fix the issue with CM12?
Related
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.
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 .
Hi, I just downloaded some nfc reader app from the play store and discovered the phone reacted when I stick the gym I'd card at the back of it.
This card is usually used in order to enter the gym i go to every day (almost). I just have to place it close to a black box installed in the automatic doors and they get opened. I noticed I must place it very close in order to make it work.
Now, I'm not 100% sure it's this technology but if an nfc app is able to read it, o guess it is.
Now, my idea is to replace my Id card, which sometimes I forget, with my phone.
I want to ask if there is a way to make my phone store the nfc data in the card so when I go to my gym, I place the phone near this door instead and make the same function as with the card.
Is this doable? I'd need to read the card once store whatever is on it and then be able to transmit such info on demand.
I'm new to nfc but I'd like to see something like this.
Thanks!
Sent from my Nexus 4 using Tapatalk 2
Short answer:
No.
Long Answer:
Unless you know how to emulate the card's UID, you can't do it.
If your card uses the data stored non the card, which is not likely, you will have to find a way to emulate it.
Beamed from my Maguro.
I'm moving into a new appartment, this is the key for the building it is in.
It says Simonsvoss on it, its the name of the company.
You just have to hold it in front of the lock and it opens automatically.
I thought maybe it uses NFC and you can read out the key and also use your phone as a key.
I tried some NFC reader apps, but none of them got any signal.
I'm not sure if NFC works on my phone (i have a galaxy s3 with cyanogenmod 11 M6 installed).
Anyone knows if this thing even uses NFC?
I'm no expert but it was my understanding that nfc is Bluetooth and these fobs use some other radio signal
Sent from my Nexus 5 using XDA Free mobile app
There's a number of different reasons why your smartphone can't read it:
- it doesn't support that particular tag: it does happen, perhaps it works on a different frequency, or uses unknown protocols. There isn't much you can do about it.
- that key is not an nfc tag: it sounds unlikely to me, since the way you described how it works makes me think it is actually an nfc tag, but who knows.
- the cyanogenmod you installed doesn't support nfc: have you tried reading other tags with it? What kind of software are you using for reading it? Make sure you can successfully read other kinds of tags: if you happen to have Mifare Ultralight tags, you may use an app I developed a few days ago, UltraManager. if you have other kinds of tags (even the most recent passports have nfc tags embedded), apps like NFC TagInfo should do
- you have accidentally removed part of your nfc hardware accidentally: I know this sounds unlikely, and I would've never suggested it, but earlier today I talked to a guy who claimed he couldn't read any tags: turned out that he had changed his smartphone's battery with an unofficial one, and since that particular smartphone had the hardware on the battery, he obviously couldn't use nfc.
I know this thread is dead, but...Probably not NFC, since I can even scan and copy my Passport (hex codes of fingerprints and so on).
Would be to easy to break into a appartment secured like this
Sent from my GT-I9505 using XDA Premium 4 mobile app on OmegaRom v19
Radio Frequency
The Transponder is a radio transponder, it unlocks the lock by sending a radio frequency which cannot be cloned like traditional RFID ..
Simons-Voss stated this information on their website, in fact that was their main selling point is that the transponders cannot be cloned .. I know this thread is old and all, but I would be interested to know if anyone has figured out a way to hack these locks. I used them, so I am interested to know how their level of security is holding up after all these years ..
Wrote a simple text record to a mifare classic card, then to remove this I selected "erase tag" in nfc tools pro. The card no longer operates the door controls. Is there anyway I can rectify this? From my Android device.
If not I will go to IT in the morning and get them to sort it.
Would format memory rectify this?
Would 'format memory'
Same problem. Same action. Same software. But One of my 2 door controls is working. The other isnt. Trying to find out why.
Try formatting NDEF in an app such as StartNFCexpert (Android). Then dump the card info back onto it.
Please be aware that this WILL erase the memory on the card. The door access most likely depends on the serial number of the card.
(I am aware this is an old post, it seems to be a common problem so I thought I would contribute)