Changes

301 bytes added ,  19:15, 10 January 2014
no edit summary
Line 1: Line 1: −
The Nintendo 3DS has a 1GB NAND Flash chip.
+
The Nintendo 3DS has a 1GB NAND Flash chip. Due to the NCSD header, the actual used size of the NAND is 0x3AF00000.
    
===Format===
 
===Format===
Line 6: Line 6:  
===Encryption===
 
===Encryption===
   −
The NAND file system is encrypted using AES-CTR. The TWL regions of NAND use the TWL NAND [[AES|keyslot]], while the CTR regions use the CTR NAND [[AES|keyslots]]. The keyslot used for CTR-NAND partitions is determined by the NCSD partition FS type. The TWL/CTR NAND regions are specified by the NCSD header. The NCSD partition encryption flag for each partition indicates whether the TWL keyslot or the CTR keyslots are used for encryption: 0x01=TWL, 0x02=CTR. The first 0x0B100000 bytes of NAND is encrypted with the TWL keyslot, however before 0x00012E00 only the MBR partition table is encrypted with the TWL keyslot. That region contains the TWL partitions listed below.
+
The NAND file system is encrypted using [[AES|AES-CTR]]. The TWL regions of NAND use the TWL NAND [[AES|keyslot]], while the CTR regions use the CTR NAND [[AES|keyslots]]. The keyslot used for CTR-NAND partitions is determined by the NCSD partition FS type. The TWL/CTR NAND regions are specified by the NCSD header. The NCSD partition encryption flag for each partition indicates whether the TWL keyslot or the CTR keyslots are used for encryption: 0x01=TWL, 0x02=CTR. The first 0x0B100000 bytes of NAND is encrypted with the TWL keyslot, however before 0x00012E00 only the MBR partition table is encrypted with the TWL keyslot. That region contains the TWL partitions listed below.
 +
 
 +
Note that re-encrypting a NAND image alone from another 3DS for use on a different 3DS is not enough to use that NAND image on a different 3DS: certain files in the "nand" partition would need modified/replaced as well.
    
===NAND structure===
 
===NAND structure===