Hacking Can SX OS be uninstalled?

kevin corms

Well-Known Member
Member
Joined
Feb 21, 2015
Messages
1,015
Trophies
0
Age
40
XP
1,784
Country
Canada
I'm saying you need the dongle to load the OS. After you load the OS, you can take it out. They have some sort of payload.bin on their USB that's set to automatically deliver it to the Switch once its in RCM. Similar to how all of the other payload.bins function, once it has been sent via USB, your Switch is good to go. However, they need to still be plugged in via USB because that is the only current exploit we have that not only works on all firmwares, but gives us the highest level of access to the console.
That’s what I call an install, I understand that it isn’t permanent and won’t survive a reboot but still an install...
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
That’s what I call an install, I understand that it isn’t permanent and won’t survive a reboot but still an install...
No... it's really not. It's a memory patch, volatile, and clears itself on a reboot or power down, basically all the features that make it the opposite of an install. If I copy a photo to a USB stick and plug it into my computer did I just "install" that picture to my computer? No. Same goes for the SX OS. It's just a payload you copy to the microSD. If you want to remove SX OS, either don't run it or delete the payload off the microSD card. The only part that could be considered an "install" would be the AutoRCM, which is more a system tweak then an actual install as no files are involved in setting up AutoRCM. So in the event you enabled AutoRCM, you would need to disable it for a clean system.
 
  • Like
Reactions: TheCyberQuake

LikeATrollFace

Well-Known Member
Newcomer
Joined
Apr 24, 2018
Messages
69
Trophies
0
Age
24
XP
180
Country
Netherlands
No it will not.

You have to use it on every boot, or you use autorcm to skip using the jig.

It uses Fusee Gelee, nothing is persistent.
It has yet to be confirmed that they use FG tho, for all we know they could be using F0F's or their own exploit really..
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,029
Trophies
2
Age
29
Location
New York City
XP
13,442
Country
United States
It has yet to be confirmed that they use FG tho, for all we know they could be using F0F's or their own exploit really..
I think what he meant was it works like Fusee Gelee. Team TX is using a jig to send the Switch into RCM and using a dongle that is designed to automatically send whatever payload.bin is stored in it once it detects the Switch is in RCM. All of the Switch hacking teams have basically all been using the same exploit.
 

kevin corms

Well-Known Member
Member
Joined
Feb 21, 2015
Messages
1,015
Trophies
0
Age
40
XP
1,784
Country
Canada
No... it's really not. It's a memory patch, volatile, and clears itself on a reboot or power down, basically all the features that make it the opposite of an install. If I copy a photo to a USB stick and plug it into my computer did I just "install" that picture to my computer? No. Same goes for the SX OS. It's just a payload you copy to the microSD. If you want to remove SX OS, either don't run it or delete the payload off the microSD card. The only part that could be considered an "install" would be the AutoRCM, which is more a system tweak then an actual install as no files are involved in setting up AutoRCM. So in the event you enabled AutoRCM, you would need to disable it for a clean system.
Doesn't matter if its in ram and volatile, its still an install. A photo doesn't do anything, you can't install a photo. "Installation (or setup) of a computer program (including device drivers and plugins), is the act of making the program ready for execution."
 
Last edited by kevin corms,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Doesn't matter if its in ram and volatile, its still an install. A photo doesn't do anything, you can't install a photo. "Installation (or setup) of a computer program (including device drivers and plugins), is the act of making the program ready for execution."
I, too, can selectively quote wikipedia info:

Because code is generally copied/generated in multiple locations, uninstallation usually involves more than just erasing the program folder. For example, registry files and other system code may need to be modified or deleted for a complete uninstallation.
Some computer programs can be executed by simply copying them into a folder stored on a computer and executing them. Other programs are supplied in a form unsuitable for immediate execution and therefore need an installation procedure. Once installed, the program can be executed again and again, without the need to reinstall before each execution.
A class of modern applications that do not need installation are known as portable applications, as they may be roamed around onto different computers and run.

From your own source, this fully ready executable memory patch does not require installation or uninstallation if it can be simply copied and run or deleted for full removal.
 
  • Like
Reactions: Draxzelex

kevin corms

Well-Known Member
Member
Joined
Feb 21, 2015
Messages
1,015
Trophies
0
Age
40
XP
1,784
Country
Canada
I, too, can selectively quote wikipedia info:





From your own source, this fully ready executable memory patch does not require installation or uninstallation if it can be simply copied and run or deleted for full removal.

it would be portable if it stayed on the dongle and you had to keep it in, right now its installed to ram. A portable application on a usb stick would stop working once you unplug it. Anyway, don't take it form me I'm just a software developer.

https://en.wikipedia.org/wiki/Portable_application

you see, what we are talking about is not standalone and still needs to be installed to the volatile memory. iOs hackers would call this a "tethered jailbreak" since it wont persist past a reboot.
 
Last edited by kevin corms,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
it would be portable if it stayed on the dongle and you had to keep it in, right now its installed to ram.
Lol, whatever dude. First, the SX OS is not on the dongle it’s on the SD card. Second, any executable that’s run is in memory so that doesn’t disqualify it. But you’re set on calling this an install despite all the definitions, traditional and modern nomenclature stating otherwise. We’ll just need to leave it up to the readers to decide.
 
  • Like
Reactions: TheCyberQuake

kevin corms

Well-Known Member
Member
Joined
Feb 21, 2015
Messages
1,015
Trophies
0
Age
40
XP
1,784
Country
Canada
Lol, whatever dude. First, the SX OS is not on the dongle it’s on the SD card. Second, any executable that’s run is in memory so that doesn’t disqualify it. But you’re set on calling this an install despite all the definitions, traditional and modern nomenclature stating otherwise. We’ll just need to leave it up to the readers to decide.
What is the dongle even for then my good sir? Does it not install a payload to the volatile memory? Even the makers of sx os call it an install, but I guess they are wrong too. Typically folks don't install to volatile memory for obvious reasons, but in this case its all we can do.
 
Last edited by kevin corms,

LikeATrollFace

Well-Known Member
Newcomer
Joined
Apr 24, 2018
Messages
69
Trophies
0
Age
24
XP
180
Country
Netherlands
Lol, whatever dude. First, the SX OS is not on the dongle it’s on the SD card. Second, any executable that’s run is in memory so that doesn’t disqualify it. But you’re set on calling this an install despite all the definitions, traditional and modern nomenclature stating otherwise. We’ll just need to leave it up to the readers to decide.
Actually, the SX Pro has the SX OS stored on the dongle, in contrary to the separate SX OS purchase which does indeed go on the SD.
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
What is the dongle even for then my good sir? Does it not install a payload to the volatile memory? Even the makers of sx os call it an install, but I guess they are wrong too. Typically folks don't install to volatile memory for obvious reasons, but in this case its all we can do.
They call autoRCM an install, not the OS itself.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
What is the dongle even for then my good sir? Does it not install a payload to the volatile memory? Even the makers of sx os call it an install, but I guess they are wrong too. Typically folks don't install to volatile memory for obvious reasons, but in this case its all we can do.
The dongle runs an embedded USB stack that sends a malformed USB request to trigger an overflow flaw in the RCM mode allowing them to run some code that tells the Switch to then execute whatever payload file is on the microSD card, in this case, SX OS. This is standard fuseé geleé operation. As for the "install" that TX refers to, that's the AutoRCM which was discussed earlier, which is more of a change to some stored data but not something that is executable, so that's not really classified as an install either. They use the term install for ease of understanding for people like you who don't seem to know the difference. Now, at this point I'm pretty sure you're just trolling.

Actually, the SX Pro has the SX OS stored on the dongle, in contrary to the separate SX OS purchase which does indeed go on the SD.
It's not, they have two different operations on their licensing page, one for the Dongle and one for the license code. Not sure where you got this info from to by honest.
 
Last edited by DocKlokMan,

kevin corms

Well-Known Member
Member
Joined
Feb 21, 2015
Messages
1,015
Trophies
0
Age
40
XP
1,784
Country
Canada
The dongle runs an embedded USB stack that sends a malformed USB request to trigger an overflow flaw in the RCM mode allowing them to run some code that tells the Switch to then execute whatever payload file is on the microSD card, in this case, SX OS. This is standard fuseé geleé operation. As for the "install" that TX refers to, that's the AutoRCM which was discussed earlier, which is more of a change to some stored data but not something that is executable, so that's not really classified as an install either. They use the term install for ease of understanding for people like you who don't seem to know the difference. Now, at this point I'm pretty sure you're just trolling.

It's not, they have two different operations on their licensing page, one for the Dongle and one for the license code. Not sure where you got this info from to by honest.
Personal attacks... So what changes after reboot? What is the exploit exactly? Are you saying the whole thing is just a portable emunand? Auto rcm isnt really an install, but it does cause the os to be installed on boot to the volatile memory, or does it just run the os entirely from the sd card?
 
Last edited by kevin corms,

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
Personal attacks... So what changes after reboot? What is the exploit exactly? Are you saying the whole thing is just a portable emunand? Auto rcm isnt really an install, but it does cause the os to be installed on boot to the volatile memory, or does it just run the os entirely from the sd card?
Putting it in memory is not installing. You don't call the data your game and programs put in memory an install, and neither is this.
 

guily6669

GbaTemp is my Drug
Member
Joined
Jun 3, 2013
Messages
2,356
Trophies
1
Age
34
Location
Doomed Island
XP
2,154
Country
United States
I wonder if every game would "install" like that every time you open them if you would like... Open game, game says: go smoke a ciggarette, this will take quite some time... "installing" to ram "temporarily" until you exit game. Then you open the game again and same thing...

And oh wait every game running from the CD\DVD\BD-DVD or whatever installs everytime because they load it in the ram so its installing everytime in the ram LOL.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Personal attacks... So what changes after reboot? What is the exploit exactly? Are you saying the whole thing is just a portable emunand? Auto rcm isnt really an install, but it does cause the os to be installed on boot to the volatile memory, or does it just run the os entirely from the sd card?
Sorry, looks like I was wrong, you're not a troll. You just really... don't know. I'll be happy to explain it.

RCM is a recovery mode that the Switch has for repair purposes. It enters this mode when the eMMC memory chip is not accessible or if the right button combo is pressed (Vol Up and the RCM Home button, which is actually a pin inside the right JoyCon rail). Once in RCM mode it expects a signed, official series of commands to be sent through the USB port for repair and diagnostic.

Since we don't have the official commands, we poked around and discovered that it does not guard against an out-of-spec, really really big USB request. One so big, that it overrides into an area of memory it shouldn't (called stack smashing). If we send this large command along with some unauthorized code, we find that the Switch will run that code as if it were signed. This is only temporary though and we need to do it each time we restart as the code only exists in volatile memory.

What TX has done is made a compact dongle that sends this overlarge command for us. The code they send simply tells the Switch "look at this file on the SD card for further instructions". The file on the SD card is the SX OS file, roughly 16MB large, it does a few things. It can either simply chain load the official OS (Horizon) and boot the Switch normally, it can place some threads into memory, then launch the official OS which gives us the SX OS CFW capable of running dumped games and homebrew, or it can enable AutoRCM.

Since people don't want to remove their eMMC chip or hold the Vol Up and RCM Home button (pin 10) every time, what AutoRCM does is corrupt a signature in your eMMC by changing a few bytes. When the Switch goes to boot this check will fail and it'll startup in RCM mode without needing to hold anything or disconnect anything. Once it's in RCM mode you can use the dongle to smash the stack and run the SX OS payload, which can then patch some memory addresses and chain load the official OS so you can have your fun.

It also has the option to reverse AutoRCM which simply puts the bytes it changed back to normal.

That about covers it, were there any remaining questions?
 
Last edited by DocKlokMan,

kevin corms

Well-Known Member
Member
Joined
Feb 21, 2015
Messages
1,015
Trophies
0
Age
40
XP
1,784
Country
Canada
I wonder if every game would "install" like that every time you open them if you would like... Open game, game says: go smoke a ciggarette, this will take quite some time... "installing" to ram "temporarily" until you exit game. Then you open the game again and same thing...

And oh wait every game running from the CD\DVD\BD-DVD or whatever installs everytime because they load it in the ram so its installing everytime in the ram LOL.
That doesn’t make sense, you remove the disc and the game stops working.

--------------------- MERGED ---------------------------

Sorry, looks like I was wrong, you're not a troll. You just really... don't know. I'll be happy to explain it.

RCM is a recovery mode that the Switch has for repair purposes. It enters this mode when the eMMC memory chip is not accessible or if the right button combo is pressed (Vol Up and the RCM Home button, which is actually a pin inside the right JoyCon rail). Once in RCM mode it expects a signed, official series of commands to be sent through the USB port for repair and diagnostic.

Since we don't have the official commands, we poked around and discovered that it does not guard against an out-of-spec, really really big USB request. One so big, that it overrides into an area of memory it shouldn't (called stack smashing). If we send this large command along with some unauthorized code, we find that the Switch will run that code as if it were signed. This is only temporary though and we need to do it each time we restart as the code only exists in volatile memory.

What TX has done is made a compact dongle that sends this overlarge command for us. The code they send simply tells the Switch "look at this file on the SD card for further instructions". The file on the SD card is the SX OS file, roughly 16MB large, it does a few things. It can either simply chain load the official OS (Horizon) and boot the Switch normally, it can place some threads into memory, then launch the official OS which gives us the SX OS CFW capable of running dumped games and homebrew, or it can enable AutoRCM.

Since people don't want to remove their eMMC chip or hold the Vol Up and RCM Home button (pin 10) every time, what AutoRCM does is corrupt a signature in your eMMC by changing a few bytes. When the Switch goes to boot this check will fail and it'll startup in RCM mode without needing to hold anything or disconnect anything. Once it's in RCM mode you can use the dongle to smash the stack and run the SX OS payload, which can then patch some memory addresses and chain load the official OS so you can have your fun.

It also has the option to reverse AutoRCM which simply puts the bytes it changed back to normal.

That about covers it, were there any remaining questions?
Alright that makes sense.
 

Pleng

Custom Title
Member
Joined
Sep 14, 2011
Messages
2,442
Trophies
2
XP
2,828
Country
Thailand
Putting it in memory is not installing. You don't call the data your game and programs put in memory an install, and neither is this.

So...

I download an Ubuntu live CD. I boot it up, but I want to use SuperMagicApp3.11. However SMA3.11 isn't included in the live distibution, I have o use the software centre to download and ...install it, no? It's only temporarily installed because as soon as I reboot the live distro it will be gone again; but it absolutely has been installed; otherwise I wouldn't be able to run it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • light27 @ light27:
    oh it’s the least I could do
    +1
  • K3Nv2 @ K3Nv2:
    yawn
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, stop stealing my phrases
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    K3Nv2 @ K3Nv2: He wants to bone anything with a dick