Code Monkey home page Code Monkey logo

tegrarcmsmash's Introduction

TegraRcmSmash License

A reimplementation of fusee-launcher by ktemkin in C++ for Windows platforms.

Lets you launch fusee/shofEL2 payloads to a USB connected Switch in RCM mode.

Driver setup

  1. Get your Switch into RCM mode and plug it into your Windows PC. It should show up somewhere (like Device manager) as "APX"
  2. Download and run Zadig driver installer from https://zadig.akeo.ie/
  3. From the device list, choose APX (if it's not showing up in the list, go to Options menu and check List All Devices)
  4. For the driver type, cycle the arrows until you see libusbK (v3.0.7.0) in the text box (IMPORTANT!)
  5. Click the big Install Driver button. Device manager should now show "APX" under libusbK USB Devices tree item.

Usage

TegraRcmSmash.exe [-V 0x0955] [-P 0x7321] [--relocator=intermezzo.bin] [-w] inputFilename.bin [-r] [--dataini=coreboot.ini] ([PARAM:VALUE]|[0xADDR:filename])*

If your Switch is ready and waiting in RCM mode, you can also just drag and drop the payload right onto TegraRcmSmash.exe

An example cmdline for launching linux using coreboot is something like this (the empty relocator is important): TegraRcmSmash.exe -w --relocator= "coreboot/cbfs.bin" "CBFS:coreboot/coreboot.rom"

A simpler way to load coreboot/other AArch64 payloads is to use https://github.com/rajkosto/memloader and either put the files on microsd or use the --dataini parameter

After that, you can use imx_load as you would on Linux (Windows binaries available here)

Alternatively, setup your u-boot cmdline to just load everything from microSD to not bother with imx_load ;)

Binary releases

Available at https://switchtools.sshnuke.net

Compilation

  1. Download the binary package for libUSBK from this link (by pressing the big green Download button)
  2. Run the installer exe and make note of where it installed to (default is C:\libusbK-dev-kit)
  3. Open your Advanced system settings and set the environment variable LIBUSBK_DIR to the path you noted
  4. Open TegraRcmSmash.sln with Visual Studio 2017 and build the Release or Debug configuration!

Responsibility

I am not responsible for anything, including dead switches, blown up PCs, loss of life, or total nuclear annihilation.

tegrarcmsmash's People

Contributors

916253 avatar rajkosto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tegrarcmsmash's Issues

Stopped after Uploading payload (mezzo size: etc.

Hi! I dkn what am i doing wrong. I installed the drivers.

RCM device with id ... initialized successfully!
Uploading payload (mezzo size: ....)...

show in the cmd and after blinking. Do you have any suggestions? I want to install atmosphere latest version. Tried after reboot, another usbc cable, another usb port, 3.0 and 2.0. This nintendo mybe patched, if it is what can I do for working nsp games in sdcard? I have better samsung sdcard. Thank you!

Linux port

If a linux port is viable i would love to see one. The web launcher doesnt work on all linux machines.

Does nothing past initializing USB

I let it sit after it said initializing was successful and said that it started injecting with the file size and everything, but does nothing else past that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.