nfc-mfsetuid(1) MIFARE 1K special card UID setting and recovery tool


nfc-mfsetuid [ UID ]


nfc-mfsetuid is a MIFARE tool that allows setting of UID on special versions (Chinese clones) of Mifare 1K cards. It will also recover damaged cards that have had invalid data written to block 0 (e.g. wrong BCC). Currently only 4 Byte UID is supported. Specify an eight hex character UID or leave blank for the default '01234567'.


-f Format. Wipe all data (set to 0xFF) and reset ACLs to defaults.

-q Quiet. Suppress output of commands and responses.


Please report any bugs on the libnfc issue tracker at:


libnfc is licensed under the GNU Lesser General Public License (LGPL), version 3.
libnfc-utils and libnfc-examples are covered by the the BSD 2-Clause license.


Adam Laurie <[email protected]>

This manual page was written by Adam Laurie <[email protected]>. It is licensed under the terms of the GNU GPL (version 2 or later).