Tutorial Start reiNand on Boot

Good first tutorial?

  • Yes

    Votes: 4 20.0%
  • No

    Votes: 3 15.0%
  • Turnip

    Votes: 13 65.0%

  • Total voters
    20

gudenau

Largely ignored
OP
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,313
Country
United States
First a quick video:


If you would like to do this then read on!
Keep in mind that this is not to stable at this time.
Requirements:

Basic steps:

  1. Update ctrulib
  2. Compile reiNand
  3. Compile homemenuhax
  4. Download and modify "otherapp"
  5. Setup homemenuhax/reiNand
  6. Install homemenuhax
  7. Profit
Step 1: Updating ctrulib/install armips
These projects use a newer version of ctrulib than devkitPro installs for you, this is to be expected since it is rapidly developing. First we need to go here and clone the repo. Then open a Command Prompt or Terminal window and cd into "libctru" and run "make -s install". Then copy armips to "(DEVKITARM dir)\bin\".
wDFOWmJ.png

Step 2:
Compiling reiNand

First go here and clone the repo, if you are using git make sure to use the flag --recursive; and if you are downloading the zip make sure you download all of the referenced repos. Then you will need to download the firmware.bin file and place it in the data folder. You will then have to edit "source/main.c" and add "#define BOOT_EMU" to the top of the source file. Then run "set PATH=%PATH%;(DEVKITARM dir)\bin && make -s", on my Windows PC this would be "set PATH=%PATH%;D:\devkitPro\devkitARM\bin && make -s".

firmware.bin should have a SHA-1 of 6843141D4962A57BD8510BDE905D915CDC0E0022
izqhc4B.png

QZ5ZiOA.png

Step 3: Compile homemenuhax
Clone the homemenuhax repo here. Then open "Makefile" and change line 181 to read "py -3 payload.py $< $@ 0x4652 0x100000 $(TARGETOVERWRITE_MEMCHUNKADR) $(HEAPBUF_OBJADDR)", this is needed since python3 does not work on Windows. Then open a terminal in the root of the repo and run "make -s LOADSDPAYLOAD=1 ENABLE_LOADROPBIN=1 ENABLE_HBLAUNCHER=1 MENUROP_PATH=menurop_prebuilt USE_PADCHECK=0x0", this may take a while.
AIMfHwc.png

hwJXlMX.png

That built the exploit files needed to run the installer, but it did not build the installer. So execute "cd themehax_installer" and then "make -s".
tuYp6Ls.png

Step 4: Downloading and modifying "otherapp"
Now we need to modify the otherapp payload to load somthing other than "boot.3dsx" so we can keep the homebrew menu. To do this go here and find "Otherapp payloads", select your version and download the file. Now open it in HxD and search for "/boot.3dsx", for me it is at offset 0x00008958; now replace the text "boot" by clicking on the "b" and type "nand". Save the file and rename the payload to "themehaxinstaller_otherapp_payload.bin".
RYuBomW.png

2LNvusm.png

toXoLcz.png

TvEiLkT.png

Step 5: Setup reiNand and homemenuhax
Now we need to get the 3DS'es SD card and copy the needed files to it. From the ReiNand repo we need to copy "out/rei/" and "out/reiNand.dat" to the root of the SD card, then you need to copy "out/3ds/ReiNand/ReiNand.3dsx" to the root of the SD card and rename it to nand.3dsx. From the homemenuhax repo you need to copy "themepayload/", "themehax_installer/themehax_installer.3dsx" and "themehax_installer/themehax_installer.smdh" to "/themehax_installer" on the SD card. Last but not least you will need to copy "themehaxinstaller_otherapp_payload.bin" to the root of the SD card.
zlRNnDI.png

Step 6: Install homemenuhax
The last real step is to install homemenuhax, launch the installer from the homebrew launcher and press the A button; wait for it to install. Then press A B Start, it should kick you back to the launcher. Then if you reboot the 3DS by pressing start then A, you should boot into reiNand!

Step 7: Other stuff
I am not responsible for any unwanted effects from following this tutorial, if you ever want to remove homemenuhax take your SD card out, then boot your 3Ds; then select any theme from the theme menu. If you want you can remove the "themehax_installer" files on your SD card, just make sure you leave "rei/" and "nand.3dsx". Returing from a GBA/DS/DSi title should kick you back into reiNand! (I only tested GBA) If you want to boot into the normal NAND; press a button while booting the 3DS.

I hope you enjoy your cold-boot custom firmware!
 
Last edited by gudenau,

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Nice work!

For the reasons why there is no compiled version, see here. That being said, it is okay to post compiled binaries for everything mentioned here but the complete ReiNAND CFW.

@gudenaurock, is there an advantage in compiling HomeMenuHax v1.3 yourself vs. just using v1.2 which comes with the homebrew starter pack?

... and a recommendation. With the setup you got, @AlbertoSONICs Quick Reboot is a good install on EmuNAND. It allows you to quickly get back to the CTR Boot Manager or to boot to SysNAND.
 
Last edited by d0k3,

gudenau

Largely ignored
OP
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,313
Country
United States
Nice work!

For the reasons why there is no compiled version, see here. That being said, it is okay to post compiled binaries for everything mentioned here but the complete ReiNAND CFW.

@gudenaurock, is there an advantage in compiling HomeMenuHax v1.3 yourself vs. just using v1.2 which comes with the homebrew starter pack?

... and a recommendation. With the setup you got, @AlbertoSONICs Quick Reboot is a good install on EmuNAND. It allows you to quickly get back to the CTR Boot Manager or to boot to SysNAND.
I do not think 1.2 allows you to use a custom payload. The quick reboot app shluld put you back into reiNand.
 

m45t3r

Well-Known Member
Member
Joined
Jul 17, 2007
Messages
243
Trophies
0
Website
Visit site
XP
422
Country
Brazil
Nice work!

For the reasons why there is no compiled version, see here. That being said, it is okay to post compiled binaries for everything mentioned here but the complete ReiNAND CFW.

@gudenaurock, is there an advantage in compiling HomeMenuHax v1.3 yourself vs. just using v1.2 which comes with the homebrew starter pack?

... and a recommendation. With the setup you got, @AlbertoSONICs Quick Reboot is a good install on EmuNAND. It allows you to quickly get back to the CTR Boot Manager or to boot to SysNAND.
v1.2 does not support custom payloads, and v1.3 supports changing autobooting options.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,207
Trophies
4
Location
Space
XP
13,733
Country
Norway
As a tutorial I think this is a bit too complicated since it involves downloading and compiling github repos. It is simpler to use precompiled versions and use CtrBootManager to load HBL/CFW. If compiled ReiNAND versions can't be provided then rxTools is a better option anyway.
 
Last edited by The Real Jdbye,

FONZD

Well-Known Member
Member
Joined
Jan 27, 2015
Messages
232
Trophies
0
XP
788
Country
France
just a little thing:

make -s LOADSDPAYLOAD=1 USE_PADCHECK=0x200 ENABLE_LOADROPBIN=1 ENABLE_HBLAUNCHER=1 LOADSDCFG_PADCHECK=1 MENUROP_PATH=menurop_prebuilt

will be better in order to use the new PADCHECK
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Batman joined the Trans Justice League
    +2
  • Sicklyboy @ Sicklyboy:
    based af
    +2
  • Sonic Angel Knight @ Sonic Angel Knight:
    Forget the base, get on the roof.
  • K3Nv2 @ K3Nv2:
    Is that a bat in your buckle or are you just happy to have me
  • Psionic Roshambo @ Psionic Roshambo:
    Wonder "Woman" lol you wonder if they are a woman?
  • Psionic Roshambo @ Psionic Roshambo:
    The Riddler has questions...
  • K3Nv2 @ K3Nv2:
    Played a little of snow day glad I didn't spend $30
  • K3Nv2 @ K3Nv2:
    It's asthetic is okay maybe a good $10 grab
  • Psionic Roshambo @ Psionic Roshambo:
    Lol is it a game about doing cocaine?
  • K3Nv2 @ K3Nv2:
    Probably in pvp
  • Psionic Roshambo @ Psionic Roshambo:
    I tried Balders Gate II on the PS2 a few minutes ago, not bad lol
  • Psionic Roshambo @ Psionic Roshambo:
    My back catalog of games is like that scene at the end of Indiana Jones where the arc of the covenant is being stored in a giant ass warehouse
  • K3Nv2 @ K3Nv2:
    At least I can will my game catalog to family members
    +1
  • K3Nv2 @ K3Nv2:
    It's your problem now bitches
  • Psionic Roshambo @ Psionic Roshambo:
    Put it in your will that in order to receive any money they have to beat certain games, hard games and super shitty games...
  • Psionic Roshambo @ Psionic Roshambo:
    Say 20 bucks per Ninja Gaiden on the NES lol 60 bucks for all 3
  • Psionic Roshambo @ Psionic Roshambo:
    People you like "Beat level 1 of Ms Pacman" lol
  • K3Nv2 @ K3Nv2:
    Hello kitty ds is required
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Beat Celebrity Death Match on the PS1 omg tried it earlier today .... Absolutely trash
  • Psionic Roshambo @ Psionic Roshambo:
    Like -37 out of 10
  • Psionic Roshambo @ Psionic Roshambo:
    One of the worst games I have ever played
  • K3Nv2 @ K3Nv2:
    Make them rank up every cod game out
  • K3Nv2 @ K3Nv2:
    "Now I know why he took his own life"
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"