BU40N Flash Hangs

Discussion of LibreDrive mode, compatible drives and firmwares
Post Reply
tauceti
Posts: 2
Joined: Sun Aug 24, 2025 1:21 am

BU40N Flash Hangs

Post by tauceti »

I'm trying to flash a BU40N drive from version 1.05 -> 1.03 (see further below for full details of the drive). However, when I run the command:
makemkvcon f -d 'dev_21:4' -f /tmp/sdf.bin rawflash main -i /tmp/HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin
It hangs forever with no progress. I am able to still use the drive after killing the command.
Followed instructions from viewtopic.php?p=181425#p181425 to flash on a linux device. I have no disc in the drive.

How can I troubleshoot this? I include more details below. Thanks!

Command:

makemkvcon f -l
Found 2 drives(s)
00: dev_21:4, /dev/sr1, /dev/sr1
HL-DT-ST_BD-RE_BU40N_1.05_212404231347_MOBP4291705

[omitted second drive]
md5sum of the two files used:
$ md5sum sdf.bin HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin
602b0be6847e9623f7454ac2b87df80d sdf.bin
74ebaf627d2aac5f899191d6caceb54c HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin
Drive Info:
Drive Information
OS device name: /dev/sr1
Manufacturer: HL-DT-ST
Product: BD-RE BU40N
Revision: 1.05
Serial number: XXX
Firmware date: 2124-04-23 13:47
Bus encryption flags: 17

LibreDrive Information
Status: Possible, not yet enabled
Drive platform: MT1959

No disc inserted
Billycar11
Posts: 4938
Joined: Sun Aug 24, 2014 5:49 am

Re: BU40N Flash Hangs

Post by Billycar11 »

well you dont have enc but thats probably not the problem though
last few version have a flashing bug on linux go back to 1.17 and try with enc and it should work and go to 1.00 after 1.03 as on linux there is also a bug that 1.03mk does not work only the de fw does
Buy a UHD drive from the guide and how to video maker: https://www.makemkv.com/forum/viewtopic ... 20&t=17831
UHD Drives Guide: https://www.makemkv.com/forum/viewtopic ... 16&t=19634
Auto flash kit $25 Email me for one Billycar5924@gmail.com
tauceti
Posts: 2
Joined: Sun Aug 24, 2025 1:21 am

Re: BU40N Flash Hangs

Post by tauceti »

Thanks. I ended up addressing this in windows. I'm not sure why it doesn't work in linux. MakeMKV recognizes my drive but would also freeze when trying to load a bluray disc (that I could load in windows; it's not UHD).
What's interesting is that when I would start MakeMKV in linux, it would launch a process `makemkvcon`, which would just hang forever. When killing MakeMKV, I would have to manually kill this process myself.

After flashing in Windows, MakeMKV works in Linux. I also don't see that hanging process named `makemkvcon` anymore.

Here is what I did and the relevant output below/

First, I followed https://github.com/nxyzo/Flashing-Verba ... -to-1.03MK

Double checked my drive worked by loading a disc in windows (unlike linux, the disc loads):
Drive Information
OS device name: \Device\CdRom0
Current profile: BD-ROM
Manufacturer: HL-DT-ST
Product: BD-RE BU40N
Revision: 1.05
Serial number: XXXXXX
Firmware date: 2124-04-23 13:47
Bus encryption flags: 17
Highest AACS version: 78

LibreDrive Information
Status: Possible, not yet enabled
Drive platform: MT1959

Disc Information
Label: Stargate_SG1_BR_S5D2
Timestamp: 2021-01-22 12:12:47
Protection: AACS v78
Data capacity: 34.82 Gb
Disc type: BD-ROM
Number of layers: 2
Channel bit length: 74,5 nm (25.0 GB max. per layer)
I then ran this at command line (powershell):
./makemkvcon64.exe f --all-yes -d D: rawflash enc -i "C:\Users\jrmlh\projects\bluray\The all you need firmware pack\The all you need firmware pack\LG slim BU40N\HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin"
and got this output:
./makemkvcon64.exe f --all-yes -d D: rawflash enc -i "C:\Users\XXX\projects\bluray\The all you need firmware pack\The all you need firmware pack\LG slim BU40N\HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin"

Reading input file C:\Users\XXX\projects\bluray\The all you need firmware pack\The all you need firmware pack\LG slim BU40N\HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin
Flashing flags = 0x0 : 0 0 0 0 : ---- ---- ---- ----
Sending image in encrypted format
Current Drive ID: HL-DT-ST_BD-RE_BU40N_1.05_212404231347_MOBP4291705
Ready to write drive flash memory. (auto confirmed)
Operation started: Sending flash image to drive
100% Operation finished
Operation started: Programming flash
100% Operation finished
Done successfully
After this, I now see this output in linux when test loading a disc:
Drive Information
OS device name: /dev/sr1
Current profile: BD-ROM
Manufacturer: HL-DT-ST
Product: BD-RE BU40N
Revision: 1.03
Serial number: XXX
Firmware date: 2118-10-24 19:34
Bus encryption flags: 17
Highest AACS version: 78

LibreDrive Information
Status: Enabled
Drive platform: MT1959
Firmware type: Patched (microcode access re-enabled)
Firmware version: 1.03
DVD all regions: Yes
BD raw data read: Yes
BD raw metadata read: Yes
Unrestricted read speed: Yes

Disc Information
Label: Stargate_SG1_BR_S5D2
Timestamp: 2021-01-22 12:12:47
Protection: AACS v78
Data capacity: 34.82 Gb
Disc type: BD-ROM
Number of layers: 2
Channel bit length: 74,5 nm (25.0 GB max. per layer)
MartyMcNuts
Posts: 3813
Joined: Wed Nov 22, 2017 11:45 pm

Re: BU40N Flash Hangs

Post by MartyMcNuts »

tauceti wrote:
Sun Aug 24, 2025 12:48 pm
Thanks. I ended up addressing this in windows. I'm not sure why it doesn't work in linux. MakeMKV recognizes my drive but would also freeze when trying to load a bluray disc (that I could load in windows; it's not UHD).
What's interesting is that when I would start MakeMKV in linux, it would launch a process `makemkvcon`, which would just hang forever. When killing MakeMKV, I would have to manually kill this process myself.

After flashing in Windows, MakeMKV works in Linux. I also don't see that hanging process named `makemkvcon` anymore.

Here is what I did and the relevant output below/

First, I followed https://github.com/nxyzo/Flashing-Verba ... -to-1.03MK

Double checked my drive worked by loading a disc in windows (unlike linux, the disc loads):
Drive Information
OS device name: \Device\CdRom0
Current profile: BD-ROM
Manufacturer: HL-DT-ST
Product: BD-RE BU40N
Revision: 1.05
Serial number: XXXXXX
Firmware date: 2124-04-23 13:47
Bus encryption flags: 17
Highest AACS version: 78

LibreDrive Information
Status: Possible, not yet enabled
Drive platform: MT1959

Disc Information
Label: Stargate_SG1_BR_S5D2
Timestamp: 2021-01-22 12:12:47
Protection: AACS v78
Data capacity: 34.82 Gb
Disc type: BD-ROM
Number of layers: 2
Channel bit length: 74,5 nm (25.0 GB max. per layer)
I then ran this at command line (powershell):
./makemkvcon64.exe f --all-yes -d D: rawflash enc -i "C:\Users\jrmlh\projects\bluray\The all you need firmware pack\The all you need firmware pack\LG slim BU40N\HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin"
and got this output:
./makemkvcon64.exe f --all-yes -d D: rawflash enc -i "C:\Users\XXX\projects\bluray\The all you need firmware pack\The all you need firmware pack\LG slim BU40N\HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin"

Reading input file C:\Users\XXX\projects\bluray\The all you need firmware pack\The all you need firmware pack\LG slim BU40N\HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin
Flashing flags = 0x0 : 0 0 0 0 : ---- ---- ---- ----
Sending image in encrypted format
Current Drive ID: HL-DT-ST_BD-RE_BU40N_1.05_212404231347_MOBP4291705
Ready to write drive flash memory. (auto confirmed)
Operation started: Sending flash image to drive
100% Operation finished
Operation started: Programming flash
100% Operation finished
Done successfully
After this, I now see this output in linux when test loading a disc:
Drive Information
OS device name: /dev/sr1
Current profile: BD-ROM
Manufacturer: HL-DT-ST
Product: BD-RE BU40N
Revision: 1.03
Serial number: XXX
Firmware date: 2118-10-24 19:34
Bus encryption flags: 17
Highest AACS version: 78

LibreDrive Information
Status: Enabled
Drive platform: MT1959
Firmware type: Patched (microcode access re-enabled)
Firmware version: 1.03
DVD all regions: Yes
BD raw data read: Yes
BD raw metadata read: Yes
Unrestricted read speed: Yes

Disc Information
Label: Stargate_SG1_BR_S5D2
Timestamp: 2021-01-22 12:12:47
Protection: AACS v78
Data capacity: 34.82 Gb
Disc type: BD-ROM
Number of layers: 2
Channel bit length: 74,5 nm (25.0 GB max. per layer)
I suggest you now flash the drive to BU40N 1.00 as BU40N 1.03-MK doesn't work very well on Linux.
Cheers :D
----------------------------------------------------------------------------------------------------------------------------
For UHD enabled drives (AU/NZ/SG + Others) & DIY Single Drive Flasher (WW): https://uhdenableddrives.com
gabiel
Posts: 4
Joined: Thu Sep 04, 2025 3:11 pm

Re: BU40N Flash Hangs

Post by gabiel »

Hi MartyMcNuts,

I have a couple of questions regarding the flashing of BU40N to 1.00:
  1. The procedure is the same as flashing to 1.03?
  2. Can it be done directly from stock firmware or the drive should be flashed first to 1.03?
  3. Do you have a link to the issues of 1.03 on Linux? I tried searching the forum but I cannot find any specific issue, only other post stating that there are issues
Thanks for your time.
Post Reply