Regain support for playing protected content on your Raspberry Pi with these solutions

Raspberry Pi OS, Widevine seen and unseen

It was the funniest thing for me. Although for the use that I do this is not life or death, last Thursday I looked for information about DRM support in the Raspberry Pi to find that he had been ... up to 36 hours before. Google updated Widevine and left the raspberry board hanging, so its owners must wait for an official solution or, if they are in a hurry, make a few changes on their own.

A thread In the official Raspberry Pi forum, collect what is happening. In it, which I have been snooping since last Thursday, they have also published a couple of solutions. The first is to update the operating system, since the patch has already reached Bullseye (Debian 11). The second is to add the keys to the Widevine by Buster. Neither solution is official, as although the operating system can be updated, Raspberry Pi OS is still based on Debian 10 officially.

Recover DRM support on the Raspberry Pi

Method 1: upgrade to Bullseye

Since the patch is already in Bullseye, the closest thing to being official is updating the operating system, something that we will achieve by following these steps:

  1. We update the repositories, packages and distribution with these commands:
apt update
apt upgrade
apt full-upgrade
  1. Next we edit the sources with:
sudo nano /etc/apt/sources.list
  1. The next thing we have to do is modify everything related to Buster so that Bullseye appears:
deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
  1. We do the same in the apt.conf file, changing Buster to Bullseye and leaving the rest as is.
  2. Finally, we repeat the first step and accept the changes.

Another option is to run this script.

Method 2: apply the patch to Buster

The other option is to apply the patch not official to Buster. To do this, you have to open a terminal and write all these commands, better one at a time:

sudo apt-get update
sudo apt-get install libwidevinecdm0 gnupg
curl -s --compressed "https://wagnerch.github.io/ppa/buster/KEY.gpg" | sudo apt-key add -
sudo curl -s --compressed -o /etc/apt/sources.list.d/wagnerch-buster-ppa.list "https://wagnerch.github.io/ppa/buster/wagnerch-buster-ppa.list"
sudo apt-get update
sudo apt-get upgrade
curl https://k.slyguy.xyz/.decryptmodules/widevine/4.10.2252.0-linux-armv7.so | sudo tee /opt/WidevineCdm/_platform_specific/linux_arm/libwidevinecdm.so >/dev/null
sudo reboot

It is important to insist that nothing explained here is official. The Raspberry Pi OS developer team is planning to release their patch for Buster, but it is unknown when it will arrive. On the other hand, as explained in the forum, each one is responsible for what may happen to them if they decide to make the changes on their own. And, of course, it's worth backing up all your important data first.

I prefer to wait for something 99% official, that is, what the Raspberry Pi OS developers do, but because I don't need to play protected content on my little board. If for someone it is necessary, you can already fix it with two different methods.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.