Hacking How to compress rawnand.bin?

No on in their right mind will send you a nand backup :-/

--------------------- MERGED ---------------------------

Use 7zip to compress it, also if you have loads of games and stuff installed on it then it might not compress
 
  • Like
Reactions: Uumas
Depending on how much stuff you have installed on your Switch, your compressed NAND will differ. For example, if you downloaded a lot of eShop titles, your NAND will be much larger compressed than someone who never touches the eShop.
 
What is it you're compressing, how big was it before you compressed it, and how big was it after you compresed it? The most drastic compression is the USER partition and the rawnand.bin (which includes the USER partition). For the reasons listed above, results may also vary.
 
It has almost nothing on it. I have used 7-zip at max settings. It is a full rawnand.bin file.
It always had nothing on it?
If you factory reset or delete games and saves, the data is still there. There's no partition secure erasure (writing 00s).

For example, my gaming switch can be compressed up to 25GB with ultra custom LZMA2 (512MB - 256). Because it's practically full.
My other device though, can be compressed up to 1.5GB. Could be less but I already had some game updates before the first factory reset.
 
It always had nothing on it?
If you factory reset or delete games and saves, the data is still there. There's no partition secure erasure (writing 00s).
I think that is what happened. Some of my games could have been installed to system memory before I deleted them and redownloaded them to the micro-sd card. Is there a way to make a homebrew app that makes a large empty file to overwrite the empty space?
 
Last edited by Deleted member 456320,
I think that is what happened. Some of my games could have been installed to system memory before I deleted them and redownloaded them to the micro-sd card. Is there a way to make a homebrew app that makes a large empty file to overwrite the empty space?
You can mount the USER and System partitions and run a "wipe free space with zeroes".
That's easy because when you mount these 2 partitions with hacdiskmount they are FAT32 partitions. So you can run tools like that.
(Be careful though. Make a backup of your backup first. :P)
 
I rar'd it with zip compression on fastest setting and noticed it achieved 1% compression ratio. It's not necessary to set maximum compression. This was a great idea. My rawnand is now zipped to 372 MB.
 

Site & Scene News

Popular threads in this forum