Git Product home page Git Product logo

bootmoix's Introduction

BootMoix

simple shutdown/reboot homebrew for Nintendo Switch using libnx.
It even has a scene-appropriate totally legit french name. Enjoy!

This is a slightly modified version of a libnx example that uses calls to the bpc service to shutdown/reboot your Switch.
Just download a release or compile it yourself. Use with hbmenu like any other homebrew and follow the onscreen instructions.

Shutdown mode is currently not recommended! The first boot after using it always fails. Don't panic if it happens to you, just press power and inject your RCM payload again.

DISCLAIMER: I am not responsible for bricked switches, corrupted Nands/SD cards or any otherwise f*ed up things that happen to you. Use at your own risk!

How to install

  • release version:

    1. Extract the provided .zip file.
    2. Copy the BootMoix folder to the switch folder on your SD card.
  • compiled version:

    1. Clone this repository.
    2. Compile using make.
    3. Copy the BootMoix folder inside the out folder to the switch folder on your SD card.
  • configuration:

    • Create a file called reboot inside the BootMoix folder on your SD card to skip straight to reboot.
    • Create a file called shutdown inside the BootMoix folder on your SD card to skip straight to shutdown.

Shutdown mode is currently not recommended! The first boot after using it always fails. Don't panic if it happens to you, just press power and inject your RCM payload again.

How to compile

  1. Set up your dev environment using this guide. I suggest using Docker.
  2. Clone XorTroll's fork of libnx.
  3. cd libnx
  4. make (should finish without errors)
  5. make install
  6. find your devkitpro installation folder
  7. nano *your devkitpro folder*/libnx/include/switch.h
  8. add the line #include "switch/services/bpc.h" and save
  9. cd .. (assuming you're still inside the cloned libnx folder)
  10. Clone this repository.
  11. cd BootMoix
  12. make

Credits

Thanks to all the people responsible for libnx and hbmenu!

bootmoix's People

Contributors

cokecookie avatar

Stargazers

Justicx26 avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar Gamebrew avatar

bootmoix's Issues

first boot after using shutdown always fails

For whatever reason after using the shutdown option the next boot sequence will always fail. More detailed:

  1. use shutdown option
  2. after ~10 seconds the Switch reboots to RCM (everything normal so far)
  3. inject RCM payload (Hekate in my case) and boot cfw
  4. screen will stay black and nothing happens
  5. press power to go to RCM again
  6. inject RCM payload again
  7. boot successful

I really don't know why this happens or how to fix it. Best solution would probably be to make shutdown more similar to how Horizon does it from the home menu. No idea how to achieve this though.

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.