mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-11-22 06:07:43 +00:00
The gen2 branch refused `-u` with "Not supported on this card". These cards do take a UID write: a five command knock, the new UID one byte per command (always seven commands, zero padded), then a HLTA which commits it. The card answers the halt instead of staying silent, and without it everything before is discarded when the field drops - which is why the sequence is absent from the vendor app, whose HLTA is emitted by the Android NFC stack on teardown. The new UID must match the card's current UID length, the parts are physically 4b or 7b. Outcome is decided by re-selecting and comparing the UID, not by the status byte. Verified on a 4 byte card. The 7 byte path is inferred from the sequence always carrying seven UID bytes and is untested. A refused -r / -u now returns an error instead of PM3_SUCCESS. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>