From 7bfbde93fcf2dfc278155011bc4aff1b4a8db4b9 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 29 Aug 2026 12:36:59 +0200 Subject: [PATCH] widen detection for flipper ultralight dump files --- client/src/fileutils.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/fileutils.c b/client/src/fileutils.c index 6f30468e0..641c871e1 100644 --- a/client/src/fileutils.c +++ b/client/src/fileutils.c @@ -3108,7 +3108,10 @@ int detect_nfc_dump_format(const char *preferredName, nfc_df_e *dump_type, bool str_cleanrn(line, sizeof(line)); str_lower(line); - if (str_startswith(line, "device type: ntag")) { + // older Flipper files name the exact chip, the current format writes + // the family name instead + if (str_startswith(line, "device type: ntag") || + str_startswith(line, "device type: mifare ultralight")) { *dump_type = NFC_DF_MFU; break; }