I run Linux machines. I don't have access to a Windows PC to flash my WH16NS40. Can I flash it using the GUI SDF tool under wine in Linux ?
Or, is there a command line version of the SDF tool that I could use to flash my drive from a DOS disk ?
Thanks
Will the GUI SDF tool work properly under wine in Linux ?
-
- Posts: 23
- Joined: Sun Nov 14, 2021 7:13 pm
Re: Will the GUI SDF tool work properly under wine in Linux ?
You can flash drives on macOS from the command line. Presumably things work similarly on Linux.
viewtopic.php?f=4&t=23129
viewtopic.php?f=4&t=23129
-
- Posts: 23
- Joined: Sun Nov 14, 2021 7:13 pm
Re: Will the GUI SDF tool work properly under wine in Linux ?
Thank you. That was very helpful.
-
- Posts: 23
- Joined: Sun Nov 14, 2021 7:13 pm
Re: Will the GUI SDF tool work properly under wine in Linux ?
Update
The GUI SDF tool will start under wine in Linux. But the drive doesn't list in the drop down box. There is probably a way to get it to, but too much hassle for me. So I reverted to the command line.
Step 1
Download the firmware pack and uncompress it.
Step 2
Download sdf.bin. I found it here: https://makemkv.com/sdf.bin
Step 3 (optional)
Move the desired firmware and sdf.bin into an isolated directory.
Step 4
Open a terminal in the same directory as the firmware and sdf.bin Verify the files are there.
$ ls -al
total 2576
drwxr-xr-x. 1 me me 120 Nov 27 08:07 .
drwxr-xr-x. 1 me me 248 Nov 27 08:07 ..
-rw-rw-r--. 1 me me 2097152 Aug 31 2019 HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin
-rw-r--r--. 1 me me 538976 Nov 27 08:06 sdf.bin
Step 5 Find your drive identifier
$ makemkvcon f -l
Found 1 drives(s)
00: dev_21:0, /dev/sr0, /dev/sr0
HL-DT-ST_BD-RE__WH16NS40_1.05_212005061440_KLDL5BG1253
Step 6 Update the drive
]$ makemkvcon f -d'dev_21:0' -f./sdf.bin rawflash main,enc -i HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin
Reading input file HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin
Flashing flags = 0x0 : 0 0 0 0 : ---- ---- ---- ----
Current Drive ID: HL-DT-ST_BD-RE__WH16NS40_1.05_212005061440_KLDL5BG1253
Ready to write drive flash memory.
Type "yes" to continue, "no" to abort
yes
Operation started: Sending flash image to drive
100% Operation finished
Operation started: Programming flash
100% Operation finished
Done successfully
Step 7
Reboot to power down the drive. It won't read and use the new firmware until it restarts.
Step 8
Verify the drive has been updated in MakeMKV or with makemkvcon f -l.
$ makemkvcon f -l
Found 1 drives(s)
00: dev_21:0, /dev/sr0, /dev/sr0
HL-DT-ST_BD-RE__WH16NS60_1.02_211810291936_KLDL5BG1253
Note: the the first time I ran the firmware update, makemkvcon gave me the same output, ie success, but the firmware version didn't change. The problem was I used "rawflash main" instead of "rawflash main,enc" because the firmware is encoded. I reran it with "main,enc" and then it worked.
Note 2: makemkvcon gets installed with the makemkv package. You don't have to install it separately.
I hope this helps someone.
The GUI SDF tool will start under wine in Linux. But the drive doesn't list in the drop down box. There is probably a way to get it to, but too much hassle for me. So I reverted to the command line.
Step 1
Download the firmware pack and uncompress it.
Step 2
Download sdf.bin. I found it here: https://makemkv.com/sdf.bin
Step 3 (optional)
Move the desired firmware and sdf.bin into an isolated directory.
Step 4
Open a terminal in the same directory as the firmware and sdf.bin Verify the files are there.
$ ls -al
total 2576
drwxr-xr-x. 1 me me 120 Nov 27 08:07 .
drwxr-xr-x. 1 me me 248 Nov 27 08:07 ..
-rw-rw-r--. 1 me me 2097152 Aug 31 2019 HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin
-rw-r--r--. 1 me me 538976 Nov 27 08:06 sdf.bin
Step 5 Find your drive identifier
$ makemkvcon f -l
Found 1 drives(s)
00: dev_21:0, /dev/sr0, /dev/sr0
HL-DT-ST_BD-RE__WH16NS40_1.05_212005061440_KLDL5BG1253
Step 6 Update the drive
]$ makemkvcon f -d'dev_21:0' -f./sdf.bin rawflash main,enc -i HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin
Reading input file HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin
Flashing flags = 0x0 : 0 0 0 0 : ---- ---- ---- ----
Current Drive ID: HL-DT-ST_BD-RE__WH16NS40_1.05_212005061440_KLDL5BG1253
Ready to write drive flash memory.
Type "yes" to continue, "no" to abort
yes
Operation started: Sending flash image to drive
100% Operation finished
Operation started: Programming flash
100% Operation finished
Done successfully
Step 7
Reboot to power down the drive. It won't read and use the new firmware until it restarts.
Step 8
Verify the drive has been updated in MakeMKV or with makemkvcon f -l.
$ makemkvcon f -l
Found 1 drives(s)
00: dev_21:0, /dev/sr0, /dev/sr0
HL-DT-ST_BD-RE__WH16NS60_1.02_211810291936_KLDL5BG1253
Note: the the first time I ran the firmware update, makemkvcon gave me the same output, ie success, but the firmware version didn't change. The problem was I used "rawflash main" instead of "rawflash main,enc" because the firmware is encoded. I reran it with "main,enc" and then it worked.
Note 2: makemkvcon gets installed with the makemkv package. You don't have to install it separately.
I hope this helps someone.