Closed RoBoneHead22 closed 7 months ago
@RoBoneHead22 can you try dev? we have couple desfire fixes in it.
Got the same problem with the same type of NFC. Per suggestion, installed the latest dev firmware and tried again. The situation is worse now. When I press Save, Flipper displays an hourglass and hangs in this state forever. The log is attached. cli-dump.txt
@skotopes Hello, I tried release, RC, and dev Channels. Same result. Currently updated to Release Channel 0.98.3 and same issue
@RoBoneHead22 how about now?
@skotopes Tried 0.99.1-RC and dev 022fccf0. Same as before. RC build crashes with null pointer dereference, the dev build hangs forever.
I am starting to believe that this issue is deeper than just the firmware. I even tried the XFW firmware and had the same results. Reverted back to the release firmware now, still no change.
@RoBoneHead22 @ArkBrj we need someone to provide us backtrace. Anyone of you have debugger(wifi board/st-link/j-link/etc)?
@RoBoneHead22 I have a cheap ST-Link clone bought on AliExpress few years back. I also have Flipper's wi-fi board, but I have not tried it yet and have no idea what software to use with it. I can try to collect the info you need, but I need detailed instructions how to do this. I would prefer to use Windows software on the host if it is an option.
@skotopes Just realized that I tagged a wrong person in my previous post. Correcting the mistake....
@RoBoneHead22 I have a cheap ST-Link clone bought on AliExpress few years back. I also have Flipper's wi-fi board, but I have not tried it yet and have no idea what software to use with it. I can try to collect the info you need, but I need detailed instructions how to do this. I would prefer to use Windows software on the host if it is an option.
Please try latest dev and reopen if issue persists.
@gornekich I confirm that flipper does not crash anymore. Thanks for the fix! However, there might be some other problem with such cards - when I replay the recording, the door does not open. I recorded the same NFC twice and both recording do not work as the original NFC. Compared them - they are identical, so there might be a problem with how flipper emulates (or how it records for that matter). I have a friend who also has a flipper, I will try to use that one to record what mine produces and compare them.
@gornekich Hello, I need some advise. Should I reopen this issue or create a completely new one? Here is what I found.
On my FZ1 I recorded the original NFC. The resultant file consists of 2 parts (I removed most of the lines for brevity and privacy):
1) 15 lines looking like this:
Filetype: Flipper NFC device
Version: 4
# Device type can be ISO14443-3A, ISO14443-3B, ISO14443-4A, ISO14443-4B, ISO15693-3, FeliCa, NTAG/Ultralight, Mifare Classic, Mifare DESFire, SLIX, ST25TB
Device type: Mifare DESFire
...
T1...Tk: 80
2) 157 lines starting with:
# Mifare DESFire specific data
I replayed this recording and recorded on another FZ2 (also updated to the latest dev build). The recording on FZ2 shows only 15 lines looking like this:
Filetype: Flipper NFC device
Version: 4
# Device type can be ISO14443-3A, ISO14443-3B, ISO14443-4A, ISO14443-4B, ISO15693-3, FeliCa, NTAG/Ultralight, Mifare Classic, Mifare DESFire, SLIX, ST25TB
Device type: ISO14443-4A
...
T1...Tk: 80
Not only the second recording is much shorter and missing all "Mifare DESFire specific data" portion, the Device Type is not "Mifare DESFire" anymore. Seems like a problem with replaying such recordings.
Hello @ArkBrj Flipper doesn't support full Mifare DESFire emulation. When you emulate your card, you can see only "Emulate UID" option. That's why when you read emulation with the other flipper, it shows ISO14443-4A data.
Basically, Mifare DESFire is very secure protocol. If you don't know keys from your card, it's almost impossible to find them. And without these keys you can't emulate your card
@gornekich Thank you very much for the detailed explanation. I missed this part in the doc.
Describe the bug.
I am attempting to save a Mifare DESFire NFC key fob and it crashes my flipper. After the reboot the key cannot be emulated I have attached Screenshots from the Flipper iOS app as well as the debug log.
Reproduction
Main Menu --> NFC --> Read --> Save
Target
No response
Logs
Anything else?
No response