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

Gismor

Well-Known Member
Member
Joined
Nov 12, 2018
Messages
119
Trophies
0
Age
39
XP
631
Country
Germany
i use a rebug chip.
and method 3.
only joycon strap connected :/

what is a good solution to change mode with only joycon strap or not possible?
 

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 use a rebug chip.
and method 3.
only joycon strap connected :/

what is a good solution to change mode with only joycon strap or not possible?
It is possible. I haven`t written the function yet.

I`ll get on it tonight.
 

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
Hi maybe i should put 1 in Hekate autohosoff ini ? I'm sure it's 0 yet.

Edit : forget what i said. Have to learn more ^_^
Dougie...

Fancy testing this?

Get into mode 3 (ArgonNX) and check it is powering off correctly. Should see a "Shutting down" screen.

Cheers
 

Attachments

  • Test.zip
    143.7 KB · Views: 150

Dougiejones

Well-Known Member
Newcomer
Joined
Jan 13, 2019
Messages
83
Trophies
0
Age
37
XP
103
Country
United States
Fancy testing this?

Yeap with pleasure dude ;)

Get into mode 3 (ArgonNX) and check it is powering off correctly. Should see a "Shutting down" screen.

Ok i will test the Power Off from Mode 3 ArgonNX and from SX OS Horizon after. Will give feedback asap...

BTW : if not abused could make a separate UF2 with the DotStar brightness on Adafruit boards like before cause it's too much bright indeed i have a crystal case and makes me blind lol

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

Fancy Test done :
Powering Off from Mode 3 ArgonNX : it is powering off correctly from SX OS Horizon (with a shutting down screen after a while) and from ArgonNX Menu too :D
On the other hand if SD Removed i can't boot into Hekate with Vol-/power anymore...
A yellow message appears : " Failed to init SD card.....Press power button to reboot into RCM..."
 
Last edited by Dougiejones,
  • 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
OK... Tried a new feature if anyone would like to tell me if to put it in or not...

For adafruit / dotstar users this one...

On first boot, you will see the LED start fading from dark to bright white and back again.

It will do this 3 times.

If you press vol+ at your preferred brightness, that brightness will be locked and will stay that way. If you don`t press anything after the 3 fades, a default value will be chosen.

Feedback please! Does it go into 0.9.9?
 

Attachments

  • Test_Dotstar_Brightness.zip
    143.8 KB · Views: 185
  • Like
Reactions: Dougiejones

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
Yeap with pleasure dude ;)



Ok i will test the Power Off from Mode 3 ArgonNX and from SX OS Horizon after. Will give feedback asap...

BTW : i not abuse could make a separate UF2 with the DotStar brightness on Adafruit boards like before cause it's too much bright indeed i have a crystal case and makes me blind lol

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

Fancy Test done :
Powering Off from Mode 3 ArgonNX : it is powering off correctly from SX OS Horizon (with a shutting down screen after a while) and from ArgonNX Menu too :D
On the other hand if SD Removed i can't boot into Hekate with Vol-/power anymore...
A yellow message appears : " Failed to init SD card.....Press power button to reboot into RCM..."

Because there are no payloads. Select another mode to get back to hekate.
Fancy trying the other one I just posted with LED brightness mod?
 

JacksonS

Well-Known Member
Member
Joined
Feb 13, 2016
Messages
427
Trophies
0
XP
1,232
Country
United States
I just installed with Trinket M0 (v0.9.8r2) and I'm having an issue where USB install with Goldleaf or Tinfoil does not work. Goldleaf hangs, whereas Tinfoil causes an error on the Switch. I know Goldleaf USB install worked prior to this installation. It seems like the Trinket is not properly disconnected from the USB lines when asleep. Is this issue documented?
 

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 just installed with Trinket M0 (v0.9.8r2) and I'm having an issue where USB install with Goldleaf or Tinfoil does not work. Goldleaf hangs, whereas Tinfoil causes an error on the Switch. I know Goldleaf USB install worked prior to this installation. It seems like the Trinket is not properly disconnected from the USB lines when asleep. Is this issue documented?
Do you have your Trinket flashed? If blank or in bootloader mode, it will cause conflicts. I tested it (with nxUSB is it called? The one you can access your SD card) and worked without issue.
 

JacksonS

Well-Known Member
Member
Joined
Feb 13, 2016
Messages
427
Trophies
0
XP
1,232
Country
United States
Do you have your Trinket flashed? If blank or in bootloader mode, it will cause conflicts. I tested it (with nxUSB is it called? The one you can access your SD card) and worked without issue.

Yes, I flashed it with Simple-UF2 and kept the original Trinket bootloader (no Switchboot). There are no Vol+ or Joy-Con wires. It injects the payload perfectly with autoRCM, but seems to cause USB issues otherwise. I can access the Trinket in bootloader mode and reflash it through the Switch's USB port.
 
Last edited by JacksonS,

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, I flashed it with Simple-UF2 and kept the original Trinket bootloader (no Switchboot). There are no Vol+ or Joy-Con wires. It injects the payload perfectly, but seems to cause USB issues otherwise. I can access the Trinket in bootloader mode and reflash it through the Switch's USB port.
Deleted. Incomplete.
 
Last edited by mattytrog,

JacksonS

Well-Known Member
Member
Joined
Feb 13, 2016
Messages
427
Trophies
0
XP
1,232
Country
United States
OK... Can you just try this for me? See if this fixes the issue? This is a UF2 file.
Thanks for helping me troubleshoot this. I tried that UF2 image and the USB issue with TInfoil stopped. However, I put the 0.9.8r2 UF2 back on the Trinket and Tinfoil works now. I have no what changed.

What exactly is the USB strap for? I couldn't find any clear description of what it does and I'd like to know in case it could be related to the 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
Thanks for helping me troubleshoot this. I tried that UF2 image and the USB issue with TInfoil stopped. However, I put the 0.9.8r2 UF2 back on the Trinket and Tinfoil works now. I have no what changed.

What exactly is the USB strap for? I couldn't find any clear description of what it does and I'd like to know in case it could be related to the problem.
OK... The USB strap is to prevent being stuck in RCM.

If you connect your switch to your PC when it is switched off, because you either have autoRCM enabled or straps connected, the console will go to RCM mode.

All the USB strap does is sense this unplugging of USB and push the payload.

If this didn`t happen, once your console is in RCM, you either need to hard-power-down (for 12 seconds) or press the reset switch on the trinket to manually push the payload.

This is enabled and disabled in software. If it is fitted, it will activate the code. If it isn`t fitted, it will remain disabled until either you reflash a UF2 or a full vol+ reset is made.

If you have the strap fitted, but wish to disable it, you can long-press vol+ for 12 seconds, or if you don`t have vol+ strap fitted, as soon as you drag over simple-UF2, as soon as the file transfer box disappears, disconnect USB. It relies on checking if it is plugged in you see. If you unplug before the results of the check have been complete, the code will be disabled.

I have further modified the code. I just need someone to test this new UF2 for me.
 
  • Like
Reactions: JacksonS

JacksonS

Well-Known Member
Member
Joined
Feb 13, 2016
Messages
427
Trophies
0
XP
1,232
Country
United States
It seems like my issue may have had more to do with my PC. Tinfoil threw an error when I was trying to install software from an external drive, but it does not when I try to install from the PC storage. As for Goldleaf, it still hangs, so I think that issue may be a bug in Goldlead itself. Thanks for the help.
 

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
It seems like my issue may have had more to do with my PC. Tinfoil threw an error when I was trying to install software from an external drive, but it does not when I try to install from the PC storage. As for Goldleaf, it still hangs, so I think that issue may be a bug in Goldlead itself. Thanks for the help.
Deleted. Didn`t work.
 
Last edited by 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
Goldleaf USB install is still flakey af, for what it's worth.
Cheers Dave.

The USB shouldn`t have been causing a conflict anyway as, to all intents and purposes, it`s dead the moment the chip goes to sleep.

However, now I have added code to physically make sure it is switched off and disabled before sleeping.
 
  • Like
Reactions: hippy dave

JacksonS

Well-Known Member
Member
Joined
Feb 13, 2016
Messages
427
Trophies
0
XP
1,232
Country
United States
Just to rule it out, could you please test this UF2?

Rather than sleeping in host mode, the CTRLA bit for ENABLE is set to 0. This disabled the trinket USB interface completely until next power cycle.
I'm a little confused now. I got the same error with Tinfoil again even though it had been working (using the 0.9.8r2 UF2, not the test one you linked). Now, the Switch behaves as if the volume up button is always pressed, even though I did not connect a wire to it. I've fully powered it down, turned autoRCM off and on, but this issue persists. How can the volume button be "pressed" when the Trinket is only connected through USB? This almost seems like a software bug caused by shutting down after an error message.

I uploaded the second USB-disable-UF2 you sent to see if it would change anything, but it wouldn't boot Hekate or anything else. My PC also couldn't see the Trinket in bootloader mode until I booted Horizon by sending a payload from my PC through USB.
 
Last edited by JacksonS,

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 a little confused now. I got the same error with Tinfoil again even though it had been working (using the 0.9.8r2 UF2, not the test one you linked). Now, the Switch behaves as if the volume up button is always pressed, even though I did not connect a wire to it. I've fully powered it down, turned autoRCM off and on, but this issue persists. How can the volume button be "pressed" when the Trinket is only connected through USB? This almost seems like a software bug caused by shutting down after an error message.

I uploaded the second USB-disable-UF2 you sent to see if it would change anything, but it wouldn't boot Hekate or anything else. My PC also couldn't see the Trinket in bootloader mode until I booted Horizon by sending a payload from my PC through USB.
OK. You have no "straps" connected...

OK where are you getting power for your Trinket? The emmc by any chance?
 

JacksonS

Well-Known Member
Member
Joined
Feb 13, 2016
Messages
427
Trophies
0
XP
1,232
Country
United States
OK where are you getting power for your Trinket? The emmc by any chance?
Power is coming from the component indicated here:
trinketfinal.jpg
 
Last edited by JacksonS,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    BakerMan @ BakerMan: @salazarcosplay yeah cod's still up