Why A9LH + CFW is better than MenuHax + CFW setup.

Hello everyone, this is just a little blog post for all who ask: “Why should I use ARM9LoaderHax instead of MenuHax or <insert other exploit here>?" For anyone else, this may seem like I'm just retreading the same water here so bear that in mind. If you know something I don't and would like me to change my post accordingly, please mention that in a comment or contact me elsewhere about it. (:

So, with that said, let's get into MenuHax.

To explain why this is the case properly, I must try to explain what you are going through each time you boot your 3DS with MenuHax into a Custom Firmware or Gateway, or whatever else.

When you power on your 3DS, it starts all the hardware up, and kicks you into the official SysNAND home menu. When the home menu loads, the code for MenuHax runs, and if it’s in the correct state according to your config, it’ll open whatever you tell it to. If that happens to be a custom firmware, then it’ll have to get access to Kernal9 using some sort of Exploit, for most people, that means Brahma. After, it will patch some stuff on the fly, and then boot the home menu again, but with NAND redirected to your EmuNAND. In most cases this is how it works, this is even the case for the Gateway Flashcart in fact, just with some additional menus, patches and DRM. One big problem with this is; because it requires getting into the Home Menu to boot, playing GBA and DSiware games requires you install them to your SysNAND and patch your SysNAND's TWL and AGB firmwares, as we have no head into the system when it reboots for those firmware modes.

The problem is, exploits, especially ones that use ROP to work, require a relatively consistent memory environment to work consistently, and that is something the 3DS lacks. The 3DS doesn’t clear its RAM when you power it off, so anytime it must reboot, any junk from the last power down remains in memory. Now, for stable access to the system, this isn’t a problem- but for exploits like MenuHax, and those Kernal9 exploits which often abuse a flaw that requires precise timing to execute, this is relatively bad.

It can cause boot failure and in addition, it’s also not very fast or efficient due to all the steps it has to go through to even start up to begin with.

Enter Arm9LoaderHax.

Arm9LoaderHax works by corrupting a specific section of the Firm0/1 that when it’s decrypted, it turns into specific garbage that the 3DS then executes, and that, in the case of the public implementations at least, means *usually initiating the screen and then booting a specially made payload from the SD card, with all this happening before the 3DS even initiates the Arm11 part of the system, essentially, a split second after you press the power button, you have full access to to Kernal9, with no need to rely on any exploits at all.

This means we don’t ever boot into Official SysNAND Home Menu at all anymore. Instead, we install a payload on the SD card for whatever Custom Firmware we want and let that boot up instead, and since you already have both the ability to run unsigned code and access to the Kernal9, there’s no need for anything like Brahma and MenuHax anymore.

Luma3DS CFW is often used with this, because it allows you to chain load other Arm9 Payloads by holding specific buttons on startup- and it has a ton of good CFW features that are always working from the get-go without the need for much configuration, one of them being that it protects the Firm0 and Firm1 partitions of the SysNAND from Nintendo’s Updater, thereby protecting your Arm9LoaderHax installation, and making this hack completely self-sustaining, and in addition, making the need for EmuNAND essentially vanish, as Nintendo’s Updates are no longer any threat to you.

And in the event someone DOES brick their SysNAND in some way; Because we have access to Arm9 at boot, if someone say- broke their home menu in some way, they could have Luma3DS run Decrypt9 at boot and restore a SysNAND backup from before they broke something, which means fairly good brick protection. (Keep in mind, there’s nothing stopping you from using an EmuNAND if you wanted to, it’s just no longer needed.)

Because we no longer need EmuNAND and we get access to the system each and every time it boots without the need to get into the Home Menu first, we can patch those pesky GBA and DSiware mode firmwares on the fly and no longer need to double install games or patch firmware manually. Fixing one of the unfixable problems with the aforementioned MenuHax + CFW setup.

So, let’s review.

MenuHax + CFW:
  • Requires booting into the official SysNAND Home Menu causing issues with DS and GBA mode reboots
  • Requires the use of an additional exploit to gain access to Kernal9, which is needed for CFW.
  • Requires an EmuNAND for proper brick protection (bringing additional issues to getting into DSiware and GBA games)
  • Is potentially unstable do to inconsistencies in the contents of ram at boot time
  • Because of the above 4 things I said, it takes significantly longer to go from powering on the 3DS to your desired Home Menu.

Arm9LoaderHax + CFW
  • Has instant Unsigned Code Execution at boot up
  • Has instant Kernal9 access at boot up
  • Runs before any Arm11 Code does and is typically used with CFW that protects the part of storage A9LH is installed to, making breaking it incredibly incredibly difficult
  • Negates the Need for EmuNAND and getting into the SysNAND Home Menu to work, ridding ourselves of issues related to DS, DSiware and GBA games.
  • Because of the above 4 things, it takes about a second or two to go from powering on the 3DS to your desired Home Menu, almost identical to a stock system to the untrained eye.

In closing, Arm9LoaderHax is an objectively better entry point for anyone. Even people that just want to play their games, it’s consistent for everyone and only requires a bit more overhead to set up, but the payoff is a stable, close to stock, seamless experience with your hacked 3DS, that not even Nintendo has any power to put a stop to.

Thanks for reading and I hope you learned something.

Try to keep any comments civil please. Feel free to correct me if I've misunderstood something and if you're actually more knowledgeable than me, I'll fix it, but I think I have a pretty good grasp on this stuff.
  • Like
Reactions: 9 people

Comments

Menuhax is nice because its pretty simple once you wrap your head around the concept - however once you realize how unreliable the boot rate actually is (for example, if you have a two year old and he constantly turns it off, then back on and you see it frozen on the splash screen a billion times), you will realize the benefit of A9LH.

I just did 4 systems between last night and today - the longest part is backing it all up, which isn't all that bad anyway. I made 9.2 sysnand backups 2x, emunand back up and full SD card image back up - took like 3 hours roughly.

i just want to use my gateway with it :( i know its coming but i don't want to wait :cry::cry::cry::cry:
 
  • Like
Reactions: 1 person
@VashTS It's my personal opinion you invest your money in a larger sized SD/microSD and just use Luma3DS instead. Gateway's A9LH implementation is a complete trainwreck in the beta is anything to go by. (It may be possible they just backpedal and release a bin for use with the current open source setup but I don't trust that'll happen, to be frank)

If you ask me, you should Just keep the Gateway card as a relic of a passed time, when it was the only way.

If you need to transfer saves from your Gateway to the installed CIAs, you can do that by booting a 9.2 EmuNAND with Luma3DS via A9LH, then you use GatewayCIA to boot into Gateway, then setting the game you want with the rom menu, and dumping them "from cart" with SaveDataFiler or JK Save Manager. From there you can just import the save files into your installed games on your Luma3DS SysNAND and you can put that Gateway out of commission.

Of course, that's just my opinion, do with that as you'd like, but it's my recommended setup.
 
  • Like
Reactions: 2 people
All 4 of my personal units are now a9lh installed :D Aside from taking FOREVER, I had no issues with my n3DS (my main unit). Only have my roommate's to do, now..and she's just on an o3DS XL. :D
 
  • Like
Reactions: 1 person
I think this is the most levelheaded argument for A9LH I've seen. Kudos! Far better than the masterrace bullshit.

I still believe the benefits are not worth the trouble for anybody who already has menuhax/emunand set up, but that's my own opinion.
 
  • Like
Reactions: 1 person
Heh, you also don't have to worry about Margen67 anymore XD Now that I've had a few days to play with this, I can say that the boot speed is marginally faster (still takes longer than plain old SysNand used to), but the Boot success rate is, so far, 100%. I've got NTR CFW working flawlessly on FW 11. Once you enter a game with NTR, you have to reboot your system or it just hangs on the Nintendo3DS loading screen if you try to load another program, so I reboot a lot :P Having a 100% boot rate has drastically reduced time wasted after NTR crashes a game or I just want to play something besides FE:A :P
 
Admittedly, I only ever got Homebrew so I could get infinite items on Pokemon Shuffle, and migrate my living dex from a PC emulator to a cartridge someday. But, when Nintendo kept patching entrypoints, I decided to ask Reddit for advice; they suggested a9lh and Luma. So, I crossed my fingers and installed them. Nothing broke, I didn't brick, and now I got Homebrew for life, and Nintendo can't take it away from me this time. I gotta say, I'm pretty happy. And apparently, a9lh is the way to go these days? I feel like celebrating, but then Mom will yell at me for being too loud.
 
  • Like
Reactions: 3 people
@3DSPoet Glad everything worked out for ya in the end. (:

@luigismentor Yep, good choice, not only do you get homebrew, you get homebrew you install right to the home menu itself, no need for any kind of launcher (unless you just like em) you get Region Free Home Menu, and can even use your 3DS to turn your physical copies into Digital copies which you can bring on the go without swapping 3DS carts all the time.

@Cammygirl192 @Peacefire Well hey, glad you at least learned something to take away from my post, that was the idea, to actually inform people, rather than acting like there's some sort of superficial, ridiculous, unbased superiority going around in the community. Mostly it's just people joking around, I find. A few people do take it to far, like Margen did, but usually it's all done in jest. Taking a joke too seriously never ends well. shrugs

Seem to me people tend to get wrapped up in semantics far too much, but most of the people parading Arm9LoaderHax around like it's the leader of a cult at least have some ground to stand on at the root of things, despite how silly it is to act like you're better than someone else over something as trivial as a 3DS hacking entrypoint. ¯\_(ツ)_/¯

In the end we all have the same goal and we're all finding our own ways to obtain that goal, and as long as you meet it for you personally, everything else is trivial. :gba:
 
  • Like
Reactions: 1 person
@CheatFreak47 yeah (well I wasn't interested in the article, although I can tell it's well written and composed, I don't understand it because I'm not owning a 3DS), I'm more interested in why these silly arguments outbreak.

That margit67 took it quite far though and I just jumped on the bandwagon as I do...
 

Blog entry information

Author
CheatFreak47
Views
288
Comments
62
Last update

More entries in Personal Blogs

More entries from CheatFreak47

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...