Android Apps on Chromium OS & Open Source

5,957 views
Skip to first unread message

Gizmo Chicken

unread,
Sep 2, 2016, 5:57:23 PM9/2/16
to Chromium OS discuss
According to an article on Android Authority, the current method for running Android apps on Chrome OS is achieved “through Linux namespaces which isolate the Android and Chrome OS" and "Android is running directly on top of the Linux kernel."  See http://www.androidauthority.com/preparing-your-android-app-for-chromebooks-710138/

Will the code that allows Android apps to run on Chrome OS be released in a form that will allow Android apps to run on Chromium OS?

And if so, has there been any talk of porting the code to a form that would allow Android apps to run on other Linux distributions, such as Arch, Debian, Fedora and Ubuntu?

Mike Frysinger

unread,
Sep 2, 2016, 6:03:23 PM9/2/16
to gizmoc...@gmail.com, Chromium OS discuss
the Android container itself has no plans to be released (which is basically just the rootfs of an Android system).  everything else is already released, and as noted, is using standard Linux technology to isolate things (namespaces, etc...).

with that in mind, there's nothing stopping people from implementing this approach elsewhere.
-mike

--
--
Chromium OS discuss mailing list: chromium-os-discuss@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en


Gizmo Chicken

unread,
Sep 2, 2016, 9:03:21 PM9/2/16
to Chromium OS discuss

Mike,

Thanks for the reply.  Much appreciated!  And that's promising news.

One follow-up question:  I'm under the impression (possibly mis-impression) that Chrome OS uses a Linux kernel that has been somewhat modified relative to a stock Linux kernel. To your knowledge, does Chrome OS rely on anything not in the stock kernel to allow Android apps to run on Chrome OS?

Sorry for the naiveté of my questions.  Obviously, I'm not a developer, but just a hobbyist.

GizmoChicken



On Friday, September 2, 2016 at 6:03:23 PM UTC-4, Mike Frysinger wrote:
the Android container itself has no plans to be released (which is basically just the rootfs of an Android system).  everything else is already released, and as noted, is using standard Linux technology to isolate things (namespaces, etc...).

with that in mind, there's nothing stopping people from implementing this approach elsewhere.
-mike
On Fri, Sep 2, 2016 at 5:57 PM, Gizmo Chicken <gizmoc...@gmail.com> wrote:
According to an article on Android Authority, the current method for running Android apps on Chrome OS is achieved “through Linux namespaces which isolate the Android and Chrome OS" and "Android is running directly on top of the Linux kernel."  See http://www.androidauthority.com/preparing-your-android-app-for-chromebooks-710138/

Will the code that allows Android apps to run on Chrome OS be released in a form that will allow Android apps to run on Chromium OS?

And if so, has there been any talk of porting the code to a form that would allow Android apps to run on other Linux distributions, such as Arch, Debian, Fedora and Ubuntu?

--
--
Chromium OS discuss mailing list: chromium-...@chromium.org

Mike Frysinger

unread,
Sep 2, 2016, 9:43:34 PM9/2/16
to gizmoc...@gmail.com, Chromium OS discuss
we use altsyscall for security which only CrOS has atm, but it isn't required to run.

we might have backported some fixes from AOSP, but I don't think we have anything unique. certainly all the kernel code has been released. we do enable Android drivers that no distros enable by default (like binder).

I've been out of touch with the kernel work here, so I could be wrong.

g'luck!
-mike

Chromium OS discuss mailing list: chromium-os-discuss@chromium.org

Dylan Reid

unread,
Sep 2, 2016, 9:51:45 PM9/2/16
to Mike Frysinger, gizmoc...@gmail.com, Chromium OS discuss
Mike has it correct. We are running a fairly upstream kernel, with
additions from the public android kernel tree.

You will need some relatively recent kernel features. cgroup
namespaces are used, so you'll need a 4.5+ kernel or to backported
that feature.

You can find all the details you want in our kernel tree.

David Sayles

unread,
Sep 13, 2016, 12:15:53 PM9/13/16
to Mike Frysinger, gizmoc...@gmail.com, Chromium OS discuss
So if we build chromiumos with "USE=arc", should we expect to see everything except the container (which I think should end up in `/opt/google/containers`)?  I tried that, then started to diff my build against an asus flip (in dev mode) and found a bunch of stuff in addition to the container missing.  Init scripts such as `arc-camera.conf`, `arc-mount.com` are missing.  Binaries in /usr/bin such as `arc_camera_services` and `arc-obb-mounter` are missing.  And some users and groups such as `arc-bridge` were missing.

I used an Asus Flip v54.0.2824.5, and the release-R54-8743.B building for the `veyron_minnie` board as comparisons.

---
You received this message because you are subscribed to the Google Groups "Chromium OS discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-discuss+unsub...@chromium.org.



--
Thanks,
Dave

Mike Frysinger

unread,
Sep 13, 2016, 12:40:09 PM9/13/16
to David Sayles, Gizmo Chicken, Chromium OS discuss
we haven't migrated some of the supplementary files to the public, however, if you read the content of those, you'll see they're not that complicated, and are largely board-specific.  they're the glue layer that combines the capabilities of the current system with the Android world.
-mike

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-discuss+unsubscribe...@chromium.org.



--
Thanks,
Dave

Gizmo Chicken

unread,
Apr 11, 2017, 11:18:52 PM4/11/17
to Chromium OS discuss, dsa...@neverware.com, gizmoc...@gmail.com, jona...@neverware.com

Looks like someone is finally applying an approach similar to ARC++ to bring Android apps to traditional Linux distributions.


I still hope that Google will provide, either on its own or in partnership with others, a fully supported and production ready port of ARC++ that can be installed and run on a traditional Linux distribution.

Or at the very least, I hope that Google will provide an appropriately licensed mechanism that will allow Anbox users to access the Google Play Store (and other Google Mobile Services), so that Anbox users won't be tempted to resort to legally questionable, and potentially insecure, methods.

Regards,
GizmoChicken




On Tuesday, September 13, 2016 at 12:40:09 PM UTC-4, Mike Frysinger wrote:
we haven't migrated some of the supplementary files to the public, however, if you read the content of those, you'll see they're not that complicated, and are largely board-specific.  they're the glue layer that combines the capabilities of the current system with the Android world.
-mike
On Tue, Sep 13, 2016 at 12:15 PM, David Sayles <dsa...@neverware.com> wrote:
So if we build chromiumos with "USE=arc", should we expect to see everything except the container (which I think should end up in `/opt/google/containers`)?  I tried that, then started to diff my build against an asus flip (in dev mode) and found a bunch of stuff in addition to the container missing.  Init scripts such as `arc-camera.conf`, `arc-mount.com` are missing.  Binaries in /usr/bin such as `arc_camera_services` and `arc-obb-mounter` are missing.  And some users and groups such as `arc-bridge` were missing.

I used an Asus Flip v54.0.2824.5, and the release-R54-8743.B building for the `veyron_minnie` board as comparisons.
On Fri, Sep 2, 2016 at 6:02 PM, Mike Frysinger <vap...@chromium.org> wrote:
the Android container itself has no plans to be released (which is basically just the rootfs of an Android system).  everything else is already released, and as noted, is using standard Linux technology to isolate things (namespaces, etc...).

with that in mind, there's nothing stopping people from implementing this approach elsewhere.
-mike
On Fri, Sep 2, 2016 at 5:57 PM, Gizmo Chicken <gizmoc...@gmail.com> wrote:
According to an article on Android Authority, the current method for running Android apps on Chrome OS is achieved “through Linux namespaces which isolate the Android and Chrome OS" and "Android is running directly on top of the Linux kernel."  See http://www.androidauthority.com/preparing-your-android-app-for-chromebooks-710138/

Will the code that allows Android apps to run on Chrome OS be released in a form that will allow Android apps to run on Chromium OS?

And if so, has there been any talk of porting the code to a form that would allow Android apps to run on other Linux distributions, such as Arch, Debian, Fedora and Ubuntu?

--
--
Chromium OS discuss mailing list: chromium-...@chromium.org

View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en


--
--
Chromium OS discuss mailing list: chromium-...@chromium.org

View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Chromium OS discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-discuss+unsub...@chromium.org.



--
Thanks,
Dave

--
--
Chromium OS discuss mailing list: chromium-...@chromium.org

RAAVAN

unread,
May 30, 2017, 9:18:47 AM5/30/17
to Chromium OS discuss
Hi Mike,

Need Help.
I am currently running :
Chromium by Arnoldthebat Version 58.0.3029.140
Platform 9334.72.2017_05_22_1905 (Developer Build - vanilla) developer-build x86-vanilla

Do we currently have any possibility of running the Android apps on the same.
I need it as my android handset is out for repair and would take another 20 or so days.

Please help.

Regards,
Raavan

Capuccino

unread,
Apr 27, 2019, 5:26:26 AM4/27/19
to Chromium OS Discussion, dsa...@neverware.com, gizmoc...@gmail.com, jona...@neverware.com
Hey Gizmo,


Looks like we got the ARC Container bundle as well already open sourced.

If anyone got the ability to compile CrOS with this would be highly appreciated.


Capuccino

(PS: I still haven't got to build it myself because my main issue with CrOS is on BIOS systems, the image would just never load because its non-UEFI)

Adam Kearn

unread,
May 12, 2019, 10:18:49 AM5/12/19
to Chromium OS Discussion, dsa...@neverware.com, gizmoc...@gmail.com, jona...@neverware.com
+1  Has anyone got this working yet.  I have tried many times but still, couldn't find out how to do it due to lack of documentation/guides 

Thanks
Adam

Capuccino

unread,
Jun 24, 2019, 9:33:51 PM6/24/19
to Chromium OS Discussion, dsa...@neverware.com, gizmoc...@gmail.com, jona...@neverware.com
Hey Adam,

More recent CrOS builds should have it right now, but I doubt it would initialize properly since we don't know what's missing. Feel free to log a bug in crbug.


Cheers,

Capuccino

Mike Frysinger

unread,
Jun 25, 2019, 2:12:03 PM6/25/19
to Capuccino, Chromium OS Discussion, David Sayles, Gizmo Chicken, jona...@neverware.com
please don't file a bug in this regard.  Chromium OS builds do not include Android support.  we've open sourced a lot (if not most by this point) of the code, but we haven't published any containers.
-mike

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.



--
Thanks,
Dave

--
--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en


--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org

View archives, change email options, or unsubscribe:

Keith I Myers

unread,
Jun 25, 2019, 2:22:47 PM6/25/19
to Mike Frysinger, Capuccino, Chromium OS Discussion, David Sayles, Gizmo Chicken, jona...@neverware.com
Hello Mike,
Do you know if theere are anyy plans to release instructions to build our own containers from source?

---

Mike Frysinger

unread,
Jun 25, 2019, 2:29:26 PM6/25/19
to Keith I Myers, Capuccino, Chromium OS Discussion, David Sayles, Gizmo Chicken, jona...@neverware.com
unfortunately, there are no such plans at this time.  it sucks for everyone involved, but there are overarching concerns outside of CrOS influencing things.
-mike

Adam Kearn

unread,
Jun 25, 2019, 3:50:03 PM6/25/19
to Chromium OS Discussion, keithiok...@gmail.com, chino...@gmail.com, dsa...@neverware.com, gizmoc...@gmail.com, jona...@neverware.com
No worries Mike,  I wasn't going to file a bug anyway.
You have probably noticed that I haven't been bothering the group for a while with my questions,  the reason for this is because I have been quite busy the last couple of months revising for my GCSE exams
I have also got a Job as an IT specialist, where I'm building/fixing computers most of the week.

Of course, having this job doesn't give me much time at home to spend developing so I have had to cease my development on CrOS
until I have enough money to afford a decent CPU to compile on.  (thinking of getting an AMD Ryzen Threadripper 2920X (12-Core/24-Thread)
Unless you have any better recommendations???

I am fed up using a slow 4 core VM to compile chromium os so that's why I am thinking of building a dedicated system.

Regards, Adam.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-discuss+unsub...@chromium.org.



--
Thanks,
Dave

--
--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en

--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss

--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss
---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-discuss+unsub...@chromium.org.
Reply all
Reply to author
Forward
0 new messages