Question What causes a NAND to become "dirty"?

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by JawhnL5, Oct 1, 2018.

  1. JawhnL5
    OP

    JawhnL5 Member

    Newcomer
    2
    Oct 14, 2015
    United States
    New Hampshire
    Hi, I tried searching through GBAtemp & Google *very* briefly to try & find a clear answer to this before I littered the forum with more questions, but could not seem to find anything. What is it that would cause a Switch NAND to become "dirty"? I haven't done a whole lot with my Switch yet, so it probably still has a "clean" NAND, but how would I be able to be sure of this? Thank you!
     
  2. Reploid

    Reploid GBAtemp Maniac

    Member
    9
    Jan 20, 2010
    Serbia, Republic of
    I think they talking about traces of jailbreaking.
     
  3. JawhnL5
    OP

    JawhnL5 Member

    Newcomer
    2
    Oct 14, 2015
    United States
    New Hampshire
    So something along the lines of running SX OS?
     
  4. chippy

    chippy GBAtemp Regular

    Member
    4
    Dec 21, 2017
    Australia
    Any custom OS. Any installing nsps. Using emulators. If you booted anything throu rcm that's not stock it's not clean.
     
    Memoir and JawhnL5 like this.
  5. Kafluke

    Kafluke GBAtemp Psycho!

    Member
    13
    May 6, 2006
    United States
    Clean nand = untouched by your filthy hacking hands
     
    Last edited by Kafluke, Oct 1, 2018
    NoNAND, ScarletDreamz and 0000ff like this.
  6. LightBeam

    LightBeam Member

    Newcomer
    2
    Oct 1, 2018
    France
    I've got another question (I think it's better to ask it here but tell me if making another topic is the best idea)
    I'm considering hacking my Switch, so I know I'm supposed to do a nand backup right before I do any kind of hacking stuff. For safety purposes I stay offline, I play all the games I want etc etc
    But what if I want to restore my ofw nand, is there some kind of informations that Nintendo write into some read only partitions of the nand (like on the wii I believe) so that my nand will never be as clean as it was before or is that ok ?
     
  7. mariogamer

    mariogamer GBAtemp Maniac

    Member
    5
    Aug 12, 2015
    Canada
    That's not true.

    Custom os don't write anything to the nand. It's true that what is in the memory is different (the os doesn't care, for now about that tho), but after a reboot, it's like you never did anything.

    Nsp:yes ofc. It does write a lot of stuff that I can't remember off of the top of my head, but it makes your nand unclean.

    Emulators, same reason as the first one, except maybe that it can crash (tho creport handles that already).

    And the fact that booting anything in rcm makes it unclean is not true. For example:
    1. Linux & Lakka: those are outside of the os, tho they do write some registers by their own, but don't touch rhe nand
    2. Hekate (not including restore options) and any payload that doesn't write to the nand, leave the NAND untouched
     
  8. zenamez

    zenamez GBAtemp Fan

    Member
    4
    Sep 7, 2016
    A "dirty NAND" happens due to:
    • Crash logs being created for Homebrew/CFW apps - you can check for CFW related crash logs by going into System Settings -> Support -> Error History. If there isn't a title next to the crash - that's a CFW related one. You can get around this using Hekate/ReiNX and Atmosphere's Creport kip which dumps the report to the SD card and not Ninty's servers (SXOS doesn't have support for Kips OR Creport so if you use that - good luck).
    • Installing NSPs you don't own.
    • Installing NSPs and deleting them leaves the e-Ticket behind which can also alert Nintendo to CFW (even though you deleted the title, the ticket still exists as evidence of piracy).
    • Installing non-"stock" NSPs (Homebrew launcher nsp etc).
    The crash log trail is going to be your biggest downfall with SX OS (unless you pirate NSPs files - then it'll be both NSPs and crash logs). Other CFWs clean up after themselves, but SX leaves a mess of evidence behind.
     
    mariogamer likes this.
  9. nWo

    nWo The Game Master

    Member
    5
    Oct 20, 2016
    Mexico
    So, Creport, how does it work?

    I mean, when you have a crash with CFW, when or in what moment does Crport send the info to the SD? In the very moment you have the error? Or when you enter internet with Original Firmware, or when? Also, if you afterwards enter original firmware, what does happen to the errors? Do they got sent again this time for real?

    That's one thing I never understood.
     
  10. zenamez

    zenamez GBAtemp Fan

    Member
    4
    Sep 7, 2016
    Atmosphere's CReport replaces Nintendo's Creport system function by dumping the crash dump/log to the SD Card instead of packing it up and sending it to Nintendo's servers (along with your console info). As soon as a crash happens, Atmosphere's Creport takes over and does the work. It effectively disables Ninty's implementation outright so it doesn't work.

    The crash is still logged locally on your Switch, but is never sent to Nintendo (as Atmosphere's Creport dumps it to the SD card, it convinces the Switch it was sent to Nintendo's servers - so it never sends it again).
     
  11. mariogamer

    mariogamer GBAtemp Maniac

    Member
    5
    Aug 12, 2015
    Canada
    Actually the crash isn't logged locally.
    Creport only handles the generation of report, if I remember, then puts it into the NAND. However, with atmosphere's creport, it places it on the sd, as if you had 0 crash.
     
  12. nWo

    nWo The Game Master

    Member
    5
    Oct 20, 2016
    Mexico
    Oh I see. Great to know, thank you both.

    A last question. I have a backup from my NAND from, about a couple months ago. If I restore it (because I have had some crashes lately) there is any way Nintendo could know I have restored it? Because, I use the eshop and legit games online a lot, but that backup doesn't have any crashes. I haven't been online since 6.0 launched. Still on 5.1
     
  13. zenamez

    zenamez GBAtemp Fan

    Member
    4
    Sep 7, 2016
    Nope they can't tell. You can think of it like restoring a previous state. The Switch doesn't know about anything after when the NAND backup was taken.

    The only times it gets dicey is if you attempt to restore a NAND backup made on a different FW version than the one currently installed (burnt fuse mismatch - you'd need to use Hekate to boot as it ignores the fuse check) or if you've sent crash logs to Ninty, and your backup hasn't got them - then you'll have a log mismatch.
     
    Last edited by zenamez, Oct 2, 2018
  14. annson24

    annson24 The Patient One

    Member
    6
    May 5, 2016
    Philippines
    And just Initializing the console isn't enough to clean it, right?
     
  15. mariogamer

    mariogamer GBAtemp Maniac

    Member
    5
    Aug 12, 2015
    Canada
    Officially, no.
    But you can do some sort of a hard reset (I don't remember what it erases). For that you need to delete the USER partition content and delete everything under SYSTEM:/save EXCEPT 2 folders: 80000....120 & (I don't remember if there's something else, can't find the thread (the original was on the reswitched discord).
     
    Last edited by mariogamer, Oct 2, 2018
    annson24 likes this.
  16. dustyranch

    dustyranch Newbie

    Newcomer
    1
    Sep 21, 2018
    Sweden
    Am i right in assuming that restoring an untouched NAND backup (via Hekate) would take care of all of these issues?
     
  17. zenamez

    zenamez GBAtemp Fan

    Member
    4
    Sep 7, 2016
    As long as the backup was taken before any of the above happened - yes.
     
    dustyranch likes this.
Loading...