Hacking COMPLETED BASIC MODCHIP / DONGLE UF2 SD BOOT FILES. Trinket / Rebug / RCMX86 / Others

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
Actually if i can find a led (and if you can tell me where to fit it) from a spare pcb, i'm happy to help.
Any prticular specs on the led Or any kind is good?
Any 20mW LED. Most are.

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

@MeteK
Especially for you lol

2-mode, 2 payload version.

Payload 1 - Atmosphere 0.8.2
Payload 2 - Hekate 4.5 customized (makes a 0 folder with all payload entries ready there.

Mode 1 - Stays on payload no matter what
Mode 2 - Alternates between payloads on every failed "push" for example, if you are booted into Horizon.
Set on mode 1, payload 1 (Atmosphere) at the moment.

Not tested it, but should be all good.Trinket / Rebug...
 

Attachments

  • atmos_hekate.zip
    164.6 KB · Views: 187
Last edited by mattytrog,

MeteK

Well-Known Member
Member
Joined
Dec 31, 2012
Messages
367
Trophies
1
Age
43
XP
1,264
Country
France
Amazing, you're the man ! Thank you !

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

AbgCho8.jpg


Got this error, everything is ok my SD

[EDIT] Ok, secondary.bin must be inside the Atmo folder, not @ SD root anymore... works great !
 
Last edited by MeteK,

Javan

Member
Newcomer
Joined
Dec 11, 2018
Messages
8
Trophies
0
Age
41
XP
64
Country
Brazil
OK... Plug your dongle into PC. Double-press reset. Does a drive open?
Ah, that's what you meant. Yes, it's opening as normal.
I can confirm that it also flashes the original payload from the R4S without any trouble, just in case that's relevant.
 

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
Ah, that's what you meant. Yes, it's opening as normal.
I can confirm that it also flashes the original payload from the R4S without any trouble, just in case that's relevant.
Just tried it. Goes on fine this end. How are you flashing it?

Drag and dropping the UF2 to the drive? You do have a CURRENT.UF2 in there don`t you?
 

Javan

Member
Newcomer
Joined
Dec 11, 2018
Messages
8
Trophies
0
Age
41
XP
64
Country
Brazil
Just tried it. Goes on fine this end. How are you flashing it?

Drag and dropping the UF2 to the drive? You do have a CURRENT.UF2 in there don`t you?
Yes, it has a CURRENT.UF2. It also has a INDEX.HTM that redirects to the R4S site and a INFO_UF2.TXT with the following contents:
Code:
UF2 Bootloader v2.0.0-adafruit.5-dirty SFHWRO
Model: RCM_DONGLE
Board-ID: SAMD21E18A-RCMD-v0
 

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, it has a CURRENT.UF2. It also has a INDEX.HTM that redirects to the R4S site and a INFO_UF2.TXT with the following contents:
Code:
UF2 Bootloader v2.0.0-adafruit.5-dirty SFHWRO
Model: RCM_DONGLE
Board-ID: SAMD21E18A-RCMD-v0
Which file are you trying to put on?
 

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
What errors are you getting?

Do you have any software interefering with USB? ie VMware / virtualbox?

It should drag and flash itself.
 

Javan

Member
Newcomer
Joined
Dec 11, 2018
Messages
8
Trophies
0
Age
41
XP
64
Country
Brazil
Drag and flash works perfectly with the UF2 files from the official R4S site.
About software interfering with flashing, I am running on Linux, but that shouldn't be interfering with anything. Specially considering I can flash the official files without a problem.
But for the sake of thoroughness, I am going to do a cold boot into a kernel with virtualization opts off and try again.

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

Sorry for the double-post, but the result from the cold boot is the same. Drag, flash, blinking red led.
 

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. this requires investigation. Leave it with me.

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

where are you getting your files from? The working ones?

I`m thinking your dongles flash size is different.
 
  • Like
Reactions: Javan

Javan

Member
Newcomer
Joined
Dec 11, 2018
Messages
8
Trophies
0
Age
41
XP
64
Country
Brazil
I am getting those from the official site for the R4S dongle, r4i-sdhc dot com.
And at least for the size of the UF2 files, yours and the official ones are the same size: 524.3 kB (524,288 bytes).
 
Last edited by Javan,

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 am getting those from the official site for the R4S dongle, r4i-sdhc dot com.
And at least for the size of the UF2 files, yours and the official ones are the same size: 524.3 kB (524,288 bytes).
Ok. Thanks for letting me know. Working on it as we speak.
 

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... If someone wants to try this...

https://github.com/mattytrog/Basic-Modchip-UF2/blob/master/UF2/Trinket_Rebug.UF2?raw=true

This is my new "basic UF2" for people who want no pissing around.

Other boards updated tomorrow pending feedback. Trinket & Rebug only at the minute. Source on my git.

With this UF2:
  • Your Trinket / Rebug will look for "payload.bin" OR "start.bin" in SD root and launch automagically.
  • 0 folder not needed
  • nx files not needed
  • No folders will be made
  • If "payload.bin" or "start.bin" is not found, Hekate 4.5 will launch.
  • This is meant for people who don`t want to be pissing around with folders / nx files / etc etc
 
Last edited by mattytrog,

Gismor

Well-Known Member
Member
Joined
Nov 12, 2018
Messages
119
Trophies
0
Age
39
XP
631
Country
Germany
okay bad news :(
have flash this single file on my rebug.
have try without any file to boot with volume + and power and hektate is not coming the switch boot into normal horizon os.
have try with start.bin in the root directory of the sd card and boot with volume + and power and same result boot into horizon :(

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

but i dont understand why works only the older chainloader files and not the newer chainloader files on my switch?
must i update the bootloader? or it dosent matter which version is installed from the bootloader?
 

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
okay bad news :(
have flash this single file on my rebug.
have try without any file to boot with volume + and power and hektate is not coming the switch boot into normal horizon os.
have try with start.bin in the root directory of the sd card and boot with volume + and power and same result boot into horizon :(

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

but i dont understand why works only the older chainloader files and not the newer chainloader files on my switch?
must i update the bootloader? or it dosent matter which version is installed from the bootloader?
There shouldn't be a reason.

Every switch I have done, I test with both version 1 (joycon) and version 2 (both straps). I've tested with trinkets, Gemmas, itsys and I cannot find a problem.

I think we need to go to the top and start again.
 

Gismor

Well-Known Member
Member
Joined
Nov 12, 2018
Messages
119
Trophies
0
Age
39
XP
631
Country
Germany
There shouldn't be a reason.

Every switch I have done, I test with both version 1 (joycon) and version 2 (both straps). I've tested with trinkets, Gemmas, itsys and I cannot find a problem.

I think we need to go to the top and start again.
Okay what can i do xD
i can all try :D
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-