sdftool not working - Ubuntu 24.04.4, makemkv 1.18.1

The place to discuss linux version of MakeMKV
Post Reply
rcollins0618
Posts: 2
Joined: Fri May 23, 2025 9:05 pm

sdftool not working - Ubuntu 24.04.4, makemkv 1.18.1

Post by rcollins0618 »

Hello,

I have an internal blu-ray drive, WH16NS40 rev. 1.05. I'm using Ubuntu 24.04.4 LTS. I have no windows computer, so I can't use the GUI flasher.

My drive can't read 4K UHD Blu-Rays (I could have swore it could before, maybe I'm wrong. I have two drives. the other one works just fine). I thought I already flashed this drive a while back on another computer but here's the info seen in makemkv:

Drive Information
OS device name: /dev/sr0
Manufacturer: HL-DT-ST
Product: BD-RE WH16NS40
Revision: 1.05
Serial number: ...
Firmware date: 2120-05-06 14:40
Bus encryption flags: 17
Highest AACS version: 61

LibreDrive Information
Status: Possible (with patched firmware)
Drive platform: MT1959
Harware support: Yes
Firmware support: No
Firmware type: Original (patched version available)
Firmware version: 1.05
DVD all regions: Possible (with patched firmware)
BD raw data read: Possible (with patched firmware)
BD raw metadata read: Possible (with patched firmware)
Unrestricted read speed: Possible (with patched firmware)

Given that firmware date, doesn't that mean it's flashed? Yet, the LibreDrive info shows that it's still got original firmware.

Anyway, I'm trying to flash it. I have the HL-DT-ST-BD-RE_WH16NS40-NS50-1.05-NM00900-212005061440.bin file and sdf.bin as well. But when I go and try to use sdftool, some of the commands just hang with a blinking cursor until I press Ctrl+C.

$ "sdftool -l" works. here's the output:
Found 1 drives(s)
00: dev_21:0, /dev/sr0, /dev/sr0
HL-DT-ST_BD-RE__WH16NS40_1.05_212005061440_KLGNBGG2052

$ "sdftool -d /dev/sr0 --info" works.

$ "sdftool -v -d /dev/sr0 help all" hangs and (with the -v switch) only says: "Loaded SDF.bin version 0x98" with a blinking cursor below it.

$ "sdftool -v -d /dev/sr0 dump -o /tmp/" hangs like previously stated command. I wanted to try and dump the ROM before flashing a new one.

I'm afraid to try and flash the drive if it would even work. What am I doing wrong?

Thanks.
JumpyGrumpy
Posts: 6
Joined: Sun May 18, 2025 8:39 pm

Re: sdftool not working - Ubuntu 24.04.4, makemkv 1.18.1

Post by JumpyGrumpy »

Can you run the "help all" on the drive that does work OK?

I don't have a definitive answer, but I do have something to try: downgrading to MakeMKV 1.17.7.

I'm on Fedora 42 and have that drive (though it has been cross-flashed), and am able to do the "sdftool -v -d /dev/sr0 help all", and "...dump auto" on v 1.17.7. That drive will also read discs with MakeMKV on 1.17.7 and later.

However, I have an unflashed Pioneer drive that will hang up the GUI on anything > 1.17.7, but works OK on 1.17.7. So, I'm wondering if there's something with flashed vs. unflashed drives on Linux and > 1.17.7, or something else, but there's definitely an issue going on.

If you're running flatpak it's easy to "update":

$ sudo flatpak update --commit=ce23b3e362e485c067d049deaabbe58caf89885987cd8e6d37c50f07a56f885a com.makemkv.MakeMKV

And if you want to go back to latest:

$ sudo flatpak update com.makemkv.MakeMKV

Sorry, I'm not sure about other install methods...

Not saying that it will make a difference, but A) it should be easy enough to try, and B) it might give some additional data for troubleshooting the 1.17.8+ issue.

Cheers!
rcollins0618
Posts: 2
Joined: Fri May 23, 2025 9:05 pm

Re: sdftool not working - Ubuntu 24.04.4, makemkv 1.18.1

Post by rcollins0618 »

With my other drive plugged it, it shows up as /dev/sr1 when I run "sdftool -l".

Running "sdftool -d /dev/sr1 help all" gives me the same problem. Running htop, I see the sdftool program pegging 1 core at 100% usage until i stop it.

I will try downgrading and will come back with answers.
thaimin
Posts: 3
Joined: Wed Jun 17, 2015 9:23 am

Re: sdftool not working - Ubuntu 24.04.4, makemkv 1.18.1

Post by thaimin »

I am having similar issues. I have 2 drives and I cannot dump or run 'help all' on either one (both are WH16NS40). I am running Fedora 41. Both drives can be listed:

Code: Select all

Found 2 drives(s)
00: dev_21:1, /dev/sr0, /dev/sr0
  HL-DT-ST_BD-RE__WH16NS40_1.05_212005061440_M00M37A4501

01: dev_21:2, /dev/sr1, /dev/sr1
  HL-DT-ST_BD-RE__WH16NS40_1.01_211312061658_505CF001430
The 1.05 drive (first one) has been flashed (a while ago) and is completely unlocked. I am trying to flash the second one (1.01). I have tried running as root and not. I have used `-f ./sdf.bin` with the latest sdf.bin and not. I have tried `help all`, `dump`, `dump auto`, and others. I have tried `sdftool` and `makemkvcon f`. MakeMKV is v1.18.1.

Anything else to try?
flojo
Posts: 280
Joined: Thu Jun 22, 2023 4:27 am
Location: El Paso

Re: sdftool not working - Ubuntu 24.04.4, makemkv 1.18.1

Post by flojo »

Not sure what the problem is but when it comes to flashing and Linux you do _NOT_ want a version of "makemkvcon" higher than 1.17.6 (https://makemkv.com/download/old/makemk ... 7.6.tar.gz). I don't know if that will help, but 1.17.6 is what you should be using.

There's a long standing bug (nearly 2 years) that can prevent makemkvcon from seemingly identifying the firmware for newer versions than 1.17.6. Apparently you can execute 1.17.6 once, then upgrade to a newer version to have a newer version work (or something like that, search the forums for it).
Post Reply