Hacking WIP [Trinket] [Rebug] [Others] SWITCHBOOT_UF2 / FUSEE_UF2 modchip software

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
Hmmm... Shouldn't have bricked. Does the console still go into RCM?

So the console isn't bricked. It still goes into RCM and the modchip delivers the payload just fine. However, when I try to update the modchip it does not show up as a device on my computer anymore, so I can't update it with latest version. :( In other words, the modchip bootloader isn't functioning correctly.

I may have to setup OpenOCD and flash the bootloader via SWD to see if it resolves the issue.
 
Last edited by Relys,

Parax342

Well-Known Member
Member
Joined
Aug 7, 2019
Messages
136
Trophies
0
Age
34
XP
499
Country
United States
Under reconstruction


Whats the difference between this and Hekate?

This is a quite in-depth modification of Hekate that is suited to our chips.

All Hekate features, plus:

  • Browse and boot any payload / INI
  • Add payload to hekate_ipl.ini
  • Safe backup of BOOT0/1 & PRODINFO
  • Restore ChoiDuJour cut-down BOOT0/1
  • Restore SXOS licence
  • Payload.bin launching and multiple payload feature(controlled by your SAMD chip) as well - like having multiple chips in your machine!
  • Modchip information on main display

Additional controls:

From boot:

Hold Vol- to override launching "payload.bin"
Hold BOTH Vol buttons to prevent launching nyx


Changelog: Hekate_Switchboot_Mod v5.1.1
  • Hekate upstream changes
  • Switchboot code is now much more modular, so aids faster updates
  • The main program is standard Hekate, with the exception of:
  • payload.bin / payload<x>.bin override
  • Browser integrated for browsing payloads / INIs

  • Removed features that people didn`t use (SXOS multiNAND)
  • Switchboot options now in submenu

Changelog: v1.5.3beta
  • Full wear-levelling to extend the already infinite life of your chip, by changing how writes and rewrites are handled. Thanks to @MatinatorX for original idea and example code!
  • UF2 drive access from vol+ button(if strap is fitted of course) - Simply hold for around 12 seconds, a white blinking light will appear. Turn off console, disconnect from USB, turn on and reconnect - UF2 drive up!
  • Flat battery assistance for autoRCM && autoboot users. If flat battery is detected, your device will no longer bootloop in the dock - it will begin to charge. Once sufficient charge to avoid bootloop, console will start to complete charging. There is no configuration on this - its all automagic. If battery is too flat, Hekate / Switchboot will no longer run your battery until it physically cant provide power anymore, it will display a Horizon-esque graphic telling you to charge battery before shutting off console
  • Fixed a stupid bug where I forgot to mount the SD card, leading to black screens for some users.
  • Ability to enable / disable payload.bin or payload(x).bin from within the menu
  • Ability to automatically turn off console when you disconnect USB in RCM mode. In the boot settings.
  • Other bugfixes and probably new bugs. Because I`m an imbicile.

Changelog: v1.5.0
  • Hekate 5.0.2 upstream changes
  • Backup / restore completely reworked. Kamikaze option of restoring any partition from anywhere, using any file. USE AT YOUR OWN RISK!!!
  • Improved standard backup options
  • Fw v9.0.0 support
  • Bugfixes galore.

Changelog: v1.4.3
  • Fixed browser returning to wrong place. Thanks @Gismor for bringing it to my attention
  • Changed archive bit options so you can browse and set / unset bits on a folder-by-folder basis.
  • Optimised code in MultiNAND to cut down on payload stack space usage.
  • Corrected safe backup location to SD root as it should be - was in backup folder.
  • Typos and nonsensical results fixed.
  • Documented(ish) browser.c function.


Changelog: v1.4.2
  • Almost completely re-implemented the VOL+ options
  • Made LEDs during these options RED, GREEN and BLUE
  • Launching should be faster
  • DragonInjector support refactored and should be improved
  • Changed menu options to make even clearer
  • Every option more or less has been redone
  • File browser takes you to default Hekate folders by default. You can still browse for payloads / INIs from there!
  • Added option to disable payload indication



Changelog: v1.4.1
  • Typos fixed. Some character spacing corrected.
  • Battery and fuel gauge options added - Be careful with them!
  • Screenshot feature added.
  • New screenshots no longer overwrite old ones (like in 1.3.x)
  • Refactoring of colours. Look in gfx/gfx.h to see how to change colours to your liking.
  • Changed to black and green colour scheme again. I like it.
  • Removed dump pkg1/2 option to make space. It isn`t really required in our implementation.
  • If booting with no SD card, upon attempting to launch, you will see a stock option to launch OFW. This is just a dupe of Reboot(normal).



Where do I put the bootloader folder?
 

koolershaker

New Member
Newbie
Joined
May 14, 2019
Messages
3
Trophies
0
Age
27
XP
101
Country
Comoros
So the console isn't bricked. It still goes into RCM and the modchip delivers the payload just fine. However, when I try to update the modchip it does not show up as a device on my computer anymore, so I can't update it with latest version. :( In other words, the modchip bootloader isn't functioning correctly.

I may have to setup OpenOCD and flash the bootloader via SWD to see if it resolves the issue.

same problem here...
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Why does is say to download a bootloader folder then?
also what do i do with the 3V arrow on the trinket M0 guide that goes nowhere?
OH yes...

There is a new minerva.

Download the bootloader folder, copy over and put latest Atmosphere on there.


The 3v arrow is an alternative point. It is showing you where to connect to if you want to use a different point.
 

starlander

Member
Newcomer
Joined
Jan 13, 2017
Messages
24
Trophies
0
Age
48
XP
344
Country
United States
Troubleshooting assistance needed. After running Trinket M0 chip for a while, I am now noticing the switch is not charging.

Plugging in multiple usb c chargers shows the charging icon, but battery does not increase.

Switchboot shows charge rate around 10-20ma, but never higher. Im on v1.5.3beta

I’m ready to pull it apart and recheck all of the wiring.

IMG_8675.jpg



Sent from my iPhone using Tapatalk
 
Last edited by starlander,

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Troubleshooting assistance needed. After running Trinket M0 chip for a while, I am now noticing the switch is not charging.

Plugging in multiple usb c chargers shows the charging icon, but battery does not increase.

Switchboot shows charge rate around 10-20ma, but never higher. Im on v1.5.3beta

I’m ready to pull it apart and recheck all of the wiring.

View attachment 192406


Sent from my iPhone using Tapatalk
Hmmm...

My first thought would be check your wiring. Check you haven't bridged anything around the usb strap
 

Modzvilleusa

Well-Known Member
Newcomer
Joined
Apr 17, 2019
Messages
86
Trophies
0
Age
55
Website
youtube.com
XP
732
Country
United States
Hey dudes. I was about to do one of these installs. I flashed Part 1 without issue. Then after Flashing Trinket.UF2 The Trinket M0 just gets 8 flashing red lights and isn't detected by my PC. This doesn't seem like normal behavior. Is this normal? If not is there a fix for restoring the Trinket to stock and restarting? any help would be appreciated. Thanks!
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Hey dudes. I was about to do one of these installs. I flashed Part 1 without issue. Then after Flashing Trinket.UF2 The Trinket M0 just gets 8 flashing red lights and isn't detected by my PC. This doesn't seem like normal behavior. Is this normal? If not is there a fix for restoring the Trinket to stock and restarting? any help would be appreciated. Thanks!
Yes its normal. The Trinket is in Host mode. This means it is listening. So it cannot register as a device as it ISNT a device and it is looking for the Switch.

A bit like plugging two PCs together via USB. They are both listening, and will only talk back when it hears something talking to it.
 

Modzvilleusa

Well-Known Member
Newcomer
Joined
Apr 17, 2019
Messages
86
Trophies
0
Age
55
Website
youtube.com
XP
732
Country
United States
Thanks for the reply my dude!
So to be clear, is the only way to flash it with update files at this point is to do so with the trinket installed in the switch using the payload method?
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Thanks for the reply my dude!
So to be clear, is the only way to flash it with update files at this point is to do so with the trinket installed in the switch using the payload method?
No not at all.

Just press reset twice. Might take a few tries until you get your timing right. But when you do, a drive will open up containing "TRINKET.UF2" or whatever.
 

Modzvilleusa

Well-Known Member
Newcomer
Joined
Apr 17, 2019
Messages
86
Trophies
0
Age
55
Website
youtube.com
XP
732
Country
United States
Two Quick Questions!
Is the 3.3v point (Near Joycon Stap) Linked to the pad to the left of it? As in can I bridge those two pads like the 2 joycon rail pads? It looks like they are but It's so damn tiny I can't really get the angle with my multimeter.
Also what exactly does the Vol + strap do? I do want the duel boot set up (powers on normally with power, Vol+ + power for Hekate) Will I be able to achieve this without connecting the Vol+ Strap.
Thanks again for all of your hard work my dude!
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Fusee_Suite updated.

V6 full changelog:

  • Improved button polling for faster boot.
  • Long-press VOL+ has a "progress" graphic
  • Refactored all variables for easier hexediting
  • Screensaver added (bouncing Nintendo logo - can be toggled by button press (Blink 4 VOL+ long press)
  • Boot animations added - (1 = no bootlogo at all, 2 = static, 3 = sliding, 4 = wiping, 5 = "glitching")
  • Change colours of bootlogo and text (either Hexedit, or change in Arduino. Very easy to do!)
  • Screen dimming after period of inactivity
  • Tidied menus
  • Removed SD mount / remount upon every boot attempt - Speeds things up
  • New "button control" graphic on main screen. Less intrusive.
  • BLZ more assets, change colours upon decompression... Sneaky.
  • Typos and bugfixes behind the scenes. New ones probably added. I`m that daft.
In Fusee Suite OP now.
 

koolershaker

New Member
Newbie
Joined
May 14, 2019
Messages
3
Trophies
0
Age
27
XP
101
Country
Comoros
So I fixed it by booting the switch all the way to the home menu, holding the power button and going into sleep mode and then double pressing the modchip reset button to get into bootloader update mode and connecting the USB cable.

Thanks man, worked at first try! :yay:
 

Gismor

Well-Known Member
Member
Joined
Nov 12, 2018
Messages
119
Trophies
0
Age
39
XP
631
Country
Germany
Im back from my Holiday in New Zealand.
Now i will update my rebug.
I see there is a new thread called Fusee Suite.
What is current the best option for a permament cfw boot?
the new Fusee Suite or here the switchboot?
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Hello everybody.

Really really sorry I haven`t been around.

Illness has struck yet-a-bleedin-gain.

Got 20 inbox messages to read. Going to be a long night.

If I can help anyone, let me know.

#thebritishflujabdidnthelp
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: