aboutsummaryrefslogtreecommitdiff

Samsung SSD firmware updater for Linux

Purpose

There were already some utilities in the AUR for updating Samsung SSD firmware on linux but it was a bit outdated so here we are. Some code has been taken from this blogpost and from this reddit thread by zty77.

Usage

You must launch the script as root. I tried to make it simple: you provide an Samsung Firmware ISO file as an argument and it'll execute the payload to update your firmware:

# example
samsung-ssd-fwupdate -i Samsung_SSD_980_PRO_5B2QGXA7.iso
samsung-ssd-fwupdate --install Samsung_SSD_980_PRO_5B2QGXA7.iso # same as above

As a bonus (and mostly for my convenience) you can print a list of the firmware ISOs listed on Samsung website with the -l or --list flag, or download them interactively with the -d or --download flag

Can also list the 'last-modified' date of the ISOs with the -ld/--list-dates switch.

License

MIT