ROM Hack [Release] 3DS FBI CIA Manager NAND Inject Generator (JPN/USA/EUR/CHN/KOR/TWN)

Riku

Well-Known Member
OP
Member
Joined
May 3, 2009
Messages
288
Trophies
1
XP
1,502
Country
United States
After seeing how people having problems with FBI injection, I decided to take a look into process to see what can possibly go wrong. Basically, there's two main issues with previous injection methods: the first problem I see is that H&S is an optional app and only gets updated through internet and not card game updates (so even if you running FW9.x there's still possibility your 3DS have old H&S app version). As of now there's 14 different revisions of H&S app and to make things done right you should only use properly encrypted FBI app injected into exactly the same version your 3DS currently using. Second issue that seems to confuse people is TMD file name, it's never constant.

Now, my program designed to resolve both issues. Just drag&drop your original *.tmd file on exe and it generate files specifically for your system.
All regions are supported (JPN/USA/EUR/CHN/KOR/TWN) within 1.0-9.8 firmware range.

Basic instructions on how to inject FBI CIA Manager into Health & Safety SysApp:
1) Make NAND FAT16 XORpad file using rxTools (Decryption Options --> Generate fat16 Xorpad) or Decrypt9
2) Put NAND or emuNAND dump named 'NAND.BIN' and FAT 16 XORpad named 'nand.fat16.xorpad' into folder's root, right next to *.bat files.
3) Launch extract_nand.bat and wait for it to create 'nand_fat16dec.img' file.
4) Download WinImage 9.0, install&launch it, open 'nand_fat16dec.img' and navigate into H&S folder. The path is differs depending on your region:
JPN: title\000400010\00020300\content\
USA: title\000400010\00021300\content\
EUR: title\000400010\00022300\content\
CHN: title\000400010\00026300\content\
KOR: title:000400010\00027300\content\
TWN: title:000400010\00028300\content\

5) Extract *.tmd file using right click command, drag extracted file on '3ds_fbi_injectgen.exe' and you'll get FBI Inject files generated specifically for your system:
GKIbJcc.png
6) Inject newly created files using WinImage's Image --> Inject command and overwrite exciting files (no need to delete anything, just overwrite exciting files):
5rNyyxv.png
7) Launch 'rebuild_nand.bat' and wait for it to create 'NAND_rebuild.BIN' file.

This is your NAND image with FBI injected. Use your favorite tool to insert emuNAND back into SD card or you can write it into sysNAND (It's a nice thing to have in sysNAND, actually. You can't remove or corrupt it by mistake or after system format, it even launches without SD card inserted and hides when SigPatch disabled. Don't do it unless you're experienced user and know what you're doing, though).

Download links:
http://rghost.net/6lRKZwpRk
https://www.sendspace.com/file/zqhv0u
 
Last edited by Riku,

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
10,223
Trophies
2
XP
34,196
Country
United Kingdom
Nice work. I don't need this, as I already had ample ways to run a cia installer, but I'm half tempted to try it anyway just to give some use to that feckin' health&safety app.
 

TidusWulf

Real Aloha
Member
Joined
Jul 27, 2007
Messages
654
Trophies
1
Location
Hawaii
XP
792
Country
United States
Recommendations for emuNAND tools? I have a 4gig card with a bigger one coming in the mail, so I'll need to move over the emuNAND anyway.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,663
Trophies
5
Location
Space
XP
14,521
Country
Norway
I've been away for a few days, can someone please explain to me what the point of injecting FBI into another app is? :)
Seems like it still requires signature check patching to run, so there doesn't seem to be much point to it at first glance.
 

plasma

GBAtemp's Artificial Lifeform
Member
Joined
May 15, 2009
Messages
1,683
Trophies
2
Location
Inazuma TM Caravan
XP
2,953
Country
United Kingdom
I've been away for a few days, can someone please explain to me what the point of injecting FBI into another app is? :)
Seems like it still requires signature check patching to run, so there doesn't seem to be much point to it at first glance.
Only other way iirc to install a CIA manager was through ctrclient which was a pisstake and only worked for pbt/palatines cfw.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,663
Trophies
5
Location
Space
XP
14,521
Country
Norway
Only other way iirc to install a CIA manager was through ctrclient which was a pisstake and only worked for pbt/palatines cfw.
Ah, so it's a way to install CIAs on sysNAND without needing to be able to run PBT/Gateway/NINJHAX. That explains it, thanks.
I guess this is only useful for those people that have no other way of installing a CIA then, but still pretty nice :)
Although it seems overly complicated and risky for something that should optimally be risk-free and integrated into the CFW (like it is with Palantine/PBT)
 

plasma

GBAtemp's Artificial Lifeform
Member
Joined
May 15, 2009
Messages
1,683
Trophies
2
Location
Inazuma TM Caravan
XP
2,953
Country
United Kingdom
Ah, so it's a way to install CIAs on sysNAND without needing to be able to run PBT/Gateway/NINJHAX. That explains it, thanks.
I guess this is only useful for those people that have no other way of installing a CIA then, but still pretty nice :)
Although it seems overly complicated and risky for something that should optimally be risk-free and integrated into the CFW (like it is with Palantine/PBT)
Nah, not just sysNAND, but emuNAND too. It isnt intergrated with PBT/Palentine, you have to use that ctrclient to send it over wi-fi, which many people seem to have problems with.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,663
Trophies
5
Location
Space
XP
14,521
Country
Norway
Nah, not just sysNAND, but emuNAND too. It isnt intergrated with PBT/Palentine, you have to use that ctrclient to send it over wi-fi, which many people seem to have problems with.
It's not ctrclient that's the problem, it's the buggy implementation of the CFW. The feature to receive CIA files over the network is built in to the CFW, making another client for it should not be a big problem, but I doubt it would help. After all if that was the case then it would eventually work if you just left the CFW running and kept trying things on the PC like rebooting, configuring the network again etc. while constantly attempting to run ctrclient. For me, the only thing that worked in the end was restarting the CFW boot process while holding L and spamming the ctrclient command a few times to try to get the right timing.
Regardless, the ability to receive CIA files over the network natively isn't an important feature to CFW, I think just being able to auto-install a CIA file or folder on the SD card would be plenty, and that's still in the works.
 

plasma

GBAtemp's Artificial Lifeform
Member
Joined
May 15, 2009
Messages
1,683
Trophies
2
Location
Inazuma TM Caravan
XP
2,953
Country
United Kingdom
It's not ctrclient that's the problem, it's the buggy implementation of the CFW. The feature to receive CIA files over the network is built in to the CFW, making another client for it should not be a big problem, but I doubt it would help. After all if that was the case then it would eventually work if you just left the CFW running and kept trying things on the PC like rebooting, configuring the network again etc. while constantly attempting to run ctrclient. For me, the only thing that worked in the end was restarting the CFW boot process while holding L and spamming the ctrclient command a few times to try to get the right timing.
Regardless, the ability to receive CIA files over the network natively isn't an important feature to CFW, I think just being able to auto-install a CIA file or folder on the SD card would be plenty, and that's still in the works.
Ahh I get you now I misunderstood. I got it to work in the end (was trying to install a cfw to a 3ds that wouldnt accept carts-.- I have a GW so I could have used that to install a cia manager but it wouldnt work)
 

Riku

Well-Known Member
OP
Member
Joined
May 3, 2009
Messages
288
Trophies
1
XP
1,502
Country
United States
Ah, so it's a way to install CIAs on sysNAND without needing to be able to run PBT/Gateway/NINJHAX. That explains it, thanks.
I guess this is only useful for those people that have no other way of installing a CIA then, but still pretty nice :)
Although it seems overly complicated and risky for something that should optimally be risk-free and integrated into the CFW (like it is with Palantine/PBT)
When you install DevMan or FBI as *.cia you get fake ticket and database entries installed into NAND and those stay there forever even after deleting app.
Injection is much more cleaner and safer method in that aspect, you just replacing 2 files without messing with system database, not to mention result is some sort of 'stealth' CIA manager which can't be detected or logged.
 
  • Like
Reactions: enarky and kactusss

Sendoh

Well-Known Member
Member
Joined
Jul 30, 2007
Messages
253
Trophies
1
Website
Visit site
XP
233
Country
Senegal
How can I insert the NAND into sysNAND? Or is there an alternative method of getting FBI onto sysNAND? I've already gotten FBI onto emuNAND but not on sysNAND.
 

Sendoh

Well-Known Member
Member
Joined
Jul 30, 2007
Messages
253
Trophies
1
Website
Visit site
XP
233
Country
Senegal
You can use Gateway launcher's Downgrade hidden feature: put NAND.BIN in the root of SD card and hold Up button while pressing 'Downgrade' in GW menu and it will ask if you want to restore your sysNAND (write NAND.BIN).
Thanks, I did it, but I screwed up bad. I forgot to downgrade the emuNAND and now the firmware is at 9.8. I assume there's no way out of this if I don't have a flashcart?
 

Riku

Well-Known Member
OP
Member
Joined
May 3, 2009
Messages
288
Trophies
1
XP
1,502
Country
United States
Thanks, I did it, but I screwed up bad. I forgot to downgrade the emuNAND and now the firmware is at 9.8. I assume there's no way out of this if I don't have a flashcart?
That's why it says in first post:
Don't do it unless you're experienced user and know what you're doing

And, yes, the only way out of this for you is to solder to mainboard and write previous NAND backup using hardware flasher. If you don't have previous backup you screwed completely, having flashcard doesn't help you in any way... I removed my reply before it can harm more people.
 

Sendoh

Well-Known Member
Member
Joined
Jul 30, 2007
Messages
253
Trophies
1
Website
Visit site
XP
233
Country
Senegal
That's why it says in first post:


And, yes, the only way out of this for you is to solder to mainboard and write previous NAND backup using hardware flasher. If you don't have previous backup you screwed completely, having flashcard doesn't help you in any way... I removed my reply before it can harm more people.
Yeah it was my own carelessness. Thanks for the help though!
 

Monado_III

Well-Known Member
Member
Joined
Feb 8, 2015
Messages
722
Trophies
0
Location
/dev/null
XP
1,453
Country
Canada
So I successfully unencrypted my NAND, (files are intact and readable etc.), but even if I don't make any changes to the unencrypted NAND, when I re encrypt it, it always fails to boot, but when I use the same NAND file before I unencrypted+re encrypted it, it works normally.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Good, just fired up the SeriesX and have a frozen Margarita in hand. Life is good. N U?
  • NinStar @ NinStar:
    @salazarcosplay are you into beer and guns?
  • S @ salazarcosplay:
    @BigOnYa what games on the series x?
  • S @ salazarcosplay:
    I have not seen the need to get one because Halo was on the xbox
    One
    +1
  • S @ salazarcosplay:
    @NinStar those are fun things
  • BigOnYa @ BigOnYa:
    Tons of good games on gamepass, but currently playing College football 25.
  • K3Nv2 @ K3Nv2:
    Sipping on his bud wiser jamming kid rock
    +1
  • BigOnYa @ BigOnYa:
    I'm ....An....American Jackass.
  • DexterYeen @ DexterYeen:
    Im... steve
  • BigOnYa @ BigOnYa:
    Hi steve, I'm Mike, last name Rotchburns.
  • Sicklyboy @ Sicklyboy:
    im dat boi
    +1
  • BigOnYa @ BigOnYa:
    Sometimes in bed, my wifey calls me Ken, not sure why tho...
    +1
  • The Real Jdbye @ The Real Jdbye:
    must be a different ken
    +1
  • SpookyBaker @ SpookyBaker:
    Hey did you guys see that MF DOOM Gladiator popcorn bucket?
  • Kirbydogs @ Kirbydogs:
    I feel like there's a new "Rule 34"
  • Kirbydogs @ Kirbydogs:
    where with everything that exists, it's gonna have an AI counterpart.
  • Kirbydogs @ Kirbydogs:
    It should be called "Rule AI"
  • BigOnYa @ BigOnYa:
    What is this word you use "Rule"?
    +1
  • Kirbydogs @ Kirbydogs:
    Here's a fun fact: The human brain is immensely complicated. For example, whenever you want to make a decision, I believe your unconscious mind processes it first, and makes your muscles prepare. Then, you perform the action, such as walking.
  • BigOnYa @ BigOnYa:
    Here's a fun fact: A ton of feathers weights the same as a ton of bricks, which weights the same as Kens mum.
    +1
    BigOnYa @ BigOnYa: Here's a fun fact: A ton of feathers weights the same as a ton of bricks, which weights the same... +1