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,

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,602
Country
Spain
I guess by looking at sector 0, you check the partition table to get the LBA sector start?
some partition manager are probably providing the starting sector address too.

I didn't look at the video (YT guides are always bad and from n00bs), but I thought the default windows partition manager didn't allow partitioning SD card, so I guess it's using another tool to partition the SD.
Also, like on 3DS scene, someone will probably release a emuMMC multi partition manager. I'll wait for such a tool :P it'll be easier to dump/restore partition on the SD with a tool.
There are other solution like using an image burner (we did that on 3DS early EmuNand management), the partition would be at the start of the SD, instead of the end, sector 1. (sector 0 is required for MBR and FAT32 location)

a GUI tool would be easier.
one where you can choose to format the SD, and choose how many emu partition you want on it. The MBR could hold the starting addresses or number of partitions+start deducted by size, not necessarily official partitions table (or else windows will ask to format them), the MBR has lot of unused addresses.
then a menu to read/write the partition number from/to a file.
Ideally, a "verify" option would be added too, to verify all the sectors where successfully written to the SD before mounting it. not sure if required.

I'm actually thinking about just forking my own 3ds-multinand and making something like "nx-multimmc" or something like that.

I remember you gave me the idea for the name back then. :rofl2:
 
  • Like
Reactions: Cyan

gera1d

New Member
Newbie
Joined
Jun 19, 2019
Messages
3
Trophies
0
Age
24
XP
63
Country
United States
>Another process is using the drive you're trying to write to, close partition managers and any file explorers.


This was the solution, lol. Now i'm all done and booted into atmosphere like normal, is there any way to tell if i did it correctly? Also, is it safe to turn AutoRCM back on without corrupting my sysnand?
 
Last edited by gera1d,

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
>Another process is using the drive you're trying to write to, close partition managers and any file explorers.


This was the solution, lol. Now i'm all done and booted into atmosphere like normal, is there any way to tell if i did it correctly?
Well change the theme and switch console name, reboot to sysnand and see if it persists, I left my sys white and emu black
 

ressit

Well-Known Member
Member
Joined
Jun 4, 2018
Messages
128
Trophies
0
Age
33
XP
418
Country
Vietnam
i think it best way
Go to SX website > download their latest boot.dat > copy to the root of your SD
Download payload.bin for activating payload via your chosen tools

SX OS Bootloader Menu
> Options
> EmuNAND
> Create EmuNAND
> Hidden Partition on microSD

You will get "successfully done"
Go to Atmosphere GitHub and download the latest release 0.9.0 and extract all files/ folders to the root of your SD

Create > emummc folder on the root of the SD

Create > emummc.ini file inside of emummc folder

Copy and paste this to emummc.ini

[emummc]
emummc_enabled = 1
emummc_sector = 0x2
emummc_nintendo_path = Emutendo


all we need for Atmosphere emummc
Emutendo = Nintendo rename after > Create EmuNAND
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
i think it best way
Go to SX website > download their latest boot.dat > copy to the root of your SD
Download payload.bin for activating payload via your chosen tools

SX OS Bootloader Menu
> Options
> EmuNAND
> Create EmuNAND
> Hidden Partition on microSD

You will get "successfully done"
Go to Atmosphere GitHub and download the latest release 0.9.0 and extract all files/ folders to the root of your SD

Create > emummc folder on the root of the SD

Create > emummc.ini file inside of emummc folder

Copy and paste this to emummc.ini

[emummc]
emummc_enabled = 1
emummc_sector = 0x2
emummc_nintendo_path = Emutendo


all we need for Atmosphere emummc
Emutendo = Nintendo rename after > Create EmuNAND


Don't use SX OS's method as it creates it as the first partition and isn't always stable, it's better to manually create the partition for AMS, if you're using SX OS then sure; if you have nothing to contribute to this thread but that then I suggest you open a new thread for your method; SX OS method for me just crashes after 1st boot.
 

healthyboy

New Member
Newbie
Joined
Jun 19, 2019
Messages
3
Trophies
0
Age
26
XP
62
Country
United States
I’m having trouble creating the emummc.bin file. Whenever I try to create it in the command prompt (I’m on Windows btw) it creates a 1kb file for the emummc.bin file, which doesn’t seem right to me.
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
I’m having trouble creating the emummc.bin file. Whenever I try to create it in the command prompt (I’m on Windows btw) it creates a 1kb file for the emummc.bin file, which doesn’t seem right to me.
Make sure you have enough disk space and you're creating it using BOOT0/1 and your roughly 30GB rawnand bin, it's not finding the rawnand bin

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

Thanks for the guide. I think I understand every step except finding the first sector of the emuNAND partition using gparted. Where exactly does gparted display the sector information, specifically, the first sector?
Right click the EmuMMC partition in Gparted > properties and it'll be there.
 

RHOPKINS13

Geek
Member
Joined
Jan 31, 2009
Messages
1,351
Trophies
2
XP
2,598
Country
United States
Before you go try this, make ONE partition first and position it at the end of the table using the tool, leave your norm sd space unallocated, write the image to the partition you made using DD, now this is something windows will either see as RAW or unallocated after it is written, this means you should in theory be able to create you main partition after.

Should look like this before writing:
Va8uIzq.png


Then make the first partition after write

I like it better this way. The emuMMC partition is set up as the first partition. If later you upgrade to a bigger microSD card you can simply clone it and then just expand your FAT32 partition, where if you already have your emuMMC at the end it'll be trickier.

Don't use SX OS's method as it creates it as the first partition and isn't always stable, it's better to manually create the partition for AMS, if you're using SX OS then sure; if you have nothing to contribute to this thread but that then I suggest you open a new thread for your method; SX OS method for me just crashes after 1st boot.

Just wondering, is there anything less stable about having the emuMMC partition at the beginning of the SD card?
 
  • Like
Reactions: Cyan

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
I like it better this way. The emuMMC partition is set up as the first partition. If later you upgrade to a bigger microSD card you can simply clone it and then just expand your FAT32 partition, where if you already have your emuMMC at the end it'll be trickier.



Just wondering, is there anything less stable about having the emuMMC partition at the beginning of the SD card?
It messes with the switch somtimes if something gets changed, the switch looks at the first partition for the norm storage; that's why I don't reccomend it; you can easily upgrade from my way aswell; just use dd to out a image of your EmuMMC and then do ya stuff and write the image back on.
 

ressit

Well-Known Member
Member
Joined
Jun 4, 2018
Messages
128
Trophies
0
Age
33
XP
418
Country
Vietnam
I just want to make the simplest way for everyone I personally believe that SX is quite a quality in creating Emunand
and atms can use it easily
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
I just want to make the simplest way for everyone I personally believe that SX is quite a quality in creating Emunand
and atms can use it easily
Yeah if you're using SX OS, this is EmuMMC for AMS, first partition can cause issues if it's set for emuNand if things change; I understand where you're coming from but this method is bullet proof.
 

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,910
Country
Japan
So I found the problem is when I ran the sector # through google to convert it to hexadecimal, it added 0x in front of it. I took it off and it worked.
 
  • Like
Reactions: TariqSoftDev

regnad

Button Masher
Member
Joined
May 19, 2008
Messages
2,512
Trophies
1
Age
53
XP
3,656
Country
Japan
I don't see anyone else commenting on this, so maybe it's just me, but I'm having a hard time reading the black on dark gray text.

An unrelated question: will it be possible to create an emummc from our existing "dirty" nand while restoring our clean backed up pre-modding nand to the system? Or is it necessary to erase everything on the SD and create an emummc from scratch?
 
Last edited by regnad,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.