Page 1 of 1

Drive flashing error

Posted: Thu Sep 29, 2022 10:27 pm
by nitro322
Hi, all. I have an LG BH16NS40 w/ existing factory (as far as I'm aware) firmware 1.03_211403261115_K97E3JF2743.

I'm running Linux, and using sdftool I was able to dump the existing firmware just fine:

Code: Select all

$ sdftool -f ./sdf.bin -d /dev/sr1 dump full

Operation started: Reading flash memory
 100% Operation finished                                

Command produced 1 file(s)
  #00: size=2048Kb name=dump_full_HL-DT-ST_BD-RE__BH16NS40_1.03_211403261115_K97E3JF2743.bin

$ ls -l
total 3,350,528
drwxr-xr-x 7      4,096 2022-09-29 14:51 The all you need firmware pack
-rw------- 1  2,097,152 2022-09-29 17:05 dump_full_HL-DT-ST_BD-RE__BH16NS40_1.03_211403261115_K97E3JF2743.bin
-rw-r--r-- 1  1,247,152 2022-09-29 14:50 sdf.bin
Following the Ultimate UHD Drives Flashing Guide Updated 2022 thread, I didn't see a firmware specifically for BH16NS40, but my understanding based on some research is that the BH16NS40 is the same hardware as a WH16NS40, just with a different firmware (if that's not the case, please correct me), so I followed the advice for a WH16NS40 drive, which seems to be to use the HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin firmware. So, I attempted to flash:

Code: Select all

 sdftool -f ./sdf.bin -d /dev/sr1 rawflash main -i The\ all\ you\ need\ firmware\ pack/LG\ 5.25\ desktop/HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin 

Reading input file The all you need firmware pack/LG 5.25 desktop/HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin
Flashing flags = 0x0 : 0 0 0 0 : ---- ---- ---- ----
Current Drive ID: HL-DT-ST_BD-RE__BH16NS40_1.03_211403261115_K97E3JF2743
Ready to write drive flash memory.
Type "yes" to continue, "no" to abort
yes
Operation started: Sending flash image to drive
 100% Operation finished                                
Operation started: Programming flash
 100% Operation finished                                

Program Flash NG status=2

Command produced error code 0x8f000002
That doesn't seem good. If I try looking at the drive info now I get this:

Code: Select all

$ sdftool -f ./sdf.bin -d /dev/sr1 --info
SDF.bin version: 0x008F

Drive Tool SDF not present

Drive Specific SDF not present

Identification SDF present
Looking at the drive summary in makemkv, it reports this:

Drive Information
OS device name: /dev/sr1
Manufacturer: HL-DT-ST
Product: BD-RE BH16NS40
Revision: BOOT
Highest AACS version: 76

That BOOT revision, again, doesn't seem good.

I also just noticed that the drive's activity LED is flashing twice every 3 seconds.

At this point I haven't tried anything else, even rebooting. Thought it better to ask for advice, because I can't find anything relating to that error code. I can try re-flashing, or flashing the original firmware back, or whatever else... just looking for a recommendation to proceed to try to limit my chances of bricking my drive.

Appreciate any advice. Thanks.

Re: Drive flashing error

Posted: Thu Sep 29, 2022 11:22 pm
by Billycar11
if your firmware was in 2014 it was to old you didn't read the guide and bricked your drive the only way to recover it now is dos flash
you had mt1939 not 1959 as the platform

Re: Drive flashing error

Posted: Fri Sep 30, 2022 12:42 am
by nitro322
OK. I did read the guide. I don't know why you think I'd lie about that. I didn't see anything indicating my drive was from 2014; if there was something explaining that then I either missed or misunderstood it.

But I'm more interested in recovering. Can you provide any guidance on that? I can run a DOS-based flash tool if necessary, but what tool, and what firmware should I use? Should I use the original that I dumped? And is this the correct tool?

https://drive.google.com/file/d/1w8I-pH ... 0Pf0O/view

That's linked from the youtube video near the end of the guide.


Edit: So yes, stupid me, I missed the big bold text at the beginning:

IMPORTANT Before you flash:
1. Make sure your Drive was built after 2015 on label

I didn't check the label. I don't know why it was manufactured, but I've had it for a while, so it's possible it was before 2014. I moved forward primarily based on this:

WH16NS40 on any Firmware directly to > WH16NS60 1.02MK

Thinking that "any firmware" literally meant any firmware, not that the manufacture date would matter. So that's my bad, but as mentioned, I'm really just interested in getting it fixed at this point. Is the flasher and firmware I mentioned above the correct ones I should use for recovery?

Re: Drive flashing error

Posted: Fri Sep 30, 2022 1:22 am
by Billycar11
nitro322 wrote:
Fri Sep 30, 2022 12:42 am
OK. I did read the guide. I don't know why you think I'd lie about that. I didn't see anything indicating my drive was from 2014; if there was something explaining that then I either missed or misunderstood it.

But I'm more interested in recovering. Can you provide any guidance on that? I can run a DOS-based flash tool if necessary, but what tool, and what firmware should I use? Should I use the original that I dumped? And is this the correct tool?

https://drive.google.com/file/d/1w8I-pH ... 0Pf0O/view

That's linked from the youtube video near the end of the guide.


Edit: So yes, stupid me, I missed the big bold text at the beginning:

IMPORTANT Before you flash:
1. Make sure your Drive was built after 2015 on label

I didn't check the label. I don't know why it was manufactured, but I've had it for a while, so it's possible it was before 2014. I moved forward primarily based on this:

WH16NS40 on any Firmware directly to > WH16NS60 1.02MK

Thinking that "any firmware" literally meant any firmware, not that the manufacture date would matter. So that's my bad, but as mentioned, I'm really just interested in getting it fixed at this point. Is the flasher and firmware I mentioned above the correct ones I should use for recovery?
check if your pc has ide mode in the bios if it does it can be recovered it not its done.
i may be able to recover your drive remotely but windows only and i have been ripped of more times then i have been paid for the recovery service so not that inclined to do it.
no do not attempt to flash anymore firmware for UHD drives.
only flash it for the old ones under the ns40 recovery section

Re: Drive flashing error

Posted: Fri Sep 30, 2022 1:43 am
by nitro322
I have a few old computers on hand with IDE support, so that's not a problem. I'm not clear on why that matters, though, as this is a SATA drive. Would I need to use a SATA to IDE adapter as well?

Re: Drive flashing error

Posted: Fri Sep 30, 2022 5:01 am
by Billycar11
nitro322 wrote:
Fri Sep 30, 2022 1:43 am
I have a few old computers on hand with IDE support, so that's not a problem. I'm not clear on why that matters, though, as this is a SATA drive. Would I need to use a SATA to IDE adapter as well?
ide sata mode vs ahci

Re: Drive flashing error

Posted: Sat Oct 01, 2022 3:53 am
by nitro322
If anyone else finds themselves in a similar situation with this drive, I was able to recover by booting into Windows and running the official LG firmware update tool:
https://www.lg.com/us/support/software- ... CT30011740

Specifically, Firmware (ver. 1.03-A0) for only BH16NS40(SUPER MULTI BLUE BLU-RAY). This appears to be the same firmware originally on the drive.