Hacking Luma3DS - Noob-proof 3DS Custom Firmware

Status
Not open for further replies.

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
As said here in compiling, I set armips, bin2c and Makerom to my Path :
1465708411-path.png


But I can't build Luma 3DS :
Code:
C:\Users\Asia81\Desktop\TestLuma\Luma3DS>make
/bin/sh: git: command not found
make: armips: Command not found
make: *** [build/rebootpatch.h] Error 127

Do you know why ?
 

Februarysn0w

Well-Known Member
Member
Joined
Oct 31, 2014
Messages
1,206
Trophies
0
Age
36
XP
837
Country
Japan
As said here in compiling, I set armips, bin2c and Makerom to my Path :
1465708411-path.png


But I can't build Luma 3DS :
Code:
C:\Users\Asia81\Desktop\TestLuma\Luma3DS>make
/bin/sh: git: command not found
make: armips: Command not found
make: *** [build/rebootpatch.h] Error 127

Do you know why ?
Try to put here all of them. then you do not need to set path.
Code:
C:\devkitPro\devkitARM\bin
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
put all these .exe file in the same bin folder, in davkitarm ?

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

Ok it work, bt now I have another error :
Code:
C:\Users\Asia81\Desktop\TestLuma\Luma3DS>make
/bin/sh: git: command not found
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 `/c/Users/Asia81/Desktop/TestLuma/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/c/devkitPro/libctru/include -DARM11 -D_3DS   -c -o build/fsldr.o source/fsldr.c
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/c/devkitPro/libctru/include -DARM11 -D_3DS   -c -o build/fsreg.o source/fsreg.c
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/c/devkitPro/libctru/include -DARM11 -D_3DS   -c -o build/ifile.o source/ifile.c
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/c/devkitPro/libctru/include -DARM11 -D_3DS   -c -o build/loader.o source/loader.c
source/loader.c: In function 'loader_LoadProcess':
source/loader.c:198:3: error: unknown type name 'CodeSetInfo'
   CodeSetInfo codesetinfo;
   ^
source/loader.c:247:24: error: request for member 'name' in something not a structure or union
     memcpy(&codesetinfo.name, g_exheader.codesetinfo.name, 8);
                        ^
source/loader.c:248:16: error: request for member 'program_id' in something not a structure or union
     codesetinfo.program_id = progid;
                ^
source/loader.c:249:16: error: request for member 'text_addr' in something not a structure or union
     codesetinfo.text_addr = vaddr.text_addr;
                ^
source/loader.c:250:16: error: request for member 'text_size' in something not a structure or union
     codesetinfo.text_size = vaddr.text_size;
                ^
source/loader.c:251: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:252:16: error: request for member 'ro_addr' in something not a structure or union
     codesetinfo.ro_addr = vaddr.ro_addr;
                ^
source/loader.c:253:16: error: request for member 'ro_size' in something not a structure or union
     codesetinfo.ro_size = vaddr.ro_size;
                ^
source/loader.c:254: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:255:16: error: request for member 'rw_addr' in something not a structure or union
     codesetinfo.rw_addr = vaddr.data_addr;
                ^
source/loader.c:256:16: error: request for member 'rw_size' in something not a structure or union
     codesetinfo.rw_size = vaddr.data_size;
                ^
source/loader.c:257: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:258: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);
           ^
source/loader.c:261:13: warning: implicit declaration of function 'svcCreateProcess' [-Wimplicit-function-declaration]
       res = svcCreateProcess(process, codeset, g_exheader.arm11kernelcaps.descriptors, count);
             ^
make[1]: *** [build/loader.o] Error 1
make[1]: Leaving directory `/c/Users/Asia81/Desktop/TestLuma/Luma3DS/injector'
make: *** [build/injector.h] Error 2
 

Februarysn0w

Well-Known Member
Member
Joined
Oct 31, 2014
Messages
1,206
Trophies
0
Age
36
XP
837
Country
Japan
put all these .exe file in the same bin folder, in davkitarm ?

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

Ok it work, bt now I have another error :
Code:
C:\Users\Asia81\Desktop\TestLuma\Luma3DS>make
/bin/sh: git: command not found
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 `/c/Users/Asia81/Desktop/TestLuma/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/c/devkitPro/libctru/include -DARM11 -D_3DS   -c -o build/fsldr.o source/fsldr.c
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/c/devkitPro/libctru/include -DARM11 -D_3DS   -c -o build/fsreg.o source/fsreg.c
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/c/devkitPro/libctru/include -DARM11 -D_3DS   -c -o build/ifile.o source/ifile.c
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/c/devkitPro/libctru/include -DARM11 -D_3DS   -c -o build/loader.o source/loader.c
source/loader.c: In function 'loader_LoadProcess':
source/loader.c:198:3: error: unknown type name 'CodeSetInfo'
   CodeSetInfo codesetinfo;
   ^
source/loader.c:247:24: error: request for member 'name' in something not a structure or union
     memcpy(&codesetinfo.name, g_exheader.codesetinfo.name, 8);
                        ^
source/loader.c:248:16: error: request for member 'program_id' in something not a structure or union
     codesetinfo.program_id = progid;
                ^
source/loader.c:249:16: error: request for member 'text_addr' in something not a structure or union
     codesetinfo.text_addr = vaddr.text_addr;
                ^
source/loader.c:250:16: error: request for member 'text_size' in something not a structure or union
     codesetinfo.text_size = vaddr.text_size;
                ^
source/loader.c:251: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:252:16: error: request for member 'ro_addr' in something not a structure or union
     codesetinfo.ro_addr = vaddr.ro_addr;
                ^
source/loader.c:253:16: error: request for member 'ro_size' in something not a structure or union
     codesetinfo.ro_size = vaddr.ro_size;
                ^
source/loader.c:254: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:255:16: error: request for member 'rw_addr' in something not a structure or union
     codesetinfo.rw_addr = vaddr.data_addr;
                ^
source/loader.c:256:16: error: request for member 'rw_size' in something not a structure or union
     codesetinfo.rw_size = vaddr.data_size;
                ^
source/loader.c:257: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:258: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);
           ^
source/loader.c:261:13: warning: implicit declaration of function 'svcCreateProcess' [-Wimplicit-function-declaration]
       res = svcCreateProcess(process, codeset, g_exheader.arm11kernelcaps.descriptors, count);
             ^
make[1]: *** [build/loader.o] Error 1
make[1]: Leaving directory `/c/Users/Asia81/Desktop/TestLuma/Luma3DS/injector'
make: *** [build/injector.h] Error 2
Have you modified the code? some information or files are missing for those errors.
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
No, I didn't change anything.
I want make a clean build, and after if it work, do my edits in the source code.
All I want is just for fun, I want try to edit Sys. or Ver. in System Settings by my username
 

Februarysn0w

Well-Known Member
Member
Joined
Oct 31, 2014
Messages
1,206
Trophies
0
Age
36
XP
837
Country
Japan
Last edited by Februarysn0w,

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
I know how to change the word, i's not a problem (Thanks anyways)
The problem is I can't build it, even without edit anything.
 

AkGBA

Nope
Member
Joined
Feb 14, 2007
Messages
345
Trophies
1
XP
1,437
Country
France
@Aurora Wright @TuxSH Kid Safety Request : Is it possible to have an option in LUma3ds's menu to lock the select menu and prevent payloads to start ?
What I want is to prevent my kids to accidentally launch the menu or D9.
I see it this way : if the option is on, you can't access anymore the select menu, and launch payloads. The only way to do that again would be to delete select.bin.
 

Kyojin

#include "brain.h"
Member
Joined
Sep 7, 2015
Messages
467
Trophies
0
XP
332
Country
France
@Aurora Wright @TuxSH Kid Safety Request : Is it possible to have an option in LUma3ds's menu to lock the select menu and prevent payloads to start ?
What I want is to prevent my kids to accidentally launch the menu or D9.
I see it this way : if the option is on, you can't access anymore the select menu, and launch payloads. The only way to do that again would be to delete select.bin.

For the payloads, you could just delete them, and copy them back only when needed.
 

AkGBA

Nope
Member
Joined
Feb 14, 2007
Messages
345
Trophies
1
XP
1,437
Country
France
For the payloads, you could just delete them, and copy them back only when needed.

Right now, I'm renaming them, removing the key name in front of the payloads.
But I'm looking to an easier/safer solution. You don't know how smart those kids are these days.
 

Timburpton

Well-Known Member
Member
Joined
Nov 18, 2014
Messages
648
Trophies
0
Age
46
XP
580
Country
Right now, I'm renaming them, removing the key name in front of the payloads.
But I'm looking to an easier/safer solution. You don't know how smart those kids are these days.

Sounds like if they are smart enough to find to rename the payloads, they would be smart enough to find a solution to reenable the anyway.
 
  • Like
Reactions: pbanj and Shadow#1
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.
    Veho @ Veho: Click on your profile pic in the top right corner, and you'll get the profile menu popup, with... +2