-
-
Notifications
You must be signed in to change notification settings - Fork 927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing happens when mapping [Galaxy S7 SM-G930U] #267
Comments
Here are some debug logs, if it can help |
Very interesting. At this point I'm have no idea what could cause this. It is weird that an official app from the manufacturer of Mifare Classic tags can not read them, but a third party app can. Does the tag have default keys? Can NFC Tools display the content of the whole tag? |
Tried a blank card with default keys and a door tag with keys i cracked. MCT Video: https://www.youtube.com/watch?v=y8dc3bAaq9E&feature=youtu.be NFC Tools video: https://www.youtube.com/watch?v=T3Vv0TpX18s&feature=youtu.be |
Forgot to point out something: the nfc service seems to crash when trying to read a tag. I have to uncheck/check the nfc service to be able to read an other tag. This problem does not appear with NFC Tools. |
I can't watch the videos, they are marked private. |
Oops, repaired that. |
I can’t even get mine to flash now and I think it’s bricked I might of used the wrong firmware. But I have the same phone as you. |
Sorry for not reporting back earlier. It looks like the tag has |
Hi, I've exactly the same problem here with my S7 SM-G930U. |
Have you tried reading new/empty/factory formatted tag? |
No, I didn't. I just tried and it works for an empty tag. |
Hmm. Again, this sounds like the key |
This is my only phone, I can't send it to you but I can do some tests if you want. I'm able to use adb and compile Android apps if necessary. |
I guess the first step is to verify, if the tag in question has a key of |
Yes, I've one. |
Strange. So a factory formatted tag can be read, but this one not, even though it has "normal" keys. If you know your way around Andorid Studio, Java and debuggers you can try to set a break-point somewhere around here. At least this is the section where the authentication is for the key mapping process is. But I'm not sure what to expect. I've never head this error and I have no clue what is causing it. |
Thanks for your advices, I found the root cause:
I must deactivate and reactivate NFC in Android to stop errors. I don't know why transceive function doesn't return with the wrong key, maybe a bug or a "security" feature.
|
Thanks for investigating! For me this looks like a bug in the NFC stack. Not the first time something like this comes up. Regarding your solutions:
|
After some reading: transceive(byte[]) can block until the tag is done with the operation and answers. So there might be a chance that the tag is broken (only answers if key is correct). The easiest way to check this would be to use a Proxmark3 and sniff. However, I don't think this is very likely. There is a setTimeout(int) function to cancel the I don't this there is anything helpful I can do for now. Therefore I'm closing this issue. Feel free to reopen it, if you find any promising lead on how to fix it. |
Hi,
I bought a Galaxy S7 to use MCT.
I got a SM-G930U (usa firmware), patched it with latest june patch.
When I start "mapping and read tag", nothing happens, continuous wheel.
NXP TagInfo "freezes" same way but NFC Tools can read without problem.
A friend of mine as a European version of the S7 (SM-G930F), and it works perfectly.
Any idea from what it can be? NFC chip can read mifare because NFC tools app can.
Thanks
The text was updated successfully, but these errors were encountered: