Sorry if this has already been posted, but I just wanted to mention that I ran into issues following the initial Mac/Linux instructions because I had installed it on Linux (Pop!_OS 22.04) using flatpak. I'm still new-ish to Linux so I had to do a lot of research on how to pass the commands to a flatpak app but I thought it'd be helpful if I posted this here:
6. type "./makemkvcon f -l"
You'll want to type this instead:
Code: Select all
flatpak run --command=makemkvcon com.makemkv.MakeMKV f -l
For flatpak apps you need to call flatpak run first, then --command= and the first part of the command (makemkvcon), then the app id (com.makemkv.MakeMKV), then finally any parameters that you need to pass to that command (f -l). It's not exactly intuitive but that's how it works. It also has to be in that order. If you run flatpak run com.makemkv.MakeMKV --command=makemkvcon f -l, it ignores everything after the app id and just launches MakeMKV.
This will show your drive identifier should look similar to this ''/IOBDServices/D5D25996'
Found 1 drives(s)
00: /IOBDServices/D5D25996, /dev/rdisk3, /dev/rdisk3
HL-DT-ST_BD-RE_BU40N_1.01_211910161032_MOFK6283224
it's worth noting that my LG drive's name looked very different. I'm not sure if it was because it's a different OS or if it's because it's an LG drive and they had something else.
But this is what mine looked like:
Found 1 drives(s)
00: dev_21:0, /dev/sr0, /dev/sr0
HL-DT-ST_BD-RE__WH14NS40_1.01_000000000000_SSS0SSSSS000
Finally for the flash command:
7. to perform the flash, type "./makemkvcon f -d '/IOBDServices/D5D25996' -f /tmp/sdf.bin rawflash main -i /tmp/your firmware filename here
or ./makemkvcon f -d '/IOBDServices/D5D25996' -f /tmp/sdf.bin rawflash enc -i /tmp/your firmware filename here
if your firmware is on the encrypted list
My command ended up looking as follows:
Code: Select all
flatpak run --command=makemkvcon com.makemkv.MakeMKV f -d 'dev_21:0' -f /home/user/downloads/flash/sdf.bin rawflash enc -i /home/user/downloads/flash/HL-DT-ST-BD-RE_WH16NS60-1.02-NM00100-211810291936.bin
I ended up putting sdf.bin and the firmware binaries under my home directory because it seemed to fail to find the files under /tmp. I may have needed to elevate it with sudo first but it also could have been because flatpaks are sandboxed, so I tried it this way instead and it worked.
And actually, it turns out that flatpak only installed MakeMKV for my user account so I couldn't launch it with sudo.
YMMV but I hope this helps anyone trying to work on Linux with flatpak.