Hacking Luma3DS - Noob-proof 3DS Custom Firmware

Status
Not open for further replies.

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
I don't know what exactly is going on but I don't appreciate the slander or whatever I was used as a scapegoat for.
I'm going to assume this:

185336053080b8f7a4fffc57b9333c2c.png


Though i wouldnt take it too seriously you do really good work and it definitely NOT the same as RX
 

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
Ow damned, building version 4.0.1 errors out :/
@Aurora Wright do we need something extra to build the newest version?
Code:
arm-none-eabi-gcc -MMD -MP -MF /d/CFWCN3DS/AuReiNand/injector/build/loader.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/d/CFWCN3DS
AuReiNand/injector/include -I/c/devkitPro/libctru/include -I/d/CFWCN3DS/AuReiNand/injector/build -DARM11 -D_3DS -c /d/CFWCN3DS/AuReiNand/injector/source/loader.c -o loader.o
d:/CFWCN3DS/AuReiNand/injector/source/loader.c: In function 'loader_LoadProcess':
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:200:3: error: unknown type name 'CodeSetInfo'
   CodeSetInfo codesetinfo;
   ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:249:24: error: request for member 'name' in something not a structure or union
     memcpy(&codesetinfo.name, g_exheader.codesetinfo.name, 8);
                        ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:250:16: error: request for member 'program_id' in something not a structure or union
     codesetinfo.program_id = progid;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:251:16: error: request for member 'text_addr' in something not a structure or union
     codesetinfo.text_addr = vaddr.text_addr;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:252:16: error: request for member 'text_size' in something not a structure or union
     codesetinfo.text_size = vaddr.text_size;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:253:16: error: request for member 'text_size_total' in something not a structure or union
     codesetinfo.text_size_total = vaddr.text_size;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:254:16: error: request for member 'ro_addr' in something not a structure or union
     codesetinfo.ro_addr = vaddr.ro_addr;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:255:16: error: request for member 'ro_size' in something not a structure or union
     codesetinfo.ro_size = vaddr.ro_size;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:256:16: error: request for member 'ro_size_total' in something not a structure or union
     codesetinfo.ro_size_total = vaddr.ro_size;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:257:16: error: request for member 'rw_addr' in something not a structure or union
     codesetinfo.rw_addr = vaddr.data_addr;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:258:16: error: request for member 'rw_size' in something not a structure or union
     codesetinfo.rw_size = vaddr.data_size;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:259:16: error: request for member 'rw_size_total' in something not a structure or union
     codesetinfo.rw_size_total = data_mem_size;
                ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:260:11: warning: implicit declaration of function 'svcCreateCodeSet' [-Wimplicit-function-declaration]
     res = svcCreateCodeSet(&codeset, &codesetinfo, (void *)shared_addr.text_addr, (void *)shared_addr.ro_addr, (void *)shared_addr.data_addr);
           ^
d:/CFWCN3DS/AuReiNand/injector/source/loader.c:263:13: warning: implicit declaration of function 'svcCreateProcess' [-Wimplicit-function-declaration]
       res = svcCreateProcess(process, codeset, g_exheader.arm11kernelcaps.descriptors, count);
             ^
make[2]: *** [loader.o] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/CFWCN3DS/AuReiNand/injector'
make: *** [build/patches.h] Error 2
I'm not getting the same errors as you, but yeah I am getting errors as well :s
pycHwfE.png
 
  • Like
Reactions: peteruk
D

Deleted User

Guest
Spoiler the image, but your output is telling you that makerom isn't in your path or installed.
 

Aurora Wright

Well-Known Member
OP
Member
Joined
Aug 13, 2006
Messages
1,550
Trophies
3
XP
4,489
Country
Italy
Can anyone do me a favor? As multiple people have noticed a slowdown of a second or so, I was wondering if the original searching algo from yifanlu is faster or not.
Could you (with a timer or so, not placebo testing) check if this version: http://www62.zippyshare.com/v/7wwSHSAA/file.html is faster than 4.0? You need to delete patched firmwares from the aurei folder before testing. If you can do a precise comparison it would help me a lot!
(If possible, test with the "Use patched FIRMs" option disabled).
 
Last edited by Aurora Wright,
  • Like
Reactions: leonmagnus99

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
Can anyone do me a favor? As multiple people have noticed a slowdown of a second or so, I was wondering if the original searching algo from yifanlu is faster or not.
Could you (with a timer or so, not placebo testing) check if this version: http://www62.zippyshare.com/v/7wwSHSAA/file.html is faster than 4.0? You need to delete patched firmwares from the aurei folder before testing. If you can do a precise comparison it would help me a lot!
(If possible, test with the "Use patched FIRMs" option disabled).

anything for senpai :) i will test it out right now, as i have my n3ds connected to my pc.

edit: took 8seconds for me to boot into emuNAND.

one note , i have deleted the patched_firms from aurei folder manually, do i have to do that actually ? or does every new update delete/replace those by itself?

and also , the boot config menu didnt show up with the provided arm9loaderhax that you shared , how come? (i mean i even had the patched_firms deleted, and normally after each update i see the config menu when i first boot the console).. XD
 
Last edited by leonmagnus99,

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
563
Country
France
@Aurora Wright : Sorry to bother you, but could you help us with the compilation issues ? I think it's because of Cosmo3DS loader integration, but I just can't figure what I'm missing here...
 
D

Deleted User

Guest
Can anyone do me a favor? As multiple people have noticed a slowdown of a second or so, I was wondering if the original searching algo from yifanlu is faster or not.
Could you (with a timer or so, not placebo testing) check if this version: http://www62.zippyshare.com/v/7wwSHSAA/file.html is faster than 4.0? You need to delete patched firmwares from the aurei folder before testing. If you can do a precise comparison it would help me a lot!
(If possible, test with the "Use patched FIRMs" option disabled).

AuRei 4.01 with loader: 7.92s
Your link: 8.22 - 8.30s

I'm going to be honest, that's well within the realm of error for human stop-watch time, seems to be fine to me. (updated sysNAND btw)
 
Last edited by ,

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
407
Country
Can anyone do me a favor? As multiple people have noticed a slowdown of a second or so, I was wondering if the original searching algo from yifanlu is faster or not.
Could you (with a timer or so, not placebo testing) check if this version: http://www62.zippyshare.com/v/7wwSHSAA/file.html is faster than 4.0? You need to delete patched firmwares from the aurei folder before testing. If you can do a precise comparison it would help me a lot!
(If possible, test with the "Use patched FIRMs" option disabled).

4.0.1
  • SysNAND: 8,00s
  • RedNAND: 7,75s
The new one
  • SysNAND: 8,05s
  • RedNAND: 7,92s
 
  • Like
Reactions: Aurora Wright

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
563
Country
France
Probably your libctru is outdated.

Tried the 1.1.0 release (latest linked in GitHub), it throws the same error than with the one provided with DevkitPro. Pulling the "master" branch throws not the same error (but still fails) :
Code:
D:\Documents\Consoles\3DS\Compilation\AuReiNand>make clean && make
rm -rf /d/Documents/Consoles/3DS/Compilation/AuReiNand/out/AuReiNand.dat build
clean ...
make[1]: Entering directory `/d/Documents/Consoles/3DS/Compilation/AuReiNand/loader'
clean ...
make[1]: Leaving directory `/d/Documents/Consoles/3DS/Compilation/AuReiNand/loader'
make[1]: Entering directory `/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector'
clean ...
make[1]: Leaving directory `/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector'
ARMIPS Assembler v0.8.0 (Jan 25 2016 00:21:31) by Kingcom
Done.
ARMIPS Assembler v0.8.0 (Jan 25 2016 00:21:31) by Kingcom
Done.
make[1]: Entering directory `/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector'
fsldr.c
arm-none-eabi-gcc -MMD -MP -MF /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build/fsldr.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/include -I/c/devkitPro/libctru/include -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build -DARM11 -D_3DS -c /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/source/fsldr.c -o fsldr.o
fsreg.c
arm-none-eabi-gcc -MMD -MP -MF /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build/fsreg.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/include -I/c/devkitPro/libctru/include -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build -DARM11 -D_3DS -c /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/source/fsreg.c -o fsreg.o
ifile.c
arm-none-eabi-gcc -MMD -MP -MF /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build/ifile.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/include -I/c/devkitPro/libctru/include -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build -DARM11 -D_3DS -c /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/source/ifile.c -o ifile.o
loader.c
arm-none-eabi-gcc -MMD -MP -MF /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build/loader.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/include -I/c/devkitPro/libctru/include -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build -DARM11 -D_3DS -c /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/source/loader.c -o loader.o
patcher.c
arm-none-eabi-gcc -MMD -MP -MF /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build/patcher.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/include -I/c/devkitPro/libctru/include -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build -DARM11 -D_3DS -c /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/source/patcher.c -o patcher.o
pxipm.c
arm-none-eabi-gcc -MMD -MP -MF /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build/pxipm.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/include -I/c/devkitPro/libctru/include -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build -DARM11 -D_3DS -c /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/source/pxipm.c -o pxipm.o
srvsys.c
arm-none-eabi-gcc -MMD -MP -MF /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build/srvsys.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/include -I/c/devkitPro/libctru/include -I/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/build -DARM11 -D_3DS -c /d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/source/srvsys.c -o srvsys.o
linking injector.elf
C:\Users\Romain\AppData\Local\Temp\ccDoR74T.ltrans0.ltrans.o: In function `main':
<artificial>:(.text.startup+0xc28): undefined reference to `svcCreateCodeSet'
<artificial>:(.text.startup+0xc48): undefined reference to `svcCreateProcess'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector/injector.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/Documents/Consoles/3DS/Compilation/AuReiNand/injector'
make: *** [build/patches.h] Error 2
 
D

Deleted User

Guest
Ok, then the slowdown is caused by the loader and I can't do anything about it (I already improved it with the new algo :P)

I mean is 1 second really killing people? With pre-patched firms and updated sysNAND, it's down to 7.5 pretty consistently. Even a stock boot is 8 seconds.

What I did notice though was the home menu appeared nearly instantly on my older 3DS. Usually you'd have a few blank spots that filled in over a couple seconds.
 
Last edited by ,
  • Like
Reactions: leonmagnus99

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
I mean is 1 second really killing people? With pre-patched firms and updated sysNAND, it's down to 7.5 pretty consistently. Even a stock boot is 8 seconds.

What I did notice though was the home menu appeared nearly instantly on my older 3DS. Usually you'd have a few blank spots that filled in over a couple seconds.

exactly, a friggin second is no big deal XD ...

damn when i think of the hellish menuhax.. lot of times stuck on YELLOWscreenofdeath, and also the boot time ..... 25-30 frikkin seconds !

so i cannot complain about a second or 3. XD
 
  • Like
Reactions: Xenosaiga
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr