Hacking Question NAND backup compresses to 500MB (WinRar)

877

Well-Known Member
OP
Member
Joined
Mar 8, 2017
Messages
179
Trophies
0
XP
443
Country
United Kingdom
So I just dumped my new Switch NAND (v3.0.2) and it comes to 29.1GB (exfat one file)
But Winrar compresses it down to a total of 480MB!

Is this normal guys/gals?
 

Thetoto

Well-Known Member
Member
Joined
May 10, 2018
Messages
528
Trophies
0
Age
25
XP
661
Country
France
Yes, if you have less than 480MB in your NAND. DO you have any eshop games, update, album pictures, ... in your NAND ?
 
Last edited by Thetoto,

877

Well-Known Member
OP
Member
Joined
Mar 8, 2017
Messages
179
Trophies
0
XP
443
Country
United Kingdom
@Thetoto No the console is brand new on v3.0.2 only used once, will only have a save game on it as my son couldn't wait :)
Thanks
 

VuuI

Well-Known Member
Member
Joined
Dec 28, 2014
Messages
100
Trophies
0
Age
31
XP
617
Country
Belgium
In addition to your rawnand.bin, make sure you also backup your BOOT0 and BOOT1. They're also small.
What do these do exactly? I was planning to restore my nand in the future to before I used SXOS, but don't have these, only have the 29.1GB rawnand.
 

Lacius

Well-Known Member
Member
Joined
May 11, 2008
Messages
18,099
Trophies
3
XP
18,338
Country
United States
What do these do exactly? I was planning to restore my nand in the future to before I used SXOS, but don't have these, only have the 29.1GB rawnand.
http://switchbrew.org/index.php?title=Flash_Filesystem

As far as the end user is concerned, it's good to have these backed up for the following reasons:
  • They're needed if you're restoring a NAND backup from a different system version than the one you're currently on (e.g. downgrading).
  • In case you corrupt BOOT0/1 and can't restore them (e.g. AutoRCM)
 
  • Like
Reactions: VuuI

VuuI

Well-Known Member
Member
Joined
Dec 28, 2014
Messages
100
Trophies
0
Age
31
XP
617
Country
Belgium
Alright, sounds like I can just make those backups right now to use with my previous backup then, since i haven't updated my FW or anything and it doesn't sound like SXOS affects those
 
  • Like
Reactions: Lacius

TamarindoJuice

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
288
Trophies
0
XP
1,531
Country
Brazil
Backup BOOT0 and BOOT1 with AutoRCM enabled (boot data corrupted) can lead to any problem in the future in case i need to use my backup to restore my potentially soft bricked Switch?
 

nightweb

Well-Known Member
Member
Joined
Sep 16, 2009
Messages
268
Trophies
1
XP
2,278
Country
Ireland
I was wondering if anyone could advise me, I made two backup's of my NAND (and Boot0/1) however both times when I compressed them they come to nearly 22.7GB and the 7-zip file when compressed is 22GB. anyone suggest how I can compress it down to what everyone else seems to be able to compress it to?
 

atschatner

Member
Newcomer
Joined
Jul 16, 2018
Messages
24
Trophies
0
XP
95
Country
Norway
I was wondering if anyone could advise me, I made two backup's of my NAND (and Boot0/1) however both times when I compressed them they come to nearly 22.7GB and the 7-zip file when compressed is 22GB. anyone suggest how I can compress it down to what everyone else seems to be able to compress it to?

Try WinRar and see if the archive is smaller.
 

Engezerstorung

Well-Known Member
Member
Joined
Nov 9, 2011
Messages
208
Trophies
1
XP
1,743
Country
France
guys, the compressed size of your nand backup depend on what is actually on your switch, so all raw backup will be max size available on your nand (29.1GB), but if you have nothing on it if will just remove all the "empty space" in it, to leave only the really used space, when you compress it

so if your switch is full with stuff, your compressed nand will be big anyway
there is no "magic compressing algorythme"
 
  • Like
Reactions: atschatner

nightweb

Well-Known Member
Member
Joined
Sep 16, 2009
Messages
268
Trophies
1
XP
2,278
Country
Ireland
Try WinRar and see if the archive is smaller.
sorry My post bit unclear, overheating here at the moment, WinRAR is 22.7GB 7-Zip is 22.0GB

guys, the compressed size of your nand backup depend on what is actually on your switch, so all raw backup will be max size available on your nand (29.1GB), but if you have nothing on it if will just remove all the "empty space" in it, to leave only the really used space, when you compress it

so if your switch is full with stuff, your compressed nand will be big anyway
there is no "magic compressing algorythme"

This is where I'm totally confused, my NAND is empty, well there's a few files that Mario Odessdy installed but it says that is only few MB in size, other than that everything is on my SD card :(
 

Albytrozz

Well-Known Member
Member
Joined
Jun 10, 2018
Messages
265
Trophies
0
XP
675
Country
United States
To explain this more simply, the archiving app just sees all of those useless '0's in the full NAND backups and skips them and keeps any actual info left. This is why compression is so useful on ROM dumps or even some of your untrimmed XCIs, you don't need to be storing blank space if you can help it.

It's also why the size that people end up with will vary big time based on how much free space was left empty on the NAND for the archiving app to 'skip over'...
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,380
Trophies
2
XP
18,301
Country
Sweden
Yes it's normal. The rest if your NAND is just filled with empty preoccupid space. So Winrar compresses it. Also if you want smaller, go with 7zip and LZMA2 compression.
 
  • Like
Reactions: Albytrozz

Drakia

Well-Known Member
Member
Joined
Mar 15, 2008
Messages
1,644
Trophies
2
Age
36
XP
2,596
Country
Canada
sorry My post bit unclear, overheating here at the moment, WinRAR is 22.7GB 7-Zip is 22.0GB



This is where I'm totally confused, my NAND is empty, well there's a few files that Mario Odessdy installed but it says that is only few MB in size, other than that everything is on my SD card :(
If you had previously installed things, there's a good chance the Switch isn't going to set the NAND back to 0's when it's deleted (Waste of a write cycle), it's just going to flag that area as free. You most likely have had up to 22GB in use throughout the NAND in the past.
 

nightweb

Well-Known Member
Member
Joined
Sep 16, 2009
Messages
268
Trophies
1
XP
2,278
Country
Ireland
If you had previously installed things, there's a good chance the Switch isn't going to set the NAND back to 0's when it's deleted (Waste of a write cycle), it's just going to flag that area as free. You most likely have had up to 22GB in use throughout the NAND in the past.

Ah ok, that might explain it, when I had first got my sd I downloaded my games that must have been what caused the space to be "used", would there be a way to free or "zero-out" on the switch side? I know may seem like waste of a write cycle but the extra space I could save on the backup I could store my sd too
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...