Skip to main content

Updates the firmware of Western Digital SSDs on Ubuntu / Linux Mint.

Project description

ReadTheDocs PyPI-Server Monthly Downloads

wd_fw_update

Western Digital SSD Firmware Update Tool

This is a firmware update tool for Western Digital SSDs on Ubuntu / Linux Mint.

It provides a user-friendly interface to select the firmware version for the update process.

It uses the Western Digital API and the NVME toolbox nvme-cli but is NOT associated in any case to them.

It was originally developed for Frame.Work laptops, but should work with any Ubuntu / Mint device with Western Digital NVME SSD.

See the discussion on: community.frame.work and juleskreuer.eu

GIF

Installation

Prerequisites

Make sure the following dependencies are installed on your system:

  • sudo
  • nvme-cli

Via source

Clone the repository:

git clone https://github.com/not-a-feature/wd_fw_update.git
cd wd_fw_update

pip install .

Via pypi:

The newest release is published on pypi.

pip install wd-fw-update

Usage

Run

wd_fw_update

Follow the on-screen prompts to select the appropriate options for your firmware update. The script will guide you through the process, and once completed, it will provide a summary of the update. Depending on the update mode, it may prompt you to reboot or switch to the new slot.

Command-Line Options

--version: Display the version of the firmware update tool.
-i, --info: Display information about the available drives.
-v, --verbose: Set the log level to INFO.
-vv, --very-verbose: Set the log level to DEBUG.

The -i flag will display about the available drives.

Example:

========== Device Info ==========
Device                   : /dev/nvme0n1
Model                    : WD_BLACK SN770 500GB
Current fw version       : 731120WD
Slot 1 readonly          : False
Slot count               : 2
Current slot             : 2
Slots with firmware      : {1: '731030WD', 2: '731120WD'}

Note

This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.

Dependencies

License

Copyright (C) 2024 by Jules Kreuer - @not_a_feature This piece of software is published unter the GNU General Public License v3.0 TLDR:

Permissions Conditions Limitations
✓ Commercial use Disclose source ✕ Liability
✓ Distribution License and copyright notice ✕ Warranty
✓ Modification Same license
✓ Patent use State changes
✓ Private use

Go to LICENSE to see the full version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wd_fw_update-2.0.1.tar.gz (325.6 kB view details)

Uploaded Source

Built Distribution

wd_fw_update-2.0.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file wd_fw_update-2.0.1.tar.gz.

File metadata

  • Download URL: wd_fw_update-2.0.1.tar.gz
  • Upload date:
  • Size: 325.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for wd_fw_update-2.0.1.tar.gz
Algorithm Hash digest
SHA256 e1886c77f0cb6314ee58dbc8eaccea755ff8dea6899e05941b94cc97abf0ebff
MD5 017342931ddaf3f248bd3e8985e30aa8
BLAKE2b-256 d8ddbf558c70917a71c6a7f1adcedb3a88e45ec3f7676b399c5c424192f58de2

See more details on using hashes here.

File details

Details for the file wd_fw_update-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wd_fw_update-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 292e2743505a38e2449814157b5d373f0e304dba4835af4956392a39748f4abd
MD5 44fef3c46238ed11ba07ce2bd35351c8
BLAKE2b-256 20e9faf4cdec88c807f9a9d70abe39cbc976bc661d81c9a595e6e8d2dac5bb09

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page