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

shchmue

Developer
OP
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
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
36
Location
AZ
XP
1,539
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
791
Trophies
1
XP
2,367
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
36
Location
AZ
XP
1,539
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
791
Trophies
1
XP
2,367
Country
United States
Last edited by shchmue,
  • Like
Reactions: bundat

bundat

¿
Member
Joined
Jul 25, 2018
Messages
456
Trophies
0
XP
481
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
791
Trophies
1
XP
2,367
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
41
XP
139
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
791
Trophies
1
XP
2,367
Country
United States

xlim3y

Member
Newcomer
Joined
Aug 8, 2014
Messages
12
Trophies
0
Age
43
XP
111
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    My entertainment centers blocking all my io gotta fix that eventually
  • ZeroT21 @ ZeroT21:
    I had used win 98 SE till XP arrived
  • SylverReZ @ SylverReZ:
    Had a ton of bugs and often crashed. It even didn't support DOS compatibility with older games. :feelsbadman:
  • SylverReZ @ SylverReZ:
    I only grew up with Windows XP because I was lucky.
  • RedColoredStars @ RedColoredStars:
    I downloaded XP on dialup when it came out. Overnights for like a week. cuz I couldn't tie up the phone line during the day. It was so awesome and worked so great going from ME to XP.
  • K3Nv2 @ K3Nv2:
    Vga pins were a dick
  • K3Nv2 @ K3Nv2:
    I kind of want down a large pizza at 10am then crash out
  • ZeroT21 @ ZeroT21:
    Having pizza all day? done it
  • K3Nv2 @ K3Nv2:
    Nah pizza hut open at 10:30
  • ZeroT21 @ ZeroT21:
    just buy a stack of pizza and keep the rest you don't need yet frozen
  • K3Nv2 @ K3Nv2:
    Or buy frozen pizza
  • ZeroT21 @ ZeroT21:
    I buy the regular kind, not the frozen stuff
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
    K3Nv2 @ K3Nv2: I'm beefing with a neighbor currently each time I ask him for help with something he makes bs...