Page 1 of 1
Flashing disc drives.
Posted: Mon Nov 06, 2023 5:54 am
by Qwerty27
Hi. I'm trying to flash a drive on Linux.
However, the flasher guide seems to be for mac terminal. Can some one help me?
I'm kinda new to terminal.
Re: Flashing disc drives.
Posted: Mon Nov 06, 2023 9:44 am
by NGr2023
Here is how I flashed my drive a while ago (I had moved the sdf.bin and the firmware file to /tmp/asus):
First get drive identifier (first section after 00:, e.g. dev_21:1):
/usr/bin/makemkvcon f -l
Then flash drive:
/usr/bin/makemkvcon f -d 'dev_21:1' -f /tmp/asus/sdf.bin rawflash enc -i /tmp/asus/DE_ASUS_BC-12D2HT_3.11_MK.bin
Re: Flashing disc drives.
Posted: Tue Nov 07, 2023 4:52 pm
by Qwerty27
NGr2023 wrote: ↑Mon Nov 06, 2023 9:44 am
Here is how I flashed my drive a while ago (I had moved the sdf.bin and the firmware file to /tmp/asus):
First get drive identifier (first section after 00:, e.g. dev_21:1):
/usr/bin/makemkvcon f -l
Then flash drive:
/usr/bin/makemkvcon f -d 'dev_21:1' -f /tmp/asus/sdf.bin rawflash enc -i /tmp/asus/DE_ASUS_BC-12D2HT_3.11_MK.bin
I tried the second line and it didn't work for me. All I got was the drive finder. I'm curious. Is dev_21:1 supposed to be replaced by the drive I want to flash? And is the DE_ASUS_BC-12D2HT_3.11_MK.BIN supposed to be the firmware pack I need?
Re: Flashing disc drives.
Posted: Tue Nov 07, 2023 5:21 pm
by dcoke22
Yes, you are supposed to replace dev_21:1 in the example with the identifier of your specific drive.
And you should match the firmware used in the command to whatever is required for your drive.
Re: Flashing disc drives.
Posted: Wed Nov 08, 2023 6:14 am
by Qwerty27
dcoke22 wrote: ↑Tue Nov 07, 2023 5:21 pm
Yes, you are supposed to replace dev_21:1 in the example with the identifier of your specific drive.
And you should match the firmware used in the command to whatever is required for your drive.
I tried it again and it said input file not found. Like input file not found - - /tmp/lg/firmware pack not found
And then
Internal error 0x8300001.
I've tried several times. And,sometimes, it will just say /tmp/LG/LG
The first LG is the file I made in tmp for both the sdf.bin and the firmware pack. The second one is the start of the firmware folder. the firmware folder I am using is LG slim BP50NB40-NB50.
I tried putting under scores "-", dashes "-" and spaces. All just gave me the same error. And the space version just gave me the error back, but with /tmp/LG/LG and nothing else after the second LG. I even tried using /so and so. ( the bin in the firmware folder) and the error came back.
Re: Flashing disc drives.
Posted: Wed Nov 08, 2023 6:29 am
by dcoke22
I assume there are spaces in a folder or filename somewhere.
https://www.howtogeek.com/850124/spaces ... -on-linux/
Re: Flashing disc drives.
Posted: Wed Nov 08, 2023 6:53 am
by Qwerty27
Thank you. Turns out the firmware pack had spaces in it. I just put ' around it and it seemed to work.
Now, instead of bash or whatever, it shows >.
Do I put the firmware I need there or what?
Re: Flashing disc drives.
Posted: Thu Nov 09, 2023 2:00 pm
by dcoke22
Qwerty27 wrote: ↑Wed Nov 08, 2023 6:53 am
Thank you. Turns out the firmware pack had spaces in it. I just put ' around it and it seemed to work.
Now, instead of bash or whatever, it shows >.
Do I put the firmware I need there or what?
Is your command prompt changing to a > and it is not executing your command? That doesn't seem right. It might be easier if you modified the firmware pack folder names so there are not any spaces. Then you can undo whatever you did to deal with the spaces.
Re: Flashing disc drives.
Posted: Thu Nov 09, 2023 4:46 pm
by Qwerty27
dcoke22 wrote: ↑Thu Nov 09, 2023 2:00 pm
Qwerty27 wrote: ↑Wed Nov 08, 2023 6:53 am
Thank you. Turns out the firmware pack had spaces in it. I just put ' around it and it seemed to work.
Now, instead of bash or whatever, it shows >.
Do I put the firmware I need there or what?
Is your command prompt changing to a > and it is not executing your command? That doesn't seem right. It might be easier if you modified the firmware pack folder names so there are not any spaces. Then you can undo whatever you did to deal with the spaces.
I again and it still showed the > the command prompt. Then I tried removing spaces from both the code and the file name and the input error came back. I also tried using \ instead of spaces and that didn't work.
Re: Flashing disc drives.
Posted: Thu Nov 09, 2023 4:57 pm
by Qwerty27
this is what i put in.
/lg is a file i put in the tmp file on my computer and it has my firmware pack and sdf bin.
user@user-ThinkPad-SL510:~$ /usr/bin/makemkvcon f -d HL-DT-ST_BD-RE_BP50NB40_1.03_212107081603_SIK08N7MI4815 -f /tmp/lg/sdf.bin rawflash enc -i /tmp/lg/'LG slim BP50NB40-NB50"MK.BIN
user@user-ThinkPad-SL510:~$ is the command prompt, i think. and when i execute this command it turns into >.
and if i remove the quotation marks at the end and replace it with an apostrophe, it repeats the same input error.
Re: Flashing disc drives.
Posted: Thu Nov 09, 2023 5:11 pm
by NGr2023
The drive identifier doesn't look correct. What is the output of:
/usr/bin/makemkvcon f -l
It will be easier just to replace all spaces in the firmware name with underscores, otherwise you have to escape them with \
Re: Flashing disc drives.
Posted: Thu Nov 09, 2023 5:22 pm
by Qwerty27
shows this:
Found 2 drives(s)
00: dev_21:1, /dev/sr0, /dev/sr0
Optiarc_DVD_RW_AD-7710H_1.S0_Lf315C3BfKXc
01: dev_21:2, /dev/sr1, /dev/sr1
HL-DT-ST_BD-RE_BP50NB40_1.03_212107081603_SIK08N7MI4815.
Re: Flashing disc drives.
Posted: Thu Nov 09, 2023 5:57 pm
by dcoke22
I agree that the command has the wrong drive identifier. Also, quotes to accommodate spaces in a file name are used incorrectly. The command should be something like the following:
Code: Select all
/usr/bin/makemkvcon f -d 'dev_21:2' -f /tmp/lg/sdf.bin rawflash enc -i '/tmp/lg/LG slim BP50NB40-NB50MK.BIN'
assuming the name of the firmware file you're trying to flash is:
If you're getting the files from the All You Need Firmware pack, then unless you've changed the name, the name of the file is:
Code: Select all
HL-DT-ST-BD-RE_BP50NB40-NB50-1.03-NM00800-212005070917.bin
And by default it is in a folder named:
Using those defaults would imply the command should be:
Code: Select all
/usr/bin/makemkvcon f -d 'dev_21:2' -f /tmp/lg/sdf.bin rawflash enc -i '/tmp/lg/LG slim BP50NB40-NB50/HL-DT-ST-BD-RE_BP50NB40-NB50-1.03-NM00800-212005070917.bin'
or, if you don't want to use quotes for spaces, but instead escape the space with a \
Code: Select all
/usr/bin/makemkvcon f -d 'dev_21:2' -f /tmp/lg/sdf.bin rawflash enc -i /tmp/lg/LG\ slim\ BP50NB40-NB50/HL-DT-ST-BD-RE_BP50NB40-NB50-1.03-NM00800-212005070917.bin
If you've renamed the folders or renamed files, then you need to use whatever the appropriate names are for your system.
Finally, consider taking your drive to a Windows system where you can install MakeMKV and the SDFTool GUI to do the flashing. It simplifies the process and adds a few more safeguards compared to the command line. Once the drive is flashed, it can be used on any OS.
Re: Flashing disc drives.
Posted: Thu Nov 09, 2023 6:25 pm
by Qwerty27
I tried your code. the very last one. it worked showing this!
Reading input file /tmp/lg/LG slim BP50NB40-NB50/HL-DT-ST-BD-RE_BP50NB40-NB50-1.03-NM00800-212005070917.bin
Flashing flags = 0x0 : 0 0 0 0 : ---- ---- ---- ----
Sending image in encrypted format
Current Drive ID: HL-DT-ST_BD-RE_BP50NB40_1.03_212107081603_SIK08N7MI4815
DEBUG: Code 117637252 at wfCw3OE9o6xoDD[;$ZOJdpeNgiQob2>_:213132261
Desktop drive handshake failed with error=0x07030084, trying slim drive handshake...
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
Done successfully
and when i opened makemkv it showed this:
Status: Enabled
Drive platform: MT1959
Firmware type: Patched (microcode access re-enabled)
Firmware version: 1.03
DVD all regions: Yes
BD raw data read: Yes
BD raw metadata read: Yes
Unrestricted read speed: Yes
i have one question, though. the bp50nb40s require several flashings. do i still have to do them?
or am i good.
lastly id like to thank all of of you for helping me. i have been almost to the point of ripping my hair over this for the past two weeks! Thank you! thank you! thank you!
Re: Flashing disc drives.
Posted: Thu Nov 09, 2023 10:57 pm
by Billycar11
Qwerty27 wrote: ↑Thu Nov 09, 2023 6:25 pm
i have one question, though. the bp50nb40s require several flashings. do i still have to do them?
or am i good.
lastly id like to thank all of of you for helping me. i have been almost to the point of ripping my hair over this for the past two weeks! Thank you! thank you! thank you!
Why do ask the same question multiple times I already told you in your pms it will require multiple flashings if you want it to do UHD