"Passthrough zeroes" is not working reliably
monstrosities opened this issue · 0 comments
Hello,
I've been trying to dump an encrypted RAWNAND with passthrough zeroes checked but the option does not seem to work reliably. Upon checking in a hexeditor the dump is full with unallocated data which isn't zeroed out even though I formatted the USER partition.
When I say it does not work reliably that's because after many attempts I found a way to get it to work by running things in a specific order. For example:
- run RAWNAND dump with "none" checked for Crypto: passthrough zeroes does NOT work, all data encrypted including all unallocated data NOT zeroed out (once SYSTEM is complete and USER begins to dump I check completed USER chunks in a hexeditor to verify this)
- run USER partition only dump with "decrypted" checked for Crypto: passthrough zeroes WORKS, allocated data is decrypted and unallocated data is zeroed out
- for a second time run RAWNAND dump "none" checked for Crypto: passthrough zeroes NOW WORKS, allocated data is encrypted and unallocated data zeroed out
The split file size doesn't seem to affect this at all, neither does checking or unchecking "Format USER partition" which of course is already formatted.
As you can see this is really strange behaviour and passthrough zeroes won't "just work" without messing around with settings and running things multiple times.
I'm using the latest NXNandManager and hekate 5.8.0 to mount the eMMC and I get the same results on two different Switch consoles.
Example of settings in NXNandManager which won't "just work" without doing what I described above: