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:
How to use it:
Limitations of this:
C# rewrite with GUI:
For all the command line illiterates, @Shadowtrance rewrote this in C# with a nice GUI. Get his release from here.
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
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). Injected apps don't work without CFW.
- Some way to run Decrypt9 on your 3DS plus the most recent version of Decrypt9WIP.
- 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:
- Dump hs.app from either SysNAND or EmuNAND using Decrypt9 "Dump Health & Safety" feature. It's in "SysNAND File Options" or "EmuNAND File Options". Decrypt9 needs to be run from SysNAND.
- 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.
- Run go.bat, you'll get two inject-ready apps per CIA.
- 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.
- To inject, copy the inject-ready .app files 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!
- 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 .
- You need to generate your inject apps yourself to prevent incompatibilities. Don't take ones from other persons if you can avoid it.
C# rewrite with GUI:
For all the command line illiterates, @Shadowtrance rewrote this in C# with a nice GUI. Get his release from here.
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
- @Syphurith coded the MergeExHeader tool and helped develop this method right from the beginning. He also coded his own version of the inject script.
- @Shadowtrance coded the GUI for this and helped with testing.
- @dark_samus3 ported the Universal Inject Generator to Linux (already inlcluded on GitHub).
- The people who first tried injecting FBI over Health & Safety, including @Riku who coded the FBI NAND inject generator.
- Everyone I possibly forgot.
- This was originally started on 4DSdev.org and here.
Last edited by d0k3,