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

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
790
Trophies
0
XP
2,331
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

Canna

Bad Ass Poisonous Mushroom
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
35
Location
AZ
XP
1,526
Country
United States
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

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
790
Trophies
0
XP
2,331
Country
United States
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

Canna

Bad Ass Poisonous Mushroom
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
35
Location
AZ
XP
1,526
Country
United States
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,

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
790
Trophies
0
XP
2,331
Country
United States
Last edited by shchmue,
  • Like
Reactions: bundat

bundat

¿
Member
Joined
Jul 25, 2018
Messages
456
Trophies
0
XP
471
Country
Antarctica
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

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
790
Trophies
0
XP
2,331
Country
United States
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.
 

mario6714

Active Member
Newcomer
Joined
Jan 23, 2013
Messages
36
Trophies
0
Age
40
XP
129
Country
Mexico
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
 

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
790
Trophies
0
XP
2,331
Country
United States

xlim3y

Member
Newcomer
Joined
Aug 8, 2014
Messages
11
Trophies
0
Age
42
XP
72
Country
United States
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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Wish13 @ Wish13:
    actually everyone here is crazy lol
  • K3N1 @ K3N1:
    People in my area just say fuck off
  • Wish13 @ Wish13:
    lemme guess
  • Wish13 @ Wish13:
    new york?
  • K3N1 @ K3N1:
    No Midwest
  • SylverReZ @ SylverReZ:
    This world is a crazy place. Lol.
  • Wish13 @ Wish13:
    someone actually joined my james & the giant peach group lol
  • Wish13 @ Wish13:
    he said this: "James & the Giant Peach is so unrealistic because peaches aren't giant in real life. Roald Dahl really should have done some research before writing this terrible and unrealistic book. Entire generations of kids have probably been ruined because they thought that peaches could be really big."
  • SylverReZ @ SylverReZ:
    @Wish13, 1. James and the Giant Peach sucks. 2. Do you even know what the EOF is?
  • Wish13 @ Wish13:
    idk
    it sounds like mini 4-chan
    +1
  • Wish13 @ Wish13:
    except less big projects
  • K3N1 @ K3N1:
    Enemies or friends?
  • Wish13 @ Wish13:
    wth? wdym
  • SylverReZ @ SylverReZ:
    @Wish13, That's sorta about right.
  • Wish13 @ Wish13:
    bye! most likely will return in another 3 months lol
  • SylverReZ @ SylverReZ:
    Ok bye bye.
  • Psionic Roshambo @ Psionic Roshambo:
    Gaming consoles are too cheap to be Godlike lol
  • K3N1 @ K3N1:
    You should enter my address and click on buy now
  • popckorn @ popckorn:
    I cried a little when I saw the price of that mother board
  • popckorn @ popckorn:
    Ill keep playing my retro games lol
  • K3N1 @ K3N1:
    That board equals like 2 DKOldies orders
  • popckorn @ popckorn:
    *in my Ryzen 3200u, using RetroArch. LOL I cannot afford hardware beyond my modded WII, forget about physical games LOL.
    popckorn @ popckorn: *in my Ryzen 3200u, using RetroArch. LOL I cannot afford hardware beyond my modded WII, forget...