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,

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
You are right. I accidentally said Z instead of X (which is the SD Card) If I explore via the partition tool, it says the partition I want is Disk 2 Partition 3, but that doesn't appear in DD --list. Also, it won't allow me to assign more than one partition on the sd card a letter. IDK if it is related. RN I am cloning an EX4 partition, so the image is transitional.
Wbz3er0.png



You see how you didn't set a letter for that drive?, try how I have it.

First partition > General FAT32 32K Cluster
Second Partition > EmuMMC 31G FAT32

Have them assigned a drive letter for ease
 

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
when i go to create the partition, it says warning: the new created partition cannot be used in Windows. Because Windows could only recognize the first partition on a removable disk. Do you want to continue? I say yes.
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
when i go to create the partition, it says warning: the new created partition cannot be used in Windows. Because Windows could only recognize the first partition on a removable disk. Do you want to continue? I say yes.
Yeah that part is fine, aslong as the drive letter is assigned, even when it says that on mine it still uses it fine; try changing it to a drive letter you know windows hasn't used on your install yet.
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
That might be. I'll try it with my W10 computer tomorrow. Thanks for the help.
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
 
Last edited by TariqSoftDev,
D

Deleted User

Guest
Why is EmuMMC shit to install?
The amount of steps and setup is just too much. SXOS emunand setup is just braindead simple
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
Why is EmuMMC shit to install?
The amount of steps and setup is just too much. SXOS emunand setup is just braindead simple
Wrong place to ask, I don't want a fest of people arguing which is better soon.

It's hard to install cause you're doing what the emuNand creator would do although soon Hekate or AMS will have that function built in.

>>>EmuMMC is currently released but not ready for prime-time, like a pre-release kinda thing, it's got it's kinks that need to be sorted.
 
D

Deleted User

Guest
Wrong place to ask, I don't want a fest of people arguing which is better soon.

It's hard to install cause you're doing what the emuNand creator would do although soon Hekate or AMS will have that function built in.

>>>EmuMMC is currently released but not ready for prime-time, like a pre-release kinda thing, it's got it's kinks that need to be sorted.
I guess its safe for most people to just wait for Hekate to release their update. How do I enable Incognito to work on Atmosphere? Would suck cause I cant boot into any other CFW on Atmo EmuMMC
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
Do I have to use Linux ?!
Windows is an option, updating it soon with a text guide for windows.

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

I did all this, but it boots to SysNand, without errors.
You're not booting the Hekate payload then loading fusee-primary.

Also ensure patches + emummc folder with config and correct sector.
 
  • Like
Reactions: spotanjo3

eyeliner

Has an itch needing to be scratched.
Member
Joined
Feb 17, 2006
Messages
2,892
Trophies
2
Age
44
XP
5,561
Country
Portugal
The correct payload was fusee_primary.bin. After that, my backup copy of my clean Nand booted succesfully.
I had a bit of a brain fart.
Thanks, my friend. Your guide is concise, and to the point, but could you please waste 10 more minutes and make a windows writeup...
 

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
Well, I got it working thanks to your advice! My problem, now, is that nothing will install! Homebrew is ok, but all NSP installations fail, (via tinfoil anyway).
 

TariqSoftDev

~Zexceil
OP
Member
Joined
Sep 18, 2013
Messages
716
Trophies
1
Location
London
XP
1,018
Country
The correct payload was fusee_primary.bin. After that, my backup copy of my clean Nand booted succesfully.
I had a bit of a brain fart.
Thanks, my friend. Your guide is concise, and to the point, but could you please waste 10 more minutes and make a windows writeup...
Take a look, windows has been up for a while.
 
  • Like
Reactions: eyeliner

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    BakerMan @ BakerMan: damn