How to Nativly Run Netflix on a Raspbery PI2

by mviljoen2 in Circuits > Raspberry Pi

69024 Views, 43 Favorites, 0 Comments

How to Nativly Run Netflix on a Raspbery PI2

IntoImage.png

To run Netflix on your raspberry PI 2 you need to extract Google WideVine Libraries from an OS that supports an ARM CPU that's the same as your Raspberry PI2 which is running ARMv7.

So for this we use a Google ChromeOS recovery Image.

Ubuntu Linux - (I ran this in a VM using Vmware)
Google ChromeOS Recovery Image

Chromium Installed on your Raspberry PI 2

If you prefer you can also watch the video.

Mount the Google ChromeOS Disk in Ubuntu Using Kpartx

kpartx.png
lsdevmapper.png
mountloop0p3.png

Run the following commands

Mount the Google ChromeOS Image
sudo kpartx -av /path/to/the/bin/image.bin

Mount partition3 in the image and then copy the files as demonstrated in the attached images.

Install Chromium for Raspbian.

Installing Chromium is easy,

Here's a great link that will guide you.

http://conoroneill.net/running-the-latest-chromium...

The steps are pretty easy though, Simply run each of the below commands one by one.

wget http://ftp.us.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+deb7u3_armhf.deb
wget http://launchpadlibrarian.net/218525709/chromium-browser_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb wget http://launchpadlibrarian.net/218525711/chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb sudo dpkg -i libgcrypt11_1.5.0-5+deb7u3_armhf.deb sudo dpkg -i chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb sudo dpkg -i chromium-browser_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb

Make Some Changes to Chromium on Your Raspberry PI2

adduseragent.png
settings.png
agentoptions.png
1.png

Copy the widevine libraries that you extracted in the previous step to /usr/lib/chrome-browser

Open Chromium and add a user agent switcher.

Go into settings then extentions and click Options on the user agent switcher and add the below user agent string

Mozilla/5.0 (X11; CrOS armv7l 6946.63.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2357.130 Safari/537.36

After adding the string be sure to switch to it by clicking the guy in the mast next to the address bar in the top right corner of chromium.

Make sure you restart chrome and then test it out on netflix.

Watch the Video If You Get Stuck

Here is another guide If this one isn't clear enough.

Another Guide to run netflix on Raspberry Pi 2ie