Homebrew ARM9Loader -- Technical Details and Discussion

tvall

Well-Known Member
Member
Joined
May 12, 2014
Messages
276
Trophies
0
Age
29
XP
348
Country
United States
is compiling on Linux still Broken?
nope. works for me

So I have my OTP thanks to the easy to follow v2 guide :). I wanted to know 2 things. 1) Could someone possibly compile it for me . I'm on OS X so don't really want to mess with it lol.https://mega.nz/#!5w0R3DTZ
2) TO use Rreinand Mod for o3ds what exactly would I have to copy? I want to basically have emunand boot with sysnand boot if a trigger is held etc. Thanks for the help .

mega asks for a decryption key for that link. otherwise i would be uploading a build for ya.
for aureinand, you need the rei-whatever folder renamed to rei in the root of your sd, and the firmware.bin and firmware90.bin in the rei folder. and arm9loaderhax.bin in the root of the sd. plus a few flag files. see the aureinand thread for details i guess
 
Last edited by tvall,

peteruk

Well-Known Member
Member
Joined
Jun 26, 2015
Messages
3,003
Trophies
2
XP
7,329
Country
United Kingdom
Perhaps this would be the correct place for me to ask, i have heard the term 'arm9 hook' mentioned in a couple of places (Aurora's thread, #cakey)

I tried my friend Google but it was unable to help

Anyone able to explain what it is and what it does ?

Thanks
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Perhaps this would be the correct place for me to ask, i have heard the term 'arm9 hook' mentioned in a couple of places (Aurora's thread, #cakey)

I tried my friend Google but it was unable to help

Anyone able to explain what it is and what it does ?

Thanks

To put it simply, it would let us ask the ARM9 to do things that we usually wouldn't be allowed to do from userland. In other words, if you had these hooks in place, you could run something like Decrypt9 without having to use 9.x FIRM. That's just one example, though.

Correct me if I'm wrong, @Mrrraou, but that's how I understand it.
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Perhaps this would be the correct place for me to ask, i have heard the term 'arm9 hook' mentioned in a couple of places (Aurora's thread, #cakey)

I tried my friend Google but it was unable to help

Anyone able to explain what it is and what it does ?

Thanks
Basically, it let's you call arm9 stuff from where you want it to be called... basically you could put hooks in arm9 and then you can run arm9 payloads from higher FIRM versions
 

Vappy

Well-Known Member
Member
Joined
May 23, 2012
Messages
1,508
Trophies
2
XP
2,613
Country
the dhs branch of Cakes has had it for awhile apparently :)
dhs would benefit from being updated though, it's not even able to be compiled with newer ctrulibs, and will probably need a bit of work to support the current cakes format to support newer firms. Hopefully now that both cakes devs have arm9loaderhax installed, there'll be a bit of movement with it.
 
Last edited by Vappy,

Frelia

Active Member
Newcomer
Joined
Aug 18, 2015
Messages
30
Trophies
0
Age
30
XP
101
Country
Malaysia
Followed Plailect's OTP guide for N3DS-J, successful downgrade and OTP dump.
Arm9loaderhax took a couple tries but worked after I removed arm9loaderhax.bin, let the 3DS boot and shut off on its own, then reinserted the file.
Booting into 10.5J emu from 9.1J sys smoothly with the advertised 100% bootrate.

One question though: Is 10.5 sys faster than 10.5 emu? Might try that later.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
One question though: Is 10.5 sys faster than 10.5 emu? Might try that later.

I don't have sysNAND on 10.5 (9.2 sysNAND, 10.5 emuNAND here), but on my particular N3DS, emuNAND is maybe a quarter of a second slower in booting than sysNAND, if that. Roughly 8 seconds for both from power off to home menu visible. Your results may vary if you have a slow SD card though.
 

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,374
Country
France
has somebody with a new 3ds tested my bootloader?
On my n3DS it seems to have problems to use files, is there somebody else with this problem?
Yes, I tried it, but it was with the bootloaderloader. :P

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

To put it simply, it would let us ask the ARM9 to do things that we usually wouldn't be allowed to do from userland. In other words, if you had these hooks in place, you could run something like Decrypt9 without having to use 9.x FIRM. That's just one example, though.

Correct me if I'm wrong, @Mrrraou, but that's how I understand it.
Yup, you're right.
 

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
has somebody with a new 3ds tested my bootloader?
On my n3DS it seems to have problems to use files, is there somebody else with this problem?

Hi RednaxelaNnamtra,

I'm trying to change the file path for boot_config.ini. I did a search string for it in your code, but found nothing. Bootctr defines it in source/main.c:

For example, I modified this when I used Bootctr:

/source/main.c
Code:
-#define INI_FILE "/boot_config.ini"
+#define INI_FILE "/3ds/boot_config.ini"

Where is the file path for boot_config.ini defined in your fork?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    HiradeGirl @ HiradeGirl: Have a nice day. Life. Week. Month. year.