Re: LG BH16NS40 bricked?
Posted: Sat Nov 13, 2021 1:50 am
How to reflash the LG BH16NS40 BluRay writer accidently flashed with BH16NS40-NS50 v1.05 firmware - manual
==========================================================================================================
Firs of all, many thanks for everyone who helped in some way (useful posts, tools, dumped firmwares) to resolve this problem.
Prepare the device to accept the correct firmware:
--------------------------------------------------
Used tools:
"SDFTool" from the MakeMKV BETA v1.16.5 (freeware/unregistered)
"BH14NS40_N1.00-A4_patched.exe" (patched LG flasher tool)
DosFlash32_BH16NS40_patched
BH16NS40_EEPROM_Data_Mover
Some Windows 7 ERD (Emergency Repair Disk) 32-bit image booted from pendrive via GRUB4DOS
Required firmwares and most of tools in single archive here:
https://drive.google.com/file/d/1_pI-b- ... sp=sharing
GENERAL NOTES:
Edit the included batch files (Step*.cmd) and replace the G: drive letter with your current BluRay drive letter. If you are using a 32-bit windows, replace sdftool64.exe with sdftool.exe.
Both "Write DRAM NG 05/24/00" and "Command produced error code 0x8f052400" means that the flash chip is accessible, but the firmware you are trying to write is incompatible (with the current firmware). Try a different one.
For the ASUS branded devices use the modded ASUS firmware tool ("ASUS_ODD_FW_Changer_(Modified) (24.08.2019).zip") instead the patched LG flasher.
It seems, that only the SDFTool can do the job - so you must install the MakeMKV software. You do not need the "SDFtool Flasher".
When you flashed the device with the incorrect 1.05 firmware, the flash chip was locked to about 6-8 hours. At this time all data is sinked without throwing error. Dumping is not possible. You must wait. It seems, that this time is not affected by the computers ON/OFF state. (This seems to be a protection mechanism against some viruses to protect the flash chip.)
1.) Do flash: sdftool64.exe -d G: rawflash enc -i HL-DT-ST-BD-RE_WH16NS60-1.03-NM00600-212005081010.bin
Wait now another cca. 8 hours. (Turn the PC OFF ffor at least 10 seconds before next flashing.)
2.) Dumping is now unlocked. You should make a full dump for later use (see later).
NOTE: You must replace the drive G: with your current drive letter!
Create dump: sdftool64.exe -d G: dump full
Filename is automatically generated. Check the file modification datetime samps if you are confused about which file was created. Rename or move the dumped file to a safe place.
3.) Do flash: sdftool64.exe -d G: rawflash -i HL-DT-ST-BD-RE_WH16NS60-1.01-NM00100-211711202000.bin
(Try to full dump prior flashing. When it succeeds, you can flash.)
Now the flash chip is not locked, or locked for a much shorter time. (Turn the PC OFF for at least 10 seconds before next flashing.)
4.) This step can be probably skipped.
Do flash: sdftool64.exe -d G: rawflash de -i HL-DT-ST_BD-RE_BH16NS40_1.02_NS50.bin
(Try to full dump prior flashing. When it succeeds, you can flash.)
Flash chip is not locked. Turn the PC OFF for at least 10 seconds before next flashing.
5.) Do flash: sdftool64.exe -d G: rawflash de -i DE_LG_WH16NS60_1.00.bin
Flash chip is not locked. Turn the PC OFF for at least 10 seconds before next flashing. This step unlocks the patched LG flasher tool access.
6.) Now you must re-flash the same firmware "DE_LG_WH16NS60_1.00.bin" with the patched LG flasher tool. This is mandatory. It unlocks the DosFlash access.
Final flashing:
---------------
Both the patched LG flasher tool and the SDFTool can flash the prepared firmware, but is unknown for me, that the result is good or not. My test results were irrelevant, because in meantime something killed the UDF filesystem driver, so the BD disk used to test was unreadable (Nero displayed track properties correctly), but CD/DVD disks was OK - and I noticed this fact too late.
So you have now 3 different flashing tools. The DosFlash requires a prepared firmware file. For the patched LG Flasher and the SDFTool may be the clean firmware is enough. I do not known.
If you will use the SDFTool, keep in mind, that when it reaches the 100%, it will still work cca. 3-4 minutes. Do not close it or push the eject button on the device!
When you are to use the DosFlash and if it still fails, connect the device to the SATA port 1 (or to port-0 if numbering is 0-based). Yes, it sometimes really helps (as for me)! Use only the "DosFlash32_BH16NS40.exe", not the one without suffix (after unpacking, immediately remove the other one to prevent the confusions)!
DosFlash and firmware preparation:
..................................
You need a compatible computer with a 32-bit Windows XP or later - Some emergency live system is enough. May be a properly installed SATA device driver is required - Windows 7 ERD boot disk should have it natively. Do not forget to switch the SATA mode to IDE (a.k.a. Legacy) instead of AHCI or RAID.
The DosFlash32 must recognize your device without errors. Dumping must work (try it even you have made a dump file previously).
0.) Dump your current firmware (full dump) - only if you do not done it before.
1.) With "BH16NS40_EEPROM_Data_Mover.exe" (part of the "DosFlash32_BH16NS40_patched.zip" package) open the
dumped (your current) firmware*,
then the firmware you want to write,
then save the prepared firmware.
* If it is certain, that the calibration is ruined, you can use the included "WH16NS40_v1_02_dirtydump.bin" or my "BH16NS40_v1_03A_with_BH16NS40_v1_01_calibration.bin" firmware dumps.
2.) Write the prepared firmware (DosFlash is recommended, but SDFTool or the patched LG flasher tool may also work).
You can also try the official LG firmware "BH16NS40(1.03-A0).exe" if is certain, that calibration data was not destructed before.
3.) Turn off the computer for at least 10 seconds. Finished.
Now everything should work correctly. Test it!
The simpler, but untested method:
.................................
You can try both the prepared and the clean firmware. Preparetion see above (step 1).
A) SDFTool:
sdftool64.exe -d G: rawflash de -i HLDS_JB7_BRAND_1.03-A0_NOBJ_DE.bin
B) Patched LG flasher ("BH14NS40_N1.00-A4_patched.exe")
Open the "HLDS_JB7_BRAND_1.03-A0_NOBJ_DE.bin", and write it.
C) When the A) or B) was successfull, re-flashing with the original "BH16NS40(1.03-A0).exe" also works - but is not required.
If you can not open the UDF BD disks (but Video DVDs, ISO DVDs and CDs are OK), open the device manager and uninstall the driver of your device, then scan for the hardware changes - Windows should silently reinstall it. Now it should work (restart not required).
==========================================================================================================
Firs of all, many thanks for everyone who helped in some way (useful posts, tools, dumped firmwares) to resolve this problem.
Prepare the device to accept the correct firmware:
--------------------------------------------------
Used tools:
"SDFTool" from the MakeMKV BETA v1.16.5 (freeware/unregistered)
"BH14NS40_N1.00-A4_patched.exe" (patched LG flasher tool)
DosFlash32_BH16NS40_patched
BH16NS40_EEPROM_Data_Mover
Some Windows 7 ERD (Emergency Repair Disk) 32-bit image booted from pendrive via GRUB4DOS
Required firmwares and most of tools in single archive here:
https://drive.google.com/file/d/1_pI-b- ... sp=sharing
GENERAL NOTES:
Edit the included batch files (Step*.cmd) and replace the G: drive letter with your current BluRay drive letter. If you are using a 32-bit windows, replace sdftool64.exe with sdftool.exe.
Both "Write DRAM NG 05/24/00" and "Command produced error code 0x8f052400" means that the flash chip is accessible, but the firmware you are trying to write is incompatible (with the current firmware). Try a different one.
For the ASUS branded devices use the modded ASUS firmware tool ("ASUS_ODD_FW_Changer_(Modified) (24.08.2019).zip") instead the patched LG flasher.
It seems, that only the SDFTool can do the job - so you must install the MakeMKV software. You do not need the "SDFtool Flasher".
When you flashed the device with the incorrect 1.05 firmware, the flash chip was locked to about 6-8 hours. At this time all data is sinked without throwing error. Dumping is not possible. You must wait. It seems, that this time is not affected by the computers ON/OFF state. (This seems to be a protection mechanism against some viruses to protect the flash chip.)
1.) Do flash: sdftool64.exe -d G: rawflash enc -i HL-DT-ST-BD-RE_WH16NS60-1.03-NM00600-212005081010.bin
Wait now another cca. 8 hours. (Turn the PC OFF ffor at least 10 seconds before next flashing.)
2.) Dumping is now unlocked. You should make a full dump for later use (see later).
NOTE: You must replace the drive G: with your current drive letter!
Create dump: sdftool64.exe -d G: dump full
Filename is automatically generated. Check the file modification datetime samps if you are confused about which file was created. Rename or move the dumped file to a safe place.
3.) Do flash: sdftool64.exe -d G: rawflash -i HL-DT-ST-BD-RE_WH16NS60-1.01-NM00100-211711202000.bin
(Try to full dump prior flashing. When it succeeds, you can flash.)
Now the flash chip is not locked, or locked for a much shorter time. (Turn the PC OFF for at least 10 seconds before next flashing.)
4.) This step can be probably skipped.
Do flash: sdftool64.exe -d G: rawflash de -i HL-DT-ST_BD-RE_BH16NS40_1.02_NS50.bin
(Try to full dump prior flashing. When it succeeds, you can flash.)
Flash chip is not locked. Turn the PC OFF for at least 10 seconds before next flashing.
5.) Do flash: sdftool64.exe -d G: rawflash de -i DE_LG_WH16NS60_1.00.bin
Flash chip is not locked. Turn the PC OFF for at least 10 seconds before next flashing. This step unlocks the patched LG flasher tool access.
6.) Now you must re-flash the same firmware "DE_LG_WH16NS60_1.00.bin" with the patched LG flasher tool. This is mandatory. It unlocks the DosFlash access.
Final flashing:
---------------
Both the patched LG flasher tool and the SDFTool can flash the prepared firmware, but is unknown for me, that the result is good or not. My test results were irrelevant, because in meantime something killed the UDF filesystem driver, so the BD disk used to test was unreadable (Nero displayed track properties correctly), but CD/DVD disks was OK - and I noticed this fact too late.
So you have now 3 different flashing tools. The DosFlash requires a prepared firmware file. For the patched LG Flasher and the SDFTool may be the clean firmware is enough. I do not known.
If you will use the SDFTool, keep in mind, that when it reaches the 100%, it will still work cca. 3-4 minutes. Do not close it or push the eject button on the device!
When you are to use the DosFlash and if it still fails, connect the device to the SATA port 1 (or to port-0 if numbering is 0-based). Yes, it sometimes really helps (as for me)! Use only the "DosFlash32_BH16NS40.exe", not the one without suffix (after unpacking, immediately remove the other one to prevent the confusions)!
DosFlash and firmware preparation:
..................................
You need a compatible computer with a 32-bit Windows XP or later - Some emergency live system is enough. May be a properly installed SATA device driver is required - Windows 7 ERD boot disk should have it natively. Do not forget to switch the SATA mode to IDE (a.k.a. Legacy) instead of AHCI or RAID.
The DosFlash32 must recognize your device without errors. Dumping must work (try it even you have made a dump file previously).
0.) Dump your current firmware (full dump) - only if you do not done it before.
1.) With "BH16NS40_EEPROM_Data_Mover.exe" (part of the "DosFlash32_BH16NS40_patched.zip" package) open the
dumped (your current) firmware*,
then the firmware you want to write,
then save the prepared firmware.
* If it is certain, that the calibration is ruined, you can use the included "WH16NS40_v1_02_dirtydump.bin" or my "BH16NS40_v1_03A_with_BH16NS40_v1_01_calibration.bin" firmware dumps.
2.) Write the prepared firmware (DosFlash is recommended, but SDFTool or the patched LG flasher tool may also work).
You can also try the official LG firmware "BH16NS40(1.03-A0).exe" if is certain, that calibration data was not destructed before.
3.) Turn off the computer for at least 10 seconds. Finished.
Now everything should work correctly. Test it!
The simpler, but untested method:
.................................
You can try both the prepared and the clean firmware. Preparetion see above (step 1).
A) SDFTool:
sdftool64.exe -d G: rawflash de -i HLDS_JB7_BRAND_1.03-A0_NOBJ_DE.bin
B) Patched LG flasher ("BH14NS40_N1.00-A4_patched.exe")
Open the "HLDS_JB7_BRAND_1.03-A0_NOBJ_DE.bin", and write it.
C) When the A) or B) was successfull, re-flashing with the original "BH16NS40(1.03-A0).exe" also works - but is not required.
If you can not open the UDF BD disks (but Video DVDs, ISO DVDs and CDs are OK), open the device manager and uninstall the driver of your device, then scan for the hardware changes - Windows should silently reinstall it. Now it should work (restart not required).