Hacking Luma3DS - Noob-proof 3DS Custom Firmware

  • Thread starter Thread starter Aurora Wright
  • Start date Start date
  • Views Views 3,183,250
  • Replies Replies 19,840
  • Likes Likes 262
Status
Not open for further replies.
Would you consider adding password protection to startup payloads and the config menu? I ask not because I'm concerned about people stealing my DS but rather because I lend it to others (particularly younger relatives) frequently and I don't want them accidentally booting into the Luma config or GodMode9/Decrypt9 and screwing things up. Having a configurable key-combo password protecting those menus would really help mitigate any problems caused by situations like that.
as far as I know it's already exist with bootmanager mod. But I forgot the name. sorry.
 
Would you consider adding password protection to startup payloads and the config menu? I ask not because I'm concerned about people stealing my DS but rather because I lend it to others (particularly younger relatives) frequently and I don't want them accidentally booting into the Luma config or GodMode9/Decrypt9 and screwing things up. Having a configurable key-combo password protecting those menus would really help mitigate any problems caused by situations like that.
Remove all payloads in the luma/payloads folder, and comment out the select button thing... (maybe replace https://github.com/AuroraWright/Luma3DS/blob/master/source/buttons.h#l16 by "#define BUTTON_SELECT (1 << 3)"? That way: impossible to access config menu.
 
Last edited by RealityNinja,
Sooo, here I am again, unwilling to read through the previous ~30 pages to find my problem :|

Can someone tell me why doesn't Decrypt9 load anymore with the new Luma3DS version? I have it set as "default.bin" and it should start when I hold L+R on boot, but instead of loading Decrypt9, it just loads the home menu, as if I didn't even hold L+R. I also have the latest release of Decrypt9, from around 11 days ago.
I hold down decrypt9.bin on root
 
yAdQH9D.png

This is the official thread for the Luma3DS "CFW". Please be civil, and read the wiki below before asking questions or contacting me privately. No "CFW wars" allowed on the thread.

Wiki guide, explanation of all options and features: https://github.com/AuroraWright/Luma3DS/wiki
Download: https://github.com/AuroraWright/Luma3DS/releases
Okay... No more AuReiNand or AwwwwReinand... Nice name though!!! :D
 
@Aurora Wright , when compiling Luma3DS it gives me this error:
davidosky99@davidosky99:~/luma/Luma3DS$ make
ARMIPS64 Assembler v0.8.0 (Apr 3 2016 19:41:48) by Kingcom
Done.
ARMIPS64 Assembler v0.8.0 (Apr 3 2016 19:41:48) by Kingcom
Done.
make[1]: Entering directory '/home/davidosky99/luma/Luma3DS/injector'
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=mpcore -mfloat-abi=hard -mtp=soft -fno-builtin -std=c11 -O2 -flto -ffast-math -mword-relocations -ffunction-sections -fdata-sections -I/opt/devkitpro/libctru/include -DARM11 -D_3DS -c -o build/loader.o source/loader.c
source/loader.c: In function 'loader_LoadProcess':
source/loader.c:199:3: error: unknown type name 'CodeSetInfo'
CodeSetInfo codesetinfo;
^
source/loader.c:248:24: error: request for member 'name' in something not a structure or union
memcpy(&codesetinfo.name, g_exheader.codesetinfo.name, 8);
^
source/loader.c:249:16: error: request for member 'program_id' in something not a structure or union
codesetinfo.program_id = progid;
^
source/loader.c:250:16: error: request for member 'text_addr' in something not a structure or union
codesetinfo.text_addr = vaddr.text_addr;
^
source/loader.c:251:16: error: request for member 'text_size' in something not a structure or union
codesetinfo.text_size = vaddr.text_size;
^
source/loader.c:252:16: error: request for member 'text_size_total' in something not a structure or union
codesetinfo.text_size_total = vaddr.text_size;
^
source/loader.c:253:16: error: request for member 'ro_addr' in something not a structure or union
codesetinfo.ro_addr = vaddr.ro_addr;
^
source/loader.c:254:16: error: request for member 'ro_size' in something not a structure or union
codesetinfo.ro_size = vaddr.ro_size;
^
source/loader.c:255:16: error: request for member 'ro_size_total' in something not a structure or union
codesetinfo.ro_size_total = vaddr.ro_size;
^
source/loader.c:256:16: error: request for member 'rw_addr' in something not a structure or union
codesetinfo.rw_addr = vaddr.data_addr;
^
source/loader.c:257:16: error: request for member 'rw_size' in something not a structure or union
codesetinfo.rw_size = vaddr.data_size;
^
source/loader.c:258:16: error: request for member 'rw_size_total' in something not a structure or union
codesetinfo.rw_size_total = data_mem_size;
^
source/loader.c:259:11: warning: implicit declaration of function 'svcCreateCodeSet' [-Wimplicit-function-declaration]
res = svcCreateCodeSet(&codeset, &codesetinfo, (void *)shared_addr.text_add
^
source/loader.c:262:13: warning: implicit declaration of function 'svcCreateProcess' [-Wimplicit-function-declaration]
res = svcCreateProcess(process, codeset, g_exheader.arm11kernelcaps.descr
^
Makefile:49: recipe for target 'build/loader.o' failed
make[1]: *** [build/loader.o] Error 1
make[1]: Leaving directory '/home/davidosky99/luma/Luma3DS/injector'
Makefile:87: recipe for target 'build/patches.h' failed
make: *** [build/patches.h] Error 2
and it stops. I compiled with the same PC (64 bit ubuntu 16.04 with armips, bin2c and makerom and everything else on your github) Reinand and RxTools.
What am I doing wrong. I got the 4 files: bin2c, armips, makerom and ctrtool. What is wrong?
 
@Aurora Wright , when compiling Luma3DS it gives me this error:
davidosky99@davidosky99:~/luma/Luma3DS$ make
ARMIPS64 Assembler v0.8.0 (Apr 3 2016 19:41:48) by Kingcom
Done.
ARMIPS64 Assembler v0.8.0 (Apr 3 2016 19:41:48) by Kingcom
Done.
make[1]: Entering directory '/home/davidosky99/luma/Luma3DS/injector'
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=mpcore -mfloat-abi=hard -mtp=soft -fno-builtin -std=c11 -O2 -flto -ffast-math -mword-relocations -ffunction-sections -fdata-sections -I/opt/devkitpro/libctru/include -DARM11 -D_3DS -c -o build/loader.o source/loader.c
source/loader.c: In function 'loader_LoadProcess':
source/loader.c:199:3: error: unknown type name 'CodeSetInfo'
CodeSetInfo codesetinfo;
^
source/loader.c:248:24: error: request for member 'name' in something not a structure or union
memcpy(&codesetinfo.name, g_exheader.codesetinfo.name, 8);
^
source/loader.c:249:16: error: request for member 'program_id' in something not a structure or union
codesetinfo.program_id = progid;
^
source/loader.c:250:16: error: request for member 'text_addr' in something not a structure or union
codesetinfo.text_addr = vaddr.text_addr;
^
source/loader.c:251:16: error: request for member 'text_size' in something not a structure or union
codesetinfo.text_size = vaddr.text_size;
^
source/loader.c:252:16: error: request for member 'text_size_total' in something not a structure or union
codesetinfo.text_size_total = vaddr.text_size;
^
source/loader.c:253:16: error: request for member 'ro_addr' in something not a structure or union
codesetinfo.ro_addr = vaddr.ro_addr;
^
source/loader.c:254:16: error: request for member 'ro_size' in something not a structure or union
codesetinfo.ro_size = vaddr.ro_size;
^
source/loader.c:255:16: error: request for member 'ro_size_total' in something not a structure or union
codesetinfo.ro_size_total = vaddr.ro_size;
^
source/loader.c:256:16: error: request for member 'rw_addr' in something not a structure or union
codesetinfo.rw_addr = vaddr.data_addr;
^
source/loader.c:257:16: error: request for member 'rw_size' in something not a structure or union
codesetinfo.rw_size = vaddr.data_size;
^
source/loader.c:258:16: error: request for member 'rw_size_total' in something not a structure or union
codesetinfo.rw_size_total = data_mem_size;
^
source/loader.c:259:11: warning: implicit declaration of function 'svcCreateCodeSet' [-Wimplicit-function-declaration]
res = svcCreateCodeSet(&codeset, &codesetinfo, (void *)shared_addr.text_add
^
source/loader.c:262:13: warning: implicit declaration of function 'svcCreateProcess' [-Wimplicit-function-declaration]
res = svcCreateProcess(process, codeset, g_exheader.arm11kernelcaps.descr
^
Makefile:49: recipe for target 'build/loader.o' failed
make[1]: *** [build/loader.o] Error 1
make[1]: Leaving directory '/home/davidosky99/luma/Luma3DS/injector'
Makefile:87: recipe for target 'build/patches.h' failed
make: *** [build/patches.h] Error 2
and it stops. I compiled with the same PC (64 bit ubuntu 16.04 with armips, bin2c and makerom and everything else on your github) Reinand and RxTools.
What am I doing wrong. I got the 4 files: bin2c, armips, makerom and ctrtool. What is wrong?
Update your libctru
 
New feature suggestion:

Have a way for a bootmanager to run Luma by automatically starting in EmuNAND (perhaps using a different offset, or perhaps just having a second bin file for this purpose.)

This would permit using a boot manager, and having two entries in the boot manager "Luma in SysNAND" and "Luma in EmuNAND" without having to press a key.
 
It'd be very nice to change the delay until splash screen disappears through menu or config file and maybe ability to add more entries of pictures to create some nice effects or dirty way of enabling "gifs"

Gesendet von meinem A0001 mit Tapatalk
 
  • Like
Reactions: Qwertyqwerty
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum