Hacking How does SX OS Emunand work?

  • Thread starter Deleted User
  • Start date
  • Views 94,264
  • Replies 214
  • Likes 110

RedHunter

Well-Known Member
Member
Joined
Dec 12, 2014
Messages
441
Trophies
0
XP
1,573
Country
Italy
Make sure to unlink sysnand from emunand by either do factory restore sysnand or emunand(offline without Internet to unlink acc).
Oh it's like the 3ds emunand then, I remember. Ok then so I will factory reset the emunand.
Btw the procedure is super slow, it's still installing it.
 
  • Like
Reactions: thaikhoa

BionicGecko

Well-Known Member
Member
Joined
Jun 22, 2018
Messages
103
Trophies
0
Age
48
XP
529
Country
Czech Republic
Anyone else experiencing random crashes on Emunand? My Switch keeps crashing with error 2011-0301. Problem takes a few hours to appear on a clean emunand with a reformatted SD, but slowly creeps in, and at some point the switch will crash within minutes of being powered on. Looks like some kind of weird memory leak issue that persists after system shutdown. I'm on OFW 6.0.0. Any ideas?

Same happened to me. I just removed the emunand will wait for 2.1.

For anyone experiencing this issue, I can confirm that SX OS 2.0.1 fixed the problem for me.
 

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,236
Trophies
1
XP
2,590
Country
Australia
Sysnand 6.0.1
Emunand 6.0.0
WORKS Perfectly.

The problem is when updating Sysnand, the firmware will patch BOOT0/1. Emunand signature is on BOOT1, after updating, SX OS won't recognize Emunand anymore.

Solution: Backup BOOT1 (unchanged after updating) when having Emunand setup.

Use Hekate to restore BOOT1 back after updating System to 6.0.1
 

BionicGecko

Well-Known Member
Member
Joined
Jun 22, 2018
Messages
103
Trophies
0
Age
48
XP
529
Country
Czech Republic
Sysnand 6.0.1
Emunand 6.0.0
WORKS Perfectly.

The problem is when updating Sysnand, the firmware will patch BOOT0/1. Emunand signature is on BOOT1, after updating, SX OS won't recognize Emunand anymore.

Solution: Backup BOOT1 (unchanged after updating) when having Emunand setup.

Use Hekate to restore BOOT1 back after updating System to 6.0.1

Are we sure that BOOT1 is identical on 6.0.0 and 6.0.1? Otherwise restoring the BOOT1 from 6.0.0 on 6.0.1 might cause problems down the road.
 
  • Like
Reactions: loler55

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,236
Trophies
1
XP
2,590
Country
Australia
Are we sure that BOOT1 is identical on 6.0.0 and 6.0.1? Otherwise restoring the BOOT1 from 6.0.0 on 6.0.1 might cause problems down the road.

YES 101%.

boot1.jpg
 
Last edited by thaikhoa,

Keylogger

Well-Known Member
Member
Joined
May 3, 2006
Messages
2,640
Trophies
1
Age
34
Website
Visit site
XP
6,641
Country
France
Sysnand 6.0.1
Emunand 6.0.0
WORKS Perfectly.

The problem is when updating Sysnand, the firmware will patch BOOT0/1. Emunand signature is on BOOT1, after updating, SX OS won't recognize Emunand anymore.

Solution: Backup BOOT1 (unchanged after updating) when having Emunand setup.

Use Hekate to restore BOOT1 back after updating System to 6.0.1
you mean i have to backup boot1 BEFORE updating right?
 

BionicGecko

Well-Known Member
Member
Joined
Jun 22, 2018
Messages
103
Trophies
0
Age
48
XP
529
Country
Czech Republic
you mean i have to backup boot1 BEFORE updating right?

Yes, you want to save a copy of your "hacked" BOOT1 (which contains the EMUNAND magic), so you can restore it after the OFW overwrites it.

I just did it, works fine. As a side note, I did both the backup and the restore from SX OS. No need for Hekate.

--------------------- MERGED ---------------------------

Wait, doesn’t updating the sysNAND defeat the point of having an enuNAND in the first place?

It depends on how you see it; there are two use cases.
  1. You leave your sysnand at the lowest possible firmware to leave the door open for future exploits, and update your emunand to play the latest games
  2. You update your sysnand to the latest firmware, but only do legit stuff on it, so you keep the possibility to play online, and you use your emunand for less legit stuff.
Thalkhoa's suggestion above is only relevant for the 2nd use case. Also the 2nd use case only makes sense if you have a clean NAND backup of your switch before any hacks, and you never went online after taking that backup.
 
Last edited by BionicGecko,
  • Like
Reactions: thaikhoa

Chapi

Member
Newcomer
Joined
Feb 19, 2013
Messages
24
Trophies
0
XP
898
Country
Gambia, The
Sysnand 6.0.1
Emunand 6.0.0
WORKS Perfectly.

The problem is when updating Sysnand, the firmware will patch BOOT0/1. Emunand signature is on BOOT1, after updating, SX OS won't recognize Emunand anymore.

Solution: Backup BOOT1 (unchanged after updating) when having Emunand setup.

Use Hekate to restore BOOT1 back after updating System to 6.0.1

PM me if we have a real Emunand.
 

GeraltOfRivia

Well-Known Member
Newcomer
Joined
Jul 25, 2018
Messages
95
Trophies
0
Age
42
XP
860
Country
Italy
All your installed games on a nand will be archived completely when the other one doesn't have them in its ticketblob.
Because when linking, they're sharing the same Nintendo folder. Unlink them to separate Nintendo folder so when entering to your choice of nand with wrong Nintendo folder the system will ask you to delete rather than deleting without asking.

Just rename Nintendo folder to NintendoEmu after creating emunand (all your games on sysnand will be transfered to emunand). Enter sysnand and do factory restore settings (make sure your sysnand will be cleaned up before connecting to the Internet). When booting to emunand, rename Nintendo folder to NintendoSys and NintendoEmu to Nintendo and vise versa when booting to sysnand.

Use 2 sd to reduce headache.
Please could you explain me this procedure for the emunand? I will stay on 4.10 sysnand and update emunand to 6.00 to play latest games. I will stay offline, i don't have any games installed on my original nand cause I use xci and nsp update offline. So, once I setted up the emunand I have to factory restore the sysnand? I didn't understand very well this point, if you please could explain me how I unlink the Nintendo folder. Sorry didn't mean to bother you. Thanks
 

stewacide

Well-Known Member
Member
Joined
Jun 22, 2018
Messages
247
Trophies
0
Age
40
XP
672
Country
Canada
The whole setup is finally working as advertized. I have sys and emunand both on 6.0.1+2.0.1. I'm using two SD's, one EXFAT for XCIs on sysnand and one FAT32 for NSPs/homebrew on emunand. I factory-reset the emunand so I don't accidentally wipe an SD by inserting it with the wrong nand loaded (if you don't do a reset on one or the other the /ninendo folders will collide and the Switch may wipe it without warning).
 

GeraltOfRivia

Well-Known Member
Newcomer
Joined
Jul 25, 2018
Messages
95
Trophies
0
Age
42
XP
860
Country
Italy
The whole setup is finally working as advertized. I have sys and emunand both on 6.0.1+2.0.1. I'm using two SD's, one EXFAT for XCIs on sysnand and one FAT32 for NSPs/homebrew on emunand. I factory-reset the emunand so I don't accidentally wipe an SD by inserting it with the wrong nand loaded (if you don't do a reset on one or the other the /ninendo folders will collide and the Switch may wipe it without warning).
Thank you for your reply. So after enabling emunand I must do factory reset the sysnand without sd inserted, right? Then I power off the console, boot emunand with the sd card in and so am i good to go? Sorry for my poor knowledge about it. Thanx
 

stewacide

Well-Known Member
Member
Joined
Jun 22, 2018
Messages
247
Trophies
0
Age
40
XP
672
Country
Canada
You can reset either emunand or sysnand, with the SD removed and with wifi off. Then when you insert an SD it will be initialized to that nand. If you put the wrong SD in with the wrong nand it'll then give you an error message before wiping it (otherwise it'll wipe it without warning).
 

newbcake

Active Member
Newcomer
Joined
Nov 28, 2014
Messages
30
Trophies
0
Age
31
Location
Fremont, California
XP
126
Country
United States
For someone without an IQ as high as yours, would you say EmuNAND is "safe" to use for now? I'm already on the latest firmware on OFW, and just got my SX Dongle/Jig. In the midst of creating the NAND Backups and Boot backups now.

So I guess I'm asking, if I wanted to access things like the Homebrew Store (which would require internet access), RetroNX, and various other Homebrew apps, is that something EmuNAND would help me do with less risk?

Or is the better way just to go airplane mode and remove all networks and keep both OFW/CFW offline?
 

guily6669

GbaTemp is my Drug
Member
Joined
Jun 3, 2013
Messages
2,333
Trophies
1
Age
34
Location
Doomed Island
XP
2,105
Country
United States
You would be better off using OFW not hacked and fully clean for online and use emunand for the rest always offline.

Though this TX emunand solution is not good because even in OFW, emunand content is always there on the memory and any day in the future Nintendo could start just looking for a single simple part that they know they could detect if you have SX OS emunand and give a ban.

That's why M-SD emunand solution would be needed were you would just simply completely remove the emunand M-SD from your Switch having nothing for Nintendo to look for on a clean sysnand.
 

insomniac45177

Well-Known Member
Newcomer
Joined
Jun 2, 2017
Messages
59
Trophies
0
Age
35
XP
600
Country
United States
Emunand does not change anything regarding autoRCM or non-autoRCM boot up. It's same as before, you either need the jig or have auto-RCM installed to your sysNAND.
Or remove your eMMC and boot. Remove it -> launch payload -> re seat it -> set autoRCM
Easy enough.
 

Philourer

Well-Known Member
Newcomer
Joined
Jun 17, 2016
Messages
57
Trophies
0
Age
36
XP
224
Country
United States
Ok, so I was bored and tried to use a different switch's emunand. Causes an immediate power-off, doesn't get to any boot screen (other than the initial SX OS one). Has anyone gotten further than I have?

My notes so far (the names Switch #1 and Switch #3 are for my use, as I have one named Switch #2 that was not used for this experiment):

Switch #1 is on firmware 6.0.1, emunand created with SX OS 2.0.1. I chose to not backup user partition, and 10GB emunand size.

Switch #3 is on firmware 5.1.0, emunand created with SX OS 2.0.1. I chose to not backup user partition, and 10GB emunand size.

I verified that I could boot into emunand with each Switch.

I backed up nand00.bin, nand01.bin, and nand02.bin from both Switches.

I copied Switch #1's nand00.bin, nand01.bin, and nand02.bin files to Switch #3, overwriting the files already there.

I then tried to boot Switch #3 straight into emunand (SX OS does this if it detects emunand is present). Black screen after SX OS screen, appears to have fully powered off (inserting dongle and pressing power button will cause SX OS screen to appear again, so it doesn't appear to be hanging, just powering off). I then went into the SX OS menu (vol+ while pressing power), disabled emunand, was able to boot into CFW. Powered down, went into SX OS menu, left emunand enabled (the default) and tried to boot CFW, powered off as before.

I'm currently recopying the files, just in case something was messed up during that process.

If you have any ideas for me to test, I'm all ears. My guess is that the current emunand implementation does not support running an emunand from a different console. I thought that perhaps TX didn't implement it because of licensing (how would you support two license.dat files, one for the real nand and one for the emunand?), but it seems to be deeper than that.
 

Halm

Active Member
Newcomer
Joined
Jun 27, 2018
Messages
41
Trophies
0
Age
45
XP
357
Country
Singapore
@Philourer Sounds interesting...so what happens if you use different combinations of nand files? Like nand00 and nand01 of #1 and nand03 from #3?

I haven't used emunand yet, so not sure if nand0 and nand1 corresponds to boot0 boot1 while nand3 is the GPT....
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
    Karma177 @ Karma177: @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really...