Tutorial  Updated

How to compile and install arm9loaderhax

This guide is probably obsolete, use this instead. Just drag your otp.bin to your browser window and it will compile it for you, I'm leaving the original guide below for those who likes to DIY.

Original post:

Hopefully this guide should silence the whiners:P

Before we begin I have to say this is my very first guide that I made from my experience and information from other Temp members, and English isn't my primary language so I might make mistakes. If you find any just tell me and I'll try my best to correct them. (The screenshot in the spoiler was taken in OS X with wineskin because I'm lazy, this guide is for Windows only)

So you just dumped your OTP and wondering how do you compile A9LH for your 3DS? Here's a guide to instruct you how to compile and install the payload on your device. This guide assumes you know the basics of 3DS homebrew and Windows command prompt,and just stay away from this if you don't - menuhax is good enough for most people IMO. (I am serious)

DISCLAIMER: Any modifications to your 3DS are done at your own risk. I am not responsible for any bricks that may occur during this process (use your common sense and read the guide carefully)

0. Requirements:
1. Preparation
  1. If you have an existing install of Python 3.x/32-bit 2.7.x, remove it first
  2. Install Python 2.7 x86-64, make sure you install "add python.exe to patch" sub feature during installation (it's not set by default)
    python_windows_installation_customize_python.jpg
  3. Install PyCrypto
  4. Install devkitPro 1.6.0, you will be be presented with tons of packages but the only ones we're interested are under devkitARM, simply uncheck everything else.
    tutorial copy.png
  5. Install Make, you should download the file with md5:8ae51379d1f3eef8360df4e674f17d6d
2. Compile A9LH
  1. Extract the A9LH source to any directory
  2. Copy your OTP.bin to the data_input folder and overwrite the one that's included with the zip file
  3. Open a CMD window (Shift+right click on the explorer window or cd into it manually)at the root directory of the source files, type "make" (without quotes) and enter.
  4. Wait for a minute or so, a data_output folder will appear and there should be no errors
  5. Copy the arm9loaderhax.3dsx file from the newly created folder to /3ds/ on your SD card (the installer is built specifically for the 3DS you dumped its OTP from, if you want to install A9LH on more than one 3DS you will to recompile the payload with their respective OTP.bin files)
3.1 Installing A9LH
  1. Ensure you have a dump of your SysNAND before you continue
  2. Enter hblauncher using an entry point of your choice
  3. Run arm9loaderhax.3dsx (see below if you're stuck on "exploiting arm9")
  4. The payload will be installed to your NAND and your 3DS will then be rebooted to black screens afterwards. Don't panic, turn off your 3DS
3.2 "exploiting arm9" workaround (required for n3DS, not sure about o3DS)
  1. Download and copy the miniPasta 3dsx to your SD card
  2. Run miniPasta, the screen will turn black for a few seconds and you will be kicked back to home menu afterwards
  3. Re-enter hblauncher and try running the A9LH installer again
4. Testing the payload + conclusion
There's a test binary (forgot who made it) that will power off your 3DS upon pressing any buttons except ZL, ZR or home. Simply copy it to the root of your SD card, wait for a couple seconds and press a button. If your 3DS powers off, then A9LH is successfully installed and woking correctly (congrats:grog:). If your 3DS powers off the moment you turn it on, check if the file is named "arm9loaderhax.bin" and placed in the root directory, if it power led stay on and won't respond to button pressed then your 3DS is probably bricked :(
If you want a cold boot (permanent) CFW (the reason to get A9LH in the first place), check out @Aurora Wright's ReiNand fork. She already documented it very well so I'm not going through it in this thread

FAQ
Q: I'm getting "python: command not found"
A: Make sure you select "add python.exe to path" during installation, alternatively you can set the PATH variable manually by entering this in cmd (Thanks @Kever)
Code:
set PATH=C:\Python27;%PATH%
Q: How to uninstall A9LH?[/SIZE][/SIZE]
A: Restore a sysNAND backup made before running arm9loaderhax.3dsx
 
Last edited by lefthandsword,

Stack3r

Shizuo Heiwajima
Member
Joined
Jan 24, 2014
Messages
980
Trophies
0
Age
31
Location
Ikebukuro
XP
1,472
So im on my euro n3ds and i run my compiled .3dsx, it starts off at exploiting arm9 and then the screen flashes and then it says install NAND backup with some random codes at the bottom, ive tried to run it atleast 3 times
 

ootnes2

Well-Known Member
Member
Joined
Oct 26, 2015
Messages
220
Trophies
0
Age
39
XP
1,121
Country
United States
So im on my euro n3ds and i run my compiled .3dsx, it starts off at exploiting arm9 and then the screen flashes and then it says install NAND backup with some random codes at the bottom, ive tried to run it atleast 3 times

Do you have a nand.bin file in the root of your sd card? If so it will first restore that to your nand and then install arm9loaderhax
 

N64

Well-Known Member
Member
Joined
Apr 16, 2014
Messages
425
Trophies
0
XP
267
Country
United States
Do you have a nand.bin file in the root of your sd card? If so it will first restore that to your nand and then install arm9loaderhax

is it okay to interrupt it? i got this too on an american n3ds

edit: I'm just gonna let it run, if it fails to install i'll remove nand.bin
edit 2: installed fine. i hope OP updates first post to mention the nand stuff.
 
Last edited by N64,

ootnes2

Well-Known Member
Member
Joined
Oct 26, 2015
Messages
220
Trophies
0
Age
39
XP
1,121
Country
United States
is it okay to interrupt it? i got this too on an american n3ds

edit: I'm just gonna let it run, if it fails to install i'll remove nand.bin
edit 2: installed fine. i hope OP updates first post to mention the nand stuff.

It would be nice if people mentioned it. You'd think that the default wouldn't be do a restore without the user doing something first
 
  • Like
Reactions: N64

TheReturningVoid

0xAAAAAAAA
Member
Joined
Oct 2, 2014
Messages
332
Trophies
0
Location
/dev/urandom
XP
254
Country
I feel like I missed something big. Can someone summon the pros and cons for arm9loaderhax vs emuNand?
arm9loaderhax and emuNAND are two different things. EmuNAND is a copy of the 3ds operating system on your SD Card, and arm9loaderhax is an almost coldboot entrypoint with arm9 access.
Can we use arm9loaderhax for emunand coldboot or whatelse? Thanks.
Yes, however the only CFW I know of that works at the moment is AuReiNand.
 
Last edited by TheReturningVoid,

ootnes2

Well-Known Member
Member
Joined
Oct 26, 2015
Messages
220
Trophies
0
Age
39
XP
1,121
Country
United States
I feel like I missed something big. Can someone summon the pros and cons for arm9loaderhax vs emuNand?

(I'm assuming you mean pros and cons of arm9loaderhax vs emuNand and menuhax using other hacks)

Pros
Faster emunand boot (10 sec vs 25 sec for n3ds)
100% cold boot rate
Ability to have a CFW sysnand
Ability to prevent future bricks (for example, using function in AuReiNand that blocks writes to Firm1/Firm2 where arm9loaderhax lives, ability to boot directly to decrypt9)

Cons
Could brick your 3ds during install (likely biggest con)
Need sd card in 3ds to even boot sysnand (likely second biggest con)
Takes a couple hours to install
 
Last edited by ootnes2,

WiiUBricker

News Police
Banned
Joined
Sep 19, 2009
Messages
7,827
Trophies
0
Location
Espresso
XP
7,520
Country
Argentina
(I'm assuming you mean pros and cons of arm9loaderhax vs emuNand and menuhax using other hacks)

Pros
Faster emunand boot (10 sec vs 25 sec for n3ds)
100% cold boot rate
Ability to have a CFW sysnand
Ability to prevent future bricks (for example, using function in AuReiNand that blocks writes to Firm1/Firm2 where arm9loaderhax lives, ability to boot directly to decrypt9)

Cons
Could brick your 3ds during install (likely biggest con)
Need sd card in 3ds to even boot sysnand (likely second biggest con)
Takes a couple hours to install
Assuming I have installed arm9loaderhax. Can it be patched with a new system update? On emuNand this won't be a problem but since arm9loaderhax is running on sysNand..
 

Just Passing By

Well-Known Member
Member
Joined
Jan 3, 2016
Messages
1,563
Trophies
0
XP
663
Country
United States
Assuming I have installed arm9loaderhax. Can it be patched with a new system update? On emuNand this won't be a problem but since arm9loaderhax is running on sysNand..
If you're using AuReiNand then no it's unpatchable. Basically everything about AuReiNand is unpatchable afaik.
 

ootnes2

Well-Known Member
Member
Joined
Oct 26, 2015
Messages
220
Trophies
0
Age
39
XP
1,121
Country
United States
Assuming I have installed arm9loaderhax. Can it be patched with a new system update? On emuNand this won't be a problem but since arm9loaderhax is running on sysNand..

Arm9loaderhax itself will likely not need to be updated if a new system version is released (but it can be updated if need be), but it also isn't usually the case that the hax that you use is updated. If you mean, can SysNand and EmuNand be updated if you use Arm9loaderhax:

* Updating Emunand from the settings app shouldn't be a problem (unless Nintendo comes out with some new security system, but even then it likely won't be)

* Updating Sysnand from the settings app also shouldn't be a problem (BUT SEE NEXT SENTENCE) on the latest AuReiNAND since that has a function that blocks the 3ds from writing to the part of the NAND where arm9loaderhax is stored. That said, its something you do at your own risk. There are other safer complicated ways of achieving the same result (namely making an up to date emunand, dumping parts of it and restoring those parts to sysnand).
 
Last edited by ootnes2,
  • Like
Reactions: WiiUBricker

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    I used to drink alcohol fairly often. Never to the point of it being a problem, but like 2-3 beers with dinner each night, or a few cocktails or glasses of Scotch or something. Started smoking/vaping weed a lot a few years back which killed 90% of my interest in booze. Now I stopped smoking/vaping weed as much and just deal with life the boring way most of the time
    +1
  • Xdqwerty @ Xdqwerty:
    I only drank alcohol once and it was by accident
  • Xdqwerty @ Xdqwerty:
    I didnt know it was beer, it was on a juice bottle
  • SylverReZ @ SylverReZ:
    Yeah, I'm addicted to smoking, sadly. It's very addictive but I wish I didn't start.
  • K3Nv2 @ K3Nv2:
    May just order a 5700g for a nas/emulation set up tbh
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast you were asleep on 4/20
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, you played that Mario flash game called Mario 63?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, No, but I've seen it on Vinesauce's stream.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that game is one of the reasons i met newgrounds bc the full versión of it is in that site
  • Xdqwerty @ Xdqwerty:
    Also somebody is remaking it
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, the other game where I found newgrounds is new york shark
    +1
  • SylverReZ @ SylverReZ:
    Spoke to Tom Fulp the other day, if he can find his old Newgrounds site content like the mini Flash animations from the 2000's that played on the portal.
  • SylverReZ @ SylverReZ:
    So far no response, but he did say that he'll find them. Wayback Machine doesn't have em.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast the 1999 versión of pico's school is avaliable (the difference between it, the 2006 versión and the 2016 versión is that the speed of the game depends of the speed of your computer and that it had the og soundtrack)
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Another being Pico VS Bear, the original 1999 version before Jim Henson filed a DMCA takedown.
    +1
  • Xdqwerty @ Xdqwerty:
    The 2006 versión was made when the flash portal was made
  • SylverReZ @ SylverReZ:
    Many people thought it was lost, but was discovered that he hid it on the same page.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, although the "secrets" system where the game was has been removed. Also pico vs uberkids had a netplay versión that was shutdown, although the swf file has been found
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Nope. There are two download buttons on the same page, where you can download the original under a file called "bear.exe". "bear2.exe", however, is the updated game in a Flash projector. P.s. this was on the archived Pico page from 2000.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, That's been there for a long time, too. People who search for lost media don't look hard enough lmao.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, also the pico 2 demos used to be only for the newgrounds patrons but they are on internet archive too (https://archive.org/download/picos_school_2)
    +1
  • Xdqwerty @ Xdqwerty:
    Iirc the demos were removed from newgrounds in 2022
    Xdqwerty @ Xdqwerty: Iirc the demos were removed from newgrounds in 2022