Difference between revisions of "Flash Filesystem"
Line 57: | Line 57: | ||
* [[twln/title/]] | * [[twln/title/]] | ||
+ | * [[twln/sys/HWINFO_S.dat]] (Presumably has the same format as the DSi version) | ||
* [[twlp/photo/]] | * [[twlp/photo/]] |
Revision as of 05:03, 16 August 2012
The Nintendo 3DS has a 1GB NAND Flash chip.
Format
The format of the Nintendo 3DS's flash filesystem is currently undocumented. Reading of the flash chip is possible through pinouts on the motherboard and has been performed successfully but the data is encrypted and can't be understood without first decrypting it.
Encryption
The NAND file system is encrypted using AES-CTR.
Partitions
Name | Description |
---|---|
firm0 | Firmware partition. |
firm1 | Firmware partition. |
nand | CTR-NAND FAT File System. (3DS) |
twln | TWL-NAND FAT File System. (DSi) |
twlp | TWL-NAND PHOTO FAT File System. (DSi) |
CTR partition
Like SD, NAND savegames are stored at 00000000.sav under the data dir, for titles using NAND savegames. Also like SD, the TMD is stored under the titles' content dir as filename <ID>.tmd.
The "nandrw" archive is mounted at "nand:/rw/", while the "nandro" archive is mounted at "nand:/ro/".
- nandro/private
- nandro/shared
- nandro/sys
- nandro/sys/HWCAL0.dat
- nandro/sys/HWCAL1.dat
- nandrw/shared
- nandrw/sys
- nandrw/sys/updater.log
- nandrw/sys/native.log
- nandrw/sys/SecureInfo_A
- nandrw/sys/rand_seed
- nandrw/sys/LocalFriendCodeSeed_B
TWL partition
The structure of twln/title/ is exactly the same as DSi.(Same filenames under titles' data/content dir) The structure of twlp(TWL photo partition) is *exactly* the same as the DSi photo partition as well.
- twln/title/
- twln/sys/HWINFO_S.dat (Presumably has the same format as the DSi version)