www.makemkv.com

MakeMKV support forum
It is currently Thu Apr 19, 2018 9:21 am

All times are UTC




Post new topic Reply to topic  [ 73 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
PostPosted: Sat Feb 03, 2018 9:22 pm 
Offline

Joined: Thu Dec 28, 2017 1:41 pm
Posts: 85
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)


  1. Download the Devilsclaw's flasher from here
  2. Unzip the relative version (32 or 64 bit) into C:\TEMP (for example) and open an Elevated Command Prompt (that is with admin privileges).
  3. 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).
  4. 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)


  1. Install WinHEX (or any other similar Hex Editor).
  2. Open the dumped DOSFLASH firmware and the new one you want to flash on your device. (*)
  3. 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. (**)
  4. Do the same as point 3. but starting now from 0x1E9000 to the end of the file. (***)
  5. Save the new firmware (for example as TEST.BIN).
  6. 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)


  1. Unzip the EEPROM Data Mover attached below.
  2. Open it, select first the dumped original firmware.
  3. Select now a clean firmware to insert data (clean firmwares can be found here).
  4. 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)


  1. Follow the same steps written for the dumping method, until you arrive at the DOSFLASH command prompt.
  2. Be sure to have copied the new prepared (TEST.BIN) firmware onto root of your USB stick.
  3. Press the relative number of your detected device under DOSFLASH (1 in my case).
  4. Type "E" (without quotes) to fully erase your drive eeprom and wait for the end of the task.
  5. Now type again DOSFLASH, press the relative number and the "W" letter (without quotes) for writing firmware.
  6. 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).
  7. 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.
  8. Reconnect your devices as before, do the same with bios settings for UEFI support and boot your Windows OS.
  9. 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 301 times
EEPROM_Data_Mover.zip [4.58 KiB]
Downloaded 408 times
DOSFLASH_LG.zip [25.1 KiB]
Downloaded 402 times


Last edited by TeddyRaspin on Thu Mar 01, 2018 11:40 am, edited 11 times in total.
Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 3:35 am 
Offline

Joined: Sat Aug 08, 2015 5:27 am
Posts: 25
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


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 11:23 am 
Offline

Joined: Thu Dec 28, 2017 1:41 pm
Posts: 85
@GoofeyGuy

Read my guide !!! I've attached any instructions. :D


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 2:29 pm 
Offline

Joined: Sat Aug 08, 2015 5:27 am
Posts: 25
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


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 4:37 pm 
Offline

Joined: Wed Jan 24, 2018 7:39 am
Posts: 8
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


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 4:40 pm 
Offline

Joined: Sat Aug 08, 2015 5:27 am
Posts: 25
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


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 4:46 pm 
Offline

Joined: Wed Jan 24, 2018 7:39 am
Posts: 8
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


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 6:42 pm 
Offline

Joined: Thu Dec 28, 2017 1:41 pm
Posts: 85
Yes I know it is missing, but it can be easily found on Asus website. :wink:


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 7:51 pm 
Offline

Joined: Wed Jan 24, 2018 7:39 am
Posts: 8
I prefer not taking anything from asus update site , who knows they will correct the 3.02 too :P


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 8:12 pm 
Offline

Joined: Sat Aug 08, 2015 5:27 am
Posts: 25
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

viewtopic.php?f=12&t=16885


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 05, 2018 10:23 am 
Offline

Joined: Mon Feb 05, 2018 10:20 am
Posts: 1
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


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 05, 2018 4:47 pm 
Offline

Joined: Sat Aug 08, 2015 5:27 am
Posts: 25
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


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 05, 2018 6:34 pm 
Offline

Joined: Thu Dec 28, 2017 1:41 pm
Posts: 85
No, because DOSFLASH detects only IDE/SATA devices, not USB !! :(


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 05, 2018 8:29 pm 
Offline

Joined: Wed Nov 26, 2008 2:26 am
Posts: 3374
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.


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 05, 2018 8:43 pm 
Offline

Joined: Mon Jun 14, 2010 5:32 pm
Posts: 376
Woa. Very nice!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 73 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group