Skip to content

Instantly share code, notes, and snippets.

@rikels
Last active February 6, 2022 23:25
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save rikels/4031126 to your computer and use it in GitHub Desktop.
Save rikels/4031126 to your computer and use it in GitHub Desktop.
chromium os plugins

this scripts installs: Flash, PDF, for some Chromium OS builds. (confirmed on Vanilla build 3389 Built on 12th December 2012!) Carputers confirmed that it also works on ArnoldTheBat's Cx86OS-20130423010101 build!

Sadly enough the Hangouts stopped working! i don't know about Netflix, since i can't test it. and since ~4-08-2013 MP3/Mp4 stopped working?

if you want to use this script on ArnoldTheBat's Chromium OS build, keep in mind that he uses the password: "password" instead of "facepunch". (without the quotes ;))

all credits go to dz0ny, his script can be found here: https://gist.github.com/3065781 but this script didn't work for me and some more people. so i tried to do what his script did, but a little different. And also a big thanks to Jamison Lofthouse and Steve Pirk, as they got the Google Hangout plugin to work.

in the latest builds, Python is included again! this makes Dz0ny's script work again, if bandwith and time isn't a concern, please use his script!

because bandwith is a concern for some people (i guesss no-one using Chromium Os will face that problem though;), i kept this package as small as possible. (it'll probably also be a little bit faster, but i haven't compared the scripts)

If anyone knows how to install more stuff or got anything to ask, you can contact me at: knakel2+chromium@gmail.com I would still like to add Java so if you've got this working please contact me.

how to install?

  1. start Chromium OS.

  2. log in.

  3. press alt+ctrl+F2.

  4. log in as user: chronos password: facepunch.

  5. enter the command: sudo su, and log in with the password: facepunch.

  6. enter the following: curl -L http://goo.gl/JL1An5 | bash

  7. wait for it to finish, you will automatically be taken back to the login screen and everything should be working.

fixing audio (there's a change in the new builds, for me audio was working so i don't know what to do if it doesn't. you can try to restart your audio driver with alsaucm or alsactl):

  1. start Chromium OS.

  2. log in.

  3. press alt+ctrl+F2.

  4. log in as user: chronos password: facepunch.

  5. enter the command: sudo su, and log in with password: facepunch.

  6. enter the following command: mount -o remount, rw /

  7. enter the following command: alsaconf, and press enter till you come back to the terminal.

  8. enter the following command: mount -o remount, r /

  9. enter the following command: reboot. it should work now.

Thanks to Arnold The Bat, some touchpad's that aren't working with a default setup can now be fixed! he also got a broadcom wifi card working! go to his page (http://arnoldthebat.co.uk/) to find out how to set it up. zhaostu made a script that can automaticaly detect and set-up your touchpad, you can find it here: https://gist.github.com/zhaostu/4552236

#!/bin/bash
#based on https://gist.github.com/3065781 which is based on https://wiki.archlinux.org/index.php/Chromium
#mounting the filesystem as writable
mount -o remount, rw /
cd /opt/
echo "Downloading important data"
wget --no-check-certificate -O "data.tar" "https://googledrive.com/host/0B78S5hOqFxkOOGpDSHp4YWt0REU/addons.tar"
echo "extracting the very important data!"
tar -xf data.tar
mkdir -p /usr/lib/mozilla/plugins/
#Flash, pdf
#mp3,mp4, stopped working...
cp /opt/data/libffmpegsumo.so /usr/lib/cromo/ -f
cp /opt/data/libffmpegsumo.so /usr/lib/mozilla/plugins/ -f
#pdf
cp /opt/data/libpdf.so /opt/google/chrome/ -f
#flash
cp /opt/data/libpepflashplayer.so /opt/google/chrome/pepper/ -f
cp /opt/data/manifest.json /opt/google/chrome/pepper/ -f
cp /opt/data/pepper-flash.info /opt/google/chrome/pepper/ -f
echo "deleting downloaded crap"
rm -rf /opt/data/
rm /opt/data.tar
restart ui
@splllllitz
Copy link

I am running chromiumOS on my Tosh Chromebook2, but cannot copy anything to the /opt/.../... because its read only. tried sudo, su but still no luck.

Thoughts?

edit: nevermind had to run through the rw-rootfs script :)

that said, I still cant get flash working after iPonys instructions. I dont want to break crosh, so i am worried about the script.

@Coburn
Copy link

Coburn commented Aug 29, 2016

Since support for Flash, mp3, Java, etc. in Chromium OS is now practically unmaintained, please tell the community how to provide self-support. Where does one find the compatible codecs? How are they extracted, built, and installed? What are the issues with proprietary code, and what might be some of the security obstacles put up to avoid improper use of the codecs? Thanks

@lorby
Copy link

lorby commented Oct 21, 2016

Hey guys, a bit of a thread dig. I've used this stuff in the past to try and get flash working on chromium for the support students at the school I work at and it's been good but I've just tried again recently and the repositories seem to be down, specifically the https://googledrive.com/host/0B78S5hOqFxkOOGpDSHp4YWt0REU/chromium.sh stuff. Is there any chance it could be rehosted please? Thanks!

@rviprksh0707
Copy link

I am getting incorrect login by using chronos and password: facepunch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment