Custom firmware pack with LibreDrive patches

Discussion of LibreDrive mode, compatible drives and firmwares
mike admin
Posts: 3605
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Custom firmware pack with LibreDrive patches

Post by mike admin » Fri Mar 15, 2019 2:37 pm

Fundamentally, in order for LibreDrive to work, the drive should allow modification of drive microcode in memory. At the time of this writing LibreDrive mode is enabled for about 200 different drive/firmware variations. For most drive models and firmware versions no action is required - the firmware provides an interface (so-called vendor commands) to update the running microcode in drive memory.
Unfortunately these commands are disabled in latest firmware versions, so firmware update is required in order to enable LibreDrive support - either as firmware downgrade, or as firmware upgrade to a patched version.

For the moment two patched firmware types are available:

"DE" firmware
This is an official firmware image with a single byte changed, so this firmware can be flashed over the latest firmware. The changed byte enables firmware downgrade. No other changes are made to firmware image. This is a good option to downgrade a firmware and get back the features that were available in previous versions, when previous firmware versions are available.

"MK" firmware
This is a custom firmware made by MakeMKV team. MK firmware is a patched official firmware image, with changes as minimal as possible, only to enable LibreDrive support. The MK firmware has the following properties:
  • Made from the latest available official firmware.
  • Re-enabled vendor commands to update microcode in memory.
  • Re-enabled ability to read UHD discs (if drive was capable, and disabled in firmware).
  • Removed firmware downgrade check (if present in firmware).
  • No other changes.
Specifically, MK patch does not meddle with AACS code in firmware and contains no bugfixes, or workarounds or other changes of any sort. For example, if official firmware image does not allow reading AACS2 metadata with AACS1 host certificates (so-called "friendly drive"), MK patch would not change that. For BDXL compatible drives MK patch would re-enable ability to read UHD discs, but it would not fix the "sleep" bug, or any other firmware bugs. All MK patch does - it makes the drive LibreDrive-compatible, nothing more.

The latest MK firmware pack is available for download at https://www.makemkv.com/download/mk-fir ... 191013.zip .

(this topic will be updated with detailed flashing instructions later)

Please note that there are different drives with exactly the same name but with different hardware. For example BH16NS40 and BH16NS40-NS50 are different models. Another example - there are three different BU40 models - Taiwan, USA and Europe. If unsure, do not flash, and wait for LibreDrive flasher app to be released.

For now, feel free to update, if you know what you are doing. The images are very safe - you can't brick your drive if using "drive self-update" method. Please pay close attention for the drive model - the patched flasher allows a cross-flash and will happily let you change your drive model. This might be not exactly what you want.

mike admin
Posts: 3605
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Custom firmware pack with LibreDrive patches

Post by mike admin » Tue Mar 19, 2019 12:20 pm

Firmware pack updated. Added ASUS firmware based on 3.10 and A204.

BermudaLamb
Posts: 4
Joined: Sat Mar 16, 2019 8:35 pm

Re: Custom firmware pack with LibreDrive patches

Post by BermudaLamb » Wed Mar 27, 2019 2:20 am

When will the
detailed flashing instructions be posted?

Billycar11
Posts: 548
Joined: Sun Aug 24, 2014 5:49 am

Re: Custom firmware pack with LibreDrive patches

Post by Billycar11 » Wed Mar 27, 2019 3:30 am

BermudaLamb wrote:
Wed Mar 27, 2019 2:20 am
When will the
detailed flashing instructions be posted?
pretty much just follow this video: https://www.youtube.com/watch?v=Yfpf6HoMMis
and make sure your drive meets the requirements
you know
ns50 or 60 svc code on drive
2015+ build date
MT1959 Drive platform under LibreDrive Information in makemkv
stuff like that

sickb
Posts: 4
Joined: Mon Jan 28, 2019 9:42 pm

Re: Custom firmware pack with LibreDrive patches

Post by sickb » Fri Mar 29, 2019 9:40 am

Do we still use the `BH16NS40_EEPROM_Data_Mover.exe` to copy info from the currently installed official firmware, to the new MK firmware?

Billycar11
Posts: 548
Joined: Sun Aug 24, 2014 5:49 am

Re: Custom firmware pack with LibreDrive patches

Post by Billycar11 » Fri Mar 29, 2019 3:50 pm

sickb wrote:
Fri Mar 29, 2019 9:40 am
Do we still use the `BH16NS40_EEPROM_Data_Mover.exe` to copy info from the currently installed official firmware, to the new MK firmware?
No if you had watched the video I posted above you would know that

sickb
Posts: 4
Joined: Mon Jan 28, 2019 9:42 pm

Re: Custom firmware pack with LibreDrive patches

Post by sickb » Fri Mar 29, 2019 6:44 pm

alright, but the asus tool throws an error on my win PE, so I am left to the old tools that were recommended to be used with the data mover,
in this case im cross-flashing LG BH16 NS55 to Asus.

SamuriHL
Posts: 1053
Joined: Mon Jun 14, 2010 5:32 pm

Re: Custom firmware pack with LibreDrive patches

Post by SamuriHL » Fri Mar 29, 2019 8:34 pm

No, please don't do that.

https://www.makemkv.com/forum/viewtopic ... 284#p70284

Use the unlocked LG Windows flasher in that post. The flasher you're using requires .net to be installed which is why you're getting an error in WinPE but it's not the only Windows flasher. The old dosflash method is not needed.

sickb
Posts: 4
Joined: Mon Jan 28, 2019 9:42 pm

Re: Custom firmware pack with LibreDrive patches

Post by sickb » Sat Mar 30, 2019 12:01 pm

SamuriHL wrote:
Fri Mar 29, 2019 8:34 pm
No, please don't do that.

https://www.makemkv.com/forum/viewtopic ... 284#p70284

Use the unlocked LG Windows flasher in that post. The flasher you're using requires .net to be installed which is why you're getting an error in WinPE but it's not the only Windows flasher. The old dosflash method is not needed.
many thanks!

cbickel
Posts: 4
Joined: Sat Mar 30, 2019 4:10 pm

Re: Custom firmware pack with LibreDrive patches

Post by cbickel » Sat Mar 30, 2019 4:13 pm

Anyone had any luck using the custom MK firmware for incompatible drives. I have an LG BP50NB40 NB50. There is a custom firmware bin file in the directory for my drive. However, when I try to use the unlocked flasher it gets stuck at 0%. Any help would be appreciated.

Thanks

jonghotti
Posts: 584
Joined: Tue May 01, 2018 7:04 pm
Location: Earth

Re: Custom firmware pack with LibreDrive patches

Post by jonghotti » Sun Mar 31, 2019 5:16 am

cbickel wrote:
Sat Mar 30, 2019 4:13 pm
Anyone had any luck using the custom MK firmware for incompatible drives. I have an LG BP50NB40 NB50. There is a custom firmware bin file in the directory for my drive. However, when I try to use the unlocked flasher it gets stuck at 0%. Any help would be appreciated.

Thanks
Pretty sure this was Woodstock's job, since he has one :-) Hey buddy!

Woodstock
Posts: 6531
Joined: Sun Jul 24, 2011 11:21 pm

Re: Custom firmware pack with LibreDrive patches

Post by Woodstock » Sun Mar 31, 2019 2:12 pm

I may have one, but it isn't regularly hooked up to anything, since it's for my laptop.

Since mine came with firmware that LibreDrive recognized, I've not had reason to dump or flash the firmware... Luck of the firmware draw, I guess... ;)
How to aid in finding the answer to your problem: https://www.makemkv.com/faq/item/8

tcafranz
Posts: 2
Joined: Thu Apr 18, 2019 5:11 pm
Location: Southern California, US
Contact:

Re: Custom firmware pack with LibreDrive patches

Post by tcafranz » Thu Apr 18, 2019 5:13 pm

jonghotti wrote:
Sun Mar 31, 2019 5:16 am
cbickel wrote:
Sat Mar 30, 2019 4:13 pm
Anyone had any luck using the custom MK firmware for incompatible drives. I have an LG BP50NB40 NB50. There is a custom firmware bin file in the directory for my drive. However, when I try to use the unlocked flasher it gets stuck at 0%. Any help would be appreciated.

Thanks
Pretty sure this was Woodstock's job, since he has one :-) Hey buddy!
sooooooo I'm SOL with this BP50NB40 NB50 on 1.01?

rogodeter
Posts: 25
Joined: Wed Jan 28, 2015 10:02 pm

Re: Custom firmware pack with LibreDrive patches

Post by rogodeter » Sat Apr 20, 2019 6:37 pm

Has anybody created tools/instructions for flashing my drives while running Linux? I don't have Windows and my drives are internal so moving it to a friend's machine is not trivial.

Thanks,

spl147
Posts: 226
Joined: Mon Dec 10, 2012 4:59 pm

Re: Custom firmware pack with LibreDrive patches

Post by spl147 » Sat Apr 20, 2019 6:52 pm

rogodeter wrote:Has anybody created tools/instructions for flashing my drives while running Linux? I don't have Windows and my drives are internal so moving it to a friend's machine is not trivial.

Thanks,
Boot from a windows live USB


Sent from my iPhone Xs Max using Tapatalk Pro

Post Reply