Don't want to be THAT guy, but can someone help me compile arm9loaderhax?

Discussion in '3DS - Flashcards & Custom Firmwares' started by tiduscrying, Feb 21, 2016.

  1. tiduscrying
    OP

    tiduscrying that butt...

    Member
    462
    425
    Jun 12, 2012
    United States
    HELL
    Hey everyone. I've successfully obtained my OTP.bin file from my N3DSXL. I restored both the sysNAND and emuNAND and everything is working okay there. But I am at a loss at how I am supposed to be compiling arm9loaderhax. I want to compile it to use it with AuReiNand, and I downloaded capito27's git for arm9loaderhax, but I am at a loss at what to do next. I've been trying to "get a build environment" on windows, but I don't quite understand what I am doing here. I have Archlinux installed on my laptop and Windows 10 on my main desktop. Both of which have devkitpro installed (in arch, I built the latest version from the AUR). And both machines have python 2.7 (with pycrypto) installed as well. I am familiar with compiling things, but this I honestly am just stuck with.

    I will attach my OTP.bin if that is allowed for someone to possible build with, but I really do want to do this myself.
     

    Attached Files:

    • OTP.zip
      File size:
      404 bytes
      Views:
      38


  2. Svaethier

    Svaethier GBAtemp Maniac

    Member
    1,291
    203
    Dec 2, 2013
    United States
    Sault Ste. Marie, Michigan
    don't think posted your OTP bin would be allowed here :/
     
  3. nero99

    nero99 GBAtemp Advanced Maniac

    Member
    1,861
    839
    Sep 18, 2014
    United States
    Do you have "make" for Windows installed? Mane be a stupid question, but that was my problem when I tried to compile some stuff a few weeks ago
     
  4. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,494
    3,879
    Jun 9, 2007
    It's not copyrighted (it's just a sequence of encrypted bytes/numbers that are unique to every 3DS), so it should be fine.
     
  5. Svaethier

    Svaethier GBAtemp Maniac

    Member
    1,291
    203
    Dec 2, 2013
    United States
    Sault Ste. Marie, Michigan
    ok wasn't sure if it was allowed.
     
  6. stl25

    stl25 GBAtemp Advanced Fan

    Member
    963
    535
    Feb 3, 2008
    United States
    Here, there and everywhere
    @tiduscrying I can compile it for you if you still need it.


    How many times did you dump it? I usually dump it 2-3 times to verify hashes match.
     
    Last edited by stl25, Feb 21, 2016
  7. tiduscrying
    OP

    tiduscrying that butt...

    Member
    462
    425
    Jun 12, 2012
    United States
    HELL
    That would be super since I am at a total loss here. I dumped it only once, but now that my sysNAND and emuNAND are restored, I guess I can't really go back and dump it again, ah. Should have done it multiple times...
    I think I do? I dunno, I just installed it, but I probably have to set it to my PATH in the environment variables section... I have been doing that with python and everything too, but I feel like there is a max limit for the PATH stuff since every time I go in to make another edit or add another directory, it'll either delete one or just not add the one I wanted to. Weird...
     
  8. stl25

    stl25 GBAtemp Advanced Fan

    Member
    963
    535
    Feb 3, 2008
    United States
    Here, there and everywhere
    already compiled check your pm.

    Do you have a hardmod? I performed this on 2 N3DS and a O3DS with no hardmod but I know the brick risk and took the risk. I am confident it will work I just want you to be informed. Good Luck.
     
    Last edited by stl25, Feb 21, 2016
    tiduscrying likes this.
  9. tiduscrying
    OP

    tiduscrying that butt...

    Member
    462
    425
    Jun 12, 2012
    United States
    HELL
    No hardmod, no, but the amount of people who have been having a lot of success lately have given me a false sense of security, haha. I'll use the file you PM'd me and get back to you in a minute.
     
  10. stl25

    stl25 GBAtemp Advanced Fan

    Member
    963
    535
    Feb 3, 2008
    United States
    Here, there and everywhere
    Just run it through homebrew laucher and make sure you have either ReiNAND 3.2 or AuReiNand 3.5.3 setup on your microsd/SD for A9LH. I use AuReiNand in normal mode which boots directly to emuNAND if I do nothing and sysNAND 9.0 if I hold L. It's great.
     
  11. tiduscrying
    OP

    tiduscrying that butt...

    Member
    462
    425
    Jun 12, 2012
    United States
    HELL
    Hmm, I've got ReiNand 3.2 installed already so I should be good. I'll switch to AuReiNand once I've got this completely set up then, the additional features sound pretty damned nice. But before I boot the file from the homebrew launcher, should the OTP.bin be on the root of my memory card or anything? Like is there anything else I need before loading that .3dsx file?
     
  12. stl25

    stl25 GBAtemp Advanced Fan

    Member
    963
    535
    Feb 3, 2008
    United States
    Here, there and everywhere
    no just make a folder named arm9loaderhax and put the arm9loaderhax.3dsx in it. Then copy that folder to the 3ds directory on your microSD and run it through homebrew launcher. I am not sure how you boot homebrew launcher (menuhax, Cubic Ninja, OOTHAX, browserhax). The OTP is only needed to build the .3dsx file and not needed for flashing to sysNAND.
     
  13. tiduscrying
    OP

    tiduscrying that butt...

    Member
    462
    425
    Jun 12, 2012
    United States
    HELL
    Ookay, ah, I ran it and the 3DS powered off. And now, it won't power on. The power light comes on but comes off immediately.

    EDIT: With the SD card out, it isn't doing anything but a black screen I don't think, but the blue power light is steady.

    EDIT 2: OH MY GOD FALSE ALARM, IT IS WORKING, THANK YOU YOU GLORIOUS BASTARD. BOOTED INTO EMUNAND ONCE I MADE SURE THE PROPER FILES WERE ON THE SD CARD FROM THE AUREINAND THREAD. OH THANK GOD.
     
    Last edited by tiduscrying, Feb 21, 2016
  14. stl25

    stl25 GBAtemp Advanced Fan

    Member
    963
    535
    Feb 3, 2008
    United States
    Here, there and everywhere
    Are you sure you have ReiNAND or AuReiNAND setup properly on microSD? You need arm9loaderhax.bin on the root of microSD. Also make sure you get the FIRM files Aurora Wright provided in the ReiNAND mod thread. When you flashed did it complete flashing and reboot or did it hang on exploiting arm9?

    — Posts automatically merged - Please don't double post! —

    If the flash went fine you have no issue. I just did a test on my N3DS. I removed the card and it stays black screen with just power light on. With another microSD improperly setup it turned on and off immediately. Just make sure your arm9loaderhax cfw is setup properly and all will be well.
     
    tiduscrying likes this.
  15. tiduscrying
    OP

    tiduscrying that butt...

    Member
    462
    425
    Jun 12, 2012
    United States
    HELL
    Yeah, I got everything working now, I just had to retrace my steps and get everything from the AuReiNand thread. Thank you so much for compiling it for me! Like seriously!
     
    stl25 likes this.
  16. stl25

    stl25 GBAtemp Advanced Fan

    Member
    963
    535
    Feb 3, 2008
    United States
    Here, there and everywhere
    My pleasure. I was in your shoes yesterday before @PsyJED came to the rescue. He compiled for me yesterday. Today I learned how to compile from @slifer1231, so I am just paying it forward. Welcome to direct boot cfw.

    Make sure to keep your arm9loaderhax.3dsx and otp.bin files handy and safe. Also a good idea to backup sysNAND and emuNAND with Decrypt9.
     
    Last edited by stl25, Feb 21, 2016
    tiduscrying likes this.
  17. TheDuckMan64

    TheDuckMan64 Chicken nugget.

    Member
    355
    48
    Oct 9, 2015
    What exactly does booting the .3dsx file do?
     
  18. Trill Spector

    Trill Spector Advanced Member

    Newcomer
    61
    13
    May 8, 2015
    United States
    patches Firm0 & Firm1 to run a custom payload
     
  19. TheDuckMan64

    TheDuckMan64 Chicken nugget.

    Member
    355
    48
    Oct 9, 2015
    And you can compile it to point towards (mostly) whatever .bin you want?
     
  20. Trill Spector

    Trill Spector Advanced Member

    Newcomer
    61
    13
    May 8, 2015
    United States
    As far as I am aware, yes as long as the payload utilizes brahma {somebody will most definitely correct me}