Hacking Luma3DS - Noob-proof 3DS Custom Firmware

Status
Not open for further replies.

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,669
Trophies
3
Age
29
XP
3,575
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
838
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,669
Trophies
3
Age
29
XP
3,575
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
838
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,669
Trophies
3
Age
29
XP
3,575
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
838
Country
Japan
Last edited by Februarysn0w,

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,669
Trophies
3
Age
29
XP
3,575
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.
  • Psionic Roshambo @ Psionic Roshambo:
    He just means that some conversations are light and funny, Madonna having sex with a dog? Hilarious! Your uncle beating your dog then making you watch him molest it? Kinda ehhhh drama lol
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why do people hate seasons 20 and 23 of south park?
  • BigOnYa @ BigOnYa:
    I don't know. People hate and down vote everything nowdays. I see it especially on gamestores, like every game has a negative rating, even though they are good games.
  • BigOnYa @ BigOnYa:
    With south park, they speak the truth, whether people like it or not, then peeps get they're panties in a bunch.
    +1
  • Xdqwerty @ Xdqwerty:
    See ya later fr
    +1
  • BigOnYa @ BigOnYa:
    Later gator
    +2
  • G @ GamerGatorDoesTech:
    @BigOnYa i thought that was like a specific comment towards me
    +1
  • BigOnYa @ BigOnYa:
    Lol
  • ModernSithLord @ ModernSithLord:
    lol later gator that was good one @BigOnYa
    +1
  • Shgofc @ Shgofc:
    if i think i exist, then, i dont exi...
  • K3Nv2 @ K3Nv2:
    They started hating later seasons because it turned into half seasons and specials
    +1
  • K3Nv2 @ K3Nv2:
    People in youtube comments are such dick riders "oh I can't believe he said that to you" clicks on other video "wow this is amazing."
    +1
  • BigOnYa @ BigOnYa:
    Everyone is triggered nowadays too easy, bunch of pansies.
  • BigOnYa @ BigOnYa:
    1st video- That's why I hate ordering stuff online, if I can just go pick it up myself nearby. Wal-Mart online did that to me years ago, sent wrong item, I went to Wal-Mart by me to return, but noo, I had to mail it back and wait.
  • Psionic Roshambo @ Psionic Roshambo:
    99% of the time ordering online I have had flawless experiences, only time something was messed up, I ordered a big TV from Amazon and it came smashed the box was literally like some one jumped up and down on it, didn't even open it, contacted Amazon sent them pictures, they made me open it and take more pictures, free label to return it and they sent another. So it was relatively painless. But still annoying.
    +1
  • K3Nv2 @ K3Nv2:
    I did it just because I don't like you
  • Psionic Roshambo @ Psionic Roshambo:
    Ken you Amazonian Maniac lol
  • Psionic Roshambo @ Psionic Roshambo:
    Cool band name lol
  • Psionic Roshambo @ Psionic Roshambo:
    Their hit song Deliver Us from good, was a banger
  • K3Nv2 @ K3Nv2:
    Imagine what I'd do if I did like you
    +1
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/t1zTwu2R2Ys?si=BqY1TtbKs14wi7z4