[Release] FBI - Open source CIA installer

Discussion in '3DS - Homebrew Development and Emulators' started by Steveice10, Apr 11, 2015.

  1. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    Are you able to do a manual system transfer? I gather from previous posts that you can run Ninjhax. If you have a NAND backup from before the transfer that screwed up, you can transfer every single bit of save data over, including Mii's and Mii Plaza progress. There are guides here for that, and the guide that I wrote is here (but not ENTIRELY newb friendly): http://www.maxconsole.com/maxcon_fo...ter-failed-transfer-NNID-already-transferred)

    And those forums also have a gold pants Mii tutorial that may or may not be easier to understand: http://www.maxconsole.com/maxcon_fo...old-pants-and-use-it-for-Streetpass!-TUTORIAL
    Again with the gold pants... don't worry about the title, just worry about how to extract CFL_DB.dat, then how to inject it after you would have edited it (if you wanted to edit it). CFL_DB.dat has all of your Mii info from Mii Maker.
     
  2. Black_Knight

    Black_Knight Advanced Member

    Newcomer
    2
    Jun 18, 2009
    United States
    I appreciate the help but, this wasn't a botched transfer and I do not have a NAND backup. Nintendo formatted my 3DS so anything with a security value was all cocked up and it's beyond 9.2 so I can't do anything. So I'm just trying to cut my losses.



    However I'm getting a whole bunch of errors. Seems I can't close the book on this without one last fight.

    When doing I'm doing the 'Dump all extData to SD Card' I get this error
    failed to read 0000008f/CacheD.dat
    (5045760) : 0XD900458b -----
    name: /Cache.dat
    name: /SaveData.dat
    total files in 0x0000008f/: 3

    After pausing there for 30 seconds a whole lot of text runs through and it says Success! I not sure if that's causing the problems later on, but I'm just noting it.



    Afterwards I follow the instructions and placed the CFL_DB.dat and the config.text on the root of the 3DS SD Card. I then run 'Restore extdata specified in config' However I get this

    archive getfilesize( ) ret 0x0000009, size=0x00000000
    Copying failed!


    Checked the config.txt and it's this
    Only other variable I think of is that there is a CFL_OldDB.dat file as in the dump for f000000b.

    Edit: Got it to working looking over the Gold Mii thread, doing
    HOWEVER nothing changes in the Mii Maker plaza, just the default Mii there still.

    Edit 2: Reloaded my old SD card data and Refollowed all the steps, same results.
     
    Last edited by Black_Knight, Jun 18, 2015
  3. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    Looks like your original problem was using foooooob instead of f000000b. (O, instead of zero).

    Are you dumping and restoring the file from the same system? I don't know why you would expect to see a different Mii, in that case. If I understand correctly, you don't have a NAND backup of your RMA'd system and there is no way for you to dump it and extract the .db file from it.
    The OldDB.dat one will overwrite what you replaced, if it is corrupted. Check the file and make sure it isn't 0bytes. If it is, use the config option to dump it and add this to your config.txt:

    DUMP "f000000b:/CFL_DB.dat" "CFL_DB.dat"

    Edit: Oops... I see you did that on your own. At least I know you're reading now :)
     
    Last edited by urherenow, Jun 18, 2015
  4. Black_Knight

    Black_Knight Advanced Member

    Newcomer
    2
    Jun 18, 2009
    United States
    I am dumping and restoring on the same system. The only variable is that the Miis I'm dumping and trying to restore are not native to the system I'm doing it on. And yes, I don't have a NAND backup since I never intended to softmod my 3DS or have to do something like that.

    The files aren't 0bytes, it they are 311KBs. (Is that large enough?)
     
  5. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    Mine is 310,560 bytes (303KB, 304KB on disk).
     
  6. Black_Knight

    Black_Knight Advanced Member

    Newcomer
    2
    Jun 18, 2009
    United States
    So pretty much on the mark.
    Can you not dump and and restore ext data on a completely different 3DS from the system the ext data was created on? I'm stumped as what to do outside of just erasing all data that's not related to my Mii data and creating an upload of my SD card data for someone else to look at it.

    I do have access to pasta CFW, is there a way to dump it and extract the .db file from it through that?
     
  7. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    The data you want is on an upgraded system, right? Then give up. There's absolutely nothing you can do. Even if you hard-modded it to dump the nand, you have no way to decrypt that nand.
     
  8. Black_Knight

    Black_Knight Advanced Member

    Newcomer
    2
    Jun 18, 2009
    United States
    Define upgraded. I have a backup pre 9.2 (Feb 14')
     
  9. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    Let's end this off-topic discussion right now. Will PM instead.
     
  10. ccfman2004

    ccfman2004 GBAtemp Addict

    Member
    8
    Mar 5, 2008
    United States
    Some CIAs give me a "Invalid Signature" in either Gateway or Pasta but install fine with BigBlueBox.
     
  11. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    That has something to do with the keys used to build them (0 key, vs Gateway key, vs ??). All I can say is to try devmenu/BBM if FBI doesn't like it. It's technically not a bug in FBI, so who knows if it will ever be addressed in a future build or not...
     
  12. ccfman2004

    ccfman2004 GBAtemp Addict

    Member
    8
    Mar 5, 2008
    United States
    Like I said that I had no issues if I installed them with BigBlueMenu.
     
  13. Vixu

    Vixu Newbie

    Newcomer
    1
    Jun 22, 2015
    Poland
    I am using 2DS with FBI 1.3.8 and im trying to install legit .cia Monster Hunter 4 Ultimate and then im randomly getting following error:
    Install failed!
    Could not install app.
    Raw Error: 0xe0e083f2
    Module: AM (0x20)
    Level: Usage (0x1c)
    Summary: Invalid argument (0x7)
    Description: Misaligned size (0x3f2)
    I tried it more than 3 times and i was getting this error on diffrent stages of installing. How I am supposed to fix this?
     
  14. ccfman2004

    ccfman2004 GBAtemp Addict

    Member
    8
    Mar 5, 2008
    United States
    Are you doing it over a network install? If so that might be the issue. Try it from your SD card.
     
  15. Vixu

    Vixu Newbie

    Newcomer
    1
    Jun 22, 2015
    Poland
    Yup im doing it via network but what should i use to install it from card? I am newbie.
     
  16. ccfman2004

    ccfman2004 GBAtemp Addict

    Member
    8
    Mar 5, 2008
    United States
    Just put the .cia file on the SD card of the 3DS and use FBI to install it.
     
  17. Suiginou

    Suiginou (null)

    Member
    5
    Jun 26, 2012
    Gambia, The
    pc + 8
    Feature request: Can you display the battery level and how good the network connection is on the screen? Installing a CIA with two levels of battery can be scary, even moreso if you have no guarantee that the 3DS won't suddenly decide that the wifi connection is too weak despite being in the same place just fine a few minutes ago.
     
    Hashtastrophe likes this.
  18. NextLight

    NextLight Member

    Newcomer
    1
    Dec 31, 2012
    Italy
    Hi, today I was bored so I decided to port sockfile to c# WPF, which means it has a GUI and it should (it requires .NET 4.0 that is pre-installed on win8) work out of the box without installing anything.
    It's drag 'n' drop and you can create a queue of cias to send automatically (if you uncheck prompt and disable them in the FBI app). It also try to give an estimated ETA and speed.
    You can download it here. If you are interested I can give you the source code too, just keep in mind it's pretty bad.
     
  19. NTenshi

    NTenshi Member

    Newcomer
    1
    Feb 27, 2015
    Mexico
    In The Land of OOO
    Why i can't install legit cias?:(
     
  20. ccfman2004

    ccfman2004 GBAtemp Addict

    Member
    8
    Mar 5, 2008
    United States
    Are you sure they are legit? Which ones are you trying to install and what error message is displayed?
     
Quick Reply
Draft saved Draft deleted
Loading...