Homebrew [Release] FBI - Open source CIA installer

  • Thread starter Deleted User
  • Start date
  • Views 1,500,286
  • Replies 4,207
  • Likes 102

samiam144

Régulier
Member
Joined
Aug 19, 2007
Messages
2,875
Trophies
0
XP
1,742
Country
Canada
What does "the gateway mSD card" have to do with FBI and/or installing "legit" .cia files?

Wrong thread?

Sorry about that, it was slightly off topic. I was referring to the post I quoted; the person was theorizing that it may be possible to launch FBI through the spider exploit, which would be convenient if it is indeed possible.
 
D

Deleted User

Guest
OP
So I just had to downgrade my emunand from 9.6 to 9.2 to use this (I totally forgot cubic ninja can't load on newer firmwares) Anyway, I tried using FBI for the first time and I got an AM error.

That's the ARM9/11 error right? Pretty much saying I can't install said cia or something?

EDIT: I am also running rxMode.

rxMode (IIRC) always uses a 9.6 NATIVE_FIRM, that's what firmware.bin is. Because of this, it won't be able to use memchunkhax to gain service access.
 

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
Alright, well that stinks.

If I've got an Super Smash Brothers update CIA from funkyCIA, am I able to install it through sysnand? the CIA is from my linked emunand that I have created on another SD card.

If I can, will it cause any problems if I install it this way?
 

Kazuma77

Well-Known Member
Member
Joined
May 11, 2008
Messages
1,062
Trophies
1
XP
978
Country
United States
Hmm... I'll consider it. Right now there isn't a way to get the title ID of a CIA file to do so, but there's a pull request open for ctrulib to add such a function, so once that's pulled I might look into it. Something like check for the title and prompt for overwrite if it exists. Or maybe try to install, and if it fails with the error code then prompt.

Or just have it blindly attempt to delete the file before it tries to install it. I might suggest a mass delete option, but that would obviously be too dangerous (unless you included at least 2 "are you sure" prompts). I admit I'm not a coder, so I have no idea what it would take, or if any of this will work. But thanks for looking into it.

rxMode (IIRC) always uses a 9.6 NATIVE_FIRM, that's what firmware.bin is. Because of this, it won't be able to use memchunkhax to gain service access.

Not necessarily. It merely includes a python script to download it from CDN. If you kept your old copy, you might have one laying around that is 9.5 (957,440 bytes). Actually, you can download an older version with 3DNUS as well. The title ID is 0004013800000002. 9.5.0-22 is version 19216. 9.3.0-21 is version 18182. 9.0.0-20 is version 17120. Uncheck "Pack as .CIA". Look for a file named "00000040" and rename to firmware.bin. I would not go lower than 9.0, as it's likely not to work (some of these may not either). I was under the impression it was just the browser they patched. Oh well, can't hurt to try it. Hope that helps.

Alright, well that stinks.

If I've got an Super Smash Brothers update CIA from funkyCIA, am I able to install it through sysnand? the CIA is from my linked emunand that I have created on another SD card.

If I can, will it cause any problems if I install it this way?

Updates are not legit CIAs (well, maybe the Streetpass Mii Plaza one that comes with the N3DS is, doesn't seem to be tied to the eShop, but aside from that, they're not). The only way to make them work in SysNAND is ticket.db injection. You can do that the manual way by decrypting the FAT16 partitions and using WinImage, or just wait for the rxTools update with working injection.
 
D

Deleted User

Guest
OP
Or just have it blindly attempt to delete the file before it tries to install it. I might suggest a mass delete option, but that would obviously be too dangerous (unless you included at least 2 "are you sure" prompts). I admit I'm not a coder, so I have no idea what it would take, or if any of this will work. But thanks for looking into it.



Not necessarily. It merely includes a python script to download it from CDN. If you kept your old copy, you might have one laying around that is 9.5 (957,440 bytes). Actually, you can download an older version with 3DNUS as well. The title ID is 0004013800000002. 9.5.0-22 is version 19216. 9.3.0-21 is version 18182. 9.0.0-20 is version 17120. Uncheck "Pack as .CIA". Look for a file named "00000040" and rename to firmware.bin. I would not go lower than 9.0, as it's likely not to work (some of these may not either). I was under the impression it was just the browser they patched. Oh well, can't hurt to try it. Hope that helps.



Updates are not legit CIAs (well, maybe the Streetpass Mii Plaza one that comes with the N3DS is, doesn't seem to be tied to the eShop, but aside from that, they're not). The only way to make them work in SysNAND is ticket.db injection. You can do that the manual way by decrypting the FAT16 partitions and using WinImage, or just wait for the rxTools update with working injection.

Until that pull request gives me a way to know what the title ID of a CIA is, it won't even know what to uninstall.

The old firmware.bin trick may work, although I doubt it as patch addresses between FIRM versions might differ. That's probably why it even needs firmware.bin instead of using emuNAND's FIRM partition.

Alright, well that stinks.

If I've got an Super Smash Brothers update CIA from funkyCIA, am I able to install it through sysnand? the CIA is from my linked emunand that I have created on another SD card.

If I can, will it cause any problems if I install it this way?

Depends on whether it was created with your own legitimate update ticket and whether or not the CIA created was legit. Also, it has to be from an emuNAND linked with the sysNAND. It's worth a shot to try to install.
 

The Minecrafter

Well-Known Member
Member
Joined
Dec 13, 2011
Messages
195
Trophies
1
XP
1,665
Country
United States
One thing I wish you would add to the "Install all CIAs in this Directory". It should have an option to automatically skip files that give an error, whether it be "invalid certificate" or "title already exists"
If you are updating with cia files, it can be annoying if a file stops the whole process.
 
D

Deleted User

Guest
OP
One thing I wish you would add to the "Install all CIAs in this Directory". It should have an option to automatically skip files that give an error, whether it be "invalid certificate" or "title already exists"
If you are updating with cia files, it can be annoying if a file stops the whole process.

It at least tells you the file that had the error. I feel like its better to stop instead of continue for safety reasons. However, hopefully sometime soon I'll be able to make it so "title already exists" isn't an issue, but if you're updating, then you should be concerned by "invalid certificate" or something similar.
 

capito27

Well-Known Member
Member
Joined
Jan 19, 2015
Messages
874
Trophies
0
XP
1,230
Country
Swaziland
It said it was an invalid signature even though it came straight from my linked nands.

Hey, I might totally be wrong, but what were you using to install the CIA in your sysnand ?
If you used the ninjhax version of FBI, it is normal that it can't install your "personal CIA" as not enough signatures are patched (oddly enough it is the same with GW and the CIA or 3DS version of FBI).
The only way I know of to install personal CIAs is through PBT-CFW, as it patches way more checks than GW (let alone ninjhax).

Source : myself and : https://gbatemp.net/threads/what-is-a-legit-cia-and-other-noob-cia-questions-answered.386705/
 
  • Like
Reactions: cearp
D

Deleted-19228

Guest
OP
Running sysnand w/ 9.2 on an old 3ds and can't install any legit CIA's. I get this error:

Install failed!
Could not install app.
Raw Error: 0xc8a0802b
Module: AM (0x20)
Level: Status (0x19)
Summary: Invalid state (0x5)
Decsription: Database does not exist (0x2b)

I have installed perfectly fine on 2 New 3DS's however...Any ideas?

EDIT: Just to clarify I am attempting to install from SD card.

EDIT 2: Found out I need to create 2 blank .db files. I did that now I'm getting:

Summary: Wrong argument (0x8)
Description: Invalid description (0x189)

EDIT 3: Found another reference to that error Invalid description (0x189) one or two pages back but seems to be no resolution it just started working for them? The CIA's are fine and actually install on two of my personal N3DS sysnands.

EDIT 4:

Wtf.....???? Literally just for the hell of it kept mashing A and start and it started installing... Strange for sure.

EDIT 5: Looks like I accidentally switched it to NAND to install the cia. No clue how to remove it now. Doesn't show up in data manager
 
D

Deleted User

Guest
OP
EDIT 2: Found out I need to create 2 blank .db files. I did that now I'm getting:

Summary: Wrong argument (0x8)
Description: Invalid description (0x189)

EDIT 3: Found another reference to that error Invalid description (0x189) one or two pages back but seems to be no resolution it just started working for them? The CIA's are fine and actually install on two of my personal N3DS sysnands.

EDIT 4:

Wtf.....???? Literally just for the hell of it kept mashing A and start and it started installing... Strange for sure.

EDIT 5: Looks like I accidentally switched it to NAND to install the cia. No clue how to remove it now. Doesn't show up in data manager

Really strange... wish I knew what that error code meant. I'll have to see if I can find out at some point.
 
D

Deleted-19228

Guest
OP
Any help on removing it from NAND? It's not showing up as a title ID but most definitely maxed out the NAND memory. If worse comes to worse I can restore a NAND image I have would just prefer not to :P

EDIT: Rebooted and it showed up. Removed it. Good to go. Thanks. Really odd on that description error but it seems to be fine after the first install was successful...
 

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
Hey, I might totally be wrong, but what were you using to install the CIA in your sysnand ?
If you used the ninjhax version of FBI, it is normal that it can't install your "personal CIA" as not enough signatures are patched (oddly enough it is the same with GW and the CIA or 3DS version of FBI).
The only way I know of to install personal CIAs is through PBT-CFW, as it patches way more checks than GW (let alone ninjhax).

Source : myself and : https://gbatemp.net/threads/what-is-a-legit-cia-and-other-noob-cia-questions-answered.386705/
Oh thanks! I actually did read that yesterday but I actually somehow missed that little section of it saying that.

I'll see what I can do later. After thinking about it, I really don't think it deals with the update for SSB because they also have a anti-save-backup check in the game's nand.
 

WateredFire19

Banned!
Banned
Joined
Aug 23, 2014
Messages
642
Trophies
0
Age
39
XP
291
Country
United States
Steveice10 I have a question. In the 3DSX version of FBI when we try to install a non legit CIA it gives an error. Is that the system preventing the installation or did you implement that feature into FBI yourself? If you did, then, maybe if that was removed, we could install DLC?
 
D

Deleted User

Guest
OP
Steveice10 I have a question. In the 3DSX version of FBI when we try to install a non legit CIA it gives an error. Is that the system preventing the installation or did you implement that feature into FBI yourself? If you did, then, maybe if that was removed, we could install DLC?

It's part of the system. It checks to make sure the signature is valid before installing.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    My girlfriend at the time, she had me stay up with her all night because some how the crazy bitch had spent like 12 hours snorting 2 8 balls, didn't use any water (gotta clean your nose) so she had so much crusted in her nose I was sure she was gonna blow up her heart. I mean this was the stuff right off the boat so absolutely pure. ugghh so annoying
  • Psionic Roshambo @ Psionic Roshambo:
    Also doing like 320 dollars worth of coke in half a day lol damn it
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I was getting 3.5 Grams for 320 could have stepped on it and doubled my money easy lol
    +1
  • BigOnYa @ BigOnYa:
    I'd be afraid to it nowdays, my heart would explode prob. I just stick beers n buds nowdays.
  • Psionic Roshambo @ Psionic Roshambo:
    I would get to drive from tarpon springs to like Miami a thousand bucks lol do that twice a week and back in 92 that was good money
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    @Psionic Roshambo what are you guys talking about?
  • Psionic Roshambo @ Psionic Roshambo:
    Blew it on women and muscle cars lol
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty Hamster food, its pricey nowadays to keep PCs running.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I don't do anything except cigarettes and gotta stop eventually lol
    +1
  • BigOnYa @ BigOnYa:
    I'd do shrooms again if could find, and I was outside camping/fishing, and had a cooler full of beer.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I wouldn't mind some LSD, laughing until my face hurt sounds fun lol
    +1
  • BigOnYa @ BigOnYa:
    You ever try soaper powder/qauludes? I did once and like a dumbass drank beer on top of taking, I woke up laying in my backyard in the pouring rain, it knocked me out. I have not seen it around in many many years.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    No never tried a lot of things but never that lol
  • Psionic Roshambo @ Psionic Roshambo:
    I did pass out one time on a floor after taking a bunch of Ambien lol thought it would help me sleep and did it lol
  • Psionic Roshambo @ Psionic Roshambo:
    Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest pill bottle I have ever seen lol
  • K3Nv2 @ K3Nv2:
    Ativan is pretty legit
    K3Nv2 @ K3Nv2: Ativan is pretty legit