Hacking Official [Source Release] ReiNand CFW

nitrozz

Well-Known Member
Member
Joined
May 5, 2009
Messages
431
Trophies
1
XP
1,224
Country
Portugal
ok.
i open hombrew loader the top screen shows "the homebrew ropbin is ready"
the botton screen is yellow .
the system stop (crash) force to reboot
 

Kazuma77

Well-Known Member
Member
Joined
May 11, 2008
Messages
1,035
Trophies
1
XP
918
Country
United States
Keep in mind, people, there are other options than GM9's bootloader. BootCTR9 and CBM9 are very good independent chainloaders capable of running Rei-Six as the default payload. I'm a fan of GM9 as the installed firm myself, but let's not be handing out ultimatums. We get enough of those from the Luma team (like the most recent "thou shalt update to 11.6 or else" one).

With that said, since Safe B9S Installer won't install GM9 as a firm, I have made an SSR of my "Sighax Updater" script (soon to be formerly known as my "Switch Firm" script). Just drag and drop the contents to the card, and run it from Luma's start menu. It will update your firms with either the latest B9S or GM9 (it gives you a choice when you run it) and setup ReiNAND as the default CFW. The included "boot9strap" folder is just an example. Feel free to modify it. Especially take notice of the additional ".config" folders. Anything you place in them will be placed on the root at the end of the installation process. Also, any scripts placed in "scripts_common" will be added to the scripts folder regardless of which choice is made.

Since this is just an example, expect the configurations to be unusually basic. The B9S one just has a stripped-down BootCTR9 (using Select Mode) as boot.firm, with ReiNAND as default, Luma on A, Luma Legacy on Y, GM9 on left, and Sighax Updater on down. And the GM9 one has ReiNAND as boot.firm, with Luma, Luma Legacy, and Sighax Updater in the GM9 payloads menu. Consider this the lite version. The full version, with baked in keys, and support for my full dynamic configurations, will be in InScripted R9. It should be out either today or tomorrow. But for those who don't want to use my AIO, these configurations are enough to get you up and running ReiNAND as a default payload. Just make sure the "rei" folder is on your card already, and this will handle the rest. Also, the included GM9 is a modified SALTMODE build that uses R+X for the hotkey. If you would rather use the default, replace it (don't forget the .sha file, the updater checks it).

EDIT: Decided to go ahead and place it in the "luma/payloads" folder for you. Now you can just drag and drop, run it from the start menu, and choose which way you want to run ReiNAND (the B9S setup or the GM9 one).
 

Attachments

  • Sighax Updater Lite.7z
    418.4 KB · Views: 144
Last edited by Kazuma77,

Kazuma77

Well-Known Member
Member
Joined
May 11, 2008
Messages
1,035
Trophies
1
XP
918
Country
United States
There's a difference ?

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



Ok , i'll wait

Well, yes. ReiNAND has had firm partition protection for a while now. So, updating will not overwrite your firms with a retail NF. However, it still relies on external firmware files. So, if Nintendo updates NATIVE_FIRM, the "native_firmware.bin" file may need to be updated before the new FW version can be booted by Rei-Six. As history has shown, this depends on if Nintendo updates the minor version, and whether they make the other apps like the home menu require this as the new minimum version required in order to run. That is why rxTools remained usable for so long without updates (until 11.2 came out IIRC). The home menu remained bootable with 9.6 for all that time. But Nintendo probably won't make that mistake again.

Luma has been able to avoid this problem because it has the ability to extract the firmware files straight from the CTRNAND partition. But that also requires it to reload itself with it's reboot patches. Until recently, this required a "path.txt" file unless you were using Luma as the main payload (which I never have). I'm sure Crimson would love to add this feature, but it's complicated, and it was far more important to add these other patches first.

It's not really that hard to extract a new NF though. I could easily create a GM9 script that extracts the current NF (actually, I already have that part written for me, thanks to d0k3), copies it to the "rei" folder, and decrypts it, assuming that would work. I have to admit, I'm not really sure how the current "native_firmware.bin" is generated. Though I'm guessing they're just using "copy/b" or "cat" to concatenate them together, and that the CFW sorts them out via a byte pattern search for the header or something.
 

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
Well, yes. ReiNAND has had firm partition protection for a while now. So, updating will not overwrite your firms with a retail NF. However, it still relies on external firmware files. So, if Nintendo updates NATIVE_FIRM, the "native_firmware.bin" file may need to be updated before the new FW version can be booted by Rei-Six. As history has shown, this depends on if Nintendo updates the minor version, and whether they make the other apps like the home menu require this as the new minimum version required in order to run. That is why rxTools remained usable for so long without updates (until 11.2 came out IIRC). The home menu remained bootable with 9.6 for all that time. But Nintendo probably won't make that mistake again.

Luma has been able to avoid this problem because it has the ability to extract the firmware files straight from the CTRNAND partition. But that also requires it to reload itself with it's reboot patches. Until recently, this required a "path.txt" file unless you were using Luma as the main payload (which I never have). I'm sure Crimson would love to add this feature, but it's complicated, and it was far more important to add these other patches first.

It's not really that hard to extract a new NF though. I could easily create a GM9 script that extracts the current NF (actually, I already have that part written for me, thanks to d0k3), copies it to the "rei" folder, and decrypts it, assuming that would work. I have to admit, I'm not really sure how the current "native_firmware.bin" is generated. Though I'm guessing they're just using "copy/b" or "cat" to concatenate them together, and that the CFW sorts them out via a byte pattern search for the header or something.

The main problem is that both o3ds and n3ds NFs are unified in one native_firmware.bin, @CrimsonMaple should revert the code which introduced that in order to get it work, which is an pretty good idea if his releases includes the gm9 script which does the job.
 
  • Like
Reactions: THYPLEX

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,975
Trophies
4
Location
Making a non-binary fuss
XP
39,429
Country
Antarctica
So...
At the moment i can't update the system with Rei6 , because rei6 doesn't support it
You can update to 11.6 and Rei-Six.
Rei-Six supports 11.4+. They just haven’t removed the firmware.bins, yet.
 
D

Deleted User

Guest
ooo
interesting thing
dev signed apps break the stock home menu but when I use test menu or my custom one it doesn't break
I think its breaking when it loads the banner
 

Pickle_Rick

I'm a pickle Morty!
Member
Joined
Aug 28, 2017
Messages
694
Trophies
0
Age
27
Location
Garage
XP
1,469
Country
United States
It is. (Just saying, looking at the change log would have answered this question.) They were giving instructions to get gm9 as a bootloader + Rei-six which is my recommended setup.



Not at the moment. I use b9s' screeninit which uses the 3rd brightness setting (in terms of Luma Brightness.) I can look into adding GM9s screeninit though.
Rei-six + GM9 Bootloader + NTR > Luma
 
  • Like
Reactions: Reisyukaku

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 sure you can
  • BakerMan @ BakerMan:
    why tf do people hate android users? is it the video quality? just because "AnDrOiD = pOoR" bc they don't cost an arm and a leg like iphones do?
    +1
  • BakerMan @ BakerMan:
    i won't be turned off by an iphone, but don't pick on me for having an android, that's just how this shit should work
  • ZeroT21 @ ZeroT21:
    Should say more what these kind of android users say bout nokia 3310 users
  • BigOnYa @ BigOnYa:
    I've owned both iPhone and Androids over the years. Both are just as good, other than Apples higher price. I'm currently on Android, Samsung S21 I think, and very happy with it.
  • K3Nv2 @ K3Nv2:
    Got my 60 minute steps in whew
    +2
  • BigOnYa @ BigOnYa:
    I get mine in everyday, going back n forth to the fridge for a beer.
    +1
  • K3Nv2 @ K3Nv2:
    6,000 steps in so far legs almost broke getting off
    +1
  • K3Nv2 @ K3Nv2:
    Your mind gets in a werid pattern of just finishing then when you're done you're like I need a soda
  • BigOnYa @ BigOnYa:
    You get a "walkers" high?
  • K3Nv2 @ K3Nv2:
    Not really I just use to love building up a sweat
  • BigOnYa @ BigOnYa:
    Funny, that's what uremum always says
  • K3Nv2 @ K3Nv2:
    Yeah and people that take viagra think they have a big dick
  • K3Nv2 @ K3Nv2:
    You cant fix one insult edit for another edit you pog
  • BigOnYa @ BigOnYa:
    Nuh I'm on my tablet n it always auto corrects me
  • K3Nv2 @ K3Nv2:
    Heorin and uremum do have close quarters
  • Sonic Angel Knight @ Sonic Angel Knight:
    BIG CHICKEN :P
    Sonic Angel Knight @ Sonic Angel Knight: BIG CHICKEN :P