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,

gabomedvet

Member
Newcomer
Joined
May 11, 2016
Messages
5
Trophies
0
Age
32
XP
78
Country
Cote d'Ivoire
hi guys, try to compile, but I get an error first could not find the "new3ds90.firm" file, but I found it and copy the "data_input" folder and now I get this error:

C:\Users\gabom\Downloads\arm9loaderhax-master>make
make[1]: Entering directory `/c/Users/gabom/Downloads/arm9loaderhax-master/payload_stage1'
linking payload_stage1.elf
built ... payload_stage1.bin
make[1]: Leaving directory `/c/Users/gabom/Downloads/arm9loaderhax-master/payload_stage1'
5+1 records in
5+1 records out
2584 bytes (2.6 kB) copied, 0 seconds, Infinity B/s
common/sector_generator.py: line 1: from: command not found
common/sector_generator.py: line 2: from: command not found
common/sector_generator.py: line 3: from: command not found
common/sector_generator.py: line 4: from: command not found
common/sector_generator.py: line 5: import: command not found
common/sector_generator.py: line 6: import: command not found
common/sector_generator.py: line 10: syntax error near unexpected token `('
common/sector_generator.py: line 10: ` (val << r_bits%max_bits) & (2**max_bits-1) | \'
make: *** [sector] Error 2

if someone could help me would be very grateful
 

pepehugo14

New Member
Newbie
Joined
Jun 5, 2016
Messages
4
Trophies
0
Age
30
XP
51
Country
Hi! i know this thread is actually dead.I need to compile my otp file and there is no way i can do it by myself, i tried many things, following all steps one by one, the cloud sistem is off, the arm9loaderhax source link is off, i got the files of arm9loaderhax and data imput, after several errors trying to compile, the last error i'm not able to deal with is one which says: "[common/pack_tool] Error 2". i'm stuck here. Can someone please compile it for me? i spent 2 days triying stuff and i'm done.
I wanted to PM some users but i dont find the option to send PM can someone help me with that?
And pls i beg u to dont send me to "SafeA9LHInstaller" cause i had another trouble there, just need to compile my otp.
Thanks.
 

N64

Well-Known Member
Member
Joined
Apr 16, 2014
Messages
425
Trophies
0
XP
267
Country
United States
Hi! i know this thread is actually dead.I need to compile my otp file and there is no way i can do it by myself, i tried many things, following all steps one by one, the cloud sistem is off, the arm9loaderhax source link is off, i got the files of arm9loaderhax and data imput, after several errors trying to compile, the last error i'm not able to deal with is one which says: "[common/pack_tool] Error 2". i'm stuck here. Can someone please compile it for me? i spent 2 days triying stuff and i'm done.
I wanted to PM some users but i dont find the option to send PM can someone help me with that?
And pls i beg u to dont send me to "SafeA9LHInstaller" cause i had another trouble there, just need to compile my otp.
Thanks.

https://felipejfc.com/a9lh
 
  • Like
Reactions: pepehugo14

FakuMotaFaka

Well-Known Member
Member
Joined
Mar 5, 2016
Messages
120
Trophies
0
Age
35
XP
89
Country
Canada
Yo hold up because I made a tutorial thread with some copy and pasting, people come in and bash it. Damn it I'll make a better one suppose instead of being lazy. Hope this time s*** will be different
 

FakuMotaFaka

Well-Known Member
Member
Joined
Mar 5, 2016
Messages
120
Trophies
0
Age
35
XP
89
Country
Canada
Why? There is no need.
Can I call you Dick? As in detective. Lol
You know you are right. Let people deal with getting a9lh. Instead of me helping people out with compiling the files needed to get a9lh, I'll just let them do it themselves. I can downgrade and install a9lh within 30min. That's how fast it is now.
 

TheDuckMan64

Chicken nugget.
Member
Joined
Oct 9, 2015
Messages
355
Trophies
0
XP
200
Country
Can I call you Dick? As in detective. Lol
You know you are right. Let people deal with getting a9lh. Instead of me helping people out with compiling the files needed to get a9lh, I'll just let them do it themselves. I can downgrade and install a9lh within 30min. That's how fast it is now.
So your literally making a thread saying do this? Why do we need yet another a9lh installation thread?
 

FakuMotaFaka

Well-Known Member
Member
Joined
Mar 5, 2016
Messages
120
Trophies
0
Age
35
XP
89
Country
Canada
So your literally making a thread saying do this? Why do we need yet another a9lh installation thread?
As I said you are right. People don't want it, they feel more comfort with the original source. Saw this thread and another one and thought it would be an idea I'll make one with pre compiled files. Doesn't fking matter.
 

ChaosKids

New Member
Newbie
Joined
Nov 19, 2016
Messages
4
Trophies
0
Age
41
XP
52
Country
Canada
you fetch your dependencies and install your kernel.
patches and kernel. then make install.note binutils upgrade is mandatory for arm eabi toolchain in devkitpro starting from low base

we have the proper gcc for devkit-arm-eabi as well.
 
Last edited by ChaosKids,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Bunjolio @ Bunjolio:
    also scary
  • SylverReZ @ SylverReZ:
    @Bunjolio, Chasers and homophobia.
  • SylverReZ @ SylverReZ:
    They're very common on social media.
  • Bunjolio @ Bunjolio:
    ik about the phobias Im used to it but what's a chaser
  • SylverReZ @ SylverReZ:
    Whoever you disclose your gender identity to, keep it private between your friends.
  • Bunjolio @ Bunjolio:
    irl or online
  • SylverReZ @ SylverReZ:
    @Bunjolio, Always is online.
  • SylverReZ @ SylverReZ:
    Pretty much.
  • Bunjolio @ Bunjolio:
    eh I don't keep it private, not much happens except idiots on TikTok making a fool of themselves
  • Bunjolio @ Bunjolio:
    im still curious as to what a chaser is tho
  • SylverReZ @ SylverReZ:
    @Bunjolio, A chaser is someone who uses (mostly trans) individuals to their advantage, stuff that they are uncomfortable about.
  • Bunjolio @ Bunjolio:
    thats weird
  • Bunjolio @ Bunjolio:
    blahaj will keep me safe
  • Bunjolio @ Bunjolio:
    damn I forget my school blocks every video
  • SylverReZ @ SylverReZ:
    Right, yeah.
  • Bunjolio @ Bunjolio:
    dune 2 popcorn bucket
  • SylverReZ @ SylverReZ:
    Many schools use some form of firewall or protection, to prevent certain types of content from being viewable.
  • SylverReZ @ SylverReZ:
    @Bunjolio, And that haha
  • Bunjolio @ Bunjolio:
    our school blocks stuff but allows some stuff, its annoying, they legit can see our screens if they want
  • AncientBoi @ AncientBoi:
    Nah. That popcorns got sand in it :(
  • SylverReZ @ SylverReZ:
    There was a time where we were able to bypass the school's network using a VPN that wasn't blocked on the radar. Can't exactly remember the name, but I was able to watch YouTube.
  • Bunjolio @ Bunjolio:
    I used to go on proxy sites but I'm too lazy and it isn't worth it
    +1
    Bunjolio @ Bunjolio: I used to go on proxy sites but I'm too lazy and it isn't worth it +1