Hacking Luma3DS - Noob-proof 3DS Custom Firmware

Status
Not open for further replies.

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
440
Trophies
0
Age
29
XP
2,611
Country
Russia
Okay. Please, can somebody else with a9lh test if booting Cakes payload via chainloader works for them?
If it's actually not a bug, then I want to find out WHY it works for me only with AuReiNand v3.11 or lower.
I want to have newer versions and I really don't want to use other payload selectors.
 

jackb994

Self-Proclaimed Gamer
Member
Joined
Oct 29, 2015
Messages
544
Trophies
0
XP
422
Country
United States
Okay. Please, can somebody else with a9lh test if booting Cakes payload via chainloader works for them?
If it's actually not a bug, then I want to find out WHY it works for me only with AuReiNand v3.11 or lower.
I want to have newer versions and I really don't want to use other payload selectors.
It doesn't work for me either
 

pinguino1234

Well-Known Member
Newcomer
Joined
Sep 22, 2015
Messages
56
Trophies
0
Age
27
XP
89
Country
Mexico
Wait a minute... Its a way to change region nand? :O

"Removed the copying of SecureInfo_A to ctrnand/rw/sys/SecureInfo_C on NAND from 3ds_injector, as it was done on each boot and possibly caused a slowdown. You can easily do the copy with GodMode9"
 
Last edited by pinguino1234,

Argentlan

Well-Known Member
Member
Joined
Oct 27, 2015
Messages
236
Trophies
0
XP
260
Country
Brazil
What is the error now?
lucas@ubuntunote:~/Downloads/AuReiNand$ makerom
CTR MAKEROM v0.15 (C) 3DSGuy 2014
Built: 16:00:37 Mar 31 2016

lucas@ubuntunote:~/Downloads/AuReiNand$ armips
ARMIPS64 Assembler v0.8.0 (Mar 31 2016 14:37:40) by Kingcom
Usage: armips file.asm [-temp temp.txt] [-sym symfile.sym]

lucas@ubuntunote:~/Downloads/AuReiNand$ bin2c --version
bin2c version 1.1

Visit sourceforge.net/projects/bin2c to for new versions.
This program is public domain, do whatever you want with it.

lucas@ubuntunote:~/Downloads/AuReiNand$ make
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math -DCONFIG_TITLE="\"AuReiNand v4.1 configuration\"" -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/sdmmc/sdmmc.o source/fatfs/sdmmc/sdmmc.c
arm-none-eabi-as -mlittle-endian -mcpu=arm946e-s -march=armv5te -mthumb -mthumb-interwork -o build/fatfs/sdmmc/delay.o source/fatfs/sdmmc/delay.s
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math -DCONFIG_TITLE="\"AuReiNand v4.1 configuration\"" -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/ff.o source/fatfs/ff.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math -DCONFIG_TITLE="\"AuReiNand v4.1 configuration\"" -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/diskio.o source/fatfs/diskio.c
ARMIPS64 Assembler v0.8.0 (Mar 31 2016 14:37:40) by Kingcom
Done.
ARMIPS64 Assembler v0.8.0 (Mar 31 2016 14:37:40) by Kingcom
Done.
make[1]: Entering directory '/home/lucas/Downloads/AuReiNand/injector'
patcher.c
arm-none-eabi-gcc -MMD -MP -MF /home/lucas/Downloads/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/home/lucas/Downloads/AuReiNand/injector/include -I/opt/devkitPro/libctru/include -I/home/lucas/Downloads/AuReiNand/injector/build -DARM11 -D_3DS -c /home/lucas/Downloads/AuReiNand/injector/source/patcher.c -o patcher.o
loader.c
arm-none-eabi-gcc -MMD -MP -MF /home/lucas/Downloads/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/home/lucas/Downloads/AuReiNand/injector/include -I/opt/devkitPro/libctru/include -I/home/lucas/Downloads/AuReiNand/injector/build -DARM11 -D_3DS -c /home/lucas/Downloads/AuReiNand/injector/source/loader.c -o loader.o
/home/lucas/Downloads/AuReiNand/injector/source/loader.c: In function 'loader_LoadProcess':
/home/lucas/Downloads/AuReiNand/injector/source/loader.c:200:3: error: unknown type name 'CodeSetInfo'
CodeSetInfo codesetinfo;
^
/home/lucas/Downloads/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);
^
/home/lucas/Downloads/AuReiNand/injector/source/loader.c:250:16: error: request for member 'program_id' in something not a structure or union
codesetinfo.program_id = progid;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/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;
^
/home/lucas/Downloads/AuReiNand/injector/source/loader.c:260:11: warning: implicit declaration of function 'svcCreateCodeSet' [-Wimplicit-function-declaration]
res = svcCreateCodeSet(&codeset, &codesetinfo, (void *)shared_addr.text_add
^
/home/lucas/Downloads/AuReiNand/injector/source/loader.c:263:13: warning: implicit declaration of function 'svcCreateProcess' [-Wimplicit-function-declaration]
res = svcCreateProcess(process, codeset, g_exheader.arm11kernelcaps.descr
^
/opt/devkitPro/devkitARM/base_rules:84: recipe for target 'loader.o' failed
make[2]: *** [loader.o] Error 1
Makefile:103: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/lucas/Downloads/AuReiNand/injector'
Makefile:73: recipe for target 'build/patches.h' failed
make: *** [build/patches.h] Error 2
 
D

Deleted User

Guest
Using an old version of CTRULIB. Need to compile it from the source and add to your devkitpro folder.
 
  • Like
Reactions: Argentlan

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
Little situation:

I have a N3DSXL with 32GB MicroSD
- I like to swap the 32GB with another 32GB (i know, just testing stuff out)
- Made an image with win32diskimager of the 32GB sd used atm
- Wrote image to the spare 32GB (same brand, same size) with win32diskimager

So the N3DSXL boots fine with AuReiNand A9LH into emunand 10.7 with the 32GB it always uses
When i swap the SD with the spare one that is in fact now a 1:1 copy of the original used, the N3DS power led goes blue for a second and turns off right away
holding L+R doesn't work, BUT when i swap the original 32GB sd back in the N3DS boots everything fine (decrypt9, aureinand a9lh emunand/sysnand

any solution or explenation why the spare one would not work?
 
Last edited by DjoeN,

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
417
Country
Does this have the eShop patch implemented? Somebody was saying in the Cosmo3DS thread that it did.

Yeap, it has, but Aurora removed the ability to inject the SecureInfo_A in the SD as SecureInfo_C in teh NAND, 'cause you can do that using GodMode9 and it was done on each boot and possibly caused a slowdown (though I only saw the slowdown when I had the SecureInfo_A in my SD, otherwise it booted as fast as the new version)
But the eshop patch is there :D
 

Naked_Snake

Constant Miscreant
Member
Joined
Oct 6, 2013
Messages
1,765
Trophies
0
Age
39
Location
Hyrule Field
XP
1,749
Country
Australia
Little situation:

I have a N3DSXL with 32GB MicroSD
- I like to swap the 32GB with another 32GB (i know, just testing stuff out)
- Made an image with win32diskimager of the 32GB sd used atm
- Wrote image to the spare 32GB (same brand, same size) with win32diskimager

So the N3DSXL boots fine with AuReiNand A9LH into emunand 10.7 with the 32GB it always uses
When i swap the SD with the spare one that is in fact now a 1:1 copy of the original used, the N3DS powerled goes blue and turns off right away
holding L+R doesn't work, BUT when i swap the original 32GB sd back in the N3DS boots everything fine (decrypt9, aureinand a9lh emunand/sysnand

any solution or explenation why the spare one would not work?
Create a backup of you're Nand with you're normal SD card using decrypt9 and on you're new SD card inject it using decrypt9
 

RedBlueGreen

Well-Known Member
Member
Joined
Aug 10, 2015
Messages
2,026
Trophies
1
XP
2,538
Country
Canada
Yeap, it has, but Aurora removed the ability to inject the SecureInfo_A in the SD as SecureInfo_C in teh NAND, 'cause you can do that using GodMode9 and it was done on each boot and possibly caused a slowdown (though I only saw the slowdown when I had the SecureInfo_A in my SD, otherwise it booted as fast as the new version)
But the eshop patch is there :D
Since I've never used this or GodMode9 I have no idea what to do with that. I've only injected SecureInfo_A into my EmuNAND to change the region.
 

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
Create a backup of you're Nand with you're normal SD card using decrypt9 and on you're new SD card inject it using decrypt9
Hmmz, that's an idea that brings me to a better idea :)
Boot emunand9 with the original SD, but before doing anything i swap it with the spare sd, then try to perform what i want
(i know i can use decrypt9, but i'm gonne try to make a new emunand from scratch)
 

RedBlueGreen

Well-Known Member
Member
Joined
Aug 10, 2015
Messages
2,026
Trophies
1
XP
2,538
Country
Canada
So if you already changed you 3DS region and SecureInfo_A, I think eshop will work
I'll give it a try then. I've heard good stuff about aureinand,I just like Cakes' menu. Does it use the same firmware.bin as ReiNAND, and does it go in the aurei folder?
EDIT: Still got error 007-2001
 
Last edited by RedBlueGreen,

gameus

Well-Known Member
Member
Joined
Apr 5, 2015
Messages
108
Trophies
0
Age
29
XP
392
Country
United States
I'm still having troubles with out of region games, but I'm gonna try to reformat the system. Is it recommended to just use TinyFormat or format it through the system settings?
 

shinji257

Well-Known Member
Member
Joined
Apr 9, 2007
Messages
328
Trophies
1
Age
41
Website
www.elite-systems.org
XP
356
Country
United States
Finished successful USA -> JPN emuNAND conversion with working eShop access (no 007-2001 error). Tested and completed using AuReiNand 4.0.1

Rough Steps
Heads up: Install FBI as a separate install. If all you got is a H&S injected copy then use that to do this. You will lose the injected one later on during the conversion. You can reinject it if you want but it will be easier this way.
1) Downgrade your emuNAND to 9.1.0J using that mis-labeled downgrade pack... (it's tagged 9.2.0J)
2) Using GodMode9 inject SecureInfo_C into CTRNAND/rw/sys/ (same place where SecureInfo_A is at). This file does not replace your SecureInfo_A at all so yes both files will be present. I won't say how to make the SecureInfo_C file. There is information on gbatemp and 3dbrew.org
Note: At this point when you reboot you should get a Japanese UI and see plenty of duplicate icons. This is ok for now. You have both the normal region and Japanese region titles installed for may of the sys apps. Beware of the instability we will be working through.
3) Run Downgrade Check (https://github.com/svanheulen/downgrade_check/releases) to get a list of extra/missing titles. Ignore any mismatch version alerts. Those will get self-resolved later. It is suggested at this point to grab the report it generates. You can either power down and copy the file from the SD card or use FTP to transfer it.
4) Use 3DNUS to download the missing titles. I know there is some. At the very least the JPN eula title is missing from the downgrade pack (well it isn't intended for region conversions...)
5) Use FBI to remove any extra titles and install any missing ones.
6) Reboot then run the Downgrade Check app again. This time it should only have version mis-match alerts. If there are still any extra or missing titles handle them now. Do this until it only gives you mis-match versions.
----- Backup your Emunand here using EmuNAND9 please. This will give us a way to fix things up if the setup goes south during the next step -----
7) Use TinyFormat to quick format the system. Setup the unit again. The whole setup is in Japanese now. This part is important as it will location set the unit to somewhere in Japan. You can leave the location (first entry when you set your DOB) to the first one. Pretty sure that is Japan in a generic sense.
Note: If it crashes right when it hits the 3rd part then the eula package was missing... Restore your backup and make sure to install package 0004009B00013202
8) Use System Settings and upgrade to 10.7J

Congrats! You are all done. Now when you access eShop it should let you in. If you kept sysnand with no NNID linked you should be able to access the USA eShop from sysnand and the JPN eShop in emuNAND.

EDIT: Spoke too soon... I get 011-6949 when attempting to actually download anything since it seems to force a NNID link. :/
 
Last edited by shinji257,

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
417
Country
I'll give it a try then. I've heard good stuff about aureinand,I just like Cakes' menu. Does it use the same firmware.bin as ReiNAND, and does it go in the aurei folder?
EDIT: Still got error 007-2001

Do you setup tubehax DNS to block updates?

Edit: Maybe that's it, you need the SecureInfo_C on your NAND
 
Last edited by Gray_Jack,

Cuphat

Well-Known Member
Member
Joined
May 16, 2011
Messages
1,295
Trophies
1
XP
1,223
Country
United States
Is SecureInfo_C just renamed A or is it a different file? And sysNAND or emuNAND?
It's the same as SecureInfo_A (except you edit it to change the region). You put it in the NAND you are region changing, whichever that may be.

Congrats! You are all done. Now when you access eShop it should let you in. If you kept sysnand with no NNID linked you should be able to access the USA eShop from sysnand and the JPN eShop in emuNAND.
Yeah, but once you link an NNID on one of those, you won't be able to access the other one, right? I've been poking my region-changed NAND and was curious about this because I'm not planning to swap my "main" NAND to a different region.
 

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
417
Country
Is SecureInfo_C just renamed A or is it a different file? And sysNAND or emuNAND?
It's the same file, just renamed
Put it in the NAND with region change using GodMod9 (if you are a themehax user, you'll need to boot into a 9.x with the firmware90.bin)
the path is:

CTRNAND/rw/sys
 
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.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=a6v3cT3b59A&t=12s