Hacking Official [Source Release] ReiNand CFW

Cavioe

Well-Known Member
Member
Joined
May 28, 2015
Messages
308
Trophies
0
Age
52
XP
190
Country
United States
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?
 

Cavioe

Well-Known Member
Member
Joined
May 28, 2015
Messages
308
Trophies
0
Age
52
XP
190
Country
United States
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

kae5738

Well-Known Member
Member
Joined
Oct 19, 2014
Messages
100
Trophies
0
XP
387
Country
Serbia, Republic of
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.
 

happydance

Well-Known Member
Member
Joined
Jul 16, 2009
Messages
598
Trophies
0
XP
349
Country
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?
 

rsc-pl

Well-Known Member
Member
Joined
Jul 9, 2014
Messages
210
Trophies
0
XP
815
Country
Poland
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?
 

kactusss

Well-Known Member
Member
Joined
Dec 10, 2012
Messages
225
Trophies
0
XP
183
Country
France
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

Zap Rowsdower

Well-Known Member
Member
Joined
Jan 17, 2015
Messages
456
Trophies
0
Location
I don't go map findin' behindin'
XP
2,390
Country
Canada
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

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium
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,

rsc-pl

Well-Known Member
Member
Joined
Jul 9, 2014
Messages
210
Trophies
0
XP
815
Country
Poland
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).
 

kactusss

Well-Known Member
Member
Joined
Dec 10, 2012
Messages
225
Trophies
0
XP
183
Country
France
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.
 

20mark

Well-Known Member
Member
Joined
Mar 25, 2011
Messages
280
Trophies
1
Location
Italy
XP
515
Country
Italy
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?
 

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium
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!
 

20mark

Well-Known Member
Member
Joined
Mar 25, 2011
Messages
280
Trophies
1
Location
Italy
XP
515
Country
Italy
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

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Nintendo becomes responsible for 2024s virus +1