recovery_menu icon indicating copy to clipboard operation
recovery_menu copied to clipboard

Add NAND dumper

Open GerbilSoft opened this issue 3 years ago • 13 comments

It would be useful to add the functionality of Wii U NAND Dumper to recovery_menu. Possibly one option per type (slc, slccmpt, mlc), or just a single option for "dump all 3".

https://github.com/koolkdev/wiiu-nanddumper/

Adding a NAND restore feature would probably still be too risky, since UDPIH requires IOSU to be functioning.

GerbilSoft avatar Aug 16 '22 05:08 GerbilSoft

That would be awesome, especially with the recent news of eMMC / filesystem corruption etc.

MRiCEQB avatar Mar 22 '23 14:03 MRiCEQB

This could also be useful for making untouched dumps from unused consoles and dev kits.

mariomadproductions avatar May 01 '23 21:05 mariomadproductions

This could also be useful for making untouched dumps from unused consoles and dev kits.

Indeed! @GaryOderNichts is there any chance we might get a dumper in the recovery menu?

MRiCEQB avatar May 02 '23 19:05 MRiCEQB

Great suggestion.

filipe-maia avatar May 21 '23 23:05 filipe-maia

@jan-hofmeier has this checker and dumper in his fork.

Invictaz avatar Aug 12 '23 23:08 Invictaz

@jan-hofmeier has this checker and dumper in his fork.

Awesome! Thanks for pointing to that fork. Maybe @GaryOderNichts can merge this fork into his repo.

MRiCEQB avatar Aug 13 '23 12:08 MRiCEQB

Has someone tested the fork?

mariomadproductions avatar Aug 22 '23 16:08 mariomadproductions

Yes I did. Jan works continuously and it is very good.

Invictaz avatar Aug 22 '23 16:08 Invictaz

Yes I did. Jan works continuously and it is very good.

Nice. Just to double check, the release can make full NAND images (slc.bin, slccmpt.bin, seeprom.bin, otp.bin and mlc.bin files, like the userland homebrew)? I'm talking to someone who wants to back up their Wii U this way, and I'd just like to confirm before suggesting it (I can't check myself atm).

mariomadproductions avatar Aug 22 '23 17:08 mariomadproductions

I'm not sure what it dumps and what not. Best to try it yourself on your own console before you recommend it to someone else.

Invictaz avatar Aug 22 '23 18:08 Invictaz

it dumps only slc and mlc, not slccmpt. The dump is done through FSA, for slc this means, only the pure data is read, not the RAS/ECC/spare sections. So before you could flash it, you would need the nandBinFixer, to rebuild the spare data. Also during slc dump, it will show error, which I don't exactly now where they are coming from, but I suspect these are just unused pages. (and therefore have no valid ECC).

For the MLC this means it is read through the scfm, giving a consistent image, which could be used with scfm disabled or to be restored through FSA, which would also bring the scfm in line again, in case it doesn't match.

The normal nandDumper really does raw dump of what is exactly on the slc, including the spare sections and also raw dump of the eMMC. But that means you alway need to keep them together, as the MLC image depends on the data in the scfm on the slc

jan-hofmeier avatar Aug 22 '23 20:08 jan-hofmeier

it dumps only slc and mlc, not slccmpt. The dump is done through FSA, for slc this means, only the pure data is read, not the RAS/ECC/spare sections. So before you could flash it, you would need the nandBinFixer, to rebuild the spare data. Also during slc dump, it will show error, which I don't exactly now where they are coming from, but I suspect these are just unused pages. (and therefore have no valid ECC).

For the MLC this means it is read through the scfm, giving a consistent image, which could be used with scfm disabled or to be restored through FSA, which would also bring the scfm in line again, in case it doesn't match.

The normal nandDumper really does raw dump of what is exactly on the slc, including the spare sections and also raw dump of the eMMC. But that means you alway need to keep them together, as the MLC image depends on the data in the scfm on the slc

Thanks. Is it theoretically possible to do a raw/full dump via udpih?

mariomadproductions avatar Aug 28 '23 16:08 mariomadproductions