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,

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,785
Trophies
1
Age
44
XP
6,510
Country
Germany
Make youe EmuMMC, make some free space before it which'll be the ext4 using DiskGenius to resize the FAT32 partition
Alright so basically
Make youe EmuMMC
First step: Create emuEMMC with SX OS bootmenu?
make some free space before it which'll be the ext4
So I free up some space (32 gb) before that emuEMMC partition so Ubuntu can format it as EXT4 later?
But the problem is (as far as I know), that if I flash the Ubuntu.img to the card with Etcher it will completely wipe it (including my emuEMMC partition which I just created before).
Or do you know a way around this?
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
Alright so basically

First step: Create emuEMMC with SX OS bootmenu?

So I free up some space (32 gb) before that emuEMMC partition so Ubuntu can format it as EXT4 later?
But the problem is (as far as I know), that if I flash the Ubuntu.img to the card with Etcher it will completely wipe it (including my emuEMMC partition which I just created before).
Or do you know a way around this?
You want to take out img 1 from the sd image then write that to the partition.
 
  • Like
Reactions: lordelan

laz305

Well-Known Member
Member
Joined
Jul 31, 2008
Messages
878
Trophies
1
XP
1,681
Country
United States
Need some help. Just got a 400gb card and split it and made a 110gb partition. But now I wanna change it to 30gb instead. How do I do that? Cuz when I select format the card it says it’ll all be unallocated and i don’t want that.
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,785
Trophies
1
Age
44
XP
6,510
Country
Germany
You want to take out img 1 from the sd image then write that to the partition.
I see. I pull the files out of the img with some tool and manually put them on that EXT4 partition.
Will try, thanks!

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

Need some help. Just got a 400gb card and split it and made a 110gb partition. But now I wanna change it to 30gb instead. How do I do that? Cuz when I select format the card it says it’ll all be unallocated and i don’t want that.
Use DiskGenius or partition magic.
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,785
Trophies
1
Age
44
XP
6,510
Country
Germany
You want to take out img 1 from the sd image then write that to the partition.
Hey, short question :)
If I...
  1. write the L4T img to another SD card with Etcher
  2. insert that SD into my Linux computer
  3. copy everything from the EXT4 partition of the SD to a temporary folder
  4. insert my 400 gb SD into my Linux computer
  5. create an EXT4 partition before my emuEMMC partition with GParted
  6. copy everything from my temporary folder to the newly created EXT4 partition
  7. resize my FAT32 partition to the max with DiskGenius
... would that work?
Or would I have to make the EXT4 image bootable somehow with GParted or DiskGenius?

Sorry to bother you like this. :P
 

laz305

Well-Known Member
Member
Joined
Jul 31, 2008
Messages
878
Trophies
1
XP
1,681
Country
United States
Ok got it working so now my question I think I figured out but need confirmation is I copied everything over from old card to new and when in system emuNAND it doesn’t see the games so I have to reinstall them?

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

Also I make a backup of my cartridge can I go online with that without being banned? Can they tell the difference?
 
  • Like
Reactions: lordelan

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,785
Trophies
1
Age
44
XP
6,510
Country
Germany
Ok got it working so now my question I think I figured out but need confirmation is I copied everything over from old card to new and when in system emuNAND it doesn’t see the games so I have to reinstall them?

You got what working?
emuNAND and Ubuntu on the same sd? If yes, please share your steps. :P
I'm creating my emuNAND right now from SX OS boot menu.

I think you don't need to install anything again. I hope you backed up all files from your SD card before?
If yes, just take what's inside the backed up Nintendo folder and put that into the Emutendo folder on SD (I guess that's what it was called). Should do the job.

Also I make a backup of my cartridge can I go online with that without being banned? Can they tell the difference?
There are many reports of people not getting banned with it, but:
It's risky and if you plan on installing the dump as an NSP I would highly recommend not to as NSP installations will get you banned in most cases.
Mounting the XCI in SX OS and playing online with that might be fine, but at least you're using a CFW which can also lead to a ban anytime so I wouldn't bother with that tbh but it's up to you. :)
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,785
Trophies
1
Age
44
XP
6,510
Country
Germany
Ok somehow I was able to disable it in hekate. I’m done trying to use this. To complicated for me lol
Oh sad to hear that you gave up on this.

@TariqSoftDev
I created an emuNAND from SX OS (which I can boot into) and my card now looks like this (screenshot from Easus Partition Master):

emuNAND.png


Where should I create the EXT4 partition for Ubuntu? On spot 1, 2 or 3?
And with which tool should I do that?
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,785
Trophies
1
Age
44
XP
6,510
Country
Germany

doom95

Well-Known Member
Member
Joined
Aug 12, 2019
Messages
303
Trophies
0
Age
24
XP
785
Country
Netherlands
Wondering if it's possible to use a custom NAND partition as emuMMC. Repo @ m4xw/emuMMC seems to suggest so. Any guides?
 
Joined
Aug 13, 2015
Messages
10
Trophies
0
Age
33
XP
143
Country
United States
This is old now but I can't get the hekate tools to work for me and I had this guide working before.

I'm getting an error when i try to use dd, here's my command and the output


C:\Users\aaboa\Desktop\Nintendo Backup>dd if=emummc.bin bs=512M of=\\?\Device\HardDiskVolume6 --progress
rawwrite dd for windows version 0.4beta1.
Written by John Newbigin <[email protected]>
This program is covered by the GPL. See copying.txt for details
Error native opening file: 0 The operation completed successfully
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
This is old now but I can't get the hekate tools to work for me and I had this guide working before.

I'm getting an error when i try to use dd, here's my command and the output


C:\Users\aaboa\Desktop\Nintendo Backup>dd if=emummc.bin bs=512M of=\\?\Device\HardDiskVolume6 --progress
rawwrite dd for windows version 0.4beta1.
Written by John Newbigin <[email protected]>
This program is covered by the GPL. See copying.txt for details
Error native opening file: 0 The operation completed successfully
Run it as cmd as admin and ensure nothing is accessing the drive; e.g using file explorer and etc.
 
Joined
Aug 13, 2015
Messages
10
Trophies
0
Age
33
XP
143
Country
United States
Run it as cmd as admin and ensure nothing is accessing the drive; e.g using file explorer and etc.
Yea this was the first thing I tried. Maybe I'm reading resmon wrong tho ill give it another shot

update I restarted Explorer and launched it right as I did and it looks like that worked for a bit but got "Error writing file: 87 The parameter is incorrect"
 
Last edited by NotWilliamJamesSidis,

thatrunks

Member
Newcomer
Joined
Dec 20, 2013
Messages
10
Trophies
0
Age
37
XP
131
Country
Netherlands
@TariqSoftDev

Thank you for your guide.
I followed an additional step before it worked for me.
I calculated the hexidecimal value and had to enter it without 0x.
Then I RCM'ed into Hekate and had to use Migrate emuMMC before it could detect the emuMMC partition and it automatically enabled it.

I also have SX OS' emuNAND as first partition, in between the free SD Space (Fat32) and the last partition is emuMMC.

Working great. Thank you!

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

This is old now but I can't get the hekate tools to work for me and I had this guide working before.

I'm getting an error when i try to use dd, here's my command and the output


C:\Users\aaboa\Desktop\Nintendo Backup>dd if=emummc.bin bs=512M of=\\?\Device\HardDiskVolume6 --progress
rawwrite dd for windows version 0.4beta1.
Written by John Newbigin <[email protected]>
This program is covered by the GPL. See copying.txt for details
Error native opening file: 0 The operation completed successfully

What I found is that you can also you this command

dd if=emummc.bin bs=512M of=\\.\DRIVELETTERWITHCOLON --progress

So for example (check with dd --list) your emuMMC partition is the D: drive in the Minitool Partition Wizard
the command would be like;

dd if=emummc.bin bs=512M of=\\.\d: --progress

This worked for me.
 
Last edited by thatrunks,
  • Like
Reactions: lordelan

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,785
Trophies
1
Age
44
XP
6,510
Country
Germany
@TariqSoftDev
Since you're working on some 2 SD adapter, I can go ahead and setup my second SD card with Android now, right?
And one day in the near sweet future, I'll be able to have both up running in my Switch without the need to swap them but by some kind of hardware switch (lol) before each boot, right? :)

I'm just wondering how you will be creating and selling them ... but at least you're in London and not the US so it's a bit easier for me to order things from you. :P
 

willy101

Well-Known Member
Member
Joined
Oct 26, 2006
Messages
119
Trophies
1
XP
491
Country
How much space do I need for the emummc partition? Am i screwed if im on cfw 8.0.1 and only have a clean nand from 3.0.0?
 

konamicode89

Well-Known Member
Member
Joined
Mar 13, 2018
Messages
142
Trophies
0
Age
34
XP
773
Country
United States
I have had my eye on this topic for quite a while, aside from the new modchip being released has there been any new developments on multibooting? Is Linux still required? Or have there been at least parts that can be done on windows?
 

RHOPKINS13

Geek
Member
Joined
Jan 31, 2009
Messages
1,353
Trophies
2
XP
2,617
Country
United States
I have had my eye on this topic for quite a while, aside from the new modchip being released has there been any new developments on multibooting? Is Linux still required? Or have there been at least parts that can be done on windows?

Linux isn't "required" at all. Many of us that use it are really only using it for the dd command anyway. Depending on what you're trying to accomplish, Multiboot works fine using Hekate or Argon-NX. If you're using a payload dongle, many of them support switching between multiple payloads. It's not too difficult to setup a combination of Atmosphere, Linux, Android, etc. on a single microSD card, but I prefer using separate cards. To me it's easier. I have a 400gb card I use with Atmosphere and I've filled it to the brim, I wouldn't want to have to make separate partitions and cram Android or Linux on it as well.
 
  • Like
Reactions: konamicode89

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: afternoon