Here you can get the tool: DecryptedReplacer. I wrote a tool to replace the encrypted parts of original file to decrypted one.Ĭomparison between original H&S, and FBI injection, with those decrypted NCCHs: Maybe I missed something, any ideas? Also, this would of course not work when the app to inject has a bigger ExeFS than H&S. Done! (of course, the new H&S inject would only work when signatures are patched) Recalculate the SHA-256 hashes in the NCCH and the. Pad the new H&S NCCH with zeroes so it has the exact same size as the old one or use a dummy file in RomFS to reach the desired size (1. Alternatively, leave it unencrypted and set the NCCH header accordingly (2. Encrypt the ExeFS in the same way as the ExeFS in the original H&S app was encrypted. That means all files, code, banner & icon.Ĥ. Replace the ExeFS in the H&S NCCH with the one just dumped.
Fully decrypt and dump the ExeFS from the app to inject.ģ. CIA of the app to inject & a dump of the 3DS H&S.
So, how to actually generate a fitting inject? This is how I think I'd have to go about it:ġ. I did some reverse engineering, though, and it looks like Riku's tool doesn't really generate a fitting FBI inject, but rather identifies the H&S version via the TMD and selects from a range of "precompiled" FBI injects to dump. It will not work for N3DS and source code is not available. There's the 3DS FBI NAND Inject Generator by Riku. I'm currently thinking about adding a universal app injector (to Health & Safety) to Decrypt9, but I can't find a starting point. Main - Homebrew discussion - Injecting other apps over Health & Safety? Injecting other apps over Health & Safety? - 4dsdev Views: 1,207,935Ġ users reading Injecting other apps over Health & Safety? | 1 guest