Changes

Jump to navigation Jump to search
1,030 bytes added ,  05:10, 23 August 2012
no edit summary
Line 6: Line 6:  
===Encryption===
 
===Encryption===
   −
The NAND file system is encrypted using AES-CTR.
+
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 keyslot. The TWL/CTR NAND regions are specified by the NCSD header.
    
===Partitions===
 
===Partitions===
Line 13: Line 13:  
|-
 
|-
 
!  Name
 
!  Name
 +
!  Offset
 +
!  Size
 
!  Description
 
!  Description
 
|-
 
|-
 
|  firm0
 
|  firm0
 +
 +
 
|  Firmware partition.
 
|  Firmware partition.
 
|-
 
|-
 
|  firm1
 
|  firm1
 +
 +
 
|  Firmware partition.
 
|  Firmware partition.
 
|-
 
|-
 
|  nand
 
|  nand
 +
 +
 
|  CTR-NAND FAT File System. (3DS)
 
|  CTR-NAND FAT File System. (3DS)
 
|-
 
|-
 
|  twln
 
|  twln
|  TWL-NAND FAT File System. (DSi)
+
|  0x00012E00
 +
|  0x08FB5200
 +
|  TWL-NAND FAT16 File System. (DSi)
 
|-
 
|-
 
|  twlp
 
|  twlp
|  TWL-NAND PHOTO FAT File System. (DSi)
+
|  0x09011A00
 +
|  0x020B6600
 +
|  TWL-NAND PHOTO FAT12 File System. (DSi)
 
|}
 
|}
 +
 +
3DS TWL NAND FAT partitions has FAT volume name "TWL", for CTR FAT partitions this is "CTR". The offset/size for TWL partitions are stored in the MBR partition table, while the CTR partition table info is stored in the NAND NCSD header.
    
None of the above physical NAND partitions are normally accessible from the ARM11, except for twlp. CTR/TWL NAND can only be accessed when the exheader access control descriptor for those are enabled. Normally the CTR/TWL NAND descriptors are never enabled for retail ARM11 [[NCCH#CXI|CXI]] processes. The ARM11 can only access "nand:/rw/" mounted as the nandrw [[FS:OpenArchive|archive]], and "nand:/ro/" mounted as the nandro archive below.
 
None of the above physical NAND partitions are normally accessible from the ARM11, except for twlp. CTR/TWL NAND can only be accessed when the exheader access control descriptor for those are enabled. Normally the CTR/TWL NAND descriptors are never enabled for retail ARM11 [[NCCH#CXI|CXI]] processes. The ARM11 can only access "nand:/rw/" mounted as the nandrw [[FS:OpenArchive|archive]], and "nand:/ro/" mounted as the nandro archive below.
Line 59: Line 73:     
=TWL partition=
 
=TWL partition=
The structure of these TWL partitions appears to be identical to DSi, except tickets are stored in the CTR FAT FS.
+
The structure of these TWL partitions is mostly the same as DSi, except tickets are stored in the CTR FAT FS. The twlp partition is exactly the same as DSi.
 +
The structure of [[twln/title]] is exactly the same as CTR NAND/SD, except the .cmd file is a cleartext file. The data directory under system titles' /title directory does not exist, this likely only exists for DSiWare.
 +
The directory names titleID-High used under [[twln/title]] is from DSi.
    
* [[twln/title/]]
 
* [[twln/title/]]
* [[twln/sys/HWINFO_S.dat]]
+
* [[twln/ticket/]]
 +
* [[twln/tmp/]]
 +
* [[twln/import/]]
 +
* [[twln/shared1/]]
 +
* [[twln/shared2/]]
 +
* [[twln/shared2/0000]]
 +
* [[twln/sys]]
 +
* [[twln/sys/TWLFontTable.dat]]
 +
* [[twln/log/inspect.log]]
 +
* [[twln/log/product.log]]
    
* [[twlp/photo/]]
 
* [[twlp/photo/]]

Navigation menu