1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Problem Signing up?

    Please use the contact us link at the bottom of the site listing the problem with your email & ip addresses & the problem will be looked into by our admin team
  3. Temporary emails are not supported for signing up accounts on 3DS Chaos, this includes 10 minute emails. All will be detected by our system & the accounts will be deleted
  4. Shared accounts, multiple accounts & inappropriate usernames not allowed on our site

    Please use a legit email account from a reliable email provider, temporary email accounts are not allowed & will be rejected by our system

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

Cha0s Em3rald Nov 8, 2015

  1. Cha0s Em3rald

    Cha0s Em3rald Chaos Immortal Staff Member Administrator

    Joined:
    Oct 1, 2015
    Messages:
    3,645
    Likes Received:
    78,209
    Trophy Points:
    148
    [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.