Hacking RELEASE Firmware Version Inspector - get FW version from NAND dump

  • Thread starter Thread starter shchmue
  • Start date Start date
  • Views Views 46,722
  • Replies Replies 119
  • Likes Likes 38

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
792
Reaction score
932
Trophies
1
XP
2,419
Country
United States
Python and command line can be difficult for unfamiliar users, so if possible, I would recommend the wonderful NxNandManager tool, which among other things can list the firmware version of a NAND backup.


Have more than one NAND dump? Forgot to rename or label them?
Good news! Now you can quickly find out what firmware version a given backup contains.

Download:
Firmware Version Inspector - by shchmue on Github

Usage:
Install Python 3 and pycryptodome. In command prompt, type:
Code:
pip install pycryptodome

If this is an encrypted backup like Hekate makes (ie. you haven't dumped a decrypted System partition via HacDiskMount), you need to provide your console-specific BIS key 2. Dump this using biskeydump (https://gbatemp.net/threads/biskeyd...c-decryption-real-time-mounting-tools.502434/)

Then run from command line:
Code:
python FVI.py [-b=/path/to/biskeyfile] <dumpfile>

 biskeyfile must contain the following lines:
   BIS Key 2 (crypt): <32-digit hex key>
   BIS Key 2 (tweak): <32-digit hex key>
  omit -b if System partition already decrypted (eg. dumped with HacDiskMount)

 dumpfile must be NAND dump (eg. Hekate rawnand.bin dump) or System partition

Run examples:
FVI2.png


FVI1.png


I tested this on Windows 10 with Anaconda Python 3.6.5 and Ubuntu 16.04 LTS with Python 3.5.2. I hope you find it useful :)
 
Last edited by shchmue, , Reason: nxnandmanager plug
This is a great handy little tool and hopefully not to complicated to those who have no idea how to use py
will be using this thanks
 
  • Like
Reactions: Mat37 and NoNAND
This is a great handy little tool and hopefully not to complicated to those who have no idea how to use py
will be using this thanks
yeah I'll add a troubleshooting section if any common command line errors manifest like they did all over the old ChoiDujour thread
 
  • Like
Reactions: Canna
Chick i had to use choidujour today to help another member omFG it was a remote connection anyway and his windows is set to french so you can imagine the output of errors i got fml
 
Last edited by Canna,
Last edited by shchmue,
  • Like
Reactions: bundat
I'm curious what the story is on the one with 400 NCAs. did you use ChoiDujour more than once or something?

No, never used ChoiDujour. This 5.1 update was done in OFW on an unhacked 4.1 Switch (well... unhacked except for running Hekate to get the 4.1 backup). As soon as the 5.1 update was completed, I stuck in an RCM jig on reboot to prevent burning fuses, and made the 5.1 backup.

So this is just basically an unhacked 5.1 NAND dump.
 
  • Like
Reactions: shchmue
No, never used ChoiDujour. This 5.1 update was done in OFW on an unhacked 4.1 Switch (well... unhacked except for running Hekate to get the 4.1 backup). As soon as the 5.1 update was completed, I stuck in an RCM jig on reboot to prevent burning fuses, and made the 5.1 backup.

So this is just basically an unhacked 5.1 NAND dump.
oh! I wonder whether doing that kept it from deleting the old files or something. or maybe CD deletes them but a typical update doesn't at all.
 
C:\1>python FVI.py -b=/c/1/biskeyfile.txt /c/1/system
File "FVI.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax

--------------------- MERGED ---------------------------

Windows 10
 
finally got this to run (my syntax understanding is awful), but now I get the error /contents/ not found.

This is a dump from I believe 5.0, but I wanted to check before I restore.

Any thoughts?

Thanks in advance for the help.
 

Site & Scene News

Popular threads in this forum