How to access your Switch's eMMC or microSD card as an USB disk on your PC

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by rajkosto, May 12, 2018.

  1. rajkosto
    OP

    rajkosto GBAtemp Advanced Fan

    Member
    11
    Apr 6, 2017
    Get my memloader payload from https://switchtools.sshnuke.net
    Extract the contents of the "sample" folder in the zip to the root of your microsd, before inserting it into the Switch
    Run the memloader.bin payload using your preferred launcher (fusee-launcher, TegraRcmSmash, NXLoader, whatever)
    On the screen, choose ums_emmc.ini to have the eMMC appear as a USB disk, or ums_sd.ini to have the microSD appear as a USB disk on your PC (with volume buttons), then press the Power button to launch selection

    WARNING: RUNNING U-BOOT UMS MODE ON eMMC MIGHT MAKE YOUR SWITCH NOT BOOT ANYMORE (works for me but if they're being truthful, happened to a user), MAKE SURE TO HAVE A RAWNAND BACKUP AND A WAY TO RESTORE IT IF YOU ARE TO DO THIS

    The screen should clear (but the backlight should still be on) and you should hear a device plugged in notification, and the disk drive should appear (in windows, eMMC does not get a drive letter because there's nothing to mount)
    This is going to be quite slow (3-6MB/s) as it doesn't run the switch memory at its high frequency (because this requires a non-redistributable proprietary blob), and also u-boot does not use UHS-I modes of the microSD (keeps the IO at 3.3v only), however it's still quite useful for adding/replacing some files on your microSD, or exploring the eMMC partitions via HacDiskMount (the USB disk device is openable as a Physical Drive inside of it)

    (On Windows, if after launching the ums ini, in device manager you see a device with a yellow exclamation mark, right click and uninstall it, then click the Scan for Hardware changes button to get it to appear properly)

    Memloader source code available at https://github.com/rajkosto/memloader
     
    Last edited by rajkosto, May 15, 2018
  2. eliboa

    eliboa GBAtemp Regular

    Member
    4
    Jan 13, 2016
    France
    Awesome, this will be very useful ! Thank you for your work and for sharing it.
     
  3. ChaoticCinnabon

    ChaoticCinnabon GBAtemp Regular

    Member
    4
    Oct 2, 2015
    Canada
    ???
    I loved how ps vita had this through vitashell, thanks for this OP.
     
    whateverg1012 likes this.
  4. Gren22

    Gren22 Advanced Member

    Newcomer
    1
    Apr 24, 2018
    United States
    Very cool, thanks. Just out of curiosity, is it possible to mount the switch's SD card to computer through USB via homebrew as well?
     
  5. ChaoticCinnabon

    ChaoticCinnabon GBAtemp Regular

    Member
    4
    Oct 2, 2015
    Canada
    ???

    Correct me if i'm wrong but that's the main use of this.
     
  6. Gren22

    Gren22 Advanced Member

    Newcomer
    1
    Apr 24, 2018
    United States
    I thought this was just a Fusee-gelee payload, not a homebrew app.
     
  7. PatrickStarSb

    PatrickStarSb Member

    Newcomer
    2
    May 8, 2018
    United States
    Does this mean we can backup our nand using a computer? I tried using hekate but it failed with a write error half way though for some reason.
     
  8. rajkosto
    OP

    rajkosto GBAtemp Advanced Fan

    Member
    11
    Apr 6, 2017
    You can, but you're going to be waiting for a long time if youre doing the whole 29GiB.
     
    NoNAND, Starleon15 and PatrickStarSb like this.
  9. ChaoticCinnabon

    ChaoticCinnabon GBAtemp Regular

    Member
    4
    Oct 2, 2015
    Canada
    ???
    Oh, i expected you to be using fusee. i think it's the only option right now.
     
  10. PatrickJr

    PatrickJr GBAtemp Regular

    Member
    4
    Jan 5, 2017
    Bridgwater
    So the eMMC appear as a USB disk right? how will I see it on Windows or you just flat out can't? I waned a nice easy way to back up my stuff. Will I have to use Linux to see it?
     
    Last edited by PatrickJr, May 13, 2018
  11. Ronhero

    Ronhero Too Weird to Live, Too Rare to Die

    Member
    9
    Jun 28, 2014
    United States
    Arizona Bay
    Thanks steve, hope the boneitis clears up
     
    Kvac likes this.
  12. rajkosto
    OP

    rajkosto GBAtemp Advanced Fan

    Member
    11
    Apr 6, 2017
    It's visible as a Physical Disk, just not as a drive letter (since no partitions from it can be mounted outright), you can explore it with HacDiskMount and the Physical Drive option, or just use tools like dd/Hex Workshop/whatever can open physical disks to save/restore
     
    re.lax likes this.
  13. PatrickJr

    PatrickJr GBAtemp Regular

    Member
    4
    Jan 5, 2017
    Bridgwater
    I tried HacDiskMount using the Physical Drive option already, I'll try again though!
    When running it as Admin, clicking Open Physical Drive it crashes.
     
    Last edited by PatrickJr, May 13, 2018
  14. rajkosto
    OP

    rajkosto GBAtemp Advanced Fan

    Member
    11
    Apr 6, 2017
    It should show up here or something's wrong
    [​IMG]
     
  15. PatrickJr

    PatrickJr GBAtemp Regular

    Member
    4
    Jan 5, 2017
    Bridgwater
    upload_2018-5-13_1-3-59.
    I see that it works here, but when running HacDiskMount as Admin, clicking Open Physical Drive it crashes.

    — Posts automatically merged - Please don't double post! —

    Ohh it's working now, ignore me!
     
  16. Akuseru06

    Akuseru06 Developer

    Member
    3
    Jan 8, 2018
    Romania
    So many releases from you ,cool thank you.
     
  17. RyuSeisuke1992

    RyuSeisuke1992 GBAtemp Regular

    Member
    4
    Mar 24, 2018
    Germany
    https://disqus.com/by/NintendoX/?l=de
    @rajkosto you can use it to access the file system from NAND?
     
    Last edited by RyuSeisuke1992, May 13, 2018
  18. Rizzorules

    Rizzorules "What are you doing?" "Something unexpected."

    Member
    5
    Aug 17, 2013
    Argentina
    Challenge accepted, jokes aside it is working perfectly. Thank you very much!
     
    PatrickStarSb likes this.
  19. Sonicbrawler

    Sonicbrawler GBAtemp Regular

    Member
    3
    Sep 7, 2015
    United States
    since we can access the eMMC this simply, is there a way to use this to dump/rip games files?
     
  20. rajkosto
    OP

    rajkosto GBAtemp Advanced Fan

    Member
    11
    Apr 6, 2017
    Sure ? just mount your USER partition, find the game's NCA, copy it to your computer and then decrypt/extract it using hactool
     
Loading...