Hacking How can I zero the NAND space?

isoisoiso

Well-Known Member
OP
Member
Joined
Jun 16, 2018
Messages
203
Trophies
0
XP
506
Country
Spain
I installled a few games and updates to the nand a few months ago, now the NAND backup size is huge after compressing it to .zip even after uninstalling those games and updates
Is it possible to zero the NAND and get rid of all that ghost data?
 

chippy

Well-Known Member
Member
Joined
Dec 21, 2017
Messages
321
Trophies
0
Age
124
XP
967
Country
Australia
The nand is encrypted so even 0's are not 0's when encryption is done
You might find putting in days like a game can make it compress better due on the resulting encryption.
Zipping/compressing usually takes the same recurring patterns and changes them to something smaller and adds it to a key to uncompress
 
  • Like
Reactions: Subtle Demise

Freezerbomb

Likes tacos
Member
Joined
Aug 17, 2018
Messages
171
Trophies
0
Age
35
XP
511
Country
United States
I haven't tried it myself yet, but I've heard from others that it does work. I'm going to do it when SXOS 3.0 comes out and I'll report the results here.
 
  • Like
Reactions: isoisoiso

MHDestination

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
392
Trophies
0
Location
Under your bed
XP
888
Country
Germany
You can do that by using Nintendo's official recovery mode. It will delete everything though.

I'm quite sure that the recovery menu won't ever zero the sectors.
It removes just the entries from MFT.

There would be no reason for recovery to zero out those sectors, since that would only degrade the lifespan of the emmc
 
Last edited by MHDestination,

bundat

¿
Member
Joined
Jul 25, 2018
Messages
456
Trophies
0
XP
481
Country
Antarctica
Ah I first thought you wanted to fill the Nand. Devmenu can actually do it both ways; fill the remaining space up with dummy data, and remove said dummy data. Not sure if it would work in your case though.
If the dummy data isn't random, and is instead something like all FF's, that also works too for good compression.

I wonder... maybe someone would be willing to test it out. I can't, I don't even have the free space right now to make another nand backup. And I'm lazy :P
 
  • Like
Reactions: Subtle Demise

cleeezzz

Member
Newcomer
Joined
Dec 9, 2018
Messages
10
Trophies
0
Age
32
XP
220
Country
United States
We have essentially the same issue. I think we reached a solution. I cannot post links but you can find the thread on this forum or in my post history.

The difference is that you want to do it on your switch itself and I wanted to do it on an existing backup. I think the process is the same except it is riskier to do it directly to the switch nand.
 
Last edited by cleeezzz,

isoisoiso

Well-Known Member
OP
Member
Joined
Jun 16, 2018
Messages
203
Trophies
0
XP
506
Country
Spain
We have essentially the same issue. I think we reached a solution. I cannot post links but you can find the thread on this forum or in my post history.

The difference is that you want to do it on your switch itself and I wanted to do it on an existing backup. I think the process is the same except it is riskier to do it directly to the switch nand.
If I restore that modified backup, will it whipe the ghost data or what happens with it?
Also can you dm some link?
 

cleeezzz

Member
Newcomer
Joined
Dec 9, 2018
Messages
10
Trophies
0
Age
32
XP
220
Country
United States
Yeah the restore will write to your nand bit for bit, it would wipe out the ghost data.

I dont think I can DM, my account is too new, you can find my thread in my profile.

EDIT: I restored my backup and confirmed that it works, remember that the firmware must be launched via a specially configured hekate_ipl.ini (EVEN IF YOU ALREADY HAVE A hekate_ipl.ini SET UP, YOU MUST OVERWRITE IT WITH THIS ONE). It is found in raj's guide about booting official firmware without burning fuses. DM me if you need the link, I cannot give you the link through this post and I cannot DM you.
 
Last edited by cleeezzz,
  • Like
Reactions: isoisoiso

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: I was also K3nv2's pubic hair fluffer "Zek Hiel"