NxNandManager
von eliboa
Mit diesem super Tool, könnt ihr über den Windows-PC euren Nand der Switch sichern + wiederherstellen.
Funktionen:
- Kompletter NAND backup & wiederherstellen (BOOT0, BOOT1, RAWNAND)
- Kopieren einzelner Partitionen (RAWNAND)
- NAND entschlüsseln/verschlüsseln mittels bis keys
- Option um Konsole spezifische ID's und Zertifikate zu entfernen (wie Incognito)
- Anzeigen von nützlichen Informationen vom NAND rawnand/gemountet (Firmware ver., exFat Treiber, S/N, etc.)
- Dump-Überprüfung der MD5
- AutoRCM kann aktiviert/deaktiviert werden (BOOT0)
Download:
https://github.com/eliboa/NxNandManager/releases
Changelog:
v5.2
- Firmware detection : added support for 14.0.0, 14.1.0 & 14.1.1
- Fixed #79 : Incognito hanging on newer PRODINFO versions.
- Fixed #82 : Error while performing backup/restore from/to NAND without GPT header backup (mounted via Hekate's UMS Tool for example)
v5.1
Bug Fixes:
- #74, #37 NAND without GPT backup is now recognized as a valid NxStorage
- #71 A bug was fixed that caused checksum mismatch error
- #61, #47 Several bugs were fixed regarding partition formatting
- #59 Filebased emunand with extra dots in file path were not recognized, fixed
- #57, #44 File paths with non ASCII characters are now properly managed
- #46 Mariko: A bug was fixed that prevented DeviceID from being recognized
- #24 A bug was fixed that caused crypto validation error for empty/formatted partitions
Partition mounting (virtual disk / virtual FS):
- New option: User can select mouting point (drive letter)
- New option: Nintendo's archive folder virtualization (handled as single file NCA, file size can exceed 4 GB)
- New option: Partition can be mounted as read-only
- Virtual FS now uses multithreading which allows for file sharing & faster transfer speeds.
NAND partition formatting (USER, SYSTEM):
Code has been redesigned. FatFS lib is now used.
Explorer (Beta):
- Explore the content of USER & SYSTEM partitions. Provides useful info: title name & id, user name & id, etc.
- List, save or extract files from saveFS (title saves, under /save folder)
- List, save, decrypt or extract content from NCAs (installed titles) using hactoolnet
Please note:
- You'll need to re-configure your keyset (import all keys from both prod.keys & title.keys).
- Content (JPEG) will be downloaded from Nintendo's public CDN and cached in
/cache
folder. - Content will be downloaded from eliboa.com (nca filename DB as json file, title DB as json file).
- External program hactoolnet.exe is used to decrypt & extract files from NCAs.
Keyset configuration:
You can import all sorts of keys into keyset, not only Bis keys (useful for Explorer).
Firmware detection:
- BOOT0, SYSTEM: added support for latest firmwares (up to 13.2.1)
- SYSTEM: added a feature to query firmware version from a remote database : eliboa.com/switch/nca.php (#75)
v5.0
- Added firmware detection support for 12.0.0, 12.0.1 & 12.0.2
- Added a feature to mount any FAT partition (USER, SYSTEM, etc.) as virtual disk. Follow steps to install Dokan's driver first.
- Improved transfer speeds (especially for splitted NAND)
- Various bug fixes & improvements
v4.1.2
- Added firmware detection support for 12.0.0
v4.1.1
- Added firmware detection support for 10.2.0, 11.0.0 & 11.0.1
v4.1
The following was changed since the last release:
- Added support for mariko's BOOT0 (prevent autoRCM activation for mariko)
- Added firmware detection support for 10.1.0 & 10.1.1 (CHN)
- Fixed a bug caused by a nullptr when creating rawbased emunand from FULL NAND
- Fixed segmentation fault in NxHandle destructor
- Fixed a bug occuring when some bis keys were missing from keyset file
- Output file handle is now correctly freed after copying
GUI :
- UI scaling implementation (many thanks to Chrscool8 for his contribution)
- You can now close an opened file/drive from 'File' menu (to release file handle)
CLI :
- New option --crypto_check : Validate crypto for a given keyset file (-keyset) and input (-i)
- Fixed a bug when displaying remaining time
- Encryption/decryption for FULL NAND was broken, fixed
Note : NxNandManager.exe (x64) is now build statically to get rid of all these dlls.
v4.0
The following was changed since the last release:
- Emunand creation tool has been implemented for CLI use
- List of NCAs has been update for a better firmware detection (thanks to @shadow2560 & @throwawayay)
- Firmware detection (from pckg1ldr header) update
Bug fixes:
- AutoRCM was broken. One byte in each of BCTs are now XORed.
- Copy failed during dump via Nyx UMS tool (emuMMC)
- Fixed a critical bug caused by an unresized copy buffer when splitting output file into chunks
- GUI: Data integrity validation was missing for full dump
- CLI: Remaining time display was broken (restore)
- #26 : Selection of the nand image file was not possible in the Emunand Creation Tool
- #27 : By default, the program wasn't running with elevated permissions
v4.0.0 beta
- New GUI layout
- New feature "advanced copy" (passthrough zeroes, split output, zip output, etc.)
- New tool "Emunand Creation Tool" (GUI only) provides an easy way to create a file based emuNAND or raw based emuNAND on micro SD card.
- GUI : you can now choose to open any emuMMC partition, in case of multiple emuMMC on the same micro SD card (Open Drive, CTRL+D)
- many fixes and improvements.
v3.0.3
- Fixes USER's boot sector when creating resized NAND larger than 32Gb (Horizon OS was unable to detect the real size of USER partition).
v3.0.2
- GUI : Fixed a bug that caused backup GPT not to be found for RAWNAND as a memloader drive (#10)
- GUI : Fixed a bug that caused BCPKG2 partitions not to be recognized (#8)
- Input volume is now locked before making dump/restore to prevent any other process from writing to volume during operation
- misc fixes
v3.0.1
- writing to emuMMC partition is fixed (#6)
- fixed an error when input or output path contains non latin characters. (#5)
v3.0.0
Added suppport for SD partition emuMMC and SX OS hidden partition (emuNAND)
Thus, support for a new NxStorage type "FULL NAND" was added. FULL NAND contains BOOT0, BOOT1 and RAWNAND in a single file/storage. You can pretty much perform the same operations to FULL NAND and RAWNAND (dump, restore, decrypt partition, dump partition, etc).
Additionally, you can extract RAWNAND from FULL NAND as well as BOOT0 & BOOT1 (CLI : use argument -part=RAWNAND, -part=BOOT0,etc. GUI : "Tools" > "Dump RAWNAND only"). You can also restore FULL NAND to RAWNAND (BOOT0 and BOOT1 will be skipped) and vice versa.
To open your emuNAND partition, mount your SD card on your computer, then :
- GUI : Use shortcut CTRL + D to list compatible drives, then select the detected drive, labelled "FULL NAND".
- CLI usage : use command NxNandManager.exe --list to get the disk name to use with input argument "-i".
Resize NAND
You can now resize any RAWNAND or FULL NAND storage. The resize feature will create a new file for your NAND with resized USER partition. This is mainly useful to reduce the size of your emuNAND (file or partition) but you can also increase the size of USER partition, above 26 Gb. Optionally, USER partition can be formatted while resizing.
CLI : a list of partition can now be provided through argument "-part"
In case you want to dump or restore several partitions at the same time, you can provide a list of partitions, seperated by a comma, through "-part=" argument. In this case, output must be a directory. When output is a valid NxStorage (restore), every partition that exists in both input and output, will be restored to output.
One thing to remember is that when argument -part is provided, the program will never copy the GPT (partition table).
Misc.
- Restoring to splitted dump is now allowed.
- When keyset is provided, the program can retrieve new information :
- device ID (can be useful to disable parental control)
- WLAN mac address.
- Available FAT32 space for partitions SYTEM & USER
- Improved BOOT1 detection (will look for magic PK11 in the entire file).
- Except for some GUI parts, the whole code has be refactored. Although this is mainly transparent for end user, you should notice a general improvement in performance when copying (except when using memloader which is still super slow).
- CLI : remaining time and amount of bytes copied are now displayed during copy
v2.0.2
- Added support for 9.0 RAWAND firmware detection
- Added support for 9.0 BOOT1
- Improved firmware detection : since nca filename based detection is not so accurate, the program will also and always search in journal/play reports for firmware version (opening rawnand or SYSTEM partition will be a bit slower, especially with memloader)
v2.0.1
- Added support for emuMMC (SD Files). Restoring to a splitted dump is still not supported but you can dump/join and decrypt emuMMC, or install incognito on emuMMC (open the file named "00" in your emuMMC directory)
- Fixed error when installing incognito on splitted dump.
v2.0
NAND decryption/encryption (AES-XTS)
NxNandManager can now decrypt or encrypt NAND file/drive (rawnand or encrypted partition file "PRODINFO", "SAFE", "SYSTEM", etc).
A keyset file containing biskeys must be provided.
CLI Usage :
Use -d argument to decrypt, -e to encrypt.
Keys can be provided by the -keyset argument to the keyset filename.
The program can parse keyset files made with biskeydump or lockpick :
BIS Key 0 (crypt): <16-byte hex key> BIS Key 0 (tweak): <16-byte hex key> ...or
bis_key_00 = <32-byte hex key> bis_key_01 = <32-byte hex key> ...Examples
Decrypt full rawnand :
NxNandManager.exe -i rawnand.bin -o rawnand.dec -d -keyset keys.dat
Decrypt single partition file :
NxNandManager.exe -i PRODINFO -o PRODINFO.dec -d -keyset keys.dat
Encrypt single partition file :
NxNandManager.exe -i PRODINFO.dec -o PRODINFO.enc -e -keyset keys.dat
Decrypt & restore single partition file to physical drive
NxNandManager.exe -i PRODINFO.dec -o \\.\PhysicalDrive3 -part=PRODINFO -e -keyset keys.dat
Encrypt & restore full rawnand
NxNandManager.exe -i rawnand.dec -o \\.\PhysicalDrive3 -e -keyset keys.dat
GUI :
GUI has been updated to support crypto operations.
Keys can be added through 'Configure keyset' entry in 'Options' menu
Incognito
An "incognito" option has been implemented. As blawar's incognito does, it will wipe out all console unique id's and certificates from CAL0. It can be useful since Atmosphere prevents writing to CAL0.
The program will need bis keys to apply incognito on encrypted file/drive
CLI usage : To apply incognito, use --incognito argument (applies to input -i type : RAWNAND or PRODINFO). For example : NxNandManager.exe --incognito -i rawnand.bin -d -keyset keys.dat
GUI : Use appropriate entry in "Options" menu
Misc
- When keys are provided or if content is already decrypted, the program can retrieve additional information (CLI :--info, GUI : File > Properties)
- Firmware version & ExFat driver (based on .nca filenames is SYSTEM, the exact same way FVI does it, or from journal/play reports in SYSTEM)
- Serial Number (from PRODINFO or journal in SYSTEM)
- Last boot time (from SYSTEM/save/8000000000000060, same way FVI does it)
- Bootloader version is now retrieved from BOOT0
- The program prevents the system from entering sleep mode when copy is is progress.
v1.1.2
- Added support for 8.1 BOOT1
v1.1.1
- Added support for 8.0 BOOT1
v1.1
- GUI has been completely redesigned
- Support was added for splitted dumps
- New feature to toggle AutoRCM was added
- BOOT1 detection is now supported for 7.X firmwares
Wie kannst du den Nand deiner Switch nun sichern oder wiederherstellen?
Nutze hierzu dieses Tutorial -> [Tutorial] Switch Nand Backup/Restore mit NxNandManager