Amiibo

From WikiTemp, the GBAtemp wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
This article is a Stub. You can help WikiTemp by expanding it.

Amiibo are Nintendo's line of NFC figurines and cards, primarily. Also plush yoshis, cereal boxes, wristbands and wooden blocks.

For the most part, amiibo use NXP NTAG215.

A handful of amiibo today use something else. Namely, Super Nintendo World Power-Up Bands use NTAG I2C Plus 1K, and Kirby Air Riders use NTAG I2C Plus 2K. This page mainly focuses on the NTAG215 version, but some of the NTAG215 data structure is actually present on both these other types for compatibility reasons.

General NTAG215 Amiibo data structure:

Page Hex Addr Byte 0 Byte 1 Byte 2 Byte 3 Encrypted Mode
0 (00h) 0x0000 UID0 UID1 UID2 BCC0 No RO
1 (01h) 0x0004 UID3 UID4 UID5 UID6
2 (02h) 0x0008 BCC1 Internal Static Lock
3 (03h) 0x000C CC
4 (04h) 0x0010 0xA5 Write Counter ? RW
5 (05h) 0x0014 Settings CRC Counter Yes
6 (06h) 0x0018 Init Date Write Date
7 (07h) 0x001C CRC
8 (08h) 0x0020 Nickname
... ...
12 (0Ch) 0x0030
13 (0Dh) 0x0034 Locked Hash No RO
... ...
20 (14h) 0x0050
21 (15h) 0x0054 Character # Variation Form
22 (16h) 0x0058 Amiibo # Set 0x02
23 (17h) 0x005C Manufacture Info?
24 (18h) 0x0060 Keygen Salt
... ...
31 (1Fh) 0x007C
32 (20h) 0x0080 Unfixed Hash RW
... ...
39 (27h) 0x009C
40 (28h) 0x00A0 Owner Mii Yes
... ...
63 (3Fh) 0x00FC
64 (40h) 0x0100 Title ID
65 (41h) 0x0104
66 (42h) 0x0108 Write Counter Amiibo AppID
67 (43h) 0x010C (cont.) ?
68 (44h) 0x0110 Hash (?)
... ...
75 (4Bh) 0x012C
76 (4Ch) 0x0130 App Data
... ...
129 (81h) 0x0204
130 (82h) 0x0208 Dynamic Lock RFUI No RO
131 (83h) 0x020C CFG0
132 (84h) 0x0210 CFG1
133 (85h) 0x0214 PWD WO
134 (86h) 0x0218 PACK RFUI


The UID is the unique serial number for the NFC tag, written at the factory and can't be changed on authentic NTAG215s. UID 0 is 0x04 on all Amiibo (and possible all NTAG21x).

UID 3 absolutely cannot be 0x88 to prevent a cascade tag conflict.

BCC 0 is always equal to UID0 ⊕ UID 1 ⊕ UID 2 ⊕ 0x88 BCC 1 is always equal to UID3 ⊕ UID 4 ⊕ UID 5 ⊕ UID6 (⊕ is XOR)

Byte 1 of Page 2 is an internal value that is permanently set to 0x48. The lock bytes on all Amiibo are set to 0x0F and 0xE0. This means pages 4-10 are locked. Once these bits are set to 1, they cannot be reset to 0. Page 21 and 22 set what character is being used. For example, Kirby is 0x1F000000 and 0x000A0002 while Link is 0x01000000 and 0x00040002.

The dynamic lock bytes on all Amiibo are set to 0x01, 0x00, and 0x0F. This locks pages 16-17 and blocks 16-31.

Byte 3 of Page 130 is always 0xBD.

Configuration 0 is set to 0x00000004 and Configuration 1 is set to 0x5F000000 on all Amiibo.

The settings bytes are really just the first of the two- and it is parsed as a bitfield, but for convenience, 0x00 is unint, 0x10 is owner present, 0x20 is save present, 0x30 is owner and save present. When an amiibo is reset by an amiibo applet on a nintendo console, the settings byte is one of the only rewritable bytes not made into randomized garbage. The other part that isn't randomized is the internal (encrypted) write counter. Oddly, the external (plaintext) write counter is randomized on reset.


-