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,

konamicode89

Well-Known Member
Member
Joined
Mar 13, 2018
Messages
142
Trophies
0
Age
34
XP
775
Country
United States
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.

Many thanks for getting me up to speed, I plan on using a 400gb sd to multiboot emummc, stockOS, Linux, android, and possibly lakka. I've tried to follow the instructions that Tarik Dev put up for the Linux part but couldn't download certain apps as well the fact that I am still very new to linux. I haven't caught up reading on the forums to see that it is as simple as you say it is because of the issue with getting all those partitions to fit and/or show up to boot. Luckily I have a spare switch to do trial and error on but I like to do alot of looking before I leap. I just wasn't sure that with the specific tutorials for each OS provides more than enough needed info to set up my multiboot switch
And again thank you for the feedback
 

konamicode89

Well-Known Member
Member
Joined
Mar 13, 2018
Messages
142
Trophies
0
Age
34
XP
775
Country
United States
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.

Thanks for the update, I was intending on creating a multiboot Linux, android, emummc-atmo, stockOS, and possibly lakka on a 400 gb sd. I was unsure about how well it would work out because of the issues with partitioning, OS detection, and tweaking files over windows and/or Linux as I'm still very new to linux.

You made me realise that it is possible through trial and error and the available guides for each OS that putting this together won't take too much work and figuring out and for that I'm very grateful
 
  • Like
Reactions: RHOPKINS13

konamicode89

Well-Known Member
Member
Joined
Mar 13, 2018
Messages
142
Trophies
0
Age
34
XP
775
Country
United States
Is it still good or is it outdated now ?

Most likely outdated, my guess is that with the new Linux upcoming Linux distros, android 10 and hekate possibly handling the needed partitioning for us that things are going to be done differently.

It’s also worth noting that last I’ve heard Linux and android are in their early stages so be sure to check before you commit to building a multi-boot SD
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,216
Country
United States
There is video at youtube on how to setup quadrouple boot

No, I am experienced and I already know about it. A lot of YouTube for those are SO OUTDATED. It could work fine but I prefer written guide with pictures is a way to go so you can always edit it if anything changes. Thanks, thought. ;)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: wait +1