[Tutorial] How to convert Arm9LoaderHax payloads to FIRMS

Discussion in '3DS - Flashcards & Custom Firmwares' started by Epicdaftman, May 20, 2017.

  1. Epicdaftman
    OP

    Epicdaftman Advanced Member

    Newcomer
    61
    44
    Jan 29, 2016
    United States
    WARNING: I am not responsible for any damage to any devices.

    Anyway, so head on over to https://github.com/TuxSH/firmtool.git
    Download the firmtool file
    Scroll down to "Building a firmware binary from an arm9loaderhax.bin payload "
    Copy the code "firmtool build test.firm -n 0x23F00000 -e 0 -D arm9loaderhax.bin -A 0x23F00000 -C NDMA"
    Run that but replace the arm9loaderhax.bin with the payload of your choice
    It should create a test.firm file.
    Just rename that to whatever you chose and put it in your luma/payloads

    Anyway, I'm bad at making quality tutorials, but this should work. It at least worked for me

    Also, I would also like to point out that I haven't done anything in the development of the firmtool. i just figured the makefile of godmode9 would say something about firm files. All credit goes to TuxSH.
     
    Last edited by Epicdaftman, May 20, 2017
  2. skullkeeper94

    skullkeeper94 Professional USB Corrupter

    Member
    292
    56
    Jun 21, 2016
    United States
    *slaps hands together with great force*

    I love it, love you, lets go out, five o'clock?, you got it, see ya.

    For real though, awesome!
     
    CatmanFan and Ridge like this.
  3. Ericjwg

    Ericjwg GBAtemp Psycho!

    Member
    3,075
    814
    Jul 2, 2015
    Canada
    nice!!!
     
  4. nl255

    nl255 GBAtemp Addict

    Member
    2,602
    367
    Apr 9, 2004
    I have converted the 20170225 versions of decrypt9wip and hourglass9 to .firm format, which are the newest currently available. They boot fine though I have not done more than the most basic testing with them. I suggest making a nand backup with godmode9 before doing anything potentially dangerous with them.
     

    Attached Files:

    Last edited by nl255, May 20, 2017
  5. GizmoTheGreen

    GizmoTheGreen GBAtemp Fan

    Member
    428
    117
    Oct 8, 2009
    that's a linux executable right? :V
    anyone wanna do Decrypt9 and/or Hourglass9 for me and upload?
     
  6. nl255

    nl255 GBAtemp Addict

    Member
    2,602
    367
    Apr 9, 2004
    It's a python "executable" and works on windows/mac/linux. As for pre-converted hg9/d9wip I just did, look one up from your original post.
     
  7. GizmoTheGreen

    GizmoTheGreen GBAtemp Fan

    Member
    428
    117
    Oct 8, 2009
    I saw it :) we posted the same second it seems lol, many thanks ^^
     
  8. proflayton123

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,888
    2,222
    Jan 11, 2016
    Japan
    日本
    Request for EmuNAND9 pls


    Sent from my iPhone using Tapatalk
     
  9. AecdArmy

    AecdArmy Because Its Nintendo

    Member
    489
    170
    Jan 4, 2016
    The Ninty Ninja HQ
    Nice tut. Im about to switch over to B9S and ill see how it goes myself.
     
  10. pixelmasher

    pixelmasher Gaming Gamer

    Member
    1,633
    671
    Dec 12, 2016
    United States
    Near N3DS
    https://d0k3.secretalgorithm.com
    Could you redo it for Decrypt9 (20170414), EmuNAND9 (20170118), and Hourglass9 (20170320)?
     
    proflayton123 likes this.
  11. Stephano

    Stephano I love you Charlie

    Member
    1,287
    1,158
    Feb 18, 2016
    United States
    an anti-anime bunker
    I can't seem to get it to work. Can you do this one?
     

    Attached Files:

  12. nl255

    nl255 GBAtemp Addict

    Member
    2,602
    367
    Apr 9, 2004
    Probably not until early next week. I did it for the latest release versions I could find on github of the ones I use but I am going on a long day trip tomorrow (Saturday) and am heading to bed now. Perhaps sometime Sunday if I am not too tired.

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

    You can't get the converter to work or you can't get the converted payload to work? If the .firm doesn't work then there is nothing that can be done short of rewriting the plugin.

    If you can't get the converter to work then use the following instructions (I am assuming you are on windows) : install python3 from python.org (be sure to choose the option install for all users as well as to add it to your PATH) , run "pip install cryptography" (without the quotes) as administrator, then run py setup.py. Finally you can run firmtool from the command line.

    I also strongly recommend that Windows users install this http://code.kliu.org/cmdopen/ . It lets you open a command line (either regular or elevated) prompt in any folder from the right click menu.
     
  13. Ericjwg

    Ericjwg GBAtemp Psycho!

    Member
    3,075
    814
    Jul 2, 2015
    Canada
    ah....
    firm
     

    Attached Files:

  14. TheCyberQuake

    TheCyberQuake Certified Geek

    Member
    3,316
    2,237
    Dec 2, 2014
    United States
    Las Vegas, Nevada
    After working for a few minutes figuring out how to get cryptography installed on python, I successfully converted Decrypt9WIP to .firm as a test.
     
  15. Ericjwg

    Ericjwg GBAtemp Psycho!

    Member
    3,075
    814
    Jul 2, 2015
    Canada
    python pip3 install cryptography?
     
  16. el_gonz87

    el_gonz87 GBAtemp Advanced Maniac

    Member
    1,559
    929
    Aug 24, 2016
    United States
    NVM
     
    Last edited by el_gonz87, May 20, 2017
  17. Lilith Valentine

    Lilith Valentine GBATemp's Wolfdog™ ☠️Grunt☠️

    Member
    20,199
    21,561
    Sep 13, 2009
    Antarctica
    Between insane and insecure
    Went and tested them and they are indeed working just fine!
    Thank you so much for converting these!
     
  18. TheCyberQuake

    TheCyberQuake Certified Geek

    Member
    3,316
    2,237
    Dec 2, 2014
    United States
    Las Vegas, Nevada
    gnmmarechal likes this.
  19. MelonGx

    MelonGx GBAtemp Advanced Maniac

    Member
    1,634
    439
    Jan 8, 2009
    China
    It doesn't work.....on Python 2.7.12.
    1.png
     
  20. el_gonz87

    el_gonz87 GBAtemp Advanced Maniac

    Member
    1,559
    929
    Aug 24, 2016
    United States
    try py firmtool....

    after installing cryptography and running setup this worked for me