yashsingh1/xdaforums huggingface dataset:
[Chromebooks] nabil2000:
Webcam not working with wrong webcam id on all hacks...

I didn't check the hack with the webcam.

After installing Skype from Play Store, if you try to use the webcam you will be greeted with bad webcam id, & maybe the system will freeze too.

This means Acer/Google locked Android to only use webcam shipped with the Chromebook it is meant for, another crippleware pathetic move I must add.

The way around this is use a crouton Linux distro to use the webcam.

As one can use Linux distro's from a tab, that will make this solution seamless.

I tested it with crouton, xenial release, with xfce4 as desktop

commands -

download crouton to ~/Downloads

use this

sudo sh ~/Downloads/crouton -r xenial -t xfce,xiwi,touch,extension

sudo startxfce4

then use this -

How to Install Skype 8.13 on Debian, Ubuntu and Linux Mint

https://www.tecmint.com/install-skype-in-debian-ubuntu-linux-mint/

wget https://go.skype.com/skypeforlinux-64.deb

sudo dpkg -i skypeforlinux-64.deb

& from a chrome os shell I can run skype in a window by invoking:

sudo enter-chroot xiwi skypeforlinux

it will be as if it's integrated, & bonus, you get the webcam working.

It will be nice if one figures out a hack for making the webcam id accepted to load it from within Android in Chrome OS :)

Notes -

works only from within the chrome browser, like web-Skype...

from Android apps - even external usb webcams advertised to work with chromebooks cannot be used, as it is pegged on activating the webcam software

only if the original webcam hardware shipping with the chromebook is identified...

I have no solution for bypassing this.... they want us to buy their tin.

Note:

The Android implementation on Chromebooks does not support USB host mode, this is why a USB webcam is not recognised from Android.

The internal webcam is locked to the real Chromebook, so using different ROMs won't work.

Still crouton solution is a very decent working solution for Skype.
[Chromebooks] leond:
Youtube in chrome doesn't work for me, getting green screen. Is it just me?
[Chromebooks] nabil2000:
Youtube as webstore app works, I haven't tried it from Play Store.

& Youtube as Android app works too, just tested it....
[Chromebooks] leond:
the app store one works, but the one in the browser, which is what gets opened when I click on the icon does not. tried on 2 different c720p. one boot from USB, one from internal SSD. both have a green screen instead of the video when played
[Chromebooks] nabil2000:
Odd - I do not have this problem on my C720P...

In your shoes, I would try brute force & re-run the script, there might be some corruption in the system files - also are you using the r67 build? - my C720P I use the v67 of Chrome OS.

er, before that, try & uninstall then re-install the Youtube Webstore app.
[Chromebooks] matt_mack:
I need help. I have downloaded all of the dropbox files there are( the ones that you said to use, not the "Don't use this" ones.), and I don't know where to go from there. If you could email me, that would be better, but I'm okay if I just reply. Thanks in advance.
[Chromebooks] nabil2000:
For Acer CB C720P, a better latest recovery ROM to use is

chromeos_10575.58.0_cyan_recovery_stable-channel_mp-v3.bin

get it from

name=Acer Chromebook R11 (CB5-132T / C738T)

version=10575.58.0

desc=

channel=stable-channel

hwidmatch=^CYAN .*

hwid=

md5=fdccaed5271ad3cbde30da82f233c34f

sha1=9b8ebed317679a8b6e9fcc78048ba6cda6ce2d6b

zipfilesize=1151487972

file=chromeos_10575.58.0_cyan_recovery_stable-channel_mp-v3.bin

filesize=2271232512

url=https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_10575.58.0_cyan_recovery_stable-channel_mp-v3.bin.zip
[Chromebooks] leond:
take a look at my post (#47) on page 5 of this thread:

https://xdaforums.com/showpost.php?p=76996301&postcount=47
[Chromebooks] EnumC:
I can confirm that this mod DOES work when installed to the internal SSD. You just need to download mrchromebox's firmware utility and set the boot parameter to Legacy boot default. I'm also experimenting with trying to remove the "Malformed Hardware ID" warning by changing the HWID, but so far no luck as each reboot seems to completely clear the HWID.

Also this method works for C720 as well as C720P.
[Chromebooks] nabil2000:
My only current gripe is not having USB host mode in Android, it's been locked to the real webcam hardware of Acer CB R11.

So to use Skype with webcam, I had to resort as I posted earlier to use crouton with extension on Ubuntu xenial (w/ desktop xfce).

until/unless a genius coder recompiles the squashed Android kernel to use USB host mode that is :)
[Chromebooks] EnumC:
Is USB host mode the issue in this case though? They might not have bothered to compile the kernel with the camera driver that's required for the webcam to work.
[Chromebooks] nabil2000:
Webcam kernel support for Android in Chromebooks.

It will be nice if someone who owns an Acer CB R11 would check if webcam works within Android.

& yes it has to be USB host mode, as I tried with a USB Logitech webcam advertised certified for Chromebooks.

Also internal webcams use usb channel to operate.

USB webcams & internal work in Chrome OS or crouton chroot's though.
[Chromebooks] nabil2000:
USB Host in Android - Crostini r69

It seems the answers to my questions are in using ChromeOS experimental flags in

chrome://flags

of Chrome toolbar -

also funnily enough.

crostini is listed there ;)

Enable ARC USB host integration

Allow Android apps to use USB host feature on ChromeOS devices. – Chrome OS

#arc-usb-host

&

Experimental Crostini

Enables in-development Crostini features. – Chrome OS

#enable-experimental-crostini-ui

Let us explore what enabling these two does?

usb host -

even though enabling the flag

chrome://flags/#arc-usb-host

--enable-features=ArcUsbHost

this still does not allow access to a usb webcam from within Android...

small funny note - crostini is removed in the list of experimental flags in Chrome OS r68 ;)

extra note - Chrome OS r68 still does not allow webcam from within Android - my hunch is they didn't implement proper USB switching from host OS to Android guest OS.

Crostini can now be enabled on Chromebooks that support it - [MENTION=222739]google[/MENTION] said that no CB with Kernel equal or below 3.14 will support Crostini - which means a noper for Acer C720P or C740P

in the hacked cyan or wizpig for older CBs in detailed build info we have:

--arc-availability=officially-supported,--enable-features=ArcUsbHost,ExperimentalCrostiniUI

the 1st is for Android which works, even allowing rooting...

the last for Crostini does not yield anything, so there is a disabling somewhere, there might be a way around this, maybe someone knows <- RFC

anyways Crouton is as good maybe better than Crostini & can be used in most CB's even the Arm powered ones...

... test -

I tried this:

append end of /etc/chrome_dev.conf with:

--enable-features=ExperimentalCrostiniUI

$ sudo cp /etc/chrome_dev.conf /usr/local/chrome_dev.conf

$ sudo mount --bind /usr/local/chrome_dev.conf /etc/chrome_dev.conf

ctlr-shift-q twice to soft reset CB

No dice - Linux doesn't appear in menu...

Any successful attempt welcome ;)

Further unsuccessful attempts to get Crostini to work on cyan & lars:

Linux (beta) Crostini fail -

https://twitter.com/inabster/status/1048807690477166592

appending end of /etc/chrome_dev.conf with:

--enable-features=ExperimentalCrostiniUI

--enable-features=Crostini

yields the Linux (beta) option,

but it fails to install the virtual machine still...

so menus, but not operational, doesn't download VM.

Linux (beta) activation -

appending

--enable-features=CrOSContainer

to chrome_dev.conf

& binding

does not help either... [MENTION=222739]google[/MENTION] is as always trying to lure people to buy their spying tin, this time the overpriced Google Pixel Chromebook...
[Chromebooks] vincenzo697:
Can someone help me install the cyan image to the internal drive of my chromebook pixel 2013?

Thanks
[Chromebooks] nabil2000:
You might need another image, I don't know how compatible it is to cyan - did it work off USB?
[Chromebooks] vincenzo697:
Cyan works. I have done it before but with another script which downloads the latest recovery. That's where I cant use it because the new recovery when I flash it during the procedure the screen goes black. I found this thread which you can use your own image.
[Chromebooks] nabil2000:
It's not a good idea to flash the live root , creates corruption.
[Chromebooks] vincenzo697:
As I said I did it before and it was working except the volume buttons. So I tried to flash Arnold's firmware and modules but it didn't work. So i start over again and came to the problem that they updated the recovery to 68 and it didn't work. That's why i asked for help here so i can flash the 67
[Chromebooks] nabil2000:
As I don't own a CB Pixel, I can't say.

I would try & get it working off a USB first.

On my Acer C720P & even a non google BBen cherrytrail compute stick, r65, r67 & r68 all work very well.

Acer C720P got everything working off a USB 3.0 stick.

I prefer to keep the original OS in the internal SSD.
[Chromebooks] vincenzo697:
I hate having always a usb inserted to the chromebook as my son tends to touch stuff :cyclops:. So what commands I need, to install to the internal drive?
[Chromebooks] nabil2000:
Someone upstream installed it to his internal drive, but I think he removed the internal ssd & did it then put the ssd back in...

Sorry I do not wish to take the responsibility to give you instructions, then you bork your system..

One way to do it is install it to a 16 GB USB then dd the USB to your internal SSD, one caveat is that it will keep giving you that boot up error, which it also gives from USB, & you will only be able to boot using control-l

Another way is boot to the installed USB, then carry on the instructions from my first post, replacing /dev/sdb by /dev/sda in all instances.

Good luck - you're on your own ;)
[Chromebooks] vincenzo697:
Thanks buddy. As I said I did it before following this guide https://www.google.com.au/search?ie...-browser&q=chromebook+pixel+2013+android+apps

But with the newest images (68) it doesn't work.
[Chromebooks] vincenzo697:
i get this error, trying to install it from chromium. the file is inside the downloads folder

# rootfs_start="`cgpt show -i 3 -n -b -q $image_file`"

ERROR: Can't open chromeos_10575.58.0_cyan_recovery_stable-channel_mp-v3.bin: No such file or directory
[Chromebooks] nabil2000:
you are in root

do not be in root #

the image put in ~/Downloads

$ cd ~/Downloads

$ image_file=chromeos_10575.58.0_cyan_recovery_stable-channel_mp-v3.bin

$ rootfs_start="`cgpt show -i 3 -n -b -q $image_file`"

.....

& make sure you use arnoldthebat rom 55 from my dropbox.
[Chromebooks] vincenzo697:
you saying "Another way is boot to the installed USB, then carry on the instructions from my first post, replacing /dev/sdb by /dev/sda in all instances."

does it mean the (sudo mount /dev/sdb12 chrome_efi_mount -t vfat

) sdb12 becomes sda12 or just sda? and same with the (sudo dd if=$image_file of=/dev/sdb3 bs=512 skip=$rootfs_start count=$rootfs_size

) sdb3 - sda3 or sda?
[Chromebooks] leond:
buy another m.2 SSD on amazon ~$20 and USB to m.2 adapter. put SSD in to m.2 adapter and flash it like a USB stick. Then replace internal SSD with the one you just flashed, but change boot options to legacy boot and it will boot from new internal SSD
[Chromebooks] vincenzo697:
It boots but the only thing is that from grub i have to change the root from uuid to /dev/sda3 all the time
[Chromebooks] nabil2000:
I mock about (successfully) with grub in Linux distros like Ubuntu & Arch Linux - never looked into grub on Chromebooks -

I rely on arnoldthebat bootloader which can boot both mbr & efi.

Touching the EFI partition is not a great idea on Chromebooks.

Besides the hacked version boots to mbr.
[Chromebooks] derrickl1990:
I'm afraid to ask for a step by step-- but I'm a bit lost. I used win32 diskimager to install the chromiumos to a usb drive-- then tried to boot from it in developer mode, but it said that there was not a valid OS present on the USB drive.

I'm currently running Version 71.0.3558.0 (Official Build) canary (64-bit)

As of current, is the recovery_2008.conf the conf of choice? and then how do I install it... I'm new to this and thoroughly lost.

I have experience rooting android phones, and with windows pcs, but I just got my chromebook last week :D
[Chromebooks] lunchplease:
I'd love to have one too if possible....I've been looking reading all this but a bit afraid of trying! I've had my Chromebook for 3 yrs and have installed chroots on it half a dozen times but just not overly sure of instructions gleened from here so far....
[Chromebooks] nabil2000:
If you boot from USB, what version on your internal disk is irrelevant...
[Chromebooks] nabil2000:
arnoldthebat Chromium OS v69 no Android - but with crostini

The open source arnoldthebat chromium OS v69 special build - https://arnoldthebat.co.uk/wordpress/2018/09/25/chromiumos-enhanced-special-build-r69-10895-b/

has built in Linux support with crostini - working for some devices - check here: https://arnoldthebat.co.uk/wordpress/2018/10/01/linux-apps-support/

! [MENTION=4134963]arnoldthebat[/MENTION] latest Chromium OS special build r69 can boot Acer CB C720P - you need use this trick: try & boot using Ctrl-L (which will fail), then boot using Ctrl-U...

For Android it misses arc config files, plenty of them, so will fail to load Android.

Here is an analysis of the missing files which all need to be in the rootfs 2GB partition

#arnoldthebat > For Android he put in the framework, but all necessary files are missing in

/etc/init

/opt/google/containers/android/

/usr/local/Android_Images/

No wonder Android not working...

I tried to put in the files manually, but it ends up saying no space left, sneaky #Google ??

https://twitter.com/meNabster/status...42269745922050

More details:

on Acer C720P CB

arnoldthebat v69 no Android

RootFS partition in /dev/sdb3 - size 2GB - free space 453.38 MB

cyan v69 with Android

RootFS partition in /dev/sdb3 - size 2GB - free space 63.84 MB

at some stage [MENTION=222739]google[/MENTION] will have to increase the size of the rootfs partition, [MENTION=8977063]cloudready[/MENTION] already did:

cloudready

RootFS partition in /dev/sdb3 - size 2.98 GB - free space 1.70GB
[Chromebooks] nabil2000:
Arnoldthebat Android missing files in Chromium OS r69

Missing files & folders in arnoldthebat

/opt/google/containers/android/ - config.json rootfs system.raw.img usr vendor.raw.img

system.raw.img - size: 461983744

vendor.raw.img - size: 48439296

already these two take up all the space left in the rootfs partition...

so arnoldthebat is using up more space, & has not enough space to accommodate Android.

Missing arc files in /etc/init: -

arc-adbd.conf arc-kmsg-logger.conf arc-network.conf arc-removable-media.conf arc-setfattr.conf arc-start-sysctl.conf arc-ureadahead.conf arc-boot-continue.conf arc-lifetime.conf arc-obb-mounter.conf arc-sdcard.conf arc-setup-env arc-stop-sysctl.conf arc-ureadahead-trace.conf

arc-camera.conf arc-network-bridge.conf arc-oemcrypto.conf arc-sensor.conf arc-stale-directory-remover.conf arc-system-mount.conf

Missing folders / files in /opt/google/containers/

android arc-art arc-obb-mounter arc-removable-media arc-sdcard

Other misc -

/etc/arc - features.json

/etc/selinux - arc config intermediates.raw

/etc/selinux/arc - contexts policy

/etc/selinux/arc/contexts -

/etc/selinux/arc/contexts/files - android_file_contexts file_contexts

/etc/selinux/arc/policy - policy.30
[Chromebooks] devinpatterson:
Sorry total noob to chromebooks, but is there any way to get around a developer mode lock on the C720P to perform this hack?
[Chromebooks] nabil2000:
Nope, you need to be in developer mode.

... Unless you convince [MENTION=355971]Acer[/MENTION] & [MENTION=222739]google[/MENTION] to support it ;)

They are not interested, they want you to buy their newer tin.

Acer CB C720P is a very capable machine, but their greed will not support it.
[Chromebooks] devinpatterson:
:( OK thanks nabil2000
[Chromebooks] vinceb29:
With the c720p, is it possible or even easier to just remove the orignal ssd, and replace it with a new blank one and just install to that instead of messing with booting from a usb stick?

If so what would be the best steps and files to use to create the recovery usb?

Or do you need to keep the original ssd in, create the usb (using a new ssd and usb adapter) following instructions in #47 and then switch it out with the original ssd?
[Chromebooks] nabil2000:
Test it & report - if you bork your SSD just create a recovery usb.

I can't say as did not try it.

One way might be make a usb as advised then use this to copy it over from a linux livecd:

sudo dd if=/dev/sdx of=/dev/sda bs=4M

where /dev/sdx is the created usb with ChromeOS with Play Store...

should be /dev/sdc (/dev/sdb being the livecd)

NB. /dev/sdc should be smaller size than your internal ssd /dev/sda
[Chromebooks] simon21:
I would pay someone to do this for me. Seems too complicated
[Chromebooks] nabil2000:
[GUIDE][CHROMEFY] Installing official Chrome OS on any device (PC / PC-like tablet)

When I have the time & energy, I will try

[GUIDE][CHROMEFY] Installing official Chrome OS on any device (PC / PC-like tablet)

https://xdaforums.com/hardware-hacking/chromebooks/guide-installing-official-chrome-os-pc-t3865697

They claim it gives a Chrome OS with Android & crostini on normal Windows PC/Laptop/tablets...

Using the script I hacked only provided Android for supported recovery's like cyan/auron_paine/wizpig/relm/...

RFC - is it easy for noobs to use? many complained here that it is too complicated to use the script I scavenged in post #1 :)

Reports that recovery image caroline/fizz yield good results for normal PC's - I only have Acer W700, Acer C720P & Apple Macbook Air mid 2011 to play with...

so does caroline & fizz support their chipsets?

Cherrytrail, Baytrail Atom sticks & tablets are off limit for crostini as they do not do hardware virtualisation, but crouton is better than crostini & works on all.

Note - Above arnoldthebat R55 as base OS does not work for Acer CB C720P - ordinary PC's seem not to mind with arnoldthebat R6X like R69

*** great news ***

For Acer Chromebook C720P - from USB 3.0 -

Using chromefy with fizz / caroline yields fully working Chrome OS with arnoldthebat latest r69 Chromium OS as base -

all works, including Android & crostini, & uses Linux Kernel 4.15

this is the outcome I was looking for!

boots using Control-u

great work for the chromefy team...

breakdown on how I did it in next post...

Side notes -

chromefy is not for noobs either, if only for the instruction to resize the Root-A partition...

I tested it using cyan instead of fizz, does not yield crostini, but having Kernel 4.14 instead of 3.18 is great...
[Chromebooks] nabil2000:
[CHROMEFY] Install official Chrome OS w/ Android & crostini for Acer Chromebook C720P

1. You need two USB sticks with arnoldthebat Chromiusm OS enhanced R69 special build - get it here:

https://arnoldthebat.co.uk/wordpress/chromiumos-special-builds/

Using windisk imager, image the 2 sticks with the Chromium OS.

One stick (with Chromium OS r69) will be to boot to from USB, the other stick (or SSD) will be to install Chrome OS to.

N.B. The target install partition to hold Chrome OS ROOT-A /dev/sdc3 in my case, needs to be resized to at least 4GB (from 2 GB) -

I used gparted gui from a Ubuntu livecd to resize it, expand it by 2048MB,

this requires to rezise/move the /dev/sdc1 partition to the right by 2048MB, then resize /dev/sdc3 by expanding it by 2048MB.

2. Boot up to the installation/configuration stick (from above) & download the chromefy.sh script from

https://github.com/imperador/chromefy/releases/tag/v1.1

to a folder in~/Downloads

(specifics left to you)

3. Download from Google repository these two recovery images

fizz

chromeos_10895.78.0_fizz_recovery_stable-channel_mp-v8.bin.zip

caroline

chromeos_10895.78.0_caroline_recovery_stable-channel_mp.bin.zip

url addresses in first post of this thread...

unzip both bin images to a folder in ~/Downloads

(specifics left to you)

4. Determine which is the location of the second USB stick you want as target (it has the second Chromium OS you imaged earlier)

In my case it is /dev/sdc

(/dev/sda is the internal, /dev/sdb is the Chromium OS you booted into & are working from)

5. from a shell (ctlt-alt-t)

$ shell

$ cd ~/Downloads

$ sudo df # (or sudo fdisk -l) to determine disk target

$ sudo bash chromefy.sh /dev/sdc3 chromeos_10895.78.0_fizz_recovery_stable-channel_mp-v8.bin chromeos_10895.78.0_caroline_recovery_stable-channel_mp.bin

that's it - it will do its thing, then ask you to reboot...

remove the 1st usb stick, replace it with the 2nd usb stick, boot from it

& you have, hopefully, a fully working Chrome OS with Linux Kernel 4.14, Android & crostini enabled...

ack & greets, respect to anoldthebat & the chromefy team for making this possible...

small caveat - you cannot root android in this setup as trying to make the system r/w wrecks the setup - welcome to solve this ;)

NB & PS -

It might be a good idea to use the combo cyan / caroline first in 5) to start with to make sure to avoid the blank screen described below for Acer Chromebook C720P...
[Chromebooks] nabil2000:
[CHROMEFY SCRIPT] Rooting attempts failure on Acer Chromebook C720P

So far unable to root the end result Chrome OS on Acer C720P (using fizz/caroline)

Rooting works perfectly with my method which uses the 3.18 original Google Kernel of cyan recovery ROM - https://xdaforums.com/showpost.php?p=77187460&postcount=70

that's using nolirium rooting script.

https://github.com/nolirium/aroc

When I use nolirium with chromefy, I get weird errors like there is not enough space left on device, & damages the /dev/sdx1 stateful_partition so I have to repair it with gparted... it also ends up borking Android, so I have to re-apply chromefy.

Any idea what goes wrong.

Obvious, I tried to test chromefy to see if it was already rooted, but it's not.

copy of

https://xdaforums.com/showpost.php?p=78308597&postcount=358

answer by coordinator, aggregator, poster of chromefy:alesimula

https://xdaforums.com/showpost.php?p=78309049&postcount=359

I successfully managed to root with nolium script after editing it a bit, it still requires to move some files manually first.

When I'm done with exams I'll try to provide a rooting method
[Chromebooks] JonnehXD:
I've been attempting this for a while now, not sure what I'm doing wrong. I'm able to get a bootable chromium flash drive working just fine, so I know it's not my drives being weird.

As soon as I run the chromefy.sh script with the fizz & caroline files, the file it makes no longer boots when used on a live USB. I see the bios on my C720p try to boot the drive, but then instead of a chrome splash screen, I get a black screen.

Any advice? :S
[Chromebooks] nabil2000:
Bull's eye - sadly it happens, if you are lucky ctrl-L, choose proper usb, a few times

switch off

do ctrl-U

it might fix it...

otherwise you need another PC device to boot it from

allow it to fully boot to the google os GUI

switch off,

now use ctrl-U on the C720P, it will work...

well, this worked everytime for me....

luckily I have a few devices to play with...

hope you do too, or you can use a friend's or colleague's device.
[Chromebooks] JonnehXD:
My chromebook's fine, I can't get any Chrome USB drives I make to boot on it though. Haven't been able to attempt installing anything. I guess I could try installing Chromium to the SSD, then use a linux live USB to resize the partitions and try to run the script on there?
[Chromebooks] nabil2000:
You did not get me -

Use the new Chrome OS USB you built that boots to blank screen.

Use that USB & boot it from usb of a normal PC/laptop to fix the issue.