Watch Xfinity Stream in Firefox with Mint 19

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
User avatar
o0Chucky0o
Level 1
Level 1
Posts: 1
Joined: Mon Apr 22, 2019 5:42 pm

Watch Xfinity Stream in Firefox with Mint 19

Post by o0Chucky0o »

The Xfinity Streaming Service (www.xfinity.com/stream) does not support Linux Browsers. Searching the internet for a work-around, https://ubuntuforums.org/showthread.php?t=2405247 seemed the most viable. After some tinkering, I was able to get this working in Mint 19 with Firefox 66.0.2 by replacing the default Flash Player with one from a Chomebook Restore image, then simply using a User-Agent Switcher Add-on in Firefox to "trick" the Xfinity servers into believing I am using a Windows OS. Also tested this in Mint 18 and works fine.

First, install the Flash plugins:

Code: Select all

sudo apt-get install pepperflashplugin-nonfree

Code: Select all

sudo apt-get install browser-plugin-freshplayer-pepperflash
Download the Chromebook restore image here:
https://dl.google.com/dl/edgedl/chromeo ... mp.bin.zip
Once downloaded, double click the file and extract to the Downloads directory

Once extracted, you will have a .bin file which needs mounted. kpartx works well for this:

Code: Select all

sudo apt install kpartx
To begin the mounting procedure, we need to list the partitions in the extracted bin file:

Code: Select all

sudo kpartx -av ~/Downloads/chromeos_11647.104.0_asuka_recovery_stable-channel_mp.bin
Output should look something like this:

Code: Select all

add map loop0p1 (253:0): 0 20480 linear 7:0 4415488
add map loop0p2 (253:1): 0 32768 linear 7:0 20480
add map loop0p3 (253:2): 0 4096000 linear 7:0 319488
add map loop0p4 (253:3): 0 32768 linear 7:0 53248
add map loop0p5 (253:4): 0 4096 linear 7:0 315392
add map loop0p6 (253:5): 0 1 linear 7:0 16448
add map loop0p7 (253:6): 0 1 linear 7:0 16449
add map loop0p8 (253:7): 0 32768 linear 7:0 86016
add map loop0p9 (253:8): 0 1 linear 7:0 16450
add map loop0p10 (253:9): 0 1 linear 7:0 16451
add map loop0p11 (253:10): 0 16384 linear 7:0 64
add map loop0p12 (253:11): 0 65536 linear 7:0 249856
In this example, "loop0p3" holds the root directory (its typically the largest partition), and contains the file we need. First, a folder will need to be created to attach the partition to:

Code: Select all

mkdir ~/mnt
mount the partition to the newly created folder:

Code: Select all

sudo mount -t ext2 /dev/mapper/loop0p3 -o ro  ~/mnt
Now that the image is mounted in the users Home directory, navigate to:

Code: Select all

cd ~/mnt/opt/google/chrome/pepper/
Here you should find a file called libpepflashplayer.so. It will need to be copied to /usr/lib/adobe-flashplugin:

Code: Select all

sudo cp libpepflashplayer.so /usr/lib/adobe-flashplugin/
Now that the Flash Player has been replaced, open Firefox and browse to:
about:addons

Choose Get Addons, then Find More Addons. Search for User-Agent Switcher, the one made by Linder is the one I installed. You can now change your Browser to Firefox running on Windows. Log-in to your Xfinity Account, browse to www.xfinity.com/stream, and Allow Flash Permission when it asks. Now you should now be able to watch all the content you have access to in your Xfinity Account.
darco
Level 4
Level 4
Posts: 207
Joined: Sat May 24, 2008 5:03 pm

Re: Watch Xfinity Stream in Firefox with Mint 19

Post by darco »

Has anything changed with LM 20 and your above procedure? I followed your steps, using agent switcher w/ various OS/browser combos but still unable to access Xfinity Stream, says my system is incompatible. Using latest FF and Chrome...tested flashplugin on adobe website,reports ver 32....FF reports freshplayer installed. Cleared cache...
thxs
Post Reply

Return to “Tutorials”