Tutorial  Updated

EmuMMC setup Win/Linux & Quadboot

Ensure you have a pre-cfw CLEAN NAND backup if you want to use sysnand for online

File based EmuMMC is working but if you use FAT32 it is very limited and heavily bottlenecked, if you decide to use exFAT then it is very unstable and can corrupt your SD card easily; as of now use partition based as file based is very slow/unstable!!

Rewriting guide with NYX in mind alongside quad boot files for that.


Pre-Setup [Win/Linux]

  • Dump your NAND via hekate or use a clean dumped nand(you need to dump BOOT0/BOOT1 and rawnand) ENSURE AUTORCM IS TURNED OFF!
  • Merge these into one file using:

    Linux cmd:
    cat BOOT0 BOOT1 rawnand.bin.00 rawnand.bin.01 rawnand.bin.02 rawnand.bin.03 rawnand.bin.04 rawnand.bin.05 rawnand.bin.06 rawnand.bin.07 rawnand.bin.08 rawnand.bin.09 rawnand.bin.10 rawnand.bin.11 rawnand.bin.12 rawnand.bin.13 rawnand.bin.14 > emummc.bin

    Windows cmd:
    copy /b BOOT0+BOOT1+rawnand.bin.00+rawnand.bin.01+rawnand.bin.02+rawnand.bin.03+rawnand.bin.04+rawnand.bin.05+rawnand.bin.06+rawnand.bin.07+rawnand.bin.08+rawnand.bin.09+rawnand.bin.10+rawnand.bin.11+rawnand.bin.12+rawnand.bin.13+rawnand.bin.14 emummc.bin
  • If you are using a single file dumped nand then:
    Linux cmd:
    cat BOOT0 BOOT1 rawnand.bin > emummc.bin

Windows cmd:
copy /b BOOT0+BOOT1+rawnand.bin emummc.bin

Setting up EmuMMC[Linux]
  1. Format your SD, clear any partitions and etc.
  2. Create your normal partition (MAKE SURE IT IS FAT32 AND 32K CLUSTER).
  3. Leave enough space to fit the NAND image.
  4. Make that last partition FAT32 aswell
  5. Identify the partition address */dev/xxx
  6. Use this command to write your complete emummc image to the EmuNand partition we made earlier:
    sudo dd if=<your_emummc_bin> bs=512M of=<Step 5, partition add> status=progress
  7. Once this is done download the latest AMS and Hekate.
  8. Download the EmuMMC config and create a folder named "emummc" then paste it there..
  9. Use a tool like GParted to find the first sector of the partition holding the EmuNAND
  10. Convert the value from step 8 to hexadecimal > just google <number> to hexadecimal ; it should give out a number such as 0x1039 and etc; IF on the case that it gives one like say 800 then it'll be 0x800.
  11. SOMETIMES EmuMMC may not work fully with "0x" infront of the sector, it's hit & miss.
  12. edit the config file in emummc with this value.

Setting up EmuMMC[Windows10]
Install tools:
Steps:
  • Using the partition tool, delete all partitions on the sd (all data on the sd will be gone)
  • Create the first partition at the start of the table, make this a Fat32 32K Cluster partition, leave 31GB at the end of the table.
  • Format the end partition as FAT32 aswell, cluster size does not matter.
  • kDBr7Jn.png
  • Using CMD cd into the folder where you have your emuMMC files and dd.
  • Figure out what partition you will specificy to DD by using running the cmd dd --list
  • Wbz3er0.png
  • As you can see K: is my EmuMMC partition and it is linked to \\?\Device\HarddiskVolume19, this is the disk we will write to via DD.
  • Using the CMD dd if=<your_emummc_bin_path> bs=512M of=<Disk we identified on previous step> --progress image your EmuMMC onto the last partition.
  • Once the last partition has your EmuMMC, start setting up AMS and Hekate, download Atmosphere CFW and Hekate.
  • Copy AMS + Hekate onto your SD
  • Download the EmuMMC config and create a folder named "emummc" then paste it there.
  • Find your first sector by using the disk tool, right click your EmuMMC partition > properties > partition info > first physical sector.
  • Convert the number to hexadecimal by going on google and searching <Number> to hexadecimal ; a value such as 0x492A3900 or etc will show.
  • SOMETIMES EmuMMC may not work fully with "0x" infront of the sector, it's hit & miss.
  • Open emummc folder on your sd then open the config and paste the hexadecimal number over the existing one.
  • Launch hekate then atmosphere, if it is all done right you should be in EmuMMC


Dual/Triple/Quad boot[L4T Ubuntu/Lakka, Stock-Sys, EmuNand]
Notes:
  • No I won't sit you through this, the process is already laid out there.
  • If you decide to use exFAT I won't really help.
  • You can do the partitioning and file merging on windows but I don't know any tool to write the image to a specific partition.
  • There is NO such thing as *Cleaning* your NAND, if you don't have a clean backup then bad luck, you can maybe get away with clearing logs if you haven't been online for a long time but even then I wouldn't suggest it; should've made a clean NAND backup, I won't guide you through any of that.
CLICK HERE FOR EMUMMC CONFIG

DISCLAIMER: I am not resposible for you killing your switch, bricking it from the failure to make a NAND backup; I am in no way obliged to provide you personal support nor am I obliged to do anything else; I'm not resposible for you messing up your SD Card either.



Windows guide:

 
Last edited by TariqSoftDev,

ELY_M

Developer
Developer
Joined
Dec 6, 2007
Messages
710
Trophies
1
XP
1,690
Country
United States
No possible way to prevent fuses burning. I burnt my fuses to 10 due to that I always update normal way.
personally, I dont care about my fuses. I am fuses burner :)


Then how would one person prevent their fuses from being burnt? Or is there no way if you want to play online?

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

I have same problem. I had to press power button again after I see that the switch logo screen stuck. I press power button again and ofw booted up.






I have a situation.

When I shutdown from emummc and then try to boot the switch regularly, it gets frozen on the switch logo. When it does this, I have to press the power button and it shuts off immediately. Pressing the power button again starts the switch normally and I no longer experience that freeze, until after the next time I switch from using Emummc again. Is this happening to others?
 
  • Like
Reactions: thaikhoa

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
What version / fw, please? And thank you.
I am right now making a backup of my 8.1.0. There's no point in me having older backups, now.
I'l post results.

I'm using latest everything.

No possible way to prevent fuses burning. I burnt my fuses to 10 due to that I always update normal way.
personally, I dont care about my fuses. I am fuses burner :)




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

I have same problem. I had to press power button again after I see that the switch logo screen stuck. I press power button again and ofw booted up.



I am curious to who doesn't have the issue.
 

ottos1989

Member
Newcomer
Joined
Aug 6, 2018
Messages
11
Trophies
0
Age
34
XP
149
Country
United States
So no ideas? I'm stuck at this one last step. It doesn't matter if I resize the partition, it still will only flash upto 4gb when using terminal
 

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
Can you verify the size of /dev/mmcblkp2 via operating system? What does it say?

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

Also that command seems to be missing bs=512mb, but I'm not sure that is causing your issue.
 

essm1988

Member
Newcomer
Joined
May 9, 2019
Messages
16
Trophies
0
Age
36
XP
166
Country
Italy
Question, can I test my clean nand backup by way install it in emummc for know do I have a good nand backup to avoid brick my switch when restore it?

Shortly I want test my nand backup before restore it

Sorry for bad english
 
Last edited by essm1988,

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
Question, can I test my clean nand backup by way install it in emummc for know do I have a good nand backup to avoid brick my switch when restore it?

Shortly I want test my nand backup before restore it

Sorry for bad english


You should be able to, but if you have a backup, it shouldn't matter if you test it on the NAND. It's not like you are going to stop RCM from working by installing a bad firmware.
 

essm1988

Member
Newcomer
Joined
May 9, 2019
Messages
16
Trophies
0
Age
36
XP
166
Country
Italy
You should be able to, but if you have a backup, it shouldn't matter if you test it on the NAND. It's not like you are going to stop RCM from working by installing a bad firmware.

I mean I want check my nand backup because if it is bad nand backup it will brick my switch when I restore it , rcm and update are different story.

However is there anyway to check my nand backup?
 

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
I mean I want check my nand backup because if it is bad nand backup it will brick my switch when I restore it , rcm and update are different story.

However is there anyway to check my nand backup?

Oh. Are you saying it is your only backup? If that's the case you can set it up with emummc. Follow this guide, make sure you have the boot0 boot1 and rawnand.bin and combine them as described, write them (via DD) to a partition on an SD card, and use the SD files with Atmosphere 9.1+ to try it. If you follow the tutorial (you should) then you will find that the only way to create emummc is with your backup, and therefore is a way to test if it is viable.
 
Last edited by tabzer,

eyeliner

Has an itch needing to be scratched.
Member
Joined
Feb 17, 2006
Messages
2,891
Trophies
2
Age
44
XP
5,535
Country
Portugal
Again with my woes, I caved in and resorted to ReiNX. Lego Worlds boots without an itch. I have to get patience to redo the steps, but for now, I'll have to be in the old ways a while longer. I wonder if it's a card speed issue...

Thanks for the help, @tabzer

Also, the speed at wich Goldleaf installs by USB increased quite a lot when I installed directly to the NAND. I'm almost positive there's something about the card speed that breaks something in the EmuMMC. More tests need to be conducted.

Later.
 
Last edited by eyeliner,

Patrykek

Member
Newcomer
Joined
Jun 22, 2019
Messages
5
Trophies
0
Age
29
XP
55
Country
Poland
After 10h of use, my emummc corrupted?
Black screen after ams logo.
It creates a crashlog with error (2002-4373)

SanDisk Ultra 64GB SDXC
ams 0.9.1
fusee_primary.bin
8.1
 
Last edited by Patrykek,

eyeliner

Has an itch needing to be scratched.
Member
Joined
Feb 17, 2006
Messages
2,891
Trophies
2
Age
44
XP
5,535
Country
Portugal
Poor soul. As long as it works for you, you can bide the time. I wonder if it was a sigpatch issue.
Why the jab?
ReiNX works for me, worked for as long as I remember. These last few days of EmuMMC have been nothing but frustration, random crashes and wasted time.

I went towards the best solution for me. No hate towards Atmosphere.

I don't understand the CFW extremism around here.
 

eyeliner

Has an itch needing to be scratched.
Member
Joined
Feb 17, 2006
Messages
2,891
Trophies
2
Age
44
XP
5,535
Country
Portugal
I am not a big fan of reinx, for reasons of both personal taste and the relative delay in supporting current version. It works for you, that's good. Does emummc work with Reinx? I didn't know that.
I have put emuMMC on hold. I'll try another memory card soon.
 

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
Ah. That's what my "poor soul" comment was about. More about your frustrations and lack of conclusion than it was about my lack of interest in reinx. Hopefully something more user friendly comes around soon.

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

I think that if it works with Reinx, then it should work with Atmosphere (with sigpatches). I feel like there must be an oversight. Could be simple. Could you ever get the game working on Atmo before trying emummc?
 

megahog2012

Well-Known Member
Newcomer
Joined
Sep 10, 2012
Messages
79
Trophies
1
XP
908
Country
United States
Very quick question I want to update my firmware on the switch to the latest version, But I don't wanna make the emunand unusable. Should I update the Emunand first then the Sysnand or Vice versa? and if vice-versa how would I update the firmware without using Atmosphere?
 

Patrykek

Member
Newcomer
Joined
Jun 22, 2019
Messages
5
Trophies
0
Age
29
XP
55
Country
Poland
Very quick question I want to update my firmware on the switch to the latest version, But I don't wanna make the emunand unusable. Should I update the Emunand first then the Sysnand or Vice versa? and if vice-versa how would I update the firmware without using Atmosphere?
If you wanna play online, update both. If you wanna don't want to, update your system through ChoiDjourNX without burning fuses.
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
Very quick question I want to update my firmware on the switch to the latest version, But I don't wanna make the emunand unusable. Should I update the Emunand first then the Sysnand or Vice versa? and if vice-versa how would I update the firmware without using Atmosphere?
EmuMMC leave it on 8.0.1, 8.1.0 may need work; sysNand if playing online just do norm update to latest.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: It can act as a swap drive but that isn't more RAM, it's slooow.