Sys/EmuNand linking technical background

Discussion in '3DS - Flashcards & Custom Firmwares' started by w0dash, Jan 25, 2015.

  1. w0dash
    OP

    w0dash noob

    Member
    150
    77
    May 29, 2012
    Gambia, The
    Hello,

    it is well known that the system and emulated nand are linked after creation and unlinked after formatting one of them.

    Can someone explain in which way they are connected, as they don't share the same memory partition?
     


  2. w0dash
    OP

    w0dash noob

    Member
    150
    77
    May 29, 2012
    Gambia, The
    Push.
     
  3. zoogie

    zoogie simple pimp tool

    Member
    6,152
    7,728
    Nov 30, 2014
    United States
    Here is a little visual representation of the unlinking concept I just whipped up. Hope it helps some.

    NANDunlinking.PNG
     
  4. lPolarisl

    lPolarisl GBAtemp Fan

    Member
    334
    92
    Jan 24, 2015
    Hungary
    Let's say you have your sysnand. You decide to have an emunand. The program creates an emunand on your SD card, this just copies your 3DS's firmware to the SD card, your personal files (games, pictures, or anything not related) stay on the SD card.
    Now, every 3DS has a custom "signature", this is why you can't play another 3DS's 3dsware, the "signatures" don't match up.

    Your emunand is a clone of your sysnand, therefor they have the same "signature", so if you meddle with one's personal files, it is in conflict with the other's personal files. Because the filesystem wasn't designed to be used by two different 3DSs.

    When you format one of your nand's, you change that nand's "signature", as such it will now use different files. You'll be running two different 3DS on the same system.

    I don't know if I was clear, feel free to ask away :)

    everyone else : correct me if I made any mistakes.
     
    thorasgar likes this.
  5. thorasgar

    thorasgar Checkout my evil Soon-in-atorâ„¢

    Member
    3,405
    1,844
    Jul 3, 2010
    United States
    This needs to be a sticky.
     
  6. scynetic

    scynetic Newbie

    Newcomer
    1
    0
    Jan 29, 2015
    United States
    When formatting sysnand or emunand, do you always pull out the SD card? Is there a best spot to do this in the format process?
     
  7. cearp

    cearp the ticket master

    Member
    7,405
    4,656
    May 26, 2008
    Tuvalu
    it's just one smaller little file called movable.sed that is stored in nand.
    it is the same file that gets transferred when you system transfer, so that all your old content will work on the 3ds you changed to.
    when you format you get a new moveable.sed file.
     
    Obi123 likes this.
  8. thorasgar

    thorasgar Checkout my evil Soon-in-atorâ„¢

    Member
    3,405
    1,844
    Jul 3, 2010
    United States
    When you format sysnand you pull the SD card out before you confirm the format.

    I have never tried pulling the card out while formatting emunand. Considering emunand is on the SD card I think it rather unwise, but what the hell give a try and see what happens. :)
     
  9. cearp

    cearp the ticket master

    Member
    7,405
    4,656
    May 26, 2008
    Tuvalu
    it crashes
     
  10. VerseHell

    VerseHell GBAtemp Psycho!

    Member
    3,067
    1,067
    Jun 29, 2014
    France
    Formatting the console doesn't format the sd card, so you don't even have to pull it out.
     
  11. cearp

    cearp the ticket master

    Member
    7,405
    4,656
    May 26, 2008
    Tuvalu
    it doesn't format the sd card no, but it does get rid of all the data that was tied to the 3ds (to that nand), like games, save, etc
     
    VerseHell likes this.
  12. VerseHell

    VerseHell GBAtemp Psycho!

    Member
    3,067
    1,067
    Jun 29, 2014
    France
    Didn't know that, thanks for the information. :)
     
  13. cearp

    cearp the ticket master

    Member
    7,405
    4,656
    May 26, 2008
    Tuvalu
    that is why some people say to remove the sd card when you system format in settings, if the sd card is not there, it cannot delete your stuff :D
    (but you will still get a new movable.sed file in nand) - so the stuff that would have been deleted would no longer work with this nand -- but if you have another nand that you did not format, and you have just 'unlinked' them, then the stuff will work with the other nand...
    i hope that makes sense, maybe i explained it badly :)
     
  14. Kohmei

    Kohmei GBAtemp Advanced Fan

    Member
    758
    457
    Feb 17, 2013
    United States
    Is it true you can't make your own .cia files once you unlink? It seems to be the only downside to unlinking
     
  15. cearp

    cearp the ticket master

    Member
    7,405
    4,656
    May 26, 2008
    Tuvalu
    well, you cannot decrypt your own stuff no, not if you extract your movable.sed file and put it on the sd card, so it will be used when decrypting :)
    but if you use something like FunkyCIA, you will be ok, because it does not need to decrypt anything
     
  16. xdarkmario

    xdarkmario Philosopher

    Member
    1,321
    303
    Dec 30, 2010
    United States
    Mushroom Kingdom
    in my emunand and sys nand are linked but in my Nintendo 3ds folder theres not 1 folder theres 5. how do i know what belong to 3ds gamedata/dlc and which one is the sysmenu?
     
  17. iCEQB

    iCEQB GBAtemp Advanced Fan

    Member
    664
    440
    Nov 2, 2013
    United States
    This is strange, I have never unlinked my NANDs but they are seperated. I looked inside the Nintendo 3DS folder and there is only one sub folder in there. I also don't have this unwrapping bug everybody is tallking about for CIA titles. The only thing I noticed after I created my emuNAND back at the time, was that the WiFi configuration carried over to sysNAND, but I was able to delete it there and let it remain for emuNAND.
    But apart from that I never ever formatted either NAND.

    EDIT: Another Thing I noticed is that, when I install a CIA on emuNAND, I can see it in sysNAND. And I remember that I tried to create a Homebrew folder in emuNAND to put all my CIAs in there, but it didn't carry over to sysNAND, it just reset that Setup for both NANDs and I actually had to create a folder on both NANDs for them to stay like this.
     
  18. Maximilious

    Maximilious GBAtemp Addict

    Member
    2,088
    880
    Nov 21, 2014
    United States

    That sounds a little messed up. I would backup your SD card and emuNAND with emuNAND Tool, remove SD card, format sysNAND again, format emuNAND, restore emuNAND from backup. Then you can copy over one of the two folders to see which one is the correct one for emuNAND.
     
  19. iCEQB

    iCEQB GBAtemp Advanced Fan

    Member
    664
    440
    Nov 2, 2013
    United States
    There is no second folder ... only one folder in the "Nintendo 3DS" folder :D
     
  20. Nurio

    Nurio That Kirby fan

    Member
    842
    191
    Mar 31, 2009
    Netherlands
    The Netherlands
    I can also recall there were downsides to unlinking. What are these downsides again?