Updating the HGST HDD & SSD firmware

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

molnart

Member
Feb 5, 2023
46
1
8
EDIT : Someone came through for me Thankyou.

Does anyone have, or can get me the Netapp NE02 firmware for the

E-X4132AHUH721212AL520412TBNE02

Have been running 2 of these in a Broadcom (lsi) array with other drives for over a year and
I’m starting to have issues with these drives as detailed here.

Have already returned one drive, trying to avoid returning the second one if it’s just a firmware fix.
I have tried flashing the latest generic firmware but it won’t take.
hey, i am looking for the same FW version. unfortunately trying to flash the "regular" version i found on hddguru is not working for me... could somebody pls upload ?
 

tcpluess

Member
Jan 22, 2024
82
9
8
I have recently purchased several models of HGST HDD and SSD media and decided to synchronize their firmware versions, sharing the achieved results. I hope my following findings will save some time for the fellas attempting the same noble quest.

I wasn't able to find firmware upgrades on the HGST website, so the quest to find the recent version became more interesting. Having some of the drives with newer firmware helped to further narrow the search, and eventually, I was able to find a source that had not only HGST firmware but some other brands as well.

The whole process was done on SuperMicro servers running CentOS 7.5 x86_64. In my case, I had two servers, one with the BPN-SAS2-826A backplane connected to LSI 9201-16i HBA (SAS2116), and the other with the BPN-SAS3-216A backplane connected to 3 LSI 9300-8i (SAS3008) HBAs.

You will need the sg3_utils package:

Code:
yum install sg3_utils
Identify the drives installed by running the lsscsi command:

Code:
lsscsi -sig
HGST has specific names for the firmware files, and the larger chunk of the time was spent on finding the corresponding names for the models I own:

Code:
HUS724040ALS640    MPGNA3A0.bin
HUSSL4010ASS600    A0GNA182.bin
HUSSL4010BSS600    SRGNA1D0.bin
HUSMM1680ASS200    SPGNA204.bin
I was able to find these by googling the firmware revision versions I had on my drives and stumbled across a file named Drive_Firmware_1.13.tgz, apparently from a three letter brand and that file had lots of other models, with the model-firmware.bin pairs listed inside the fwupdate.ini file. Hint: search for "Drive Firmware Package Version 1.13 Release Notes" then browse around the pdf.

Next step: checking the official drive documentation for firmware update mechanisms:

https://www.hgst.com/sites/default/files/resources/Ultrastar_7K4000_SAS_Spec_V1.8.pdf
https://www.hgst.com/sites/default/files/resources/Ultrastar_SSD400S_SAS_V2.0.pdf
https://www.hgst.com/sites/default/files/resources/US_SSD800MH.B_1600MM_1600MR_ProdManual.pdf

I was able to confirm that the above models support SCSI firmware update operations, so the rest was easy:

Code:
# sg_write_buffer -vvvvv -m 5 --in SRGNA1D0.bin /dev/sg15
found bsg_major=248
open /dev/sg15 with flags=0x802
tried to read 8388608 bytes from SRGNA1D0.bin, got 1114112 bytes
will write 1114112 bytes
    Write buffer cmd: 3b 05 00 00 00 00 11 00 00 00
    Write buffer parameter list (first 256 bytes):
        11 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        48 69 74 61 63 68 69 20  47 6c 6f 62 61 6c 20 53
        74 6f 72 61 67 65 20 54  65 63 68 6e 6f 6c 6f 67
        79 20 49 43 33 35 4c 78  78 78 55 78 44 33 32 31
        30 2d 30 20 4d 69 63 72  6f 63 6f 64 65 20 28 43
        29 20 43 6f 70 79 72 69  67 68 74 20 48 69 74 61
        63 68 69 20 43 6f 72 70  2e 20 32 30 30 33 2c 20
        32 30 30 34 2e 20 41 6c  6c 20 72 69 67 68 74 73
        20 72 65 73 65 72 76 65  64 2e 20 20 55 53 20 47
        6f 76 65 72 6e 6d 65 6e  74 20 55 73 65 72 73 20
        52 65 73 74 72 69 63 74  65 64 20 52 69 67 68 74
        73 20 2d 20 55 73 65 20  64 75 70 6c 69 63 61 74
        69 6f 6e 20 66 6f 72 20  64 69 73 63 6c 6f 73 75
        72 65 20 72 65 73 74 72  69 63 74 65 64 20 62 79
        20 47 43 41 20 41 44 50  20 53 63 68 65 64 75 6c
      duration=6747 ms
Make sure to address the drive by its /dev/sg?? name, not /dev/sd??, otherwise the operation will fail.

After the command completes, you can confirm the successful update by using the smartctl command, in my case:

Code:
smartctl -i /dev/sgXX | grep Revision
Note that the new firmware is not active until you reboot the server.

I also had some vendor-locked drives (HITACHI HUS72404CLAR4000, the branded version of the HGST HUS724040ALS640), and unfortunately, the same procedure failed for them:

Code:
# sg_write_buffer -vvvvvv -m 5 --in=MPGNA3A0.bin /dev/sg4
found bsg_major=248
open /dev/sg4 with flags=0x802
tried to read 8388608 bytes from MPGNA3A0.bin, got 1179648 bytes
will write 1179648 bytes
    Write buffer cmd: 3b 05 00 00 00 00 12 00 00 00
    Write buffer parameter list (first 256 bytes):
        12 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 ff ff ff ff
        48 47 53 54 2c 20 61 20  57 65 73 74 65 72 6e 20
        44 69 67 69 74 61 6c 20  43 6f 6d 70 61 6e 79 20
        49 43 33 35 4c 78 78 78  55 78 44 33 32 31 30 2d
        30 20 4d 69 63 72 6f 63  6f 64 65 20 28 43 29 20
        43 6f 70 79 72 69 67 68  74 20 57 65 73 74 65 72
        6e 20 44 69 67 69 74 61  6c 20 43 6f 72 70 2e 20
        32 30 31 32 2c 20 32 30  31 32 2d 32 30 31 33 2e
        20 41 6c 6c 20 72 69 67  68 74 73 20 72 65 73 65
        72 76 65 64 2e 20 20 55  53 20 47 6f 76 65 72 6e
        6d 65 6e 74 20 55 73 65  72 73 20 52 65 73 74 72
        69 63 74 65 64 20 52 69  67 68 74 73 20 2d 20 55
        73 65 20 64 75 70 6c 69  63 61 74 69 6f 6e 20 66
        6f 72 20 64 69 73 63 6c  6f 73 75 72 65 20 72 65
        73 74 72 69 63 74 65 64  20 62 79 20 47 43 41 20
      duration=71 ms
write buffer:  Descriptor format, current;  Sense key: Illegal Request
<<<Sense data overflow>>>
Additional sense: Parameter value invalid
  Descriptor type: Information
   >> descriptor too short
    00 00 00 00 00 00 00 00 00 00
  Descriptor type: Sense key specific: Field pointer
    Error in Data byte 0
  Descriptor type: Field replaceable unit
    code=0x0
  Descriptor type: Block commands
    Incorrect Length Indicator (ILI) clear
  Descriptor type: Vendor specific [0x80]
    f1 30
  Descriptor tybad field in Write buffer cdb
do you also have the firmware for HUSSL4040ASS600 or HUSSL4040BSS600?
 

MasterIT

New Member
Feb 26, 2020
15
7
3
You need BCGNC170
I gave this a shot with HUGO, and:

Code:
Error updating Firmware on device: 50Vxxxxx
        Reason: Device failed to update firmware.

1737499961069.png

i was able to change the block size on the drives, should it be on the original block size before flashing?
 

MasterIT

New Member
Feb 26, 2020
15
7
3
I gave this a shot with HUGO, and:

Code:
Error updating Firmware on device: 50Vxxxxx
        Reason: Device failed to update firmware.

View attachment 41477

i was able to change the block size on the drives, should it be on the original block size before flashing?
it seems that the newest version of HUGO will cause it to fail. in the older version it worked. version 6.4.1

1737585980386.png
 

BSDUNIX43

New Member
Feb 22, 2017
4
1
3
40
I have been pulling my hair out trying to get an OEM (I think it is) Ultrastar SS200 Model: SXHLLL SDLL1HLR-076T-CDA1 Firmware: X130 wiped and usable. In the same array that these came from I found 1 that was Firmware: X150 and was able to be wiped no issue(s). I went down the path of SED secure erase utilities to no avail. I even bought a Dell PercH730 in order to pull them in as Foreign Disks and wipe that way - no luck. Is there a way to flash the X150 firmware on to these? I was not able to find anything on HDGURU or any HGST support forum.
 

BSDUNIX43

New Member
Feb 22, 2017
4
1
3
40
I have been pulling my hair out trying to get an OEM (I think it is) Ultrastar SS200 Model: SXHLLL SDLL1HLR-076T-CDA1 Firmware: X130 wiped and usable. In the same array that these came from I found 1 that was Firmware: X150 and was able to be wiped no issue(s). I went down the path of SED secure erase utilities to no avail. I even bought a Dell PercH730 in order to pull them in as Foreign Disks and wipe that way - no luck. Is there a way to flash the X150 firmware on to these? I was not able to find anything on HDGURU or any HGST support forum.
----update----

SanDisk Support provided me with the X150 FW and flashing that although successful did not remove any of the vendor locks on these drives. Back to square one...
 

ElCoyote_

Active Member
Jul 22, 2016
219
145
43
@BSDUNIX43 I have a few of these SS200 myself.
Part numbers are:
SDLL1HLR076TCCA1: HGST original, firmware Y150
SDLL1HLR076T5CHS: HUAWEI OEM, firmware HW09
I've not found a way to cross-flash them, btw.
Have you tried unlocking the disks with something like sedutil-cli or GitHub - dex6/sed-opal-unlocker: Micro-utility for unlocking TCG-OPAL encrypted disks ?

Looking at my notes from a few years back for these drives, I only see this:
# sg_scan -i
# sg_format --format --size=4096 /dev/sg2

Also, would you mind sharing that X150 firmware somewhere? the firmware I got from HGST a while back was Y150, not X150 so perhaps its a different drive variant.
 
Last edited:

Megatrnoxxx

New Member
Feb 25, 2025
10
0
1
Thanks, sg_write_buffer worked for updating HUH728080AL5205 disks. I'll check out HUGO next time, when I'll be updating the batch of AL4200 disks.

By the way, I've got a HUH721008AL5205 disk that came with D384 firmware. I wonder whether there's newer firmware for this model available anywhere?
1740922702197.png
 

Attachments

BSDUNIX43

New Member
Feb 22, 2017
4
1
3
40
@BSDUNIX43 I have a few of these SS200 myself.
Part numbers are:
SDLL1HLR076TCCA1: HGST original, firmware Y150
SDLL1HLR076T5CHS: HUAWEI OEM, firmware HW09
I've not found a way to cross-flash them, btw.
Have you tried unlocking the disks with something like sedutil-cli or GitHub - dex6/sed-opal-unlocker: Micro-utility for unlocking TCG-OPAL encrypted disks ?

Looking at my notes from a few years back for these drives, I only see this:
# sg_scan -i
# sg_format --format --size=4096 /dev/sg2

Also, would you mind sharing that X150 firmware somewhere? the firmware I got from HGST a while back was Y150, not X150 so perhaps its a different drive variant.
I have tried sedutil-cli that comes with TrueNas Scale and it did not work, however I have not tried the second sed-opal-unlocker that you linked. Is this difficult to build a bootable USB or can I just SCP those aditional bits over linked in the Github article to augment an existing install of sedutil-cli ?

I will DM you the FW now.

Thanks,
 
  • Like
Reactions: Megatrnoxxx

ElCoyote_

Active Member
Jul 22, 2016
219
145
43
Also, about SN840 UltraStar DC drives, I was trying to obtain the latest firmware for my drive (WUS4BA1A1DSP3X3 aka 0TS2051) and I got the following reply from 'Sandisk':
=================================================================
Please allow me to inform you, Ultrastar DC sn840 NVMe SSD is an enterprise product and support for Enterprise
products is limited to Sales, Warranty Replacement, and information that is publicly available including data
sheets and product briefs. However, System Integration, Qualification, Troubleshooting, and firmware updates
for Enterprise products are not supported.
=================================================================

So I guess community is going to be the only option for SN8** drive firmware.
Does anyone have recent files for the SN840 U.2 drive?

The latests I got (May 2024) are:

Code:
-rwxr-xr-x.   1 root root 3530752 May 19  2024 malibux_qs2_GD_R2210010.vpkg
-rwxr-xr-x.   1 root root 3530752 May 23  2024 malibux_qs2_GN_R2210010.vpkg
 

randome

New Member
Mar 6, 2025
1
0
1
Also, about SN840 UltraStar DC drives, I was trying to obtain the latest firmware for my drive (WUS4BA1A1DSP3X3 aka 0TS2051) and I got the following reply from 'Sandisk':
=================================================================
Please allow me to inform you, Ultrastar DC sn840 NVMe SSD is an enterprise product and support for Enterprise
products is limited to Sales, Warranty Replacement, and information that is publicly available including data
sheets and product briefs. However, System Integration, Qualification, Troubleshooting, and firmware updates
for Enterprise products are not supported.
=================================================================

So I guess community is going to be the only option for SN8** drive firmware.
Does anyone have recent files for the SN840 U.2 drive?

The latests I got (May 2024) are:

Code:
-rwxr-xr-x.   1 root root 3530752 May 19  2024 malibux_qs2_GD_R2210010.vpkg
-rwxr-xr-x.   1 root root 3530752 May 23  2024 malibux_qs2_GN_R2210010.vpkg
Hello,

Latest FW I have is R2210804.


Hope this helps!
 
Last edited:

ElCoyote_

Active Member
Jul 22, 2016
219
145
43
Thank you for sharing, @randome . Wow, from 0010 to 0804, that's quite a jump. Any release notes? What model do you have?