Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nfc_initiator_transceive_bytes: Mifare Authentication Failed #35

Open
Tomorrowisgoodya opened this issue May 20, 2021 · 5 comments
Open

Comments

@Tomorrowisgoodya
Copy link

請問每次要補寫dump進小米手環6 NFC都會出現這些錯誤
是不是小米手環6 NFC不支持?

=========================

已启用CUID空卡写入补丁
正在使用智能KeyABN…
开始执行CUID/FUID卡片写入……
NFC扢掘: NFC-Device 眒湖羲
眒梑善Mifare Classic縐:
ISO/IEC 14443A (106 kbps) target:
ATQA (SENS_RES): 00 04
UID (NFCID1): ce 50 28 e4
SAK (SEL_RES): 08
芢聆湮苤: 褫夔岆 1024-byte 湮苤腔縐
枑尨: 涴桲縐祥剒猁綴藷迡 (W)
剒猁迡 64 跺輸 |xxxtrailer block 3 迡囮啖
xxxxtrailer block 7 迡囮啖
xxxxtrailer block 11 迡囮啖
xxxxtrailer block 15 迡囮啖
x................................................|
俇傖ㄐ迡賸 48 / 64 跺輸.
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed
nfc_initiator_transceive_bytes: Mifare Authentication Failed

##运行完毕##

@Trendyshuai
Copy link

可以多写几遍,或者你操作有问题

@laoyur
Copy link

laoyur commented Jun 6, 2021

肯定不是操作问题,还是兼容性有问题。

我两个红米手机,同型号,只是RAM不同,系统都是MIUI 12
一模一样的流程,同一个dump文件
一个手机90%概率能写成功63/64个块,有时出错时只能写入55/64个块
另一个手机100%都失败,只能写进去4/64个块

@Tomorrowisgoodya
Copy link
Author

可以多寫幾遍,或者你操作有問題

試過不下百遍,只是好奇有使用小米手環6 NFC版本 有人成功嗎?

肯定不是操作問題,還是兼容性有問題。

我兩個紅米手機,同型號,只是RAM不同,系統都是MIUI 12
一模一樣的流程,同一個dump文件
一個手機90%概率能寫成功63/64個塊,有時出錯時只能寫入55/64個塊
另一個手機100%都失敗,只能寫進去4/64個塊

我同樣步驟試過加密卡寫入空白Tag卡沒問題,而且一次就完成

@hjh70526
Copy link

这个是你之前已经写过了,导致密钥不是默认的
解决方法也很简单,你可以用hardnested强行解出手环里的数据或者你有手环里卡的数据,然后在写M1卡里选择解出来的数据做key,然后写M1卡,这样就可以用原数据包含的密钥写入了
还有一种方法就是用MFF08 CUID修复功能,选择包含手环里密钥的数据,修复有密码的CUID卡,这样就可以格式化手环里的卡
当然最简单还是你直接用APP连接手环把这张卡删了新建一张~

@hjh70526
Copy link

错在你写入的方式,CUID卡不像UID一样用后门随便写,你要用正确的密钥才能写CUID卡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants