Homebrew RELEASE NX Nand Manager

Joined
Jan 19, 2019
Messages
755
Trophies
0
XP
947
Country
United Kingdom
Taken from github

NxNandManager.exe [--list] [--info] -i inputFilename|\\.\PhysicalDriveX [-o outputFilename|\\.\PhysicalDriveX] [-part=nxPartitionName] [lFlags]


Arguments
Description Example
--gui Launch graphical user interface (optional) --gui
--info Display detailed information about input (-i) & output (-o) streams --info -i rawnand.bin
--list List compatible physical drives --list
-i Path to input file or physical drive -i rawnand.bin
-i "C:\some dir\rawnand.bin"
-i \\.\PhysicalDrive3
-o Path to output file or physical drive -o rawnand.bin
-o \\.\PhysicalDrive3
-part= Copy from/to a specific NAND partition (optional) -part=PRODINFO
-part=BCPKG2-2-Normal-Sub

lFlags
Description
BYPASS_MD5SUM Used to by-pass all md5 verifications
Dump/Restore is faster but less secure
FORCE Program will never prompt for user confirmation
DEBUG_MODE Program will display some infos that could be usful for debugging.
Compatibility
All dumps made with Hekate are compatible with NxNandManager (and vice versa).
Support for splitted dumps (such as SX (emu)NAND backups) will be added soon.

Examples
Dump full NAND to file
  • From physical drive (you first need to mount NX eMMC with memloader (via TegraRcmGUI for ex) :
    .\NxNandManager.exe -i \\.\PhysicalDrive3 -o "C:\Users\Public\NAND dump\rawnand.bin"

  • From existing dump file :
    .\NxNandManager.exe -i "C:\Users\Public\NAND dump\rawnand.bin" -o D:\rawnand2.bin
Dump specific partition to file
  • Dump SYSTEM partition from physical drive :
    .\NxNandManager.exe -i \\.\PhysicalDrive3 -o "C:\Users\Public\NAND dump\SYSTEM.bin" -part=SYSTEM

  • Extract PRODINFOF partition from existing dump file :
    .\NxNandManager.exe -i "C:\Users\Public\NAND dump\rawnand.bin" -o D:\PRODINFOF.bin -part=PRODINFOF
Restore NAND dump
  • Restore full raw NAND to physical drive :
    .\NxNandManager.exe -i "C:\Users\Public\NAND dump\rawnand.bin" -o \\.\PhysicalDrive3

  • Restore specific partition to physical drive :
    .\NxNandManager.exe -i "C:\Users\Public\NAND dump\rawnand.bin" -o \\.\PhysicalDrive3 -part=PRODINFO
    or
    .\NxNandManager.exe -i "C:\Users\Public\NAND dump\PRODINFO" -o \\.\PhysicalDrive3 -part=PRODINFO
Copy partition from file to rawNand file
  • Copy specific partition from rawNand file :
    .\NxNandManager.exe -i "C:\Users\Public\NAND dump\rawnand.bin" -o "C:\Users\Public\NAND dump\rawnand2.bin" -part=BCPKG2-1-Normal-Main

  • Copy specific partition from partition file :
    .\NxNandManager.exe -i "C:\Users\Public\NAND dump\BCPKG2-1-Normal-Main" -o "C:\Users\Public\NAND dump\rawnand2.bin" -part=BCPKG2-1-Normal-Main
Build
CLI : MinGW (recommended if not using Visual Studio), MSYS and MSYS2 with GCC
git clone https://github.com/eliboa/NxNandManager
cd NxNandManager
make

Note : Line #define ENABLE_GUI of "NxNandManager.h" file has to be commented

CLI + GUI (Qt) : MinGW64, MSVC
Dependency : Qt

Visual Studio (Qt Visual Studio Tools needed) : Use NxNandManager.sln solution file

QtCreator : Use NxNandManager/NxNandManager.pro project file
 

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
This looks extremely interesting to me, mainly for the fact it seems to read and write without the biskeys
biskey is only required to mount the nand partition right?
based on what I see, this app only allow dump and restore nand partition atm, not mounting them like hacdiskmount
can't wait to see what's next though

@eliboa you got plan to add mounting nand partition for this app?
 
Last edited by Garou,

eliboa

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
157
Trophies
0
XP
1,257
Country
France
biskey is only required to mount the nand partition right?
based on what I see, this app only allow dump and restore nand partition atm, not mounting them like hacdiskmount
can't wait to see what's next though

@eliboa you got plan to add mounting nand partition for this app?
HacDiskMount can do this already, except it is closed-source ^^
NAND decryption is a feature I plan to add in the future but I don't know when or if it will happen.
 
  • Like
Reactions: Garou

eliboa

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
157
Trophies
0
XP
1,257
Country
France
Dumb question: If I open a NAND from file, and then apply Incognito, is that applied to the file I opened or do I need to save the entire to another location?
Incognito will apply to the open file (i.e. rawnand.bin or prodinfo.bin) or drive. No need to save to another location.

Btw, NxNandManager 2.0.2 is available (added support for FW9.0 + improved fw dectection)
 
Last edited by eliboa,
  • Like
Reactions: klear and OrGoN3

eliboa

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
157
Trophies
0
XP
1,257
Country
France
NxNandManager V3 is available :
- Added support for emuMMC partition & TX hidden "partition" (backup & restore)
- New feature to resize NAND image (RAWNAND or FULL NAND). Useful to resize your emuNAND.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @salazarcosplay, I heard herbert stopped appearing on the show