Hacking Discussion Coldboot and you: Learning to love the tether

mnemonicpunk

Well-Known Member
OP
Newcomer
Joined
May 10, 2018
Messages
78
Trophies
0
Age
37
XP
308
Country
Germany
Coldboot and you: Learning to love the tether

Hi guys, me again, with another explainy article that aims to clear up some of the confusion around coldboot, warmboot, the requirement for dongles and how your firmware version factors into all of this.

Let’s start at the beginning.

A coldboot method is a method of loading our own code that works from the point of turning the device on. No OS has been loaded, no bootloader code executed, no security enabled etc. An exploit like this has enormous power as it can do pretty much anything on the hardware that it wants. There is nothing to stop it, after all. A current coldboot exploit available is Fusée Gelée.

And then there is the warmboot variety of method. It works on top of a running system, the Horizon OS on the Switch in our case. By using a flaw in the operating system we can trick it into running our own code. Depending on where the flaw is we also inherit more or fewer privileges from the affected code. As such, these exploits aren’t usually as powerful as coldboot exploits. They can be if the flaws happen to be in just the right places, that’s just rarely the case. An example of this would be Jamais Vu.

“Wait a minute”, I hear you ask, “then why do so many people on GBATemp keep wondering when there will be a coldboot exploit? Didn’t you just say FG is a coldboot exploit?”

Indeed, my dear astute reader, I did say that. FG is a coldboot exploit that pretty much hands us the key to the kingdom. With one exception: We can not change the bootrom in the Switch. This means despite technically being able to replace any bit of code on the Switch, we can not touch the bootrom that checks whether this code is valid and signed by Nintendo. The good news is that this counts for Nintendo as well, they simply can not fix this bug in a firmware update as they can’t change the affected code. The bad news: Neither can we. We need to use a method of injecting our code that bypasses the bootrom, since we can’t make it think our code is legit and made by Nintendo.

This method of injection is what we call a “tether”: A second device (PC/smartphone/mod dongle) attached to the USB port of our Switch that sends initial code over to it when the Switch is in RCM mode. So all currently fashionable methods (Fusée Gelée, ShofEL2, TX mod dongle/actual modchips) are what we call “tethered coldboot” methods.

What people mean when they ask “coldboot when?!” is “When will we get a coldboot method that doesn’t require me to plug another device into my Switch, my good sir?” to which the answer, sadly, appears to be: Never. A b9s for Switch will probably not happen.

Lucky for us the FG exploit works on all firmwares and can never be patched in updates! This is old news, I know, but it has led many people to ask why they should even bother staying on lower firmwares. Here’s why:

Up there I mentioned warmboot exploits. Those run on top of the OS and rely on flaws in the Horizon OS or its associated code. This kind of exploit can and will be fixed by Nintendo in firmware updates once they get to their attention.

Right now, we know that there are a few of those around, lovingly called “Déja Vu” over at ReSwitched. Enough of them, in fact, to have an exploit chain for total world domina- I mean, total control on the Switch up to - and including - firmware 4.1.0. Due to the changes made in firmwares 5 and above, parts of those don’t work anymore.

These exploits are not being made public at this point, main reason being the impending release of Mariko, a new revision of the Switch that is assumed to have fixed the FG exploit before leaving the factory. When it does release, we’ll hopefully have at least something on our hands to get homebrew running on those.

So these unreleased methods are the main reason you should stay on firmware 4.1.0 or below, as they may allow us to boot into CFW without a device attached and don’t work in higher versions anymore.

If you are considering updating anyway just to get the newest patches to your favorite games or being able to play online, my advice is still: Don’t. Using Atmosphere you will be able to update its emuNAND to newer firmware versions while letting your actual sysNAND stay on the low, exploitable firmware that may eventually allow us to remove the need for a tether with a warmboot exploit. If you can handle waiting a few more weeks you really should.

In conclusion: The tether is here to stay for the foreseeable future. You should still not update. And now you know why.

As always: Any questions? Let me know below.
 

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,219
Country
Czech Republic
1. That's not how coldboot has to work (Wii U for example).
2. Coldboot = automated patch or one-time patch. (I guess). FG can't be used for coldboot, because RCM can't load payloads by itself. It always needs something to push the payload.
3. Warmboot = reapplying patch on each boot yourself. (I guess). Your "warmboot" is userland exploit.

Otherwise somewhat useful information? I don't know :/
(But definitely old news.)
 
Last edited by Kubas_inko,

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,219
Country
Czech Republic
So staying on 3.0.0 is pointless ?
Easiest way of installing homebrew :D
And this
upload_2018-5-24_12-11-19.png
 
  • Like
Reactions: KeyZiro

GBA rocks

Well-Known Member
Member
Joined
Jan 4, 2013
Messages
422
Trophies
1
XP
515
Country
So it’s all about

4.1.0 (possibly obtained via game cart like DK:TF) + manually installed exFAT driver (from 4.1 game dump) + warmboot softwarehax (user interaction required at every reboot but not sleep)

vs

latest fw + exFAT driver straight from nintendo + coldboot with RCM and USB device (possibly your android phone) at every reboot (not sleep)


personally I like the first setup
click on a bubble and you’re set
not sure about game compatibility in the future though
 
Last edited by GBA rocks,

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,219
Country
Czech Republic
So it’s all about

4.1.0 (possibly obtained via game cart like DK:TF) + manually installed exFAT driver (from 4.1 game dump) + warmboot softwarehax (user interaction required at every reboot but not sleep)

vs

latest fw + exFAT driver straight from nintendo + coldboot with RCM and USB device (possibly your android phone) at every reboot (not sleep)


personally I like the first setup
click on a bubble and you’re set
not sure about game compatibility in the future though
See? OP wrote it wrong.
warmboot = reapplying patch on each boot yourself.
coldboot = Automated patch or one-time patch.

1.0.0 - 4.1.0 - might get coldboot = no interaction needed.
over 4.1.0 - warmboot = jig and device to push the payload required
 
Last edited by Kubas_inko,

kumikochan

Well-Known Member
Member
Joined
Feb 4, 2015
Messages
3,753
Trophies
0
Age
36
Location
Tongeren
XP
3,311
Country
Belgium
See? OP wrote it wrong.
warmboot = reapplying patch on each boot yourself.
coldboot = Automated patch or one-time patch.

1.0.0 - 4.1.0 - might get coldboot = no interaction needed.
over 4.1.0 - warmboot = jig and device to push the payload required
Over 4.1.0 doesn't have a warmboot and warmboot and jig (rcm) are not equal.
 

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,219
Country
Czech Republic
Over 4.1.0 doesn't have a warmboot and warmboot and jig (rcm) are not equal.
And what is RCM then? How come that it is not a warmboot? You have to push the payload and patch the NAND on each"boot".
Or what is warmboot definition, because I can be totally wrong here.
 
Last edited by Kubas_inko,

kumikochan

Well-Known Member
Member
Joined
Feb 4, 2015
Messages
3,753
Trophies
0
Age
36
Location
Tongeren
XP
3,311
Country
Belgium
And what is RCM then? How come that it is not a warmboot? You have to do it on each boot.
The warmboot below 4.0.1 runs on software untethered through a software exploit while RCM is a hardware exploit which is also untethered. They are not equal in any way seeing below 4.0.1 will get the ease of running it without a jig or Phone, donge etc and not having to use sleep mode wich drains the battery versus jig - dongle/Phone/pc - sleep mode
 

YugamiSekai

Mr. Picross
Member
Joined
Dec 24, 2014
Messages
2,015
Trophies
1
Age
22
XP
2,386
Country
United States
See? OP wrote it wrong.
warmboot = reapplying patch on each boot yourself.
coldboot = Automated patch or one-time patch.

1.0.0 - 4.1.0 - might get coldboot = no interaction needed.
over 4.1.0 - warmboot = jig and device to push the payload required
So does that mean anyone at 4.1.0 or under wont need to use a jig/USB-C at all? Or just for the initial setup?
 

GBA rocks

Well-Known Member
Member
Joined
Jan 4, 2013
Messages
422
Trophies
1
XP
515
Country
1.0.0 - 4.1.0 - might get coldboot = no interaction needed.

I read in a screenshot above a dev saying that what they currently have is softwarehax with user interaction required and we shouldn’t have any real hope for a no-interaction coldboot.

Who’s right?
 

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,219
Country
Czech Republic
1. RCM works on any FW.
2. Only way of patching your FW right now is thru RCM on each boot.
3. THe only FW (right now, for normal user) that can go to RCM from OS is 1.0.0
4. What? Warmboot is patching FW on each boot yourself. - RCM

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

I read in a screenshot above a dev saying that what they currently have is softwarehax with user interaction required and we shouldn’t have any real hope for a no-interaction coldboot.

Who’s right?
Devs of course. That's why I wrote might
 

kumikochan

Well-Known Member
Member
Joined
Feb 4, 2015
Messages
3,753
Trophies
0
Age
36
Location
Tongeren
XP
3,311
Country
Belgium
1. RCM works on any FW.
2. Only way of patching your FW right now is RCM
3. Only FW that can go to RCM from OS is 1.0.0
4. What? Warmboot is patching FW on each boot yourself. - RCM
No the only way of patching FW is not RCM. SciresM stated multiple times when atmosphere launches so will the means or running atmosphere through the exploit that uses the web browser. Stop spreading misinformation so that people update and make a mistake
 
Last edited by kumikochan,

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,219
Country
Czech Republic
So does that mean anyone at 4.1.0 or under wont need to use a jig/USB-C at all? Or just for the initial setup?
If we are lucky, we might not needed it (sometimes in the far future).

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

No the only way of patching FW is not RCM. Scires stated multiple times when atmosphere launches so will the means or running atmosphere through the exploit that uses the web browser. Stop spreading misinformation so that people update and make a mistake
I stated multiple times that right now...
Right now, for a normal user, the only way is RCM. And I never told them to update. lol

And that's still not answering my question, why do you think RCM does not count as warmboot?
 
Last edited by Kubas_inko,

kumikochan

Well-Known Member
Member
Joined
Feb 4, 2015
Messages
3,753
Trophies
0
Age
36
Location
Tongeren
XP
3,311
Country
Belgium
If we are lucky, we might not needed it (sometimes in the far future).

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


I stated multiple times that right now...
Right now, for a normal user, the only way is RCM. And I never told them to update. lol
Then it is not the only way. It is only a couple of weeks off
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Freedom* *(terms and conditions apply)