script.module.inputstreamhelper: Odroid C2 Unable to load shared library

19:33:54.179 T:3975140208   ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (/storage/.kodi/cdm/libwidevinecdm.so)

Your script downloads the widevine module. No problem there, but for some reason I can’t get that module to work. The macleod script worked for it without any problems so I thought it was the same structure as the RPi.

Which recovery OS image is the best for the Odroid C2?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18

Most upvoted comments

Temp fix for the ARM version. 7zip or another archive tool that supports filesystem images required.

Go to: https://cros-updates-serving.appspot.com/#speedy

Click 67 on the line with the codename Spring. It will download an older version of Chrome OS. Direct link: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_10575.58.0_daisy-spring_recovery_stable-channel_spring-mp-v3.bin.zip

Open the .zip archive, open the .bin file and then open the ROOT-A.img file. You will see several directories.

Go to opt/google/chrome/. In there you will find the file libwidevinecdm.so.

Extract the file libwidevinecdm.so and copy it to your Kodi home directory in ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm or similar (instead of overwriting you can backup the already existing one).

Restart Kodi

I don’t think it’s allowed to share the .so file openly according to the license (copying not allowed)?

Just use the SSH and follow the instructions. https://help.vivaldi.com/article/raspberry-pi/#drm-and-flash

You could create a bash script:

#!/bin/sh CHROMEOSR=“https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_10575.58.0_daisy-spring_recovery_stable-channel_spring-mp-v3.bin.zip” wget $CHROMEOSR unzip $(basename $CHROMEOSR) LOOPD=$(losetup -f) sudo losetup -P $LOOPD $(basename $CHROMEOSR .zip) mkdir chromeos sudo mount -o ro ${LOOPD}p3 chromeos cp chromeos/opt/google/chrome/libwidevinecdm.so ~/.kodi/cdm sudo umount chromeos rmdir chromeos sudo losetup -d ${LOOPD} rm -vi $(basename $CHROMEOSR) $(basename $CHROMEOSR .zip)

Somebody else can probably make it better.

This is now fixed. The latest Milhouse LibreELEC testbuild already has the fix. You should restore the windevine .so file to the latest version. If you deleted it, it is inside the latest chromeos archive: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_10718.88.2_daisy-spring_recovery_stable-channel_spring-mp-v3.bin.zip