Hacking Luma3DS - Noob-proof 3DS Custom Firmware

Status
Not open for further replies.

laharl22

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
1,767
Trophies
0
Age
37
XP
605
Country
France
the v3 dont boot for me on old3ds black screen after the splash screen.the v2 work fine i dont understand
 
Last edited by laharl22,

Shadow#1

Wii, 3DS Softmod & Dumpster Diving Expert
Member
Joined
Nov 21, 2005
Messages
12,101
Trophies
2
XP
7,712
Country
United States
I made a small mod to ReiNand, to add some features. This was for my personal use, but I decided to go ahead and share it.

Compared to the official 3.1 build, this has:
- N3DS 10.4 FIRM support
- O3DS support (on >= 7.x consoles only)
- SysNAND support (both with the 10.2 FIRM and the 9.0/9.2 FIRM on NAND).
- Splash screen only delays boot if rei/splash.bin is on the SD card.
- No ARM9 thread (in the official builds, this provides the "Ver." cosmetic patch in System Settings, which happens to patch random "Ver."s in FCRAM, and thus made me uncomfortable, Pokemon screenshots and FCRAM dumping).

How to use:
- Unpack the ReiNand.dat, and the 3dsx/smdh (if needed), and the appropriate rei- folder for your console. Rename the folder to just "rei", and put the firmware.bin in it. New and Old 3DSes have different firmwares! With the latest release, N3DS needs a 10.4 firmware.bin. The one provided in the official build is no longer suitable! O3DS needs the 10.4 FIRM too, so make sure you update it if you used a previous release! I uploaded them to some "iso" 3DS site, in the CFW discussions section (this should be enough to Google it).
- Normally emuNAND is autobooted. On Old3DS, the FIRM reboot patch is applied by default, to allow games which work in the larger RAM mode (Smash Bros, MH4...) to work. This prevents GBA and DS/DSiWare games from working, however, you can disable the patch by holding A on boot.
- If you hold L on boot, sysNAND will be booted with the 10.4 FIRM and signature checks patched (like Brickway). On O3DS the reboot patch is also applied.
- If your console has 9.0/9.2 on SysNAND, you can boot SysNAND with the 9.0 FIRM and patched signature checks. To do this hold L+R on boot. On O3DS, the reboot patch won't be applied. If your console (O3DS) is not on 9.x, it will be detected and it will just hang on a black screen.

I'd like to stress that none of this is my work. The O3DS offsets are from CakesFW, as well as the reboot patch code. The offset to detect the console, and to calculate the O3DS NAND CTR is from Decrypt9.

Download (source code is included): http://www95.zippyshare.com/v/WSjNdRJp/file.html

v2: Added checks to make ReiNand halt when using an encrypted (Cakes ones) firmware.bin, or a N3DS firmware on an O3DS and vice-versa, re-added splash screen (it shows for longer than the brief flash of the official build, and boot isn't delayed if the splash isn't on the SD card), the 10.4 FIRM is now used for N3DS.
v3: Newest changes from the official build, implemented the 10.4 FIRM for O3DS.
Whats new in v3?
 

The Catboy

GBAtemp Official Catboy™: Big Smug
Member
Joined
Sep 13, 2009
Messages
26,677
Trophies
4
Location
Making a non-binary fuss
XP
33,705
Country
Antarctica
O3DS is different. Basically native firm reboots when you launch a game which requires 80 MB of RAM (smash bros, mh4 and maybe others). Of course this would reboot into sysnand FIRM and undo all changes, so you wouldn't be able to play those. So (Gateway I guess?) came up with a patch to have FIRM reload itself from the sdcard instead of nand (that's what the patched_firmware is used for, only on O3DS). So the firm reloads from that file (which has all the patches), and the game is launched. Sadly, this forces all FIRM reboots to do this, so even when FIRM tries to reboot to agb or twl firm, it tries to do that (and I guess it crashes as you're not booting 3ds software). You can disable the patch by holding A on boot (you lose 80 MB games support for that boot, but you're able to use GBA and DS/DSi stuff)
Oh hey it worked. Now the only issue I am dealing with is getting an error screen when I launch the flashcard .-.
 

Mr_Q

Active Member
Newcomer
Joined
Jun 30, 2006
Messages
27
Trophies
0
XP
231
Country
@Aurora Wright
Thank you for the mod.

Unfortunately, I can't get it to work (not via Hombrew Launcher nor via ctrbootmgr). I think I have the correct firmware.bin but since I have no md5sum, I can't validate for sure.

Could you provide us the 10.4 N3DS firmware.bin MD5 we should use with your MOD?
Do you have any other clues why I get a black screen? SYSNAND 9.2 with EMUNAND 10.3.

Thank you very much.

can you PM me the link please?

The firmware.bin used with my n3ds (xl) that works has MD5 checksum: e193d5832332f72fdec1f7f51bb9c20f
 

Mr_Q

Active Member
Newcomer
Joined
Jun 30, 2006
Messages
27
Trophies
0
XP
231
Country
As I said, it now uses 10.4 FIRM so you need to get the updated firmware.bin from the iso site :P

Maybe you can provide the exact search string or the user which posted it on that iso site? That helps people to find it.. I had a hard time getting it another way... Thank you either way :)
[EDIT]
Got it.. Thanks to @Supster131

Don't make the mistake which I made.. Looking for firmware(.bin) 10.4 as you won't find it that way.. For other people which also haven't found it or had difficulties:
- just look for the name of the developer without the space: AuroraWright on that site
- Or just the thread name 'Firmware for ReiNAND' on that same iso site :)
 
Last edited by Mr_Q,

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
11,543
Trophies
2
XP
21,568
Country
Mexico
Just setup your MOD in my N3DS.
It's working wonderfully. :)

I was able to boot Four Swords Anniversary Edition without any issues and even my Blue Gateway card booted up just fine!
Thank you so much for your work!

Two last questions:
1) So if I grabbed the firmware.bin from your other topic in you-know-what-site, I will be able to update just fine in the System Settings, right?
2) One thing I didn't see mentioned in the OP, does N3DS allow for both AGB/TWL and also booting up games like Smash and Monster Hunter?
 

Supster131

(づ。◕‿‿◕。)づ *:・゚✧
Member
Joined
Jan 19, 2016
Messages
3,315
Trophies
1
Location
My Computer
XP
2,745
Country
United States
1) So if I grabbed the firmware.bin from your other topic in you-know-what-site, I will be able to update just fine in the System Settings, right?
2) One thing I didn't see mentioned in the OP, does N3DS allow for both AGB/TWL and also booting up games like Smash and Monster Hunter?
1. Yes, you can update to the latest version, it being 10.4.
2. Yes, there should be no problem.
 
  • Like
Reactions: Mr_Q

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,143
Country
Antarctica
The firmware.bin for new 3ds is the same that the file from nintendo server, right?

Would I use the file downloaded from 3dnus, right? Anybody? No?

...

You can use 3DNUS to download the file (or your web browser, see the CakesFW thread/github repo), but you'd need to decrypt it using Cakes afterward. ReiNand only uses decrypted FIRMs.
 
  • Like
Reactions: Ninoh-FOX

Aurora Wright

Well-Known Member
OP
Member
Joined
Aug 13, 2006
Messages
1,549
Trophies
3
XP
4,353
Country
Italy
I made a very small revision (just some minor code clean-up, and the hash in the FIRM is checked before booting, so now it halts when you use a firmware.bin you're not supposed to).
 
  • Like
Reactions: laharl22
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.
    Skelletonike @ Skelletonike: No idea what that is tbh, is that like the iso or something?