Hacking Official [Source Release] ReiNand CFW

  • Thread starter Thread starter Reisyukaku
  • Start date Start date
  • Views Views 986,942
  • Replies Replies 6,480
  • Likes Likes 115
So it isn't the n3ds dg reinand installer but rather the 6.0 cakes.dat?

Sorry I was just trying to recall without checking. But I have gone back and its the 3rd option of "N3DS DG Reinand". If that still does not work, how did you downgrade your system settings initially?
 
Sorry I was just trying to recall without checking. But I have gone back and its the 3rd option of "N3DS DG Reinand". If that still does not work, how did you downgrade your system settings initially?

Used gateways mset cia
 
Used gateways mset cia

Did you use Devmenu? Can you verify that your system settings does not have the NNID option settings on the top? I also used the GW MSET and it works for me. But try check as maybe it didn't install it.

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

Thanks :)

I prefer the 6.X because it has the NNID setting inside haha

I don't think that is true. I have 6.x on a old 3ds and don't recall seeing NNID settings.
 
  • Like
Reactions: thaikhoa
Did you use Devmenu? Can you verify that your system settings does not have the NNID option settings on the top? I also used the GW MSET and it works for me. But try check as maybe it didn't install it.

Can still boot emunand with gateways launcher using mset. Already have both the firmware.bin and reinand.dat files on the sd root.
 
Can still boot emunand with gateways launcher using mset. Already have both the firmware.bin and reinand.dat files on the sd root.

Then that is your problem. You don't put the firmware.bin on the root. You need the dat file and the rei folder on the root.
 
  • Like
Reactions: usernametaken
so I downloaded the correct firmware.bin and put it on the data folder but it looking for emunand.bin

Code:
make[1]: Leaving directory `/o/_3ds_compile/ReiNand/mset'
dd if=build/main.bin of=out/ReiNand.dat bs=512 seek=144
64+1 records in
64+1 records out
32828 bytes (33 kB) copied, 0.001 seconds, 33 MB/s
ARMIPS Assembler v0.7d (Apr  1 2013 10:09:41) by Kingcom
emunand/emuCode.s(4) error: Invalid equation name 0x80d86f0_unk1
emunand/emuCode.s(7) error: Invalid equation name 0x80d86f0_unk2
emunand/emuCode.s(8) error: Invalid equation name 0x80d86f0_unk0
emunand/emuCode.s(41) error: Invalid expression "(0x80d86f0_unk0+1)"
emunand/emuCode.s(66) error: Invalid expression "(0x80d86f0_unk1+1)"
emunand/emuCode.s(106) error: Invalid expression "(0x80d86f0_unk0+1)"
emunand/emuCode.s(131) error: Invalid expression "(0x80d86f0_unk2+1)"
Aborting.
make: *** [out/rei/emunand/emunand.bin] Error 1

does that mean I need to provide my 3ds emunand.bin?
 
Code:
[root@localhost ReiNand]# make
arm-none-eabi-gcc -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main   -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/sdmmc/sdmmc.o source/fatfs/sdmmc/sdmmc.c
make: arm-none-eabi-gcc: Command not found
make: *** [build/fatfs/sdmmc/sdmmc.o] Error 127
There is no arm-none-eabi-gcc package in Centos repository (epel).
I never compiled anything arm-related. How to make it working?
 
Code:
[root@localhost ReiNand]# make
arm-none-eabi-gcc -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main   -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/sdmmc/sdmmc.o source/fatfs/sdmmc/sdmmc.c
make: arm-none-eabi-gcc: Command not found
make: *** [build/fatfs/sdmmc/sdmmc.o] Error 127
There is no arm-none-eabi-gcc package in Centos repository (epel).
I never compiled anything arm-related. How to make it working?

Download it here and simply add it to your path :
export PATH=$PATH:gcc-arm-none-eabi-4_9-2015q2/bin/
 
  • Like
Reactions: rsc-pl
Very nice job with n3ds mset. This cfw now has my full attention, but I do have a noob question before I venture into this. Can ReiNAND currently, or could it be configured/compiled to be ran using sysNAND *without* FirmlaunchHax? I know there must be more than a few gateway n3ds users who only have OoT and have wanted to properly run Ninjhax 1.1b, but up until this mset was added had no way of doing so.
 
  • Like
Reactions: 20mark
To update my reinand git cloned folder, i just enter the folder and do a "git pull" ? or "git fetch"?
Also i suppose all compiled stuff you need afterwards is in the x:\ReiNand\out folder ?

The 2 warnings i get i suppose i can ignore?

Code:
arm-none-eabi-gcc -DENTRY_MSET -mcpu=mpcore -marm -mlittle-endian -O2 -std=c11 -
MMD -MP -fno-builtin -fshort-wchar -Wall -Wextra -Wno-main -DLAUNCHER_PATH='"rei
Nand.dat"'   -c -o build/mset/main.o source/main.c
source/main.c: In function 'save_file':
source/main.c:33:44: warning: passing argument 3 of 'app->fwrite' discards 'cons
t' qualifier from pointer target type
     app->fwrite(&file_handle, &bytes_read, src, size);
                                            ^
source/main.c:33:44: note: expected 'void *' but argument is of type 'const char
*'
source/main.c:23:67: warning: unused parameter 'offset' [-Wunused-parameter]
int save_file(const char *src, short unsigned int *path, uint32_t offset, uint3
2_t size)
                                                                   ^
Code:
arm-none-eabi-gcc -DENTRY_SPIDER -mcpu=mpcore -marm -mlittle-endian -O2 -std=c11
-MMD -MP -fno-builtin -fshort-wchar -Wall -Wextra -Wno-main -DLAUNCHER_PATH='"r
eiNand.dat"'   -c -o build/spider/main.o source/main.c
source/main.c: In function 'save_file':
source/main.c:33:44: warning: passing argument 3 of 'app->fwrite' discards 'cons
t' qualifier from pointer target type
     app->fwrite(&file_handle, &bytes_read, src, size);
                                            ^
source/main.c:33:44: note: expected 'void *' but argument is of type 'const char
*'
source/main.c:23:67: warning: unused parameter 'offset' [-Wunused-parameter]
int save_file(const char *src, short unsigned int *path, uint32_t offset, uint3
2_t size)
                                                                   ^
 
Last edited by DjoeN,
Download it here and simply add it to your path :
export PATH=$PATH:gcc-arm-none-eabi-4_9-2015q2/bin/
OK, this part is working.
http://devkitpro.org/wiki/Getting_Started/devkitARM -> I belive this has to be done too. But after doing this:

Code:
make[1]: Entering directory `/arm/ReiNand/mset'
make[1]: Nothing to be done for `launcher'.
make[1]: Leaving directory `/arm/ReiNand/mset'
dd if=build/main.bin of=out/ReiNand.dat bs=512 seek=144
45+1 records in
45+1 records out
23183 bytes (23 kB) copied, 0.000304525 s, 76.1 MB/s
make: armips: Command not found
make: *** [out/rei/emunand/emunand.bin] Error 127

I really appreciate OP work, but I think, he should write simple tutorial, about compiling it (I mean which libraries are necessary etc).
 
OK, this part is working.
http://devkitpro.org/wiki/Getting_Started/devkitARM -> I belive this has to be done too. But after doing this:

Code:
make[1]: Entering directory `/arm/ReiNand/mset'
make[1]: Nothing to be done for `launcher'.
make[1]: Leaving directory `/arm/ReiNand/mset'
dd if=build/main.bin of=out/ReiNand.dat bs=512 seek=144
45+1 records in
45+1 records out
23183 bytes (23 kB) copied, 0.000304525 s, 76.1 MB/s
make: armips: Command not found
make: *** [out/rei/emunand/emunand.bin] Error 127

I am stuck here too :(
I will let you know if I find a solution.
 
i want to try Rei CFW with MSET entry point on 9.0 N3DS.

having gateway emunand of course, is possible with MSET to "switch" between Rei and Gateway?
 
OK, this part is working.
http://devkitpro.org/wiki/Getting_Started/devkitARM -> I belive this has to be done too. But after doing this:

Code:
make[1]: Entering directory `/arm/ReiNand/mset'
make[1]: Nothing to be done for `launcher'.
make[1]: Leaving directory `/arm/ReiNand/mset'
dd if=build/main.bin of=out/ReiNand.dat bs=512 seek=144
45+1 records in
45+1 records out
23183 bytes (23 kB) copied, 0.000304525 s, 76.1 MB/s
make: armips: Command not found
make: *** [out/rei/emunand/emunand.bin] Error 127

I really appreciate OP work, but I think, he should write simple tutorial, about compiling it (I mean which libraries are necessary etc).

Do you see this in your PATH: (start cmd and enter "path"
This will show your PATH and the next stuff has to be in it:

PATH=c:\devkitPro\msys\bin;c:\devkitPro\devkitARM\bin\;C:\Python27\;C:\MinGW\bin;

Error 127 mostly is cause it can't execute a command, this almost always is because your path is wrong (missing folder in your path that holds the executable file)
c:\devkitPro\msys\bin\ should be the folder where armips.exe installed is, if not, locate the file and add that folder to your path.

Reboot afterwards!
 
Very nice job with n3ds mset. This cfw now has my full attention, but I do have a noob question before I venture into this. Can ReiNAND currently, or could it be configured/compiled to be ran using sysNAND *without* FirmlaunchHax? I know there must be more than a few gateway n3ds users who only have OoT and have wanted to properly run Ninjhax 1.1b, but up until this mset was added had no way of doing so.

we're in the same boat
 

Site & Scene News

Popular threads in this forum