[Guide] Using Widevine DRM on the N2

Post Reply
sgear
Posts: 3
Joined: Sun Jun 30, 2019 9:31 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 5 times
Contact:

[Guide] Using Widevine DRM on the N2

Unread post by sgear » Thu Feb 06, 2020 9:50 pm

I've recently managed to get Widevine DRM and subsequently the Spotify Web Player working on the N2 with Armbian. Unfortunately, I have yet to have any luck with Netflix. In order to achieve this I’m using a 32-bit version of Vivaldi, which to my understanding has additional patches to allow the use of the Widevine library from Chrome OS.
Screenshot_2020-02-06_07-48-00.png
Screenshot_2020-02-06_07-48-00.png (409.69 KiB) Viewed 346 times
First you're gonna want to enable armhf support with the following commands

Code: Select all

sudo dpkg --add-architecture armhf && sudo apt update
sudo apt install libc6:armhf
Now go ahead and download and install a copy of Vivaldi 2.10 for ARM 32-Bit.

Once you've done that run this script to fetch and install the latest Widevine DRM plugin from Chrome OS. You might encounter an error with this script if your tmp folder isn't big enough. This probably isn't the best solution but you can temporarily resize it with the following command and try running the script again

Code: Select all

sudo mount -o remount,size=5G /tmp/
Launch Vivaldi and test to see if Widevine support is working

If it looks like this you should be good to go:
Screenshot_2020-02-06_07-26-29.png
Screenshot_2020-02-06_07-26-29.png (293.37 KiB) Viewed 346 times
Couple of additional notes, some sites might require you to spoof your user agent string to that of a Chrome OS device. This can be achieved by using the user agent string below with a plugin like user agent switcher.

Code: Select all

Mozilla/5.0 (X11; CrOS armv7l 10895.56.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.131 Safari/537.36
While playing around with this I also encountered a weird bug where if the Roboto font family was installed to /usr/share/fonts or /usr/local/share/fonts Vivaldi would segfault on launch. This was solved by moving them to ~/.fonts.
Last edited by sgear on Fri Feb 07, 2020 5:57 am, edited 1 time in total.
These users thanked the author sgear for the post (total 5):
istanbulls (Thu Feb 06, 2020 10:05 pm) • Gburas (Thu Feb 06, 2020 10:24 pm) • mad_ady (Fri Feb 07, 2020 1:55 am) • odroid (Fri Feb 07, 2020 8:18 am) • joy (Thu Feb 13, 2020 10:53 am)

User avatar
Gburas
Posts: 117
Joined: Sat Sep 19, 2015 7:13 am
languages_spoken: English, Polish
ODROIDs: Xu4, N2
Location: Poland, Sopot
Has thanked: 15 times
Been thanked: 2 times
Contact:

Re: [Guide] Using Widevine DRM on the N2

Unread post by Gburas » Thu Feb 06, 2020 10:26 pm

Nice tutorial, I have found that Vivaldi is way better then FF and Chromium for SBC (and yes I know that Vivaldi is a fork of Chromium but for me works better), so I'm recommending

Wysłane z mojego Moto Z (2) przy użyciu Tapatalka


istanbulls
Posts: 159
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 58 times
Been thanked: 8 times
Contact:

Re: [Guide] Using Widevine DRM on the N2

Unread post by istanbulls » Fri Feb 07, 2020 1:39 am

Works well for Spotify

Thank you

istanbulls
Posts: 159
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 58 times
Been thanked: 8 times
Contact:

Re: [Guide] Using Widevine DRM on the N2

Unread post by istanbulls » Fri Feb 07, 2020 8:34 pm

They have problems with Pulseaudio.

Like Android, it allows the sound of a single program. disables audio control, the audio icon disappears from the panel.

I tried with HK Ubuntu-Mate and Armbian-Bionic.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests