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

MiePx3

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
130
Trophies
0
XP
352
Country
Gambia, The
Yeah its obsolete nnow mate. Its still on my git somewhere if you insist on it :)
Nah, Id be happy to update. Which would be todays equivalent? So no fancy straps or anything. AutoRCM enabled and autoboot a payload on startup. As I said, Rebug is already installed.
 

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... Finally... It`s ready. Not uploaded yet, will be throughout the day. Check OP.

Changelog v1.20
  • Add payloads to hekate_ipl.ini directly within Hekate. No more manually adding "payload=" lines. It`s all done for you - (Look in options menu)
  • Build your own list of payloads within Hekate
  • Placed missing autoboot code back (A MattyTwat-sized error that was). So autoboot now works. :(
  • Supports rebuilding of SXOS licence.dat from within your chip. So no chance of losing it... (Just a simple copy/paste with a hex editor, once only, then its set! Make as many copies of licence.dat as you like. eg new SD card? Not a problem. Just build your licence.dat)
  • Bugfixes relating to autobooting Sept. Your selected CFW option will run now with no problems!
  • Other bugfixes that were corrupting the stack in extreme cases.
Please keep checking OP if anyone interested!

Cheers
Matty
 

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
v1.20 online. See OP

Example of implanting SXOS licence.dat...

You need to open your SXOS licence.dat in a hex editor, select all the bytes and copy/paste into your UF2 like the below graphic.

sxos code example.jpg
 
Last edited by mattytrog,
  • Like
Reactions: popy

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 nice feature i will try it. when its done i dont need the license.dat on my sd card right?
You do... All this feature does, is regenerate it for example if you put another SD in. So, if it is there, nothing will be done...

If licence.dat isn`t there, and you make one without implanting yours in the UF2, the generated one will be just SXOSSXOSSXOS etc for 256 bytes.

So, download UF2, open hex editor, find the SXOSSXOS etc string in the hex editor, in another tab, open your licence.dat... copy/paste over the bytes which say SXOS (nothing else!) You will find it will fit perfectly, covering all the SXOS text. If it doesn`t cover it completely, or goes over too much, you have copy/pasted wrong/too much / too little bytes.

Undo and try again.

To try it, rename your current one on your SD to anything else and try to generate it.

If done right, it will be byte-for-byte identical to the other one.

I did this feature ages ago for Simple-UF2, but didn`t want to open a can of worms. But I thought "f*ck it"...
 
Last edited by mattytrog,

Gismor

Well-Known Member
Member
Joined
Nov 12, 2018
Messages
119
Trophies
0
Age
39
XP
631
Country
Germany
okay now the question i have implent the code in over hex editor in the right lines.
have rename my license.dat to license2.dat for a try.
have start the switch but sxos dosent found the license.
how can i rebuild it? or when rebuild switchboot the license.dat?
 

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 now the question i have implent the code in over hex editor in the right lines.
have rename my license.dat to license2.dat for a try.
have start the switch but sxos dosent found the license.
how can i rebuild it? or when rebuild switchboot the license.dat?
Go in restore menu, select "restore sxos licence" and it will rebuild
 
  • Like
Reactions: Gismor

Gismor

Well-Known Member
Member
Joined
Nov 12, 2018
Messages
119
Trophies
0
Age
39
XP
631
Country
Germany
Have anyone try with the new switchboot version to start ReiNX 2.1.1?
I have copy the ReiNX folder into root and the sept folder into root.
ReiNx.bin rename to payload.bin

than i start my swich and geht the ReiNX splash screen after this the atmos splash screen and shutdown the switch.
This comes every time.
who have the same 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
Have anyone try with the new switchboot version to start ReiNX 2.1.1?
I have copy the ReiNX folder into root and the sept folder into root.
ReiNx.bin rename to payload.bin

than i start my swich and geht the ReiNX splash screen after this the atmos splash screen and shutdown the switch.
This comes every time.
who have the same problem?
Is sept running? I'll test this end when I get back from shop
 
  • Like
Reactions: Gismor

Gismor

Well-Known Member
Member
Joined
Nov 12, 2018
Messages
119
Trophies
0
Age
39
XP
631
Country
Germany
i have only copy the files in the right structure and start the switch thats all.
starts sept not automatically?
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
@mattytrog

I made an icon for switchboot - if you're using via a payload launcher, i've attached the bmp as a zip file (200x200 pixels). Also here's a png preview:
e3MHOkY.png
 

Attachments

  • switchboot.zip
    52.7 KB · Views: 151

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

I made an icon for switchboot - if you're using via a payload launcher, i've attached the bmp as a zip file (200x200 pixels). Also here's a png preview:
e3MHOkY.png
Star man!

Beautiful work as usual!

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

i have only copy the files in the right structure and start the switch thats all.
starts sept not automatically?
I`ve never used ReiNX on fw7+

I`ll go over it now and take a look

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

@Gismor

Results of my tests:

Adding ReiNX.bin to Hekate_ipl.ini - success
Booting from ini - success
ReiNX as "payload.bin" - payload2 in my case - success

Successful boot in all circumstances.

Version tested: ReiNX v2.1.1

My structure is as follows...

ReiNX folder - SD root
sept folder - SD root
ReiNX.bin - SD root
(also payload2.bin in SD root - just a duplicate of ReiNX.bin)

Hope this helps. Cheers
Matty
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
@mattytrog.

FYI - when you create a backup of prodinfo/boots.

Empty folders gets created: /backup/BACKUP_1/BOOTS/ (no files are in this)
This folder is created: /safe/ Contians(BOOT0-BOOT1-PRODINFO)

Why the empty folders? were you going to move files into those?
 

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.

FYI - when you create a backup of prodinfo/boots.

Empty folders gets created: /backup/BACKUP_1/BOOTS/ (no files are in this)
This folder is created: /safe/ Contians(BOOT0-BOOT1-PRODINFO)

Why the empty folders? were you going to move files into those?
Hmmm...

Something I must have forgotten. Yes I experimented where to put the folders. I`ll fix it in next release so it doesn`t create phantom folders! As long as it goes into "safe" thats the main thing, and if there is anything in BACKUP_1 already, it won`t be overwritten...

So that can go on the non urgent / next release list

Cheers for letting me know mate!

@mrdude - fixed.

Next release v1.3 bug fixed. Waiting for any more bugs!
 
Last edited by mattytrog,

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
@mattytrog,

Thanks, I'll grab it from your github when you update. I made a small tweak to the icon I made for you - see if you prefer this one, it looks a bit cleaner to me.

Yij3IJw.png


Notice the left controller is different.
 

Attachments

  • switchboot.zip
    41.3 KB · Views: 127
  • Like
Reactions: Gismor

MiePx3

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
130
Trophies
0
XP
352
Country
Gambia, The
Nah, Id be happy to update. Which would be todays equivalent? So no fancy straps or anything. AutoRCM enabled and autoboot a payload on startup. As I said, Rebug is already installed.
Could someone get back to me on this? I tried rereading OP but I can figure out what do I have to install where.
I have a rebug (4 wire method) installed and autorcm enabled. All I wanna do is to drop a payload somewhere and let it boot as soon as I start my switch. And preferably I can switch the payload by replacing it.
No fancy button presses or joycon mods, just a rebug.


Damit, im backwards. All I had to do was to follow the "TL;DR Very Quick Guide". God knows how I not managed to get that. Awesome, thats one folder less I have to worry about. Good stuff, thanks!
 
Last edited by MiePx3,
  • 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
@mattytrog,

Thanks, I'll grab it from your github when you update. I made a small tweak to the icon I made for you - see if you prefer this one, it looks a bit cleaner to me.

Yij3IJw.png


Notice the left controller is different.
They are both great. I think this new one just wins! Only just though!
 
  • Like
Reactions: mrdude

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @CameronCataclysm...