python .\assemble_xsr2.py onenand.bin output_dir
NOTE: If TestDisk says that the partition(s) can't be recovered, try [UNDELETE] instead of Analyze.