How To Fix Magic Mifare Classic Card

The Magic Mifare Classic 1K card has not only changeable UID but also full backer door command support. When we write error data to the magic card cards, they also can be no response or dead. Here’s the tutorial to fix the Magic Mifare Classic Card.

When to fix magic card?

  1. It was written with an invalid SAK byte.
    The valid SAK bytes are 08, 18, 28.
    If the other Hex numbers are written to the card, there will be NO response to NFC at all.
  2. It has an invalid access control byte.
    The default access control byte is FF078069.
    The sector with an invalid access control byte will be a dead sector.

How to fix it?

Install libnfc tool

On Linux

  1. Get the code
    git clone https://github.com/nfc-tools/libnfc
  2. Compile and Install
cd libnfc autoreconf -vis ./configure --with-drivers=pn532_uart --enable-serial-autoprobe --prefix=/usr/local/ sudo make clean all sudo make sudo make install

On MacOS

  1. Run in Terminal and press enter key.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

2. Run command

brew install libnfc

Connection

RFID PN532 in made by MToolsTec is all in one design that will support connection with both Micro-USB and Type-C.

Command

  1. Using nfc-mfsetuid to reset UID to 11223344. (UID and SAK byte fixed)
  2. Using nfc-mfsetuid F148F784 -f to reset UID to F148F784 and format all sectors.

Learn More | Buy Now

On Windows

  1. Download MifareOne Tool English.zipDownload Now
  2. Connect RFID PN532 with a USB cable.
  3. Install the Driver of CH340 USB serial. Download Now
  4. Click on Reset UID or Format UID button to handle the reset process.

Leave a Reply

Your email address will not be published. Required fields are marked *