[Tutorial] How to convert Arm9LoaderHax payloads to FIRMS

Discussion in '3DS - Flashcards & Custom Firmwares' started by Epicdaftman, May 20, 2017 at 4:43 AM.

May 20, 2017 at 4:43 AM
  1. Epicdaftman
    OP

    Newcomer Epicdaftman Advanced Member

    Joined:
    Jan 29, 2016
    Messages:
    61
    Country:
    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 at 4:51 AM


  2. skullkeeper94

    Member skullkeeper94 GBAtemp Regular

    Joined:
    Jun 21, 2016
    Messages:
    201
    Country:
    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!
     
    Ridge likes this.
  3. Ericjwg

    Member Ericjwg Good

    Joined:
    Jul 2, 2015
    Messages:
    2,663
    Country:
    Canada
  4. nl255

    Member nl255 GBAtemp Addict

    Joined:
    Apr 9, 2004
    Messages:
    2,277
    Country:
    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 at 5:35 AM
  5. GizmoTheGreen

    Member GizmoTheGreen GBAtemp Fan

    Joined:
    Oct 8, 2009
    Messages:
    305
    Country:
    Sweden
    that's a linux executable right? :V
    anyone wanna do Decrypt9 and/or Hourglass9 for me and upload?
     
  6. nl255

    Member nl255 GBAtemp Addict

    Joined:
    Apr 9, 2004
    Messages:
    2,277
    Country:
    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

    Member GizmoTheGreen GBAtemp Fan

    Joined:
    Oct 8, 2009
    Messages:
    305
    Country:
    Sweden
    I saw it :) we posted the same second it seems lol, many thanks ^^
     
  8. proflayton123

    Member proflayton123 just another user

    Joined:
    Jan 11, 2016
    Messages:
    5,253
    Location:
    London
    Country:
    United Kingdom
    Request for EmuNAND9 pls


    Sent from my iPhone using Tapatalk
     
  9. AecdArmy

    Member AecdArmy Because Its Nintendo

    Joined:
    Jan 4, 2016
    Messages:
    464
    Location:
    The Ninty Ninja HQ
    Country:
    Australia
    Nice tut. Im about to switch over to B9S and ill see how it goes myself.
     
  10. pixelmasher

    Member pixelmasher Gaming Gamer

    Joined:
    Dec 12, 2016
    Messages:
    1,246
    Location:
    Near my N3DS.
    Country:
    Antarctica
    https://d0k3.secretalgorithm.com
    Could you redo it for Decrypt9 (20170414), EmuNAND9 (20170118), and Hourglass9 (20170320)?
     
    proflayton123 likes this.
  11. Stephano

    Member Stephano Looking for Casuls

    Joined:
    Feb 18, 2016
    Messages:
    599
    Location:
    Ganon's Castle
    Country:
    United States
    I can't seem to get it to work. Can you do this one?
     

    Attached Files:

  12. nl255

    Member nl255 GBAtemp Addict

    Joined:
    Apr 9, 2004
    Messages:
    2,277
    Country:
    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

    Member Ericjwg Good

    Joined:
    Jul 2, 2015
    Messages:
    2,663
    Country:
    Canada
    ah....
    firm
     

    Attached Files:

  14. TheCyberQuake

    Member TheCyberQuake Certified Geek

    Joined:
    Dec 2, 2014
    Messages:
    2,181
    Location:
    Las Vegas, Nevada
    Country:
    United States
    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

    Member Ericjwg Good

    Joined:
    Jul 2, 2015
    Messages:
    2,663
    Country:
    Canada
    python pip3 install cryptography?
     
  16. el_gonz87

    Member el_gonz87 GBAtemp Advanced Maniac

    Joined:
    Aug 24, 2016
    Messages:
    1,537
    Country:
    United States
    NVM
     
    Last edited by el_gonz87, May 20, 2017 at 6:37 AM
  17. Crystal the Glaceon

    Member Crystal the Glaceon GBATemp's Official Waifu™ ʚ♡⃛ɞ(ू•ᴗ•ू❁)

    Joined:
    Sep 13, 2009
    Messages:
    17,949
    Location:
    Between insane and insecure
    Country:
    Antarctica
    Went and tested them and they are indeed working just fine!
    Thank you so much for converting these!
     
  18. TheCyberQuake

    Member TheCyberQuake Certified Geek

    Joined:
    Dec 2, 2014
    Messages:
    2,181
    Location:
    Las Vegas, Nevada
    Country:
    United States
    gnmmarechal likes this.
  19. MelonGx

    Member MelonGx GBAtemp Advanced Maniac

    Joined:
    Jan 8, 2009
    Messages:
    1,562
    Country:
    China
    It doesn't work.....on Python 2.7.12.
    1.png
     
  20. el_gonz87

    Member el_gonz87 GBAtemp Advanced Maniac

    Joined:
    Aug 24, 2016
    Messages:
    1,537
    Country:
    United States
    try py firmtool....

    after installing cryptography and running setup this worked for me
     

Share This Page