100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS55

Forum for discussions about UHD-capable dives
Locked
TeddyRaspin
Posts: 201
Joined: Thu Dec 28, 2017 1:41 pm

100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS55

Post by TeddyRaspin »

UPDATE March 2019:
Big thanks to TeddyRaspin for putting this together. The "dosflash" method described in this thread is now obsolete and is NOT recommended. Please use "official patched" flashers with "clean images" for downgrade.
Patched ASUS flasher (and actual firmware packs) - viewtopic.php?f=16&t=18933
Patched LG flasher (and obsolete firmware) - https://forum.cdrinfo.pl/f29/crossflash ... s58-96313/
Patched MK firmware packs - viewtopic.php?f=19&t=19113

---- ORIGINAL POST -----

Hi guys,

here is my own guide to successfully dump and downgrade firmware on any "UHD Friendly" devices, such as Asus BC-12D2HT / BW-16D1HT or LG BH16NS40/NS55 (WH16NS40/NS55) (SVC Code NS50) and similar drives having MediaTek chipset inside them.


Requirements :
  • Asus or LG UHD Friendly drive
  • An USB stick DOS bootable (which can be made by Rufus tool)
  • A motherboard having SATA controller set as IDE (not AHCI !!!)
  • DOSFLASH modified version (attached below)
  • WinHEX (Hed Editor for advanced users)
  • Patience. :)

Steps for dumping firmware : (Windows Method)

  1. Download the Windows 7 Live (Portable Edition) ISO from here.
  2. Use Rufus and select the ISO image previously downloaded and prepare the USB stick.
  3. Unzip on USB stick root the DOSFLASH_Windows7.zip attached file below.
  4. Enable CMS in BIOS option in order to boot from the USB stick (NOT UEFI !!!!) and configure SATA controller as IDE !!
  5. Wait few seconds to allow Windows 7 properly loaded and as soon as the Windows 7 desktop appears, go to "My Computer", open the USB device letter, and run DOSFLASH32_BH16NS40.exe.
  6. Now, you should see the BH16NSxx (or ASUS) device listed. If not you have not properly set the SATA controller or it is not compatible with DOSFLASH.
  7. If everything looks fine, select first "Read Flash", in order to dump the current firmware.
  8. After the reading/dumping process, you will need to take the clean 1.02 (or any other UHD Friendly firmware) and prepare it with data imported from the original dump. To do this, you can send me your dump, or doing yourself via HEX Editing process (see below).
  9. Once you have prepared the UHD friendly firmware, reboot Windows 7 Live PE from USB and run DOSFLASH_BH16NS40.exe again. This time, select first "Erase Flash", and then "Write Flash".
  10. Select the firmware you prepared before, and wait for the task to be completed.
  11. Now, you can restore SATA Configuration settings, disabling CSM (needed for a full UEFI boot), and enjoy your UHD friendly device.

Steps for dumping firmware : (DOS Method)

  1. Prepare an USB FreeDOS bootable stick, using Rufus (which can be downloaded here).
  2. Unzip on USB root the DOSFLASH.zip attached file.
  3. Enter into motherboard BIOS settings and set SATA Controller as IDE (or Legacy). If you can handle only AHCI, DOSFLASH will not properly work, or it could not work at all.
    Be sure to connect your ASUS/LG drive alone, as SATA Primary Master (USE SATA1 or SATA2 controller ports).
  4. Disable CSM (Compatibility Support Mode) and boot from the USB stick.
  5. At the command Prompt, type "DOSFLASH" and press Enter. If it does not detect anything, retype again. It could be needed to type DOSFLASH 3-4 times before ASUS/LG device be properly detected. It should show the Manufacter ID of your device, namely "MediaTek MT1959".
  6. Press the relative number of the detected device (1 in my case) and press "R" (without quotes) to dump eeprom firmware.
  7. Save firmware with the name you like and keep it safe.
  8. At this point you can zip it and send this file to me and I will create a 100% working firmware in order to turn back the UHD capabilities as well as to fix the "Drive Signature DV value" or "Bus Encryption" error shown in AnyDVD HD !!!!

Steps for dumping firmware : (Devilsclaw's Method only for old firmwares)

  • Download the Devilsclaw's flasher from here
  • Unzip the relative version (32 or 64 bit) into C:\TEMP (for example) and open an Elevated Command Prompt (that is with admin privileges).
  • Go to C:\TEMP directory (or any other dir in which you've previously unzipped flasher) and type : "flasher -D" (without quotes) to display the Device ID of your drive(s).
  • Now type "flasher -d [driveid] -l firmware.bin 6 00000000 00200000" (without quotes) and press enter. A file called firmware.bin will be created. Keep it safe and send it to me if you want to upgrade to a newer version.
I've written "for old firmwares" because, it seems that the latest ASUS/LG firmwares, which fixes the AACS 1.0 loophole (for UHD reading), inhibit the devilsclaw's flasher and you could not be able to have a valid dump.


Steps for importing data from backup firmwares : (Hex Editing)

  • Install WinHEX (or any other similar Hex Editor).
  • Open the dumped DOSFLASH firmware and the new one you want to flash on your device. (*)
  • On the backup firmware (the dumped one) select hex range starting from 0x1E8000 offset to 0x1E84FF and copy it in the same range of the new firmware. (**)
  • Do the same as point 3. but starting now from 0x1E9000 to the end of the file. (***)
  • Save the new firmware (for example as TEST.BIN).
  • You are now ready for flashing (or crossflashing) the new firmware (or a downgrade version).
* - It is important that the dumped firmware must be the DOSFLASH dump and not the Devilsclaw's one !!

** - This point is the most important of all, as it contains the Drive Signature (DV Value) needed for the bus encryption and it is specific for each drive !!!!

*** - This point is useful for importing the correct laser calibration data but I've found that ASUS/LG devices have almost the same behaviour even with different calibration data.


Steps for importing data from backup firmwares : (Automatic Method)

  • Unzip the EEPROM Data Mover attached below.
  • Open it, select first the dumped original firmware.
  • Select now a clean firmware to insert data (clean firmwares can be found here).
  • Type now a firmware name (i.e. TEST.BIN) which will be the one you will eventually need to flash on your drive.

Steps for flashing firmware : (DOSFLASH modified method)

  • Follow the same steps written for the dumping method, until you arrive at the DOSFLASH command prompt.
  • Be sure to have copied the new prepared (TEST.BIN) firmware onto root of your USB stick.
  • Press the relative number of your detected device under DOSFLASH (1 in my case).
  • Type "E" (without quotes) to fully erase your drive eeprom and wait for the end of the task.
  • Now type again DOSFLASH, press the relative number and the "W" letter (without quotes) for writing firmware.
  • Type the firmware name (TEST.BIN in this example) and wait 1 min or less to the end of the process. (It has to write 32 rom banks starting from 0 to 31).
  • Eventually you will see the blue light of your device blinking. This is the proof your drive has been initialized again and ready to work.
  • Reconnect your devices as before, do the same with bios settings for UEFI support and boot your Windows OS.
  • Now you're ready to see if your work has been properly done and your device working again with UHD discs !!! :)
Important note :

If you forget to make a valid dump of your drive before flashing or try to flash a dump taken on the net, there is a high risk (> 90%) your device will be useless
and you will have to throw it in the WC.
:lol:

To be updated if needed. ;)
Attachments
Dosflash_Windows7.zip
(105.22 KiB) Downloaded 12689 times
EEPROM_Data_Mover.zip
(4.58 KiB) Downloaded 6443 times
DOSFLASH_LG.zip
(25.1 KiB) Downloaded 6710 times
Last edited by TeddyRaspin on Thu Jul 26, 2018 7:14 am, edited 12 times in total.
GoofeyGuy
Posts: 25
Joined: Sat Aug 08, 2015 5:27 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by GoofeyGuy »

Every time i try to read my friends BC 12D2HT 3.0.1 with Devilsclaw 64bit flasher i get an error

Devilsclaw's LG Renesas Drive Utility
cmd_drive: Opening Drive: 1.
cmd_dumploc: Starting dumping process
firm_dumper: Failed to read from drive. Will write what we got so far
cmd_dumploc: Failed to dump location

but if i connect my BW16D1HT 3.0.0 to the same controller it reads that firmware
TeddyRaspin
Posts: 201
Joined: Thu Dec 28, 2017 1:41 pm

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by TeddyRaspin »

@GoofeyGuy

Read my guide !!! I've attached any instructions. :D
GoofeyGuy
Posts: 25
Joined: Sat Aug 08, 2015 5:27 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by GoofeyGuy »

Read out the 3.0.1 firmware from Asus BC-12D2HT, using the modded dos flasher from pure dos, the devilclaws flasher woulden read the firmware

I then send it to TeddyRaspin, he made a new one for me using the Asus BW-16d1HT firmware as donor, since noone have made a backup of the 3.0.0 BC-12D2HT
I flashed it and the drive reads UHD again, even though the drive being reportet as Asus BW-16D1HT by Windows, its probbely just some inf in the firmware as has nothing to say
bluntandrolla
Posts: 8
Joined: Wed Jan 24, 2018 7:39 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by bluntandrolla »

I received my asus BW-16D1HT with 3.00 , then i flashed it to 3.01 and 3.02.
I can downgrade/upgrade to 3.02 to 3.00 or 3.01.
do I need to flash it now with dosflash since BH14NS40_N1.00-A4_patched.exe works perfect with ASUS_BW-16D1HT_3.0*.bin.
Is there something i forgot or miss read ?

Thanks Teddy
GoofeyGuy
Posts: 25
Joined: Sat Aug 08, 2015 5:27 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by GoofeyGuy »

No there issen't

This trend is ment for ppl that have updated there drive with firmware that makes it unfriendly or if the drive they bought arrives with newest firmware
bluntandrolla
Posts: 8
Joined: Wed Jan 24, 2018 7:39 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by bluntandrolla »

GoofeyGuy wrote:No there issen't

This trend is ment for ppl that have updated there drive with firmware that makes it unfriendly or if the drive they bought arrives with newest firmware
okay :)
missing the asus 3.02 in the archive Clean_NS50_compatible_firmwares.7z
TeddyRaspin
Posts: 201
Joined: Thu Dec 28, 2017 1:41 pm

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by TeddyRaspin »

Yes I know it is missing, but it can be easily found on Asus website. :wink:
bluntandrolla
Posts: 8
Joined: Wed Jan 24, 2018 7:39 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by bluntandrolla »

I prefer not taking anything from asus update site , who knows they will correct the 3.02 too :P
GoofeyGuy
Posts: 25
Joined: Sat Aug 08, 2015 5:27 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by GoofeyGuy »

bluntandrolla wrote:I prefer not taking anything from asus update site , who knows they will correct the 3.02 too :P

Its also postet here

http://makemkv.com/forum2/viewtopic.php?f=12&t=16885
Thornback
Posts: 26
Joined: Mon Feb 05, 2018 10:20 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by Thornback »

Hi mate,

Thanks for posting this!

I am using this solution to connect my internal ASUS drive via USB. Would this potentially work with your instructions above?

https://www.ebay.com.au/itm/USB-2-0-to- ... 2749.l2649
GoofeyGuy
Posts: 25
Joined: Sat Aug 08, 2015 5:27 am

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by GoofeyGuy »

As far i have understand, you need to connect the drive to internal S-ATA port, and it can't be bone over USB

Teddy, please correct me if i'm wrong
TeddyRaspin
Posts: 201
Joined: Thu Dec 28, 2017 1:41 pm

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by TeddyRaspin »

No, because DOSFLASH detects only IDE/SATA devices, not USB !! :(
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by mike admin »

First of all, big thanks to TeddyRaspin for his awesome work.

However, I would only recommend following this guide only if you really understand what you are doing. The reason - additional information and tools would be announced in near future that would make the process easier and fool-proof. Specifically:
- any firmware can be upgraded or downgraded, on all platforms, using open-source tools (without dosflash or patched OEM flashers).
- any drive can be cross-flashed (UHD into friendly, for example).
- partially dumped firmware can be recovered.

So while this method indeed works and produces amazing results, be very careful to follow the instructions closely. If unsure - just wait for more user-friendly tools to be released. There will be another announcement on this forum.
SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: 100% Firmware Downgrade for ASUS BW-16D1HT and LG BH16NS

Post by SamuriHL »

Woa. Very nice!
Locked