Hacking Official [Source Release] ReiNand CFW

Classicgamer

Well-Known Member
Member
Joined
Aug 20, 2012
Messages
646
Trophies
1
XP
974
Country
United States
Ok, pushed some code!
Mostly refactoring but also added reboot patch and other memes (like optional duel splash!). Thanks to @CrimsonMaple for helping out anyway he can!
I'm teaching him how to be leet and stuff. x3
He tried implementing some features, i mainly cleaned up the code so it would compile and work and whatnot, so thanks to him and those he may have borrowed code from.

what is unified firmware binary?
what kind of clean up/refactoring?

I'm super interested in the technical side of it :)
 

CrimsonMaple

Developer • She/Her
Member
Joined
May 2, 2016
Messages
449
Trophies
0
Location
the deepest depths of hell.
Website
crimson.ninja
XP
1,500
Country
United States
what is unified firmware binary?
what kind of clean up/refactoring?

I'm super interested in the technical side of it :)
Unified Firmware Binary, means we only need one firmware.bin and it works in both consoles.
And we cleaned up MCU code to better fit it for future updates. Stuff like that.
 

Reisyukaku

Onii-sama~
OP
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
what is unified firmware binary?
what kind of clean up/refactoring?

I'm super interested in the technical side of it :)
basically i just combined 2 firm images into 1 file lmao
As for refactoring, the biggest thing is probably the MPU patch. It's no longer simply copy and paste a random buffer of settings over the settings in kernel, it now lets you customize it because it calculates the numbers used by the kernel for the mpu settings. Only memory permissions though(no need for the other stuff).
Oh also got rid of main.c lol.. start.s just calls the functions it needs.. so rip main()
Nothing else exciting comes to mind. I just wanted to try to consolidate stuff and make things flexible.
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,801
Trophies
4
Location
Making a non-binary fuss
XP
38,778
Country
Antarctica
I'll steal my friends o3ds to see if this is a bug tomarrow. He shouldn't mind.
Actually this was my fault. I forgot to name the launcher to "arm9loaderhax_si.bin" renamed it and it working now.
I adore the new blootsplash <3
GBA/DSi still haven't been patched though.
 

Reisyukaku

Onii-sama~
OP
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
Actually this was my fault. I forgot to name the launcher to "arm9loaderhax_si.bin" renamed it and it working now.
I adore the new blootsplash <3
GBA/DSi still haven't been patched though.
Yea, its on the list of things to do. 11.x firm breaks emu patches for some reason and havent even looked in to patching firms outside of native firm, so i need to think about how i'd do that in way thats not to messy, since im trying to make this cfw modular as possible.
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,801
Trophies
4
Location
Making a non-binary fuss
XP
38,778
Country
Antarctica
Yea, its on the list of things to do. 11.x firm breaks emu patches for some reason and havent even looked in to patching firms outside of native firm, so i need to think about how i'd do that in way thats not to messy, since im trying to make this cfw modular as possible.
That's rather odd.
IIRC, GBA/DSi still use the same reboot patch, you just need to patch the FIRMs to use them.
 

Classicgamer

Well-Known Member
Member
Joined
Aug 20, 2012
Messages
646
Trophies
1
XP
974
Country
United States
GBA/DSi still haven't been patched though.

What do you mean? I haven't tried 5.0 yet, still using 4.1 & emunand. When I boot a GBA game (from emunand, duplicate on sysnand) it loads fine. Going back to home menu reboots the system to sysnand for save with no input from me.

Am I misunderstanding something?
 

tvall

Well-Known Member
Member
Joined
May 12, 2014
Messages
276
Trophies
0
Age
29
XP
348
Country
United States
What do you mean? I haven't tried 5.0 yet, still using 4.1 & emunand. When I boot a GBA game (from emunand, duplicate on sysnand) it loads fine. Going back to home menu reboots the system to sysnand for save with no input from me.

Am I misunderstanding something?
im guessing shes talking about the cfw doing signature patches for those, like luma does, instead of needing prepatched twl/agb firms. i dont think reinand added that
 

stl25

Well-Known Member
Member
Joined
Feb 3, 2008
Messages
1,093
Trophies
1
Location
Here, there and everywhere
XP
974
Country
United States
What do you mean? I haven't tried 5.0 yet, still using 4.1 & emunand. When I boot a GBA game (from emunand, duplicate on sysnand) it loads fine. Going back to home menu reboots the system to sysnand for save with no input from me.

Am I misunderstanding something?


Like @tvall just posted, it seems you have pre patched TWL/AGB firm. Rei is looking for a solution for those of us who do not want to install pre patched firms.
 
  • Like
Reactions: Classicgamer

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,801
Trophies
4
Location
Making a non-binary fuss
XP
38,778
Country
Antarctica
What do you mean? I haven't tried 5.0 yet, still using 4.1 & emunand. When I boot a GBA game (from emunand, duplicate on sysnand) it loads fine. Going back to home menu reboots the system to sysnand for save with no input from me.

Am I misunderstanding something?
Did you apply the old TWL/AGB patches to the NAND?
 
  • Like
Reactions: Classicgamer

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended