Edit NAND Save Data?

Discussion in '3DS - Homebrew Development and Emulators' started by gudenau, Aug 24, 2015.

  1. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I would like to be able to edit save data that is stored on my console's NAND, how should I go about doing this? (From NINJHAX 1/2 would be best)
     


  2. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    The only way at the moment is SaveDataFiler. TDVS may be able to do this in the future, but not released yet.
     
  3. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    The stuff I wanted to mess with was not listed. :-/
     
  4. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    What is it?
     
  5. pakrett

    pakrett GBAtemp Maniac

    Member
    1,472
    559
    Apr 6, 2015
    France
    Yes, what is it ? ^^
     
  6. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    0004003000008F02
     
  7. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I guess a better question is:
    How do I mount a diffrent title's save archive.
     
  8. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    Maybe dump it's memory with NTR?

    EDIT: Wait, what are you doing with the home menu?

    EDIT2: All the nand has is the Launcher.dat. What are you planning?
     
  9. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I already dumped the memory, I still need to edit the save data.

    Things, great for us, bad for Nintendo. Mwahahaha*cough*

    I am working on stuff than can brick a 3DS, it could also allow one to do a cold boot into a CFW.
     
  10. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    PM me the details. And you may be able to do it with a nand dump and a fat16 xorpad.
     
  11. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    The save data is packed and has hashes and signitures and junk. :-/
    Also, as soon as I get any progress I will make a post about it. No need for a PM.
     
  12. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    Oh. I almost said to ask the devs of SaveDataFiler. Yea, how well would that work? Anyway, maybe TDVS?
     
  13. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    Not out, as far as I know. Plus, it appears as though it uses a diffrent archive id all together.
     
  14. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    Yea, not out yet. And archive id?
     
  15. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    In order to access a file you have to open an archive; which can be a file on the NAND, the NAND, the SD card, etc. It works kinda like mount in Linux.

    Edit:
    http://3dbrew.org/wiki/FS:OpenArchive
     
  16. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    Ok, so we just need to find the archive id, right? And then we can mount it?
     
  17. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I need to figure out what perms I need aswell as how to use the archives, I just used the CTRULIB stdio stuf f before.
     
  18. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    Don't worry about perms. You should just be able to run bootstrap before it. Or some sort of that.
     
  19. gudenau
    OP

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I am not sure if that grants all of the FS stuff, I k ow it patches SVC and service stuff perms.
     
  20. MassExplosion213

    MassExplosion213 .

    Member
    1,416
    958
    Feb 15, 2015
    United States
    You think we could cause any damage by blindly probing archive ids?