Discussion Logistics of emunand

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by Hernie, Sep 25, 2018.

  1. Hernie
    OP

    Hernie Advanced Member

    Newcomer
    3
    May 11, 2018
    United States
    Although I understand the concept of emunand and what it's intended to achieve, I have never actually used one on any system. How exactly is the emuNand updated? Will there be a program like choidujournx, and you select "update emuNand" instead of "update sysnand"? Will I just be able to use my clean backup to create my emuNand? Can I have 1 clean and 1 modified essentially having 2 emuNands, so that my ofw can stay on a lower version.

    Any ideas or speculations on how things might be implemented?
     
  2. Ashura66

    Ashura66 GBAtemp Advanced Maniac

    Member
    6
    Feb 1, 2016
    Portugal
    Under my bed
    From what i can understand, this "emunand" is nothing but a smaller copy of your sysnand. As such, it functions EXACTLY like the sysnand does, the exception being that since it has to go trough RCM to start, it wont burn any fuses. As for updating, as long as it's the "emunand" that's running you should be able to update it the same way as your sysnand, unless TX comes up with their own version of ChoiDuJourNX. Also i think you're confusing OFW(official Firmeware) with Sysnand. When you say "so that my ofw can stay on a lower version" i think you mean you want your sysnand to stay on a lower OFW version while updating just the "emunand". And yes, SUPPOSEDLY, that's how it works
     
  3. Chocola

    Chocola GBAtemp Regular

    Member
    2
    Sep 18, 2018
    Spain
    A real emunand only can load on custom firmwares, so the idea it's let the sysnand with a clean official firmware without any mods (on the most lower version possible if you like wait for exploits and prevent the fuse burn) and the emunand, that works like a mirror of sysnand on CFW, on the last version to enjoy all features.

    The swap betwen sysnand or emunand are on boot stage, so you don't need any selector on the software, when you boot with emunand all things that you do and all file operations only affect to it, leaving the sysnand intact.

    Ocurrs the same when you boot with the sysnand on OFW, all things that you do only affect to sysnand and don't touch anything of your emunand.

    For now we don't have any emunand working for Switch, only SX OS have a similar system but aren't real emunand.
     
  4. Hernie
    OP

    Hernie Advanced Member

    Newcomer
    3
    May 11, 2018
    United States
    Thanks for your responses, but that's not exactly what I was asking. I know the gist of what emuNand is.

    On SXOS' emuNand, it basically copies the sysnand that is currently on the switch and then runs that. There is no way to choose a different backup. Also, there is currently no way to update that without going online.... Which we all know is a no no. (I' that's even possible??)

    Say I'm on 4.1.0, and I go to set up an emuNand. Will I be able to use one of my current backups to create an emuNand that is clean? I want to have two, one clean and one modified, both updated.

    Now say that I have created an emuNand and have booted into it. If I use a program like choidujournx, will it update the firmware that I'm booted on? ... And not the sysnand's firmware?

    I know these are all speculations, but I'm sure it's been implemented on other systems and curious as to how those worked.
     
  5. bundat

    bundat ¿

    Member
    4
    Jul 25, 2018
    Antarctica
    Think of emunand as a virtual machine, which is running in the host machine, which is the sysnand. It's not really like that (it's more like a dualboot), but it is functionally the same in the way that the emunand cannot see or modify anything in the host (i.e. sysnand), and all changes made while running emunand will only affect emunand.

    Also, DON'T go online in emunand, it's 15 GB smaller than sysnand and will definitely get you banned
    (as telemetry includes NANDTotalSize).
    It's not "all speculation" how it works in updating it etc... using ChoiDujourNX to update emunand actually works and is the recommended way of doing so.
    Here's a guide:

    ...which people have successfully used:

    I personally want 2 emunands as well, both on 6.0, one clean for online, one full of NSPs and NROs, and sysnand at 4.1.

    SX OS emunand can't do this (it's not even a full sized 32 GB emunand), it's only good for creating an isolated environment where you can leave traces of hacks like installing NSPs.
    Then you can either
    • keep sysnand at lower firmware (thus not burning fuses while running 6.0),
    • or keep sysnand "clean" at 6.0, and risk it online
      • (it's not really "clean" though with the EMUNAND0 magic at the end of BOOT1 and the stray nand00.bin and nand01.bin files in USER, but I THINK 6.0 shouldn't have any code to detect this YET, so it MIGHT be safe for now... but who knows what integrity checks they have built-in)
     
    Last edited by bundat, Sep 25, 2018
  6. thaikhoa

    thaikhoa GBAtemp Advanced Maniac

    Member
    8
    Sep 16, 2008
    Keep in mind that when using emunand function by default the both nands share the same storage folder on the memory card. The problem is they have different ticketblob so when one of the nand (emunand for example) installed more data than another (sysnand for example) with less recored tickets. The data on emunand will be wiped out completely (archived) or vise versa when attempting to use sysnand.

    The solution is to factory restore sysnand without memory card plugged in (if you're on latest firmware) to unlink the two nands and rename Nintendo folder to NintendoSYS/ NintendoEMU or Horizon will ask you to DELETE because it won't recognize the data of Nintendo folder of another nand. When booting to a specific nand, just rename the folder to Nintendo of according nand.
     
    Last edited by thaikhoa, Sep 25, 2018
    bundat likes this.
  7. rrocha

    rrocha Advanced Member

    Newcomer
    4
    Nov 21, 2016
    Portugal
    Or to solve that, reflash your OFW partition with 4.1.0 non-exfat version and use exfat for your emuNAND partition. This way, whenever you boot to OFW it will not mess up your SDCARD as it will ask to update before it even touches the files
     
    bundat likes this.
  8. thaikhoa

    thaikhoa GBAtemp Advanced Maniac

    Member
    8
    Sep 16, 2008
    It is. Someone wants to play online on pure sysnand so that's why.
     
  9. Hernie
    OP

    Hernie Advanced Member

    Newcomer
    3
    May 11, 2018
    United States
    Thank you guys for your answers, I think I'm going to wait for Atmosphere to have emuNand.

    Oh, trust me, I would never go online with SX's implementation of emuNand. Not until Atmosphere has a full emuNand on the SDcard.
     
  10. Ashura66

    Ashura66 GBAtemp Advanced Maniac

    Member
    6
    Feb 1, 2016
    Portugal
    Under my bed
    I wouldn't hold out for them. Word is they HAD Emunand or at least were working on it but completely canceled it cause of the dev's anti-piracy views. Mind you i don't know if this is accurate or not
     
  11. Resaec

    Resaec GBAtemp Fan

    Member
    4
    Dec 19, 2017
    Germany
    Fair point. My guess is that this speculation came from the fs_mitm module. It does stuff with redirection and things, but thats sadly not the same as a whole system running from the SD.
     
    Hernie likes this.
  12. Yami Anubis ZX

    Yami Anubis ZX GBAtemp Regular

    Member
    4
    Mar 20, 2016
    United States
    Im using it as a backup for incase my switch bricks, it's not a good implemented emunand but it will help incase the switch bricks cause if it does, you can fall back on sysnand.

    Also I realised that you don't need to Color code each nand for if you go into SX OS, it tells you if your in emunand or not.
     
  13. 8BitWonder

    8BitWonder Small Homebrew Dev

    Member
    9
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    Looks like the issue is still open and was slated for Atmosphere 1.0 on Aug 2nd.
    https://github.com/Atmosphere-NX/Atmosphere/issues/8

    I figure they would have closed/removed the issue by now if they had no plans for it.
     
    Last edited by 8BitWonder, Sep 25, 2018
    Hernie likes this.
  14. Ashura66

    Ashura66 GBAtemp Advanced Maniac

    Member
    6
    Feb 1, 2016
    Portugal
    Under my bed
    Hernie likes this.
Loading...