From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yDpSALnfkmFAJAAAgWs5BA (envelope-from ) for ; Mon, 15 Nov 2021 23:31:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YI17N7jfkmF+TgAAbx9fmQ (envelope-from ) for ; Mon, 15 Nov 2021 22:31:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 79B1B35CBB for ; Mon, 15 Nov 2021 23:31:19 +0100 (CET) Received: from localhost ([::1]:53874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmkVS-0007OK-A0 for larch@yhetil.org; Mon, 15 Nov 2021 17:31:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmkVD-0007Kg-Aw for guix-patches@gnu.org; Mon, 15 Nov 2021 17:31:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmkVC-00020u-1d for guix-patches@gnu.org; Mon, 15 Nov 2021 17:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmkVB-0003hN-NJ for guix-patches@gnu.org; Mon, 15 Nov 2021 17:31:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51737] [PATCH 4/4] gnu: Add waydroid. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Nov 2021 22:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Liliana Marie Prikler , Julien Lepiller Cc: "51737@debbugs.gnu.org" <51737@debbugs.gnu.org> Received: via spool by 51737-submit@debbugs.gnu.org id=B51737.163701542814147 (code B ref 51737); Mon, 15 Nov 2021 22:31:01 +0000 Received: (at 51737) by debbugs.gnu.org; 15 Nov 2021 22:30:28 +0000 Received: from localhost ([127.0.0.1]:56409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmkUd-0003g7-Qs for submit@debbugs.gnu.org; Mon, 15 Nov 2021 17:30:28 -0500 Received: from mail-40133.protonmail.ch ([185.70.40.133]:19613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmkUZ-0003fn-8s for 51737@debbugs.gnu.org; Mon, 15 Nov 2021 17:30:26 -0500 Date: Mon, 15 Nov 2021 22:30:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1637015412; bh=cvOJToJrhtjpY0ixk2erRM7y9bOZExKGZQj2F1CbQgM=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=niD3DhVjBraxxgV7we9VvW4du/iPaqwh/ygj2oWfGeITsZlOf+V9P327uB/KR5DWW TJ8djPartxDWc27dDx7+/3Tlx5RkybcuvDVACKugTqS+tRYwh9yWMrzvkf8CFyz4EP 8ESxtNbcu8x4GByqaI0xVsTj/hKSGLkQQan+5gXI= Message-ID: In-Reply-To: <0bf1daa639bbc322ac0653da7699c005766cc0ad.camel@gmail.com> References: <5RLyma8o5V0_Xhn_sSJGxZYF4XMzJtrEna-xE5UU-suoRiBa7vaxBdDUEBgKSBMb94O68CnqEzPkcuFA4qasS4rHR4lh-ch-S1k-mFn6d4U=@protonmail.com> <0bf1daa639bbc322ac0653da7699c005766cc0ad.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637015479; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cvOJToJrhtjpY0ixk2erRM7y9bOZExKGZQj2F1CbQgM=; b=uDjSKOEzYtcMuygmCXjpRAvOa841CkqMDOWXZY1L2tqICgvwu2yiZNQ0ZlHRuA5EQ6MBMO sSvtWM+/Er/e4Iv3phHz3g8HRmzlyTZXDJ6Vaw6etCRc+z+5DK7ilHGegAVRiMn8WERKj3 0W2mf50LmCAn3zlrBY6aprcFTrE6LI6HpubP+EnBhxqt0RYvbxQbm7+vm6BTy3Xj5BPb8G V8TmtFyqjrtmwv84nXUsT2Ie5KhwGeLZrC2wUio1y6NxmiCOmVphs9iBF7h4qHfynyyIbi BnAzP6V8tFpKe0Jj+4sje2mVszHz2MVdscEjOBG6hiUTcNSQ1ZUvB8rbEo9WEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637015479; a=rsa-sha256; cv=none; b=a0SyPvBb7qvXCJpdFOGYumZtHNs2P/VLa53tw53lDwu1pC/AQo79C4+Trjyp8Ixv9U92Fo SkAzyrfHX/aH8K1LX68D/VJ6dmxBGytDKWcGlQoYj6wmRYaoKn0jHCSQZwtjM3igAvcZx2 s5wiGgrNidvQWED3Oq1xRCK4Z0S9XkVz4of4/YAGcgvbYzajdn2GsZ2mh1e5PbL0jR2bXT nyVHRsoAJaX7eUbD8pie5w34dKTFss8eWc58KvMCfAJJfzO9i4z++BuhrUgvA8hBRCXlNn GCx8XV8Ea5B4zZJrGxTGytiqoa0robv9b/gVuO72eirkkGocv5K3HWKx6D26ZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=niD3DhVj; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=niD3DhVj; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 79B1B35CBB X-Spam-Score: -3.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZjmSMBuLBCTZ Hi Liliana, On Monday, November 15th, 2021 at 9:03 PM, Liliana Marie Prikler wrote: > Hi, > > Am Mittwoch, den 10.11.2021, 01:39 +0000 schrieb phodina: > > > [...] > > > > - (description "Waydroid uses Linux namespaces @code{(user, pid, > > > > uts, net, > > > > +mount, ipc)} to run a full Android system in a container and provi= de > > > > Android > > > > +applications. The Android inside the container has direct access t= o > > > > needed > > > > +underlying hardware. The Android runtime environment ships with a > > > > minimal > > > > +customized Android system image based on LineageOS. The used image > > > > is > > > > +currently based on Android 10.") > > How exactly/when is this RTE built? Is it just included as a blob? Nope, it's downloaded as part of the =3Dwaydroid init=3D command. You can see the RTE here: $ ls /var/lib/waydroid/images/ system.img vendor.img On waydroid website [1] they provide instructions on how to create this run= time environment - basically "+-" Android rootfs. I cameacross a channel [2] with Android support but haven't had the chance = to test it yet. Then again I'm not sure if that's the right way as there ar= e phones that run close to vanilla Linux [3]. Though this technological sol= ution enables Android apps to run on those phones. But it also has drawback as it requires custom kernel. Though these patches require support in the kernel [3] and LXD service runn= ing [4] at least. Currently I'm able to run the waydroid container and get shell over adb. However, for some unknown reason I can't launch the UI. That might be due to the fact I run Sway VM. I'll test this with GDM as thi= s is recommended in the issues on github and report back. Petr [1]: https://docs.waydro.id/development/compile-waydroid-lineage-os-based-i= mages [2]: https://framagit.org/tyreunom/guix-android [3]: https://postmarketos.org/ [4]: https://issues.guix.gnu.org/51771 [5]: https://issues.guix.gnu.org/50133