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

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,868
Trophies
2
XP
29,027
Country
United Kingdom
I'm trying to build the fusee (for part 2) uf2 myself, but the end result isn't working. I cloned your repo, compiled the .ino in main (with #define REBUG) with arduino, padded the resultant .bin to 262,144 bytes, converted to uf2 with this python script.

Then I flash your precompiled part 1 followed by the new part 2, but when I try to boot it gets into rcm but doesn't push the payload. Any ideas where I'm going wrong?

(Oh it wouldn't compile initially because INTERNAL_DS_DATA and INTERNAL_DS_CLK weren't defined for REBUG, I worked around it in two ways, first by disabling dotstar, second by copying those definitions from FEATHER, either way compiles fine but I'm stuck with the above problem.)
 

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
I'm trying to build the fusee (for part 2) uf2 myself, but the end result isn't working. I cloned your repo, compiled the .ino in main (with #define REBUG) with arduino, padded the resultant .bin to 262,144 bytes, converted to uf2 with this python script.

Then I flash your precompiled part 1 followed by the new part 2, but when I try to boot it gets into rcm but doesn't push the payload. Any ideas where I'm going wrong?

(Oh it wouldn't compile initially because INTERNAL_DS_DATA and INTERNAL_DS_CLK weren't defined for REBUG, I worked around it in two ways, first by disabling dotstar, second by copying those definitions from FEATHER, either way compiles fine but I'm stuck with the above problem.)

Hmmm...

First, is the resultant uf2 512kb in size?

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

Also... You will be better off instead of using the fusee-uf2, use the switchboot one and set default mode to 2
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,868
Trophies
2
XP
29,027
Country
United Kingdom
Hmmm...

First, is the resultant uf2 512kb in size?

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

Also... You will be better off instead of using the fusee-uf2, use the switchboot one and set default mode to 2
Yep, 524,288 bytes, same as your prebuilt ones.

I can try the switchboot one if you think it'll make a difference.
 

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
Yes try that. Shouldn`t make a difference though.

I build mine on-chip to ensure they are all good...

thing to check...In your UF2, when you have flashed it, within 2 seconds, look at LED. Is there a rapid flash?This is taking a reading of USB strap)
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,868
Trophies
2
XP
29,027
Country
United Kingdom
I figured out where I went wrong, herp derp - hex-edited your .bin vs mine and saw a different board name.... I didn't realise I had to add a url to get adafruit board definitions, so I just had it set to arduino m0. Got it set to trinket m0 now, which also fixed the undefined values I mentioned.

I was gonna say I still never managed to spot the led, but I just tried again and saw a red flash after holding the volume button for a while, sweet.

Thanks as always!
 
  • Like
Reactions: mattytrog

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
I figured out where I went wrong, herp derp - hex-edited your .bin vs mine and saw a different board name.... I didn't realise I had to add a url to get adafruit board definitions, so I just had it set to arduino m0. Got it set to trinket m0 now, which also fixed the undefined values I mentioned.

I was gonna say I still never managed to spot the led, but I just tried again and saw a red flash after holding the volume button for a while, sweet.

Thanks as always!
Yeah you need the Adafruit defs Dave.

Just compiling for Armoured-dildo M0 won`t work.
 
  • Like
Reactions: hippy dave

Danatkin

Well-Known Member
Newcomer
Joined
May 14, 2019
Messages
47
Trophies
0
Age
38
XP
272
Country
United Kingdom
Might be a really silly question but can a 5v trinket be used?

Also although I may try myself is there anyone in the uk who can do this for a fee?
 

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
Might be a really silly question but can a 5v trinket be used?

Also although I may try myself is there anyone in the uk who can do this for a fee?
5v aren't suitable. Not m0.

I can fit it for you if you like. Based in midlands
 

plasticninjaguy

Member
Newcomer
Joined
Aug 7, 2019
Messages
10
Trophies
0
Age
23
XP
90
Country
Australia
(Originally posted in the other thread, but I remembered you weren't getting messages there, So Repost soz)

Well, it's me again.
So I ordered another Trinket M0 and retried the micro UBS port removal, with success. I installed the modchip successfully (I think) and when I power on the switch I see a flurry of lights. I went for the Dual Boot + SwitchBoot combo from the software thread, and I see different lights on the trinket when i press Power + Vol. up, however, regardless of what combo i use, the switch turns on to a backlit blank screen. I noticed continuity between pin 0 and ground on the trinket if that means anything. I currently have an SD card inserted with nothing on it, as I just wanted to see if the switch booted first
Thanks
Lloyd.

EDIT: I'm also no longer using the USB disconnect strap, as it seemed whenever i tried that the switch just wouldn't charge.
 

FunThomas

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
652
Trophies
0
XP
2,016
Country
Gambia, The
i have the modchip with perma_CFW version is there a way to get to maintenance mode of the switch to reinitialize the console ?
is it possible with dual boot CFW option to boot to maintenance mode ?
 

popy

Well-Known Member
Member
Joined
Jul 31, 2018
Messages
255
Trophies
0
Age
39
XP
1,283
Country
Austria
@mattytrog thx for bringing updates for the Trinket M0.
I have an Older Version SwitchBoot, and it runs great.
Have lost the development progress, which was made here.

I have some questions regarding the latest updates up to 1.4.3.
Is the Nyx hekate GUI included in the firmware?
Have'nt found the info in the changelogs on OP.

Currently i am using hekate (your firmware) to chainload the XS-OS loader.
Is this also with the newer versions possible (and hold vol- to get into hekate)?

thx pOpY
 

ErAzOr

Active Member
Newcomer
Joined
Jul 1, 2018
Messages
29
Trophies
0
Age
43
XP
375
Country
Germany
@mattytrog What exactly does the USB strip do? Does is prevent the switch to stuck in RCM mode, after power off the console? So it doesn't drain the battery anymore?
 

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
@mattytrog thx for bringing updates for the Trinket M0.
I have an Older Version SwitchBoot, and it runs great.
Have lost the development progress, which was made here.

I have some questions regarding the latest updates up to 1.4.3.
Is the Nyx hekate GUI included in the firmware?
Have'nt found the info in the changelogs on OP.

Currently i am using hekate (your firmware) to chainload the XS-OS loader.
Is this also with the newer versions possible (and hold vol- to get into hekate)?

thx pOpY

Yep it's all possible.

Nyx isn't included (no room on chip). However, you can use nyx and press both Vol buttons on power on to override nyx.

@mattytrog What exactly does the USB strip do? Does is prevent the switch to stuck in RCM mode, after power off the console? So it doesn't drain the battery anymore?

The usb strap simply attempts to push a payload when you disconnect from usb. If you don't have this, and you have your chip in a perma cfw config, or autorcm, if you plug into usb when off, your console will go into rcm. And will stay there.

The usb strap corrects this by pushing payload once usb is free.
 
  • Like
Reactions: popy and peteruk

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
Just been having a thought...

Would anyone like me to make some SD images for different size SD cards which include correct partitions etc for triple-booting Android / Emummc / CFW?

The idea would be just download the compressed image (may include gapps and magisk too) flash to SD and you are away. Size would be a few hundred MB compressed...

Uncompressed would be the size of your chosen card of course.

Write with etcher or Win32diskimager.

You can then create an emunand/emummc and copy over your games etc...

Will it fly?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    Cool. I got Prime
  • The Real Jdbye @ The Real Jdbye:
    prime deez nuts
  • AncientBoi @ AncientBoi:
    okies :D put 'em here :O
  • K3Nv2 @ K3Nv2:
    The mutated Axolotl was awesome
  • S @ salazarcosplay:
    I don't have prime, I order once I am orderign $35 worth of stuff
  • K3Nv2 @ K3Nv2:
    I bet you don't pirate game either
  • Sicklyboy @ Sicklyboy:
    I even convinced my dad to watch Fallout lol. He's enjoying it so far
    +1
  • K3Nv2 @ K3Nv2:
    They really wanna get the head
  • SylverReZ @ SylverReZ:
    Also nice. Never really watched Fallout on Prime, but sounds like a good show.
    +1
  • Bunjolio @ Bunjolio:
    legit nobody irl knows I'm trans(it hasn't been long enough yet)
  • SylverReZ @ SylverReZ:
    @Bunjolio, Be really careful out there. There are people who use trans people to their advantage, and its really sad in general. :(
  • Bunjolio @ Bunjolio:
    also scary
  • SylverReZ @ SylverReZ:
    @Bunjolio, Chasers and homophobia.
  • SylverReZ @ SylverReZ:
    They're very common on social media.
  • Bunjolio @ Bunjolio:
    ik about the phobias Im used to it but what's a chaser
  • SylverReZ @ SylverReZ:
    Whoever you disclose your gender identity to, keep it private between your friends.
  • Bunjolio @ Bunjolio:
    irl or online
  • SylverReZ @ SylverReZ:
    Nobody is safe.
  • Bunjolio @ Bunjolio:
    eh I don't keep it private, not much happens except idiots on TikTok making a fool of themselves
  • Bunjolio @ Bunjolio:
    im still curious as to what a chaser is tho
  • SylverReZ @ SylverReZ:
    @Bunjolio, A chaser is someone who uses (mostly trans) individuals to their advantage, stuff that they are uncomfortable about.
  • Bunjolio @ Bunjolio:
    thats weird
    Bunjolio @ Bunjolio: thats weird