From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eOFLBa5Tm2MgcAAAbAwnHQ (envelope-from ) for ; Thu, 15 Dec 2022 18:04:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QNyEBK5Tm2MmfgEAG6o9tA (envelope-from ) for ; Thu, 15 Dec 2022 18:04:46 +0100 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 AAE2B2FF71 for ; Thu, 15 Dec 2022 18:04:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5reZ-0005y1-53; Thu, 15 Dec 2022 12:04:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5reN-0005sI-E8 for guix-patches@gnu.org; Thu, 15 Dec 2022 12:04:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5reN-0003fj-3m for guix-patches@gnu.org; Thu, 15 Dec 2022 12:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5reM-0002e4-Dq for guix-patches@gnu.org; Thu, 15 Dec 2022 12:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51737] [PATCH v3 1/8] gnu: Add linux-libre-waydroid. Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Dec 2022 17:04:02 +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: phodina Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxime Devos , Julien Lepiller , "51737@debbugs.gnu.org" <51737@debbugs.gnu.org>, Liliana Marie Prikler Received: via spool by 51737-submit@debbugs.gnu.org id=B51737.167112380210140 (code B ref 51737); Thu, 15 Dec 2022 17:04:02 +0000 Received: (at 51737) by debbugs.gnu.org; 15 Dec 2022 17:03:22 +0000 Received: from localhost ([127.0.0.1]:43779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5rdh-0002dU-Q6 for submit@debbugs.gnu.org; Thu, 15 Dec 2022 12:03:22 -0500 Received: from cyberdimension.org ([80.67.179.20]:34966 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5rdf-0002dO-Hj for 51737@debbugs.gnu.org; Thu, 15 Dec 2022 12:03:20 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id c63dc0d4; Thu, 15 Dec 2022 17:00:25 +0000 (UTC) Received: from primary_laptop (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 379cb28c; Thu, 15 Dec 2022 17:00:25 +0000 (UTC) Date: Thu, 15 Dec 2022 18:02:51 +0100 From: Denis 'GNUtoo' Carikli Message-ID: <20221215180251.471501c9@primary_laptop> In-Reply-To: References: <95979f80d53295fa999af83919909ee786fde125.camel@telenet.be> <8fzx37ONySCMqGXHR4oPO5rd9PWHkHEZVvAb7fGF4EY8pcYugP0Sc8WyO2odhu5SJBfPDbnjkOjxga5n91wMcEKWdSOYYlYKX-ITndH2WUM=@protonmail.com> <9768fe9c925723795a7b9c24504cfec57f5bfde4.camel@gmail.com> <20221104040308.770e2853@primary_laptop> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.30; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/MF/f8UW2a0NVxntL5k4qz5x"; protocol="application/pgp-signature"; micalg=pgp-sha256 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671123885; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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; bh=/0uqzUawOAnrxrDxqPibO8Z1NyUlIz6gw1Zeq6uPGj8=; b=p5GbhpWZucC0cEIDdQUwwqyVK255plH4Cmm3D9bXlxHHNSPKXM6knDuV9SugkIiw1/yfUr +Fw9NDfHV9YQ8yuRmUsS+ol3o+6R0XKBkPFlKvWGFn52Bm814oNa9t2XpRCsCK5guIum9y mIdBQk9lTnkb15GP3KER2lfpthbVcIht8QsFLIdPspRAcuVANPzhyNLhZC5TvzZSEQmhpC +l1DDylok5qYKeVBGPBoQDRI9/nBt+QrKJ3tUB2oIqJxJC1wpJKgIpVjyLy68Fz0C1rHpA VfvWBJa9/LXqAzpKXU7FgJ8gp5Jk5+lSwDx33VpJiMjLmsEAgLavcYvWLUXxsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671123885; a=rsa-sha256; cv=none; b=WPvr6AtsSgb8H+Hz435xW2IvvihEA7zoJaCl3SGpGu3P+5FhlL4gNnqstsGYXF191cL6+V r04q6L/8EQropEoGGDUFt+4ZZiur6UC3AHbteZxyujrYyCgmTyfSnpEXGVyeEtjKkSefqb Hl2XiWCGFZ/A0quzxmNy88t/nrsPzTwfDnv/Kiyiaky5xAilm7HMoqCgeCvA43OQagyLx4 6IcW9iLw9TXOTXeuG5XhvxVPrgGfJO84Xy0D/mwc9J9ieu8A5ENA8QbACLXjAvx62KgGgV bW6T/AMcluq+NUn5VvPvrvPsf7QmQ8ghp9QOZKPH4X53qrwHcqo5Xyt14pRjWA== X-Spam-Score: -1.58 X-Migadu-Queue-Id: AAE2B2FF71 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.58 X-TUID: tsyrwV0NdOwV --Sig_/MF/f8UW2a0NVxntL5k4qz5x Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 13 Dec 2022 17:48:28 +0000 phodina wrote: > Hi Denis, Hi, > Waydroid can show the whole UI screen or just the application. >=20 > The only issue is that the apps are more designed for touch than > mouse since most laptops and PCs don't have a touchscreen. I think there are more limitations. For instance the "silence" application will probably not work as it requires a modem stack that would somehow be able to interact with GNU/Linux modem stack. But applications like Replica Island will probably work. > > (2) Another approach would be to look more closely at lineage-17.1 > > and make a stripped down version that is hopefuly FSDG compliant. It > > should normally build fine on top of Trisquel. >=20 > This is probably the best approach atm. What's missing is the host - > Trisquel, Robotnix and the base image (AOSP, LineageOS, Replicant > ...). >=20 >=20 > > The waydroid additions probably need to be reviewed too. >=20 > Agreed. As users want to pack other proprietary stuff inside e.g. > GApps and others. I was more thinking about (1) the code that they added, like their HAL etc. That code is probably fine and fast to review. And (2) the apk they bundle in to get their windowing system working. That might be harder to review but it has more probability to be problematic. > > (3) Porting the Waydroid modifications[2][3] on top of Replicant 11 > > (and reviewing these modifications too). >=20 > Well IMHO I'd rather focus in another direction - PostmarketOS[1]. I wasn't implying to use Replicant as the operating system controlling the computer, but rather to reuse Replicant 11 to make a base image to be used with Waydroid. The advantage here is to share the maintenance of the FSDG compliance. The downside is that it requires porting the Waydroid changes in ways that don't confilict with the current Replicant source code. =20 > It's GNU/Linux on Phones and works quite good. The downside are the > Apps. As most corporations and developers won't port their apps the > Waydroid fills in quite nicely with the ability to launch the Android > app. The nice thing about PostmarketOS is that they also work to upstream their work, so for instance Guix could also package what they use to make the Pinephone work for instance.=20 In Replicant we also collaborate with PostmarketOS to try to support the devices supported by Replicant 6.0 with upstream kernels, so you can even collaborate with them if you're using a completely different userspace (and without having to run postmarketOS). > However, if you are interested somebody already asked about different > base images [2] >=20 > > By the way, does someone knows where to find information about the > > architecture of Waydroid. For instance is there some document that > > explains how it works (like that it uses a HAL that use alsa that > > then somehow talks to the host pulseaudio?, what modifications it > > did for graphics, etc). >=20 > Haven't found any architecture wiki or document that would describe > in greater detail how it exactly works. Just issue on github which is > already closed :-( [3] Thanks, I'll look into it. Denis. --Sig_/MF/f8UW2a0NVxntL5k4qz5x Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmObUzsACgkQX138wUF3 4mPmKxAAnbb0wjGhc7QrznA8KyDjGvUpnrUCE22kLcg7nzKVTSiD6xVDw9j96B3u PcP7aNwVQNAIUn7Ah/BsAvPfoNIfmWrFAe93Y0Rt+e5ux9wY4dbnzeZVpf20R3RF mYOmD9nt8UbDualHf5flDaZOzPyZFEzTiSXsOeYCFM7LVrwzKEo5gLwAA8I8Wt7C QJlionJQ6PaJrIqrvjpbaGhsuTVGaXgZiRCPUHxDkvoIBUDpNllhhkYtJiG69SmL Y1/EW3Kbt9bZfh7jn5hx112bQvYw/fislbyNqjo3R8NCzCH7Bs3jDw43e4s+fT5b H1uZsQBaHVshzycaDYIHmCgY6eMPv/8i9Kdn3czRxhzD/oYyINIBevmLVODFIYE8 GK00ub+cQn9/PFJ8u0u687+eiYq2QmfIlMa2UYJv6cCzOOZKKbFB2K+/X9F8RbnC 6W+7Uj6MrqqhiiDU8iMEJG/iaWCUA/geLOo+dDv6xJmjiRcjsN6jmM+ZHXSrVHPe j0+k0K1lk+Hf2CHeq3LJ4X4Mxcc6gA2pDzoP7eB8DYXRWNrwoMbIjRvomiz4muj2 0sKS+4mQP7Mi1c2ZFeqAO9xlVd2fZ3h45PyNvTmt+lGQbkM+nVXW782DyU9RFzRC RynlF5U98Q1b98paZ7Wkidgsez8qlYSmLytavmH5pQvvANoXfoI= =MKJ3 -----END PGP SIGNATURE----- --Sig_/MF/f8UW2a0NVxntL5k4qz5x--