Page 1 of 6

Custom firmware pack with LibreDrive patches

Posted: Fri Mar 15, 2019 2:37 pm
by mike admin
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.

Re: Custom firmware pack with LibreDrive patches

Posted: Tue Mar 19, 2019 12:20 pm
by mike admin
Firmware pack updated. Added ASUS firmware based on 3.10 and A204.

Re: Custom firmware pack with LibreDrive patches

Posted: Wed Mar 27, 2019 2:20 am
by BermudaLamb
When will the
detailed flashing instructions be posted?

Re: Custom firmware pack with LibreDrive patches

Posted: Wed Mar 27, 2019 3:30 am
by Billycar11
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

Re: Custom firmware pack with LibreDrive patches

Posted: Fri Mar 29, 2019 9:40 am
by sickb
Do we still use the `BH16NS40_EEPROM_Data_Mover.exe` to copy info from the currently installed official firmware, to the new MK firmware?

Re: Custom firmware pack with LibreDrive patches

Posted: Fri Mar 29, 2019 3:50 pm
by Billycar11
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

Re: Custom firmware pack with LibreDrive patches

Posted: Fri Mar 29, 2019 6:44 pm
by sickb
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.

Re: Custom firmware pack with LibreDrive patches

Posted: Fri Mar 29, 2019 8:34 pm
by SamuriHL
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.

Re: Custom firmware pack with LibreDrive patches

Posted: Sat Mar 30, 2019 12:01 pm
by sickb
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!

Re: Custom firmware pack with LibreDrive patches

Posted: Sat Mar 30, 2019 4:13 pm
by cbickel
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

Re: Custom firmware pack with LibreDrive patches

Posted: Sun Mar 31, 2019 5:16 am
by jonghotti
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!

Re: Custom firmware pack with LibreDrive patches

Posted: Sun Mar 31, 2019 2:12 pm
by Woodstock
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... ;)

Re: Custom firmware pack with LibreDrive patches

Posted: Thu Apr 18, 2019 5:13 pm
by tcafranz
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?

Re: Custom firmware pack with LibreDrive patches

Posted: Sat Apr 20, 2019 6:37 pm
by rogodeter
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,

Re: Custom firmware pack with LibreDrive patches

Posted: Sat Apr 20, 2019 6:52 pm
by spl147
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