RELEASE Firmware Version Inspector - get FW version from NAND dump

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by shchmue, Aug 18, 2018.

  1. comput3rus3r

    comput3rus3r GBAtemp Addict

    Member
    11
    Aug 20, 2016
    United States
    hmmm maybe making new nand backups might be easier lol.
     
  2. shchmue
    OP

    shchmue GBAtemp Fan

    Member
    5
    Dec 23, 2013
    United States
    that's pretty weird. that means it successfully decrypts so the bis keys are correct, it just can't find /contents/ in the partition table. if you can use memloader + hacdiskmount to mount your system partition and post the results of running the command DIR inside the system:/contents/registered folder (put it inside a QUOTE block on the forum please) then i can tell you which firmware it's from
    yeah, what drax said or just use this tool and try bis keys until one works are the only practical ways to do it
     
    Last edited by shchmue, Nov 21, 2018
  3. Shoruk3n

    Shoruk3n Advanced Member

    Newcomer
    2
    Jul 20, 2018
    United States
    Anyone mind helping out a newb? I don't know how to carry out the pycryptocore installation. :(
     
  4. shchmue
    OP

    shchmue GBAtemp Fan

    Member
    5
    Dec 23, 2013
    United States
    what happens when you type the command i wrote
     
  5. Shoruk3n

    Shoruk3n Advanced Member

    Newcomer
    2
    Jul 20, 2018
    United States
    upload_2018-11-21_12-45-18.

    I have a feeling I'm doing it wrong...
     
  6. shchmue
    OP

    shchmue GBAtemp Fan

    Member
    5
    Dec 23, 2013
    United States
    yeah you’re typing it in python you have to type it in a regular command prompt. i edited the OP for clarity
     
  7. Shoruk3n

    Shoruk3n Advanced Member

    Newcomer
    2
    Jul 20, 2018
    United States
    upload_2018-11-21_13-3-50.
    From a cmd prompt. Is python not installed correctly?
     
  8. shchmue
    OP

    shchmue GBAtemp Fan

    Member
    5
    Dec 23, 2013
    United States
    well if you’re fine with navigating in command prompt you can find pip in your python folder and run it with the correct path but easy mode is just uninstall and reinstall python but this time make sure “add python to PATH” is selected
     
  9. Shoruk3n

    Shoruk3n Advanced Member

    Newcomer
    2
    Jul 20, 2018
    United States
    Got it! Thank you!
     
  10. Shoruk3n

    Shoruk3n Advanced Member

    Newcomer
    2
    Jul 20, 2018
    United States
    Ok getting closer...still need help though. I'm pretty sure I have input the directory structure correctly, but it's not recognizing the dump file.

    upload_2018-11-21_14-11-18.

    For the text within the biskeydump.txt file, can I just copy/paste the text that was generated by the QR code?
     
    Last edited by Shoruk3n, Nov 21, 2018
  11. shchmue
    OP

    shchmue GBAtemp Fan

    Member
    5
    Dec 23, 2013
    United States
    oh! i guess mine takes linux style paths because of stuff i have installed. instead of typing the paths like the example, just drag each file onto the command prompt and it’ll produce a compatible path with c:\ instead of /c/. not sure about the QR code, it never worked for me i just did the method from the biskeydump readme where it dumps the output into command prompt and i copied it into a text file
     
  12. Shoruk3n

    Shoruk3n Advanced Member

    Newcomer
    2
    Jul 20, 2018
    United States
    Drag/drop works great!

    Would you mind copy/paste the contents of your biskeydump.txt (without the actual keys of course)? This is where I am now...

    upload_2018-11-21_16-0-15.
     
  13. shchmue
    OP

    shchmue GBAtemp Fan

    Member
    5
    Dec 23, 2013
    United States
    you missed the -b= before the biskeydump file path but as it says in OP it needs these two lines
    Code:
    BIS Key 2 (crypt): <32-digit hex key>
    BIS Key 2 (tweak): <32-digit hex key>
     
  14. Shoruk3n

    Shoruk3n Advanced Member

    Newcomer
    2
    Jul 20, 2018
    United States
    That was it! I missed the -b.

    upload_2018-11-21_17-8-53.

    My console is still on 5.1.0, so there shouldn't be any issues with restoring with this dump right?
     
  15. shchmue
    OP

    shchmue GBAtemp Fan

    Member
    5
    Dec 23, 2013
    United States
    yeah that’s fine
     
  16. purechaos996

    purechaos996 GBAtemp Advanced Fan

    Member
    5
    Nov 5, 2008
    United States
    Connecticut
    I've been having some issues as well. I've installed Python 3 (made sure to completely remove my previous install of python 2) Used pip to install cryptodome but I keep getting this error and Im not exactly sure why. test.PNG
     
  17. shchmue
    OP

    shchmue GBAtemp Fan

    Member
    5
    Dec 23, 2013
    United States
    hmm. try changing “crypto” in line 9 of FVI.py to “Crypto”
     
  18. GothicIII

    GothicIII GBAtemp Advanced Fan

    Member
    4
    Jan 4, 2015
    Gambia, The
    Thanks! That was exactly what I was looking for. Did a backup from my wifes console when I bought it a few months ago but I forgot to look for the version and upgraded it afterwards.
    Yesterday I guessed the version by serial number and today I could confirm it :)

    BTW: If you never booted the console and made a backup, the date will be a zero value:

    Most recent boot: 1980-01-01 00:00:00
     
  19. purechaos996

    purechaos996 GBAtemp Advanced Fan

    Member
    5
    Nov 5, 2008
    United States
    Connecticut
    That did help it seems, however now I'm getting this error.
    test2.PNG
     
  20. DerYamu

    DerYamu Member

    Newcomer
    1
    May 11, 2016
    Germany
    The error I always get is:
    upload_2018-11-24_14-26-31.

    I tried so many different variations for the paths. With slash, with backslash, with "/c/", with "C:\\", copying the files in different directories, copying everything in the same one and use the file names directly instead of paths.
     

    Attached Files:

Loading...