@dwm Heh, looks like `hdparm` knows how to push a firmware blob to a drive…
I picked apart the Python script at https://github.com/not-a-feature/wd_fw_update/blob/main/src/wd_fw_update/main.py to figure out where to get the download blob from.
```
hdparm --fwdownload-mode3 /tmp/UI450000.fluf --yes-i-know-what-i-am-doing --please-destroy-my-drive /dev/sdb
/dev/sdb:
fwdownload: xfer_mode=3 min=16 max=16 size=8192
........................................................................... Done.
```
Now, the $25 dollar question, is it bricked?
```
[3364110.062863] usb 3-2: new SuperSpeed USB device number 12 using xhci_hcd
[3364110.076783] usb 3-2: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[3364110.076791] usb 3-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[3364110.076793] usb 3-2: Product: USB3.0 External M.2 SSD
[3364110.076795] usb 3-2: Manufacturer: ASMedia
[3364110.076797] usb 3-2: SerialNumber: 20160500011E
[3364110.081446] scsi host6: uas
[3364110.088821] scsi 6:0:0:0: Direct-Access WDC WDS1 20G2G0B-00EPW0 0 PQ: 0 ANSI: 6
[3364110.090187] sd 6:0:0:0: Attached scsi generic sg2 type 0
[3364110.091182] sd 6:0:0:0: [sdb] 234455040 512-byte logical blocks: (120 GB/112 GiB)
[3364110.091297] sd 6:0:0:0: [sdb] Write Protect is off
[3364110.091302] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[3364110.091461] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[3364110.136287] sd 6:0:0:0: [sdb] Preferred minimum I/O size 512 bytes
[3364110.136294] sd 6:0:0:0: [sdb] Optimal transfer size 33553920 bytes
[3364110.153896] sdb: sdb1 sdb2 < sdb5 >
[3364110.156509] sd 6:0:0:0: [sdb] Attached SCSI disk
```
So far so good…
```
rikishi /tmp/wd_fw_update # mkfs.btrfs /dev/sdb1
btrfs-progs v6.16
See https://btrfs.readthedocs.io for more information.
Label: (null)
UUID: 15bd80a5-5581-4414-8209-983e859f4af4
Node size: 16384
Sector size: 4096 (CPU page size: 4096)
Filesystem size: 111.80GiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 1.00GiB
System: DUP 8.00MiB
SSD detected: no
Zoned device: no
Features: extref, skinny-metadata, no-holes, free-space-tree
Checksum: crc32c
Number of devices: 1
Devices:
ID SIZE PATH
1 111.80GiB /dev/sdb1
```
… it might actually be working now!