Homebrew Question Is there such a homebrew to shutdown the switch?

  • Thread starter Thread starter jmleolgq
  • Start date Start date
  • Views Views 11,040
  • Replies Replies 51

jmleolgq

Well-Known Member
Newcomer
Joined
Aug 7, 2011
Messages
89
Reaction score
34
Trophies
0
Age
36
XP
368
Country
China
Is there such a homebrew(*.nro) to shutdown the switch?
Or is it difficult to write it by myself?

PS: I know I can use DEVMENU to reboot the console.
 
i think you have autorcm installed and you want a way to power it off safely. as far as i know there is no such a script out yet. to be safe that it is powered off reboot into hektate or sx os payload and choose power off device. thats the only way i know with a software. the other way is to push the poweroff button for about 15-20 sec like mooglazer already said
 
I've been looking into this. @rajkosto hekate has power_off() and your biskeydump & memloader have a similar shutdown_using_pmic() function that run in fusee payloads, any reason these couldn't also be called from within a homebrew NRO? I tested it and it compiles but I'm not thrilled to test it on my only Switch.
 
is there a way to dismount the SD card resulting in a system shutdown without corrupting SD or is the shutdown only triggered by physical removal?
 
well is there any other more relevant way to trigger shutdown from within a homebrew app without interaction?
 
PMC registers are secure-world-only post 1.0.0 and the I2C stuff needed for PMIC shutdown is probably not in the whitelisted memory ranges allowed to be poked from usermode
If you've booted with the service permissions patch, can homebrew then lever enough power to shut down? How about to boot into RCM, I guess that's a whole different ball game?
 
Last edited by hippy dave,
There are ways but the exploits needed are not public.
I'm not talking about from scratch, running an exploit from OFW. I'm talking about from CFW, when you've already booted from RCM to get full control over the system, so it's a matter of passing along enough of that control to homebrew.
 
Does choosing Power Off from the power options not actually shut the console down for AutoRCM users? Surely it does.
 

Site & Scene News

Popular threads in this forum