flipperdevices / flipperzero-firmware

Flipper Zero firmware source code
https://flipperzero.one
GNU General Public License v3.0
12.74k stars 2.71k forks source link

EM4100 RFID issue: Emulation does not work #1500

Closed swittenberger closed 5 months ago

swittenberger commented 2 years ago

Describe the bug.

Hello, I've had 3 different EM4100 tags that I could copy without any issues, but when emulating the tag, the reader doesn't detect anything.

I've been told on discord that a reboot might help, but it didn't. What other info can I give? image

Reproduction

  1. Read EM4100 tag
  2. Emulate EM4100 tag
  3. Try to open the door with flipper
  4. Notice it doesn't work.

Target

No response

Logs

No response

Anything else?

No response

dontbug commented 4 months ago

I have the same problem of not being able to register on the electra chips, but i could on the T5577 chips that i ordered from aliexpress. There were times when i couldn't write from the ordered ones, but it's quite possible that they are not the T5577 model specified by the seller, and i made a refund.

itrack commented 4 months ago

@dontbug In my case, I can write anything else on T5577 tags. I write other access keys, it went without any problems. When I try to write Electra on T5577 it does not work. I tried 4 different types of T5577 tags, same result.

skotopes commented 4 months ago

@itrack have you tried to read 5577 after write fail?

itrack commented 4 months ago

@skotopes Yes, the tag does not change

skotopes commented 4 months ago

@skotopes Yes, the tag does not change

interesting, could mean that formed payload is incorrect and can not be written to the card. Can you share key?

itrack commented 4 months ago

Sure: electra.zip

itrack commented 4 months ago

btw. emulating this tag works

skotopes commented 4 months ago

Sure: electra.zip

All works:

itrack commented 4 months ago

Interesting that writing works for you, how could this be debugged? I can't explain, I would have thought it was a problem with the RFID module if I couldn't write other cards, but it works, just in this specific case it doesn't.

Are there several hardware versions?

skotopes commented 4 months ago

Interesting that writing works for you, how could this be debugged? I can't explain, I would have thought it was a problem with the RFID module if I couldn't write other cards, but it works, just in this specific case it doesn't.

Are there several hardware versions?

Not in terms of RFID. Also if you can write other types you should be able to write this one too.

itrack commented 4 months ago

I made another video testing several cases:

What could be the explanation?

https://www.youtube.com/watch?v=mKwfsRf2ZaI

skotopes commented 4 months ago

@itrack we don't provide support for 3rd party firmware. If you use it then address all issues to appropriate firmware developers.

itrack commented 4 months ago

here is a video with the official firmware, it is the same result: https://www.youtube.com/watch?v=AbJDa9PVRl4

itrack commented 4 months ago

I put back the original firmware, I did another test and discovered something a little strange. On one type of tag although it gives error it writes part of the original tag. Nothing has been written on the other two tags types.

Original tag: Screenshot-20240624-172749

Clone tag: Screenshot-20240624-172724