Homebrew ARM9Loader -- Technical Details and Discussion

  • Thread starter Thread starter Selver
  • Start date Start date
  • Views Views 578,552
  • Replies Replies 4,025
  • Likes Likes 42
Ok guys, I got an a9lh compliant environment in windows and can compile it. I tested it, it's working (at least for my 2ds in aureinand). It's awesome.

If someone needs an a9lh compilation just send to me the otp.bin and I can get your a9lh build for you.

EDIT: I got it running with 10.4 firm for emunand and the optional 9.0 firm to get arm9 on my sysnand. I could get D9 running in sysnand that way. If I want to get out of a9lh, I just have to recover sysnand, yes?
 
Last edited by Urbanshadow,
  • Like
Reactions: Mrrraou
Ok guys, I got an a9lh compliant environment in windows and can compile it. I tested it, it's working (at least for my 2ds in aureinand). It's awesome.

If someone needs an a9lh compilation just send to me the otp.bin and I can get your a9lh build for you.

EDIT: I got it running with 10.4 firm for emunand and the optional 9.0 firm to get arm9 on my sysnand. I could get D9 running in sysnand that way. If I want to get out of a9lh, I just have to recover sysnand, yes?
How'd you get it to compile? I have python 2.7 and pycrypto installed, yet it gets stuck here:
make[1]: Entering directory `/c/Users/ruiza/Desktop/arm9loaderhax-master/payload_stage1'
linking payload_stage1.elf
built ... payload_stage1.bin
make[1]: Leaving directory `/c/Users/ruiza/Desktop/arm9loaderhax-master/payload_stage1'
8+1 records in
8+1 records out
4168 bytes (4.2 kB) copied, 0.002 seconds, 2.1 MB/s
FIRM0 done!
FIRM1 done!
make: python: Command not found
make: *** [sector] Error 127
 
How'd you get it to compile? I have python 2.7 and pycrypto installed, yet it gets stuck here:
make[1]: Entering directory `/c/Users/ruiza/Desktop/arm9loaderhax-master/payload_stage1'
linking payload_stage1.elf
built ... payload_stage1.bin
make[1]: Leaving directory `/c/Users/ruiza/Desktop/arm9loaderhax-master/payload_stage1'
8+1 records in
8+1 records out
4168 bytes (4.2 kB) copied, 0.002 seconds, 2.1 MB/s
FIRM0 done!
FIRM1 done!
make: python: Command not found
make: *** [sector] Error 127

I checked "add python to PATH environment variable" optional step during python2.7 installation.
Also, I have python 3.5.1 installed, so I had to rename python command in the makefile to py to make sure it builds with 2.7.
I needed a vcpython27.msi file from microsoft to have pycrypto fully working (dafuq).
 
Not enough space in NAND and in the payload to do this, and most CFW devs wouldn't want this behavior, I guess.

Fat16 partition have a lot of space, i think it's possible to add an option to arm9loaderhax for launch the arm9loaderhax.bin from tfat16 partition if the file is not in the SD
 
How'd you get it to compile? I have python 2.7 and pycrypto installed, yet it gets stuck here:
make[1]: Entering directory `/c/Users/ruiza/Desktop/arm9loaderhax-master/payload_stage1'
linking payload_stage1.elf
built ... payload_stage1.bin
make[1]: Leaving directory `/c/Users/ruiza/Desktop/arm9loaderhax-master/payload_stage1'
8+1 records in
8+1 records out
4168 bytes (4.2 kB) copied, 0.002 seconds, 2.1 MB/s
FIRM0 done!
FIRM1 done!
make: python: Command not found
make: *** [sector] Error 127

Add C:\Python27\ to your PATH (Win+R, "control system", advanced sys settings, environment variables, then edit PATH. If Win10, Press add, and type in ^. if Win7, type ";C:\Python27\" in the big long line)

Then, once OK is pressed, close all CMD windows and try again.

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

I needed a vcpython27.msi file from microsoft to have pycrypto fully working (dafuq).
You should've downloaded the MSI of PyCrypto.
 
  • Like
Reactions: Supster131
Fat16 partition have a lot of space, i think it's possible to add an option to arm9loaderhax for launch the arm9loaderhax.bin from tfat16 partition if the file is not in the SD
FAT16 partition (CTRNAND) is encrypted. It would heavily slow down things, and still wouldn't be a great default behavior, I guess...
 
Last edited by Mrrraou,
Add C:\Python27\ to your PATH (Win+R, "control system", advanced sys settings, environment variables, then edit PATH. If Win10, Press add, and type in ^. if Win7, type ";C:\Python27\" in the big long line)

Then, once OK is pressed, close all CMD windows and try again.

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


You should've downloaded the MSI of PyCrypto.
Thanks, it worked!
 
Just send me your OTP and I can do it.
Edit: Actually maybe don't. I need to make sure my builds... work.
I trust you! I'll send you my otp. Please handle it Good ^^! And use n3ds native_firms plz. You'll have a pn very soon!
Edit:look at your inbox!
 
Last edited by einhuman197,

Site & Scene News

Popular threads in this forum