keyblob 0 to 5 corrupted

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by Alschepmist, Sep 22, 2019.

  1. Alschepmist
    OP

    Alschepmist Member

    Newcomer
    1
    Aug 29, 2019
    Germany
    hello is there a way to restore keyblob 0 to 5 ?
    i think boot0 and boot 1 partition is corrupted or maybe prodinfo when i start with hekate i came only at nintendo logo then blackscreen anyone can help?
     
  2. Lacius

    Lacius GBAtemp Legend

    Member
    18
    May 11, 2008
    United States
    Restore your NAND backup.
     
  3. Alschepmist
    OP

    Alschepmist Member

    Newcomer
    1
    Aug 29, 2019
    Germany
    doesent work
     
  4. B4rtj4h

    B4rtj4h Gaming addict #2 and some

    Member
    6
    Apr 16, 2007
    Netherlands
    Bikini Bottom
    When did you make the backup then?
     
  5. Alschepmist
    OP

    Alschepmist Member

    Newcomer
    1
    Aug 29, 2019
    Germany
    so i readed that is possible to recreate the keyblob but i dont understend how to insert the keyblob

    • Hey man, I managed to put the keyblob in my boot0, it didn't fixed my switch, but maybe it will be different for you.
      I had an old backup of boot0, i don't know if you have one.

      I downloaded a file splitter and split in files of 1572864 bites. (That's the size of the blank file that mattytrog gracefully shared.)
      I took the second file it split it in files of 16384 bytes (the size of the keyblob)

      Took the first file I generated and renamed it keyblob for posterity and used a file joiner app to join the blank boot0 with the keyblob file.
      Now the keys are correct. But maybe I'm still missing something. I need to study it further, maybe is missing the PRODINFO, i don't know.

      I got this sizes on https://switchbrew.org/wiki/Flash_Filesystem.

      Hope that help someone
     
  6. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    Keyblobs start at 0x180000 in boot0 and are each 0x200 apart (keyblob 0 is at 0x180000, keyblob 1 is at 0x180200, etc), just open your boot0 in a hex editor and copy your new keyblobs to the first 6 spots. As for generating them, I believe linkle (https://github.com/MegatonHammer/linkle) can do that, you'll need your keys.
     
  7. Alschepmist
    OP

    Alschepmist Member

    Newcomer
    1
    Aug 29, 2019
    Germany
    linkle ? on the description on github only for PFS0/NSP and 64 bits NRO/NSO. is that right or how i have to use it?
     
  8. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    It has a keygen option that you can give your key file to and it should generate all keys that can be generated from the supplied keys (including encrypted keyblobs if you have the correct keys). I don't remember exactly how it's used linkle keygen -k prod.keys
     
    Last edited by ZachyCatGames, Sep 22, 2019
  9. Alschepmist
    OP

    Alschepmist Member

    Newcomer
    1
    Aug 29, 2019
    Germany
    Is that for windows?
     
  10. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    There's a version for windows, yea.
     
  11. Alschepmist
    OP

    Alschepmist Member

    Newcomer
    1
    Aug 29, 2019
    Germany
    and the key have to be like this?

    KEY ADRESS
    keyblob_key_00 = .... 180000
    keyblob_key_01 = .... 180200
    keyblob_key_02 = .... 180400
    keyblob_key_03 = .... 180600
    keyblob_key_04 = .... 180800
    keyblob_key_05 = .... 180a00
     
    Last edited by Alschepmist, Sep 22, 2019
  12. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    Yea, they should be at those addresses
     
  13. Alschepmist
    OP

    Alschepmist Member

    Newcomer
    1
    Aug 29, 2019
    Germany
    and the key should be 32 charachter/digits?
     
  14. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    Which key? encrypted Keyblobs are 352 characters long, and decrypted ones are 288 characters long. Most other keys are 32 characters long
     
    Last edited by ZachyCatGames, Sep 22, 2019
  15. Alschepmist
    OP

    Alschepmist Member

    Newcomer
    1
    Aug 29, 2019
    Germany
    ok then my prod key are corrupted they are only 32 digit
     
  16. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    UPDATE: They did get new encrypted keyblobs that do work and generate keys properly. But unfortunately the console's prodinfo was nuked (it was on of those ebay consoles that had it's emmc nuked, and OP was trying to fix it) so the console still doesn't work :/
     
Quick Reply
Draft saved Draft deleted
Loading...