Release Inject any app into Health & Safety (O3DS/N3DS/CFW only)

Discussion in '3DS Homebrew' started by Cha0s Em3rald, Nov 8, 2015.

How to likeprotect your linksReveal download links
  1. Cha0s Em3rald

    Cha0s Em3raldCha0s Em3rald is a Verified  Member Administrator
    Staff Member Administrator

    Joined:
    Oct 1, 2015
    Messages:
    3,978
    Likes Received:
    174,815
    [Release] Inject any app into Health & Safety (O3DS/N3DS/CFW only)

    This was released by d0k3 & originally posted here on GBA Temp - [Release] Inject any app into Health & Safety (O3DS/N3DS/CFW only) | GBAtemp.net -> The Independent Video Game Community: 3DS, Gateway 3DS, NDS and R4, Wii, PSP, PS4, Xbox One and all the gaming universe

    Credit goes to d0k3 & everyone involved in the project & thanks go to d0k3 for allowing me to repost his content for our users on 3DSChaos



    A lot of people know that problem - you just setup a brand new EmuNAND, just to notice, moments later, that you forgot about installing a CIA manager. Now you're out of luck, and the only choice you've got left is setting up your SysNAND (via PastaCFW / ReiNAND Sys / rxTools dev) with a CIA manager and formatting your EmuNAND anew. Don't fret, cause this thread contains the solution.

    Thanks to the work of @Syphurith, @Shadowtrance, @dark_samus3 and mself, we can now comfortably inject any homebrew app into the Health & Safety app. That does not only include FBI and DevMenu (which would be obvious choices), but in fact anything you can think off.


    What you will need:

    • A N3DS or O3DS on or below FW 9.2
    • A CFW (rxMode, ReiNAND, CakesFW, PastaCFW) already set up (I won't help with that)
    • Some way to run Decrypt9 on your 3DS
    • The most recent copy of the Universal Inject Generator, extracted to some place of your choice on your Windows / Linux PC. Alternatively, use the GUI written by @Shadowtrance.

    How to use it:

    1. Dump hs.app from either SysNAND or EmuNAND using Decrypt9 "Dump Health & Safety" feature. It's in "SysNAND File Options" or "EmuNAND File Options".
    2. Get hs.app from the root of your 3DS SD card and put it plus as many homebrew CIAs as you like into the "input" folder of the Universal Inject Generator.
    3. Run go.bat, you'll get two inject-ready apps per CIA.
    4. If the last one for some reason doesn't work, you may try deep-decrypting (via Decrypt9, "Game Decrypt Options") your CIAs first. Then go back to step 2.
    5. To inject, rename inject-ready .app (I suggest you first try the one with-banner) to hs.app, put it into the root of your 3DS SD card and inject via Decrypt9. The feature is also found in "SysNAND File Options" or "EmuNAND File Options", but stay with the NAND you used for dumping!
    6. That's it!

    Limitations of this:

    • Inject apps can not be bigger than the original H&S app. It is possible that this will not work for some homebrew. For a workaround, keep reading.
    • Obviously, the injected app will only show up when signatures are patched. Without signature patches, f.e. in SysNAND, you'll simply see nothing at all.
    • Won't work with commercial stuff (ie roms). You're free to try, of course, but to be honest I don't see much use in having games replace your H&S app [​IMG].
    • You need to generate your inject apps yourself to prevent incompatibilities. Don't take ones from other persons if you can avoid it.

    Is this safe?

    The only critical feature is the injector itself. It (as well as all other file injector features in Decrypt9) is designed so that it will never touch anything but the space of the file to inject. For Health & Safety, the worst that can happen (if you do something wrong) is that Health & Safety vanishes from your menu, and that is still totally fixable (most likely, even for people who are too lazy to do backups). I still won't take any responsibility if anything breaks and advice you to do backups. You're on your own.


    Injecting apps larger than H&S

    Try @Syphuriths script. That one doesn't need Decrypt9, relies on xorpads and the user doing the inject himself via EmuNAND tools, 3DSFAT16tool and OSFmount. Needless to say, not for noobs, and you will have to do the reading on that yourselves.


    Credits

     
    whaylin likes this.
  • About Us

    Chaos Gamez is a friendly online community with our members sharing all the content you will ever need for your 3DS console including games in .3ds & .cia format, updates, DLC, Homebrew, CFW's, Flashcard firmwares, cheats & a variety of content for other platforms. We have all the downloads and games you'll ever need for your WiiU too! Including WiiU USB Ready Games, WUD Files, Game Tickets, and Homebrew! Same applies for NDS Roms, Wii WBFS, GameCube ISOs, and Retro game console ROMs!
  • Donate to the Server

    The management works very hard to make sure the community is running the best software, best security, and all the other bells and whistles. Care to contribute and support the community? We'd really appreciate it!

    Become a Donor!
  • Disclaimer

    No files are stored on our servers, all links are on external sites. If you have an issue with one of the posts/threads on our site or to make a DMCA report please use the "Contact Us" link at the bottom of the site