Hacking Fusee payloads and not a wire in sight (1.0.0 only)

snoofly

Well-Known Member
OP
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
How to run Fusee payloads thru software only (1.0.0 only).

Credit to @ihaveamac and @OkazakiTheOtaku
for the repo and instructions which I've basically copy pastad albeit to make a complete A-B flow if you have already a Pegaswitch env setup in a VM on Windows and have access to a Mac for loading the payloads.
Also @TerraPhantm for fixing my usb import error.

On Mac, open Terminal:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install Python 3 and libusb:
$ brew install python libusb
Install pyusb:
$ pip3.6 install pyusb
Set up the scripts:
$ mkdir rcm
$ cd rcm
$ git clone https://github.com/SuperOkazaki/fusee-launcher

Pega:

>> In a VM, run Pegaswitch.
On Switch:
Go to News/Launch Pegaswitch/Play (see elsewhere for setup of fakenews)
Wait for VM pega terminal to show connected

Enter RCM mode

In Pega terminal run:
>> evalfile usefulscripts/rcm.js (see note below)
Get no output
Back out on Switch and enter Album app
- get black screen - you are now in RCM mode

Connect USB A-C lead from USB3 on Mac to Switch.

On Mac terminal, enure in rcm directory
(I just went to Finder/All My Files)
Double click on
macOS FuseDump Boot.command
Switch screen will show Fuse dump info.

-----------------
Note on rcm.js:
-----------------
Grab file reboot_to_rcm.nsp from Reswitched Discord pin
- credit to stuck_pixel for the precompiled nsp
Put this nsp file in the root of your SD.
Alter the nspwn script at
https://pastebin.com/UBLJsgse
to point to this file
change line:
var path = utils.str2ab("@Sdcard:/loader.nsp");
to
var path = utils.str2ab("@Sdcard:/reboot_to_rcm.nsp");
and save as rcm.js in your VM setup at pegaswitch/usefulscripts
 
Last edited by snoofly, , Reason: correction

snoofly

Well-Known Member
OP
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
Most of us don't use a Mac... Got a Linux or Windows tutorial for the rest of us?
As i had my son's Mac handy it was the quickest way for me to test.
For Linux, I expect most of this is the same, but instead of using the Mac scripts to run the payloads, just use something like
"python3 fusee_launcher.py Payloads/fusee.bin" directly from terminal.
I did search for ways of enabling USB3 in VirtualBox but got no luck in setting it up.
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,049
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,239
Country
United States
As i had my son's Mac handy it was the quickest way for me to test.
For Linux, I expect most of this is the same, but instead of using the Mac scripts to run the payloads, just use something like
"python3 fusee_launcher.py Payloads/fusee.bin" directly from terminal.
I did search for ways of enabling USB3 in VirtualBox but got no luck in setting it up.
I wonder if it can be done via VMware.
 

snoofly

Well-Known Member
OP
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
In case you want to start building pfs0 yourself direct from source instead of relying for prebuilds, some quick and easy steps for your VirtualBox setup:

sudo apt-get install git curl
curl -L https://raw.githubusercontent.com/devkitPro/installer/master/perl/devkitA64update.pl -o devkitA64update.pl
chmod +x ./devkitA64update.pl
sudo ./devkitA64update.pl

vi ~/.bashrc
Add line:
export DEVKITPRO=/opt/devkitpro
Save and exit
Quit and restart terminal
Run
$ env
to check new setting is present.

Clone a source repo, for ex.:
cd
git clone https://github.com/pixel-stuck/reboot_to_rcm
cd reboot_to_rcm
make

Should get a bunch of files including the reboot_to_rcm.pfs0 file which you rename to .nsp ext

Again, all this stuff is dotted around elsewhere, but I thought it useful to have everything in one place, with each instruction laid out exactly as I did it from scratch.
 
Last edited by snoofly,

BL4Z3D247

GBAtemp Stoner
Member
Joined
Oct 22, 2008
Messages
1,942
Trophies
0
Age
39
Location
I'm so high, I don't even know!
XP
1,229
Country
United States
Awesome, this is what I was waiting for. Thanks for posting and thanks for those involved in bringing this to reality so quickly.

Edit: Jumped the gun, just noticed it was for Mac, I'm a PC. I guess I'll be trying to figure out the Windows way when I get home from work(if it's not already figured out by someone else). Either way, thanks for doing this for those who can use it. :)
 
Last edited by BL4Z3D247,

Lumince

Well-Known Member
Member
Joined
Aug 15, 2015
Messages
2,343
Trophies
1
XP
3,772
Country
United States
Now I really regret updating to play Odyssey when it came out. Hopefully something like this can come to 4.1.0 in the future... For now its wires galore!
 

snoofly

Well-Known Member
OP
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
OK, here's what'll get you running on Windows ONLY :)
Much trial and error to get this going..
This is every step from a naked VM install all the way to payload push along with some fixes you may need for the typical errors that may happen.

Download VM player 12
https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0
and an ubuntu iso - I used ubuntu-16.04.4-desktop-amd64.iso

Run VMWare
New virtual machine
Enable USB3 support
Briged network adapter (I had to go to Adapter settings and ensure only my network card was selected)

Wait to install ubuntu

Terminal:

sudo apt-get update (all below commands fail prior to this)

sudo apt install curl
sudo apt-get install git npm

For nodejs I needed the following else I got a node-gyp error running npm install):
cd ~
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install nodejs

git clone https://github.com/reswitched/pegaswitch
cd ~/pegaswitch
npm install

Addn step to kill port 53 being used:

service network-manager stop
sudo killall dnsmasq
sudo node start.js --webapplet
Check you can connect with Pega
Run the rcm.js script and boot your Switch into RCM as before

Now to setup the USB3 support and push the payload:

Connect your USB cable from Switch to Windows PC ;)
Reboot VM in order to reconfig network.
service network-manager start (may also work)

sudo apt-get install ruby

Now you'll need to install LinuxBrew as opposed to Homebrew which is MacOS specific
A lot of the following steps are slightly different to the above for MacOS so..

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
/home/linuxbrew/.linuxbrew/bin/brew install python libusb
sudo apt-get install python3-pip
pip3 install pyusb
git clone https://github.com/SuperOkazaki/fusee-launcher
cd fusee-launcher
sudo python3 fusee-launcher.py Payloads/fusee.bin

Reswitch hax stuff appears on Switch - YAY!
 

kramer987

Well-Known Member
Member
Joined
Feb 4, 2008
Messages
114
Trophies
1
XP
552
Country
United States
pardon my ignorance, but you say "not a wire in site." however, in reading your tutorial, i am noticing that you need not only to enter RCM (which would require you to short the pin to enter RCM) and you also need to use a usb cable connected from the switch to the PC. so which wire are you referring to? maybe i'm missing something though. i'm not trying to stir controversy... just trying to understand.
 

charlieb

Well-Known Member
Member
Joined
Jan 15, 2016
Messages
317
Trophies
0
Age
49
XP
685
Country
pardon my ignorance, but you say "not a wire in site." however, in reading your tutorial, i am noticing that you need not only to enter RCM (which would require you to short the pin to enter RCM) and you also need to use a usb cable connected from the switch to the PC. so which wire are you referring to? maybe i'm missing something though. i'm not trying to stir controversy... just trying to understand.

The whole point of this is that there is no need to short pins, the USB part is still needed unfortunately, still no risk of damaging pins. Perhaps in the future a pure no wires solution might appear.
 

snoofly

Well-Known Member
OP
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
pardon my ignorance, but you say "not a wire in site." however, in reading your tutorial, i am noticing that you need not only to enter RCM (which would require you to short the pin to enter RCM) and you also need to use a usb cable connected from the switch to the PC. so which wire are you referring to? maybe i'm missing something though. i'm not trying to stir controversy... just trying to understand.
Hah - yes well OK you need a USB cable to push payloads atm but if on 1.0.0 you can enter RCM thru software only without need to tamper with any pins/thin wires/shorting or anything.
That's the gist of this as well as the later instruction to document how to do it all from scratch on Windows only.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +1
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
  • BigOnYa @ BigOnYa:
    That was what called a qaaulude, instant drunk, luckily they not around anymore.
    BigOnYa @ BigOnYa: That was what called a qaaulude, instant drunk, luckily they not around anymore.