Benjamin-Loison / waydroid

Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.
https://waydro.id
GNU General Public License v3.0
0 stars 0 forks source link

[Feature] Use more recent LineageOS versions #16

Open Benjamin-Loison opened 8 months ago

Benjamin-Loison commented 8 months ago

Working LineageOS 20 (Android 13) Waydroid image at #issuecomment-2226210183

Is your feature request related to a problem? Please describe.

Notably to have accessibility menu to emulate power button, cf my Android Stack Exchange comment.

LineageOS 18.1 is no more supported since March 5, 2024, see Wikipedia: LineageOS#Version_history (1225763680). According to this source, LineageOS 18.1 is based on Android 11. According to Wikipedia: Android version history#Overview (1232781455), Android 11 is not supported since March 1, 2024. So what are the downloadable updates made of, only patches for Waydroid? I stopped reading recent closed issues at 23/05/23. Related to waydroid/issues/{922,456,563,390}

As a comparison I currently have on my Fairphone 4 Lineage OS 21 using Android 14.

Related to waydroid/issues/1337. I checked the title of all opened issues since LineageOS 18.1 is no more supported that is March 5, 2024, see Wikipedia: LineageOS#Version_history (1225763680) and it seems to be the only related issue.

+46

Describe the solution you'd like.

Not read.

Describe alternatives you've considered.

Not read.

Additional context

No response

Benjamin-Loison commented 2 months ago

I definitively need a virtual environment able to run recent LineageOS Waydroid, notably to run untrusted apps.

Benjamin-Loison commented 2 months ago

https://matrix.to/#/!rLTECBThFGLDQRuPIg:connolly.tech/$sLIO6YPoyRZoqN9pLfT4fiXElq0oL_S1oSCHrDnQ_0Y mentions this issue.

Benjamin-Loison commented 2 months ago

Setup OTA LineageOS 20 Waydroid to help people using my image? Maybe does not imply me storing it actually them as can just provide URLs to third-party storing them. The question is is the id checked against? What if people update from LineageOS 18.1 they lose their data?

Related to #47.

gmankab commented 1 month ago

Working LineageOS 20 (Android 13) Waydroid image:

Archive with both .imgs. https://www.mediafire.com/file/ogg607lky6say0h/archive.7z/file Password: i4yUhPaS4dSy3tb4h42T7Lcy7gdxzwDEamyyP3

Source: #issuecomment-2226210183

I tested it, and it works.

Thank you.

Benjamin-Loison commented 1 month ago

Thanks for letting me know @gmankab.

For reference: gmankab/waydroid/releases/tag/jul-12-2024

gmankab commented 1 month ago

I wrote a guide how to test Android 13 - https://github.com/gmankab/waydroid

Benjamin-Loison commented 1 month ago

@gmankab Thank you for your insights.

gmankab commented 1 month ago

@Benjamin-Loison, can you please also build images for arm?

Benjamin-Loison commented 1 month ago

@gmankab

I've never run Waydroid or build Waydroid images for ARM but I'll investigate that.

gmankab commented 1 month ago

thank you a lot!

Benjamin-Loison commented 1 month ago

Related to gmankab/waydroid/issues/1.

Benjamin-Loison commented 1 month ago

Personal notes:

https://www.ovhcloud.com/en/bare-metal/prices/ only mentions Intel and AMD, hence not ARM as far as I know https://www.ovhcloud.com/en/public-cloud/prices/ does not mention ARM

DuckDuckGo and Google OVH ARM.

Related to ovh/public-cloud-roadmap/issues/343#issue-1533554528.

https://community.ovh.com/en/t/so-you-start-arm-storage-servers/1452/2 https://lafibre.info/ovh-datacenter/important-l-fin-de-service-des-offres-so-you-start-arm/ Note Improve_websites_thanks_to_open_source/issues/1011. https://www.ovhcloud.com/fr/lp/sys-arm-migration leads to 404. https://checkservers.ovh does not mention ARM.

Always free Oracle VPS is limited to 200 GB of storage which might not be enough according to recommendations of LineageOS, so should look for an alternative, notably as 4 OCPUs and 24 GB of RAM may not be enough.

https://docs.waydro.id/usage/install-on-desktops#ubuntu-debian-and-derivatives

sudo apt install curl ca-certificates -y
Output: ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done curl is already the newest version (8.5.0-2ubuntu10.4). ca-certificates is already the newest version (20240203). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ```
curl -s https://repo.waydro.id | sudo bash
Output: ``` ######################################################################## 100.0% deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ noble main Hit:1 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble InRelease Get:2 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease Hit:4 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble-backports InRelease Get:5 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease [7468 B] Get:6 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease [7532 B] Get:7 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease [7461 B] Get:8 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease [7462 B] Get:9 https://repo.waydro.id noble InRelease [1309 B] Get:10 https://repo.waydro.id noble/main all Packages [2180 B] Fetched 160 kB in 1s (213 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. ```
sudo apt install -y waydroid
Output: ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: arch-test cloud-image-utils debootstrap fakechroot genisoimage libboost-iostreams1.83.0 libboost-thread1.83.0 libdaxctl1 libdistro-info-perl libfakechroot libgbinder libglibutil libiscsi7 liblxc-common liblxc1t64 libndctl6 libpam-cgfs libpmem1 libpmemobj1 librados2 librbd1 librdmacm1t64 libsubid4 liburing2 lxc lxc-templates lxcfs mmdebstrap python3-gbinder qemu-block-extra qemu-utils uidmap Suggested packages: mtools squid-deb-proxy-client debian-archive-keyring wodim cdrkit-doc criu python3-lxc qemu-user-static apt-transport-tor apt-utils genext2fs perl-doc qemu-user squashfs-tools-ng The following NEW packages will be installed: arch-test cloud-image-utils debootstrap fakechroot genisoimage libboost-iostreams1.83.0 libboost-thread1.83.0 libdaxctl1 libdistro-info-perl libfakechroot libgbinder libglibutil libiscsi7 liblxc-common liblxc1t64 libndctl6 libpam-cgfs libpmem1 libpmemobj1 librados2 librbd1 librdmacm1t64 libsubid4 liburing2 lxc lxc-templates lxcfs mmdebstrap python3-gbinder qemu-block-extra qemu-utils uidmap waydroid 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 15.8 MB of archives. After this operation, 90.2 MB of additional disk space will be used. Get:1 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 arch-test all 0.21-1 [12.7 kB] Get:2 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 libfakechroot arm64 2.20.1+ds-15 [45.6 kB] Get:3 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 fakechroot all 2.20.1+ds-15 [25.4 kB] Get:4 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 genisoimage arm64 9:1.1.11-3.5 [382 kB] Get:5 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 libboost-iostreams1.83.0 arm64 1.83.0-2.1ubuntu3 [258 kB] Get:6 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 libboost-thread1.83.0 arm64 1.83.0-2.1ubuntu3 [275 kB] Get:7 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 libdaxctl1 arm64 77-2ubuntu2 [21.2 kB] Get:8 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 libdistro-info-perl all 1.7build1 [5616 B] Get:9 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 librdmacm1t64 arm64 50.0-2build2 [70.6 kB] Get:10 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 libiscsi7 arm64 1.19.0-3build4 [68.0 kB] Get:11 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 liblxc1t64 arm64 1:5.0.3-2ubuntu7 [406 kB] Get:12 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 liblxc-common arm64 1:5.0.3-2ubuntu7 [857 kB] Get:13 https://repo.waydro.id noble/main all libglibutil arm64 1.0.66 [25.8 kB] Get:14 https://repo.waydro.id noble/main all libgbinder arm64 1.1.25 [56.7 kB] Get:15 https://repo.waydro.id noble/main all python3-gbinder arm64 1.1.2 [92.7 kB] Get:16 https://repo.waydro.id noble/main all waydroid all 1.4.3 [223 kB] Get:17 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 libndctl6 arm64 77-2ubuntu2 [63.1 kB] Get:18 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 libpam-cgfs arm64 1:5.0.3-2ubuntu7 [31.3 kB] Get:19 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 libpmem1 arm64 1.13.1-1.1ubuntu2 [36.2 kB] Get:20 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 libpmemobj1 arm64 1.13.1-1.1ubuntu2 [117 kB] Get:21 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 librados2 arm64 19.2.0-0ubuntu0.24.04.1 [3845 kB] Get:22 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 librbd1 arm64 19.2.0-0ubuntu0.24.04.1 [3264 kB] Get:23 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 libsubid4 arm64 1:4.13+dfsg1-4ubuntu3.2 [23.5 kB] Get:24 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 liburing2 arm64 2.5-1build1 [21.7 kB] Get:25 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 lxc arm64 1:5.0.3-2ubuntu7 [3020 kB] Get:26 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 lxc-templates arm64 3.0.4.79.g84b0597-1 [89.9 kB] Get:27 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 lxcfs arm64 5.0.4-1 [78.0 kB] Get:28 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/universe arm64 mmdebstrap all 1.4.3-6 [122 kB] Get:29 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 qemu-utils arm64 1:8.2.2+ds-0ubuntu1.2 [2044 kB] Get:30 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 qemu-block-extra arm64 1:8.2.2+ds-0ubuntu1.2 [109 kB] Get:31 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 uidmap arm64 1:4.13+dfsg1-4ubuntu3.2 [26.6 kB] Get:32 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 cloud-image-utils all 0.33-1 [19.6 kB] Get:33 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports noble/main arm64 debootstrap all 1.0.134ubuntu1 [48.0 kB] Fetched 15.8 MB in 5s (2971 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package arch-test. (Reading database ... 187868 files and directories currently installed.) Preparing to unpack .../00-arch-test_0.21-1_all.deb ... Unpacking arch-test (0.21-1) ... Selecting previously unselected package libfakechroot:arm64. Preparing to unpack .../01-libfakechroot_2.20.1+ds-15_arm64.deb ... Unpacking libfakechroot:arm64 (2.20.1+ds-15) ... Selecting previously unselected package fakechroot. Preparing to unpack .../02-fakechroot_2.20.1+ds-15_all.deb ... Unpacking fakechroot (2.20.1+ds-15) ... Selecting previously unselected package genisoimage. Preparing to unpack .../03-genisoimage_9%3a1.1.11-3.5_arm64.deb ... Unpacking genisoimage (9:1.1.11-3.5) ... Selecting previously unselected package libboost-iostreams1.83.0:arm64. Preparing to unpack .../04-libboost-iostreams1.83.0_1.83.0-2.1ubuntu3_arm64.deb ... Unpacking libboost-iostreams1.83.0:arm64 (1.83.0-2.1ubuntu3) ... Selecting previously unselected package libboost-thread1.83.0:arm64. Preparing to unpack .../05-libboost-thread1.83.0_1.83.0-2.1ubuntu3_arm64.deb ... Unpacking libboost-thread1.83.0:arm64 (1.83.0-2.1ubuntu3) ... Selecting previously unselected package libdaxctl1:arm64. Preparing to unpack .../06-libdaxctl1_77-2ubuntu2_arm64.deb ... Unpacking libdaxctl1:arm64 (77-2ubuntu2) ... Selecting previously unselected package libdistro-info-perl. Preparing to unpack .../07-libdistro-info-perl_1.7build1_all.deb ... Unpacking libdistro-info-perl (1.7build1) ... Selecting previously unselected package libglibutil. Preparing to unpack .../08-libglibutil_1.0.66_arm64.deb ... Unpacking libglibutil (1.0.66) ... Selecting previously unselected package libgbinder. Preparing to unpack .../09-libgbinder_1.1.25_arm64.deb ... Unpacking libgbinder (1.1.25) ... Selecting previously unselected package librdmacm1t64:arm64. Preparing to unpack .../10-librdmacm1t64_50.0-2build2_arm64.deb ... Unpacking librdmacm1t64:arm64 (50.0-2build2) ... Selecting previously unselected package libiscsi7:arm64. Preparing to unpack .../11-libiscsi7_1.19.0-3build4_arm64.deb ... Unpacking libiscsi7:arm64 (1.19.0-3build4) ... Selecting previously unselected package liblxc1t64:arm64. Preparing to unpack .../12-liblxc1t64_1%3a5.0.3-2ubuntu7_arm64.deb ... Unpacking liblxc1t64:arm64 (1:5.0.3-2ubuntu7) ... Selecting previously unselected package liblxc-common. Preparing to unpack .../13-liblxc-common_1%3a5.0.3-2ubuntu7_arm64.deb ... Unpacking liblxc-common (1:5.0.3-2ubuntu7) ... Selecting previously unselected package libndctl6:arm64. Preparing to unpack .../14-libndctl6_77-2ubuntu2_arm64.deb ... Unpacking libndctl6:arm64 (77-2ubuntu2) ... Selecting previously unselected package libpam-cgfs:arm64. Preparing to unpack .../15-libpam-cgfs_1%3a5.0.3-2ubuntu7_arm64.deb ... Unpacking libpam-cgfs:arm64 (1:5.0.3-2ubuntu7) ... Selecting previously unselected package libpmem1:arm64. Preparing to unpack .../16-libpmem1_1.13.1-1.1ubuntu2_arm64.deb ... Unpacking libpmem1:arm64 (1.13.1-1.1ubuntu2) ... Selecting previously unselected package libpmemobj1:arm64. Preparing to unpack .../17-libpmemobj1_1.13.1-1.1ubuntu2_arm64.deb ... Unpacking libpmemobj1:arm64 (1.13.1-1.1ubuntu2) ... Selecting previously unselected package librados2. Preparing to unpack .../18-librados2_19.2.0-0ubuntu0.24.04.1_arm64.deb ... Unpacking librados2 (19.2.0-0ubuntu0.24.04.1) ... Selecting previously unselected package librbd1. Preparing to unpack .../19-librbd1_19.2.0-0ubuntu0.24.04.1_arm64.deb ... Unpacking librbd1 (19.2.0-0ubuntu0.24.04.1) ... Selecting previously unselected package libsubid4:arm64. Preparing to unpack .../20-libsubid4_1%3a4.13+dfsg1-4ubuntu3.2_arm64.deb ... Unpacking libsubid4:arm64 (1:4.13+dfsg1-4ubuntu3.2) ... Selecting previously unselected package liburing2:arm64. Preparing to unpack .../21-liburing2_2.5-1build1_arm64.deb ... Unpacking liburing2:arm64 (2.5-1build1) ... Selecting previously unselected package lxc. Preparing to unpack .../22-lxc_1%3a5.0.3-2ubuntu7_arm64.deb ... Unpacking lxc (1:5.0.3-2ubuntu7) ... Selecting previously unselected package lxc-templates. Preparing to unpack .../23-lxc-templates_3.0.4.79.g84b0597-1_arm64.deb ... Unpacking lxc-templates (3.0.4.79.g84b0597-1) ... Selecting previously unselected package lxcfs. Preparing to unpack .../24-lxcfs_5.0.4-1_arm64.deb ... Unpacking lxcfs (5.0.4-1) ... Selecting previously unselected package mmdebstrap. Preparing to unpack .../25-mmdebstrap_1.4.3-6_all.deb ... Unpacking mmdebstrap (1.4.3-6) ... Selecting previously unselected package python3-gbinder. Preparing to unpack .../26-python3-gbinder_1.1.2_arm64.deb ... Unpacking python3-gbinder (1.1.2) ... Selecting previously unselected package qemu-utils. Preparing to unpack .../27-qemu-utils_1%3a8.2.2+ds-0ubuntu1.2_arm64.deb ... Unpacking qemu-utils (1:8.2.2+ds-0ubuntu1.2) ... Selecting previously unselected package qemu-block-extra. Preparing to unpack .../28-qemu-block-extra_1%3a8.2.2+ds-0ubuntu1.2_arm64.deb ... Unpacking qemu-block-extra (1:8.2.2+ds-0ubuntu1.2) ... Selecting previously unselected package uidmap. Preparing to unpack .../29-uidmap_1%3a4.13+dfsg1-4ubuntu3.2_arm64.deb ... Unpacking uidmap (1:4.13+dfsg1-4ubuntu3.2) ... Selecting previously unselected package waydroid. Preparing to unpack .../30-waydroid_1.4.3_all.deb ... Unpacking waydroid (1.4.3) ... Selecting previously unselected package cloud-image-utils. Preparing to unpack .../31-cloud-image-utils_0.33-1_all.deb ... Unpacking cloud-image-utils (0.33-1) ... Selecting previously unselected package debootstrap. Preparing to unpack .../32-debootstrap_1.0.134ubuntu1_all.deb ... Unpacking debootstrap (1.0.134ubuntu1) ... Setting up genisoimage (9:1.1.11-3.5) ... Setting up debootstrap (1.0.134ubuntu1) ... Setting up libpam-cgfs:arm64 (1:5.0.3-2ubuntu7) ... Setting up libdistro-info-perl (1.7build1) ... Setting up lxcfs (5.0.4-1) ... Setting up libfakechroot:arm64 (2.20.1+ds-15) ... Setting up libboost-thread1.83.0:arm64 (1.83.0-2.1ubuntu3) ... Setting up liblxc1t64:arm64 (1:5.0.3-2ubuntu7) ... Setting up libsubid4:arm64 (1:4.13+dfsg1-4ubuntu3.2) ... Setting up fakechroot (2.20.1+ds-15) ... Setting up mmdebstrap (1.4.3-6) ... Setting up libboost-iostreams1.83.0:arm64 (1.83.0-2.1ubuntu3) ... Setting up libdaxctl1:arm64 (77-2ubuntu2) ... Setting up libndctl6:arm64 (77-2ubuntu2) ... Setting up librdmacm1t64:arm64 (50.0-2build2) ... Setting up libglibutil (1.0.66) ... Setting up liburing2:arm64 (2.5-1build1) ... Setting up libiscsi7:arm64 (1.19.0-3build4) ... Setting up arch-test (0.21-1) ... Setting up libpmem1:arm64 (1.13.1-1.1ubuntu2) ... Setting up librados2 (19.2.0-0ubuntu0.24.04.1) ... Setting up uidmap (1:4.13+dfsg1-4ubuntu3.2) ... Setting up liblxc-common (1:5.0.3-2ubuntu7) ... Installing new version of config file /etc/apparmor.d/abstractions/lxc/container-base ... Installing new version of config file /etc/apparmor.d/abstractions/lxc/start-container ... Installing new version of config file /etc/apparmor.d/lxc/lxc-default-cgns ... Installing new version of config file /etc/apparmor.d/lxc/lxc-default-with-nesting ... Installing new version of config file /etc/apparmor.d/usr.bin.lxc-start ... Setting up libgbinder (1.1.25) ... Setting up libpmemobj1:arm64 (1.13.1-1.1ubuntu2) ... Setting up librbd1 (19.2.0-0ubuntu0.24.04.1) ... Setting up qemu-utils (1:8.2.2+ds-0ubuntu1.2) ... Setting up qemu-block-extra (1:8.2.2+ds-0ubuntu1.2) ... Created symlink /etc/systemd/system/multi-user.target.wants/run-qemu.mount → /usr/lib/systemd/system/run-qemu.mount. Setting up python3-gbinder (1.1.2) ... Setting up lxc (1:5.0.3-2ubuntu7) ... Configuration file '/etc/default/lxc-net' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** lxc-net (Y/I/N/O/D/Z) [default=N] ? D --- /etc/default/lxc-net 2023-10-02 23:56:39.584609538 +0000 +++ /etc/default/lxc-net.dpkg-new 2024-04-17 02:53:22.000000000 +0000 @@ -1,32 +1,4 @@ -# This file is auto-generated by lxc.postinst if it does not -# exist. Customizations will not be overridden. -# Leave USE_LXC_BRIDGE as "true" if you want to use lxcbr0 for your -# containers. Set to "false" if you'll use virbr0 or another existing -# bridge, or mavlan to your host's NIC. USE_LXC_BRIDGE="true" -# If you change the LXC_BRIDGE to something other than lxcbr0, then -# you will also need to update your /etc/lxc/default.conf as well as the -# configuration (/var/lib/lxc//config) for any containers -# already created using the default config to reflect the new bridge -# name. -# If you have the dnsmasq daemon installed, you'll also have to update -# /etc/dnsmasq.d/lxc and restart the system wide dnsmasq daemon. -LXC_BRIDGE="lxcbr0" -LXC_ADDR="10.0.1.1" -LXC_NETMASK="255.255.255.0" -LXC_NETWORK="10.0.1.0/24" -LXC_DHCP_RANGE="10.0.1.2,10.0.1.254" -LXC_DHCP_MAX="253" -# Uncomment the next line if you'd like to use a conf-file for the lxcbr0 -# dnsmasq. For instance, you can use 'dhcp-host=mail1,10.0.3.100' to have -# container 'mail1' always get ip address 10.0.3.100. -#LXC_DHCP_CONFILE=/etc/lxc/dnsmasq.conf - -# Uncomment the next line if you want lxcbr0's dnsmasq to resolve the .lxc -# domain. You can then add "server=/lxc/10.0.1.1' (or your actual $LXC_ADDR) -# to your system dnsmasq configuration file (normally /etc/dnsmasq.conf, -# or /etc/NetworkManager/dnsmasq.d/lxc.conf on systems that use NetworkManager). -# Once these changes are made, restart the lxc-net and network-manager services. -# 'container1.lxc' will then resolve on your host. -#LXC_DOMAIN="lxc" +# Honor system's dnsmasq configuration +#LXC_DHCP_CONFILE=/etc/dnsmasq.conf Configuration file '/etc/default/lxc-net' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** lxc-net (Y/I/N/O/D/Z) [default=N] ? Installing new version of config file /etc/lxc/default.conf ... Setting up lxc-templates (3.0.4.79.g84b0597-1) ... Setting up cloud-image-utils (0.33-1) ... Setting up waydroid (1.4.3) ... ERROR: WayDroid is not initialized, run "waydroid init" Created symlink /etc/systemd/system/multi-user.target.wants/waydroid-container.service → /usr/lib/systemd/system/waydroid-container.service . Processing triggers for libc-bin (2.39-0ubuntu8.3) ... Processing triggers for man-db (2.12.0-4build2) ... Processing triggers for dbus (1.14.10-4ubuntu4.1) ... Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for desktop-file-utils (0.27-2build1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ... Scanning processes... Scanning candidates... Scanning linux images... Pending kernel upgrade! Running kernel version: 6.8.0-1013-oracle Diagnostics: The currently running kernel version is not the expected kernel version 6.8.0-1014-oracle. Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. Restarting services... Service restarts being deferred: systemctl restart unattended-upgrades.service No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. ```

https://docs.waydro.id/faq/get-waydroid-to-work-through-a-vm may be necessary.

waydroid show-full-ui
ERROR: WayDroid is not initialized, run "waydroid init"
waydroid init
OUtput: ``` [12:19:31] ERROR: Action "init" needs root access [12:19:31] See also: Run 'waydroid log' for details. ```
sudo waydroid init
Output: ``` [12:19:33] Failed to load binder driver [12:19:33] modprobe: FATAL: Module binder_linux not found in directory /lib/modules/6.8.0-1013-oracle [12:19:33] ERROR: Binder node "binder" for waydroid not found [12:19:33] See also: Run 'waydroid log' for details. ```

DuckDuckGo "modprobe: FATAL: Module binder_linux not found in directory".

https://forum.manjaro.org/t/how-do-i-install-the-binder-linux-module/41931/2

The OS is 24.04 and packages are up-to-date according to APT.

uname -r
6.8.0-1013-oracle

Maybe using Debian solves the issue.

I checked and I do not have a Debian already installed on ARM. Let us create one with account: ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAAJ8Lx5UQJyCPTn/gatLyKEoueS6zb0koIiDgQiXLwC0w vpB98Jkvf8+wCLElVJPASSimI9pbq4Ov6N+RXRBTmPlZWjfZhG6csCKYNI+HDWk+ 0lQB8GKeZtvW4eXIP5chSwxzvNl4ZcLswTLRRsErHuYOw9Rn7VHS3oEGQaokQr1u JxHUfxr+uLOdKjDq7wFqprQr1OK9Y0lUWDEhWb0La0yFkrCJr/8= =HmjT -----END PGP MESSAGE----- ```

Out of capacity for shape VM.Standard.A1.Flex in availability domain AD-3. Create the instance in a different availability domain or try again later. If you specified a fault domain, try creating the instance without specifying a fault domain, otherwise try creating the instance in a different availability domain. If that doesn’t work, please try again later. Learn more about host capacity.

No matter the availability domain and Fault domain in Frankfurt have this issue.

https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm#compute it seems that having 4 OCPUs, 24 GB RAM, ARM instance with 100 GB and 2 instances of AMD with 50 GB of disk each seems free.

https://discord.com/channels/@me/1094061921684164608/1296824728794697748

So in theory for an arbitrarily small period of time can have an arbitrarily good configuration?

Could ask confirmation to Oracle first.

At least with current AMD instance in parallel the maximum number of OCPUs is 41 and amount of RAM GB is 277.

Same limits for an account with no instance: ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAG0/lnBs2S/cKk096H81vKkroW4CxvBSY5Gx10XSvZnkw HKRMXe7VHtH06ju8aOGv2ADPrN9enUqfODrf1pwb8XzPJD+8e5uCDxlPZbhi0Wu7 0lQBUM8OLEk+GG8sgO5MSfHeTQt6/2sMcA6N0nnp2tfxiCQyRGCNQJNi/jwzuu+I i5hry7pputh61TN8NlWaRPlmRblrpLQ2BGXS30ZLghLZvi1XJmI= =3ye3 -----END PGP MESSAGE----- ```

The disk remain freely to 200 so may be limiting and the pricing is monthly so it is dangerous, as it may cost £260.22 by month.

So for OCPUs it is limited freely to 73.17 hours. For RAM 64.98. So 63 hours seems safe in theory. Can possibly leverage multiple accounts if necessary

Would be nice to notice on web interface something like current total number of OCPUs or RAM consumption.

https://docs.oracle.com/iaas/Content/Quotas/Concepts/resourcequotas.htm

Each tenancy gets the first 3,000 OCPU hours and 18,000 GB hours per month for free to create Ampere A1 Compute instances using the VM.Standard.A1.Flex shape (equivalent to 4 OCPUs and 24 GB of memory). Each tenancy also gets two VM.Standard.E2.1.Micro instances for free. Learn more about Always Free resources

Service Limit Usage

Cores for Standard.A1 based VM and BM Instances
standard-a1-core-count 4 4

Memory for Standard.A1 based VM and BM Instances
standard-a1-memory-count 24 24

Source: https://cloud.oracle.com/compute/instances?region=eu-marseille-1

seems to indicate that I can't have more even temporarily.

sudo apt install -y binder_linux
Output: ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package binder_linux ```

Same for binder-linux.

waydroid init
Output: ``` [22:20:17] Downloading https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm64/lineage-18.1-20241019-VANILLA-waydroid_arm64-system.zip/download [Downloading] 361.23 MB/792.21 MB 69852.83 kbps(approx.)[22:20:27] ERROR: [Errno 28] No space left on device [22:20:27] See also: [Downloading] 361.4 MB/792.21 MB 15740.56 kbps(approx.) Run 'waydroid log' for details. ```

Even after startx:

waydroid show-full-ui
Output: ``` [23:11:17] Starting waydroid session [23:11:17] ERROR: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message [23:11:17] See also: Run 'waydroid log' for details. ```
waydroid log
Output: ``` tools.actions.session_manager.start(args, launchNow, background=False) File "/usr/lib/waydroid/tools/actions/session_manager.py", line 35, in start name = dbus.service.BusName("id.waydro.Session", dbus.SessionBus(), do_not_queue=True) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 209, in __new__ return Bus.__new__(cls, Bus.TYPE_SESSION, private=private, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message (016821) [23:11:17] Starting waydroid session (016821) [23:11:17] ERROR: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message (016821) [23:11:17] See also: (016821) [23:11:17] Traceback (most recent call last): File "/usr/lib/waydroid/tools/actions/app_manager.py", line 64, in maybeLaunchLater tools.helpers.ipc.DBusSessionService() File "/usr/lib/waydroid/tools/helpers/ipc.py", line 44, in DBusSessionService return dbus.Interface(dbus.SessionBus().get_object("id.waydro.Session", object_path), intf) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 209, in __new__ return Bus.__new__(cls, Bus.TYPE_SESSION, private=private, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/waydroid/tools/__init__.py", line 126, in main actions.app_manager.showFullUI(args) File "/usr/lib/waydroid/tools/actions/app_manager.py", line 132, in showFullUI maybeLaunchLater(args, justShow) File "/usr/lib/waydroid/tools/actions/app_manager.py", line 72, in maybeLaunchLater tools.actions.session_manager.start(args, launchNow, background=False) File "/usr/lib/waydroid/tools/actions/session_manager.py", line 35, in start name = dbus.service.BusName("id.waydro.Session", dbus.SessionBus(), do_not_queue=True) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 209, in __new__ return Bus.__new__(cls, Bus.TYPE_SESSION, private=private, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message (016826) [23:12:02] % tail -n 60 -F /var/lib/waydroid/waydroid.log (016826) [23:12:02] *** output passed to waydroid stdout, not to this log *** ```

waydroid/waydroid/issues/1195#issuecomment-1858959470 solves this issue.

Benjamin-Loison commented 1 month ago
sudo apt install -y weston
weston

From terminal in weston:

waydroid show-full-ui
Output: ``` [23:15:49] Starting waydroid session [23:16:00] OSError: container failed to start ```
Benjamin-Loison commented 1 month ago
waydroid log
Output: ``` (015234) [23:15:49] New background process: pid=17728, output=background (015234) [23:15:49] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:49] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:49] waiting 10 seconds for container to start... lxc-start: waydroid: ../src/lxc/utils.c: safe_mount: 1220 No such file or directory - Failed to mount "/run/user/0/pulse/native" onto "/usr/lib/aarch64-linux-gnu/lxc/rootfs/run/xdg/pulse/native" lxc-start: waydroid: ../src/lxc/conf.c: mount_entry: 2442 No such file or directory - Failed to mount "/run/user/0/pulse/native" on "/usr/lib/aarch64-linux-gnu/lxc/rootfs/run/xdg/pulse/native" lxc-start: waydroid: ../src/lxc/conf.c: lxc_setup: 4415 Failed to setup mount entries lxc-start: waydroid: ../src/lxc/start.c: do_start: 1272 Failed to setup container "waydroid" lxc-start: waydroid: ../src/lxc/sync.c: sync_wait: 34 An error occurred in another process (expected sequence number 3) lxc-start: waydroid: ../src/lxc/start.c: __lxc_start: 2107 Failed to spawn container "waydroid" lxc-start: waydroid: ../src/lxc/conf.c: run_buffer: 322 Script exited with status 126 lxc-start: waydroid: ../src/lxc/start.c: lxc_end: 985 Failed to run lxc.hook.post-stop for container "waydroid" lxc-start: waydroid: ../src/lxc/tools/lxc_start.c: main: 306 The container failed to start lxc-start: waydroid: ../src/lxc/tools/lxc_start.c: main: 311 Additional information can be obtained by setting the --logfile and --logpriority options (015234) [23:15:50] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:50] waiting 9 seconds for container to start... (015234) [23:15:51] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:51] waiting 8 seconds for container to start... (015234) [23:15:52] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:52] waiting 7 seconds for container to start... (015234) [23:15:53] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:53] waiting 6 seconds for container to start... (015234) [23:15:54] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:55] waiting 5 seconds for container to start... (015234) [23:15:56] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:56] waiting 4 seconds for container to start... (015234) [23:15:57] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:57] waiting 3 seconds for container to start... (015234) [23:15:58] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:58] waiting 2 seconds for container to start... (015234) [23:15:59] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (015234) [23:15:59] waiting 1 seconds for container to start... (017676) [23:16:00] org.freedesktop.DBus.Python.OSError: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/dbus/service.py", line 712, in _message_cb retval = candidate_method(self, *args, **keywords) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/waydroid/tools/actions/container_manager.py", line 34, in Start do_start(self.args, session) File "/usr/lib/waydroid/tools/actions/container_manager.py", line 189, in do_start helpers.lxc.start(args) File "/usr/lib/waydroid/tools/helpers/lxc.py", line 400, in start wait_for_running(args) File "/usr/lib/waydroid/tools/helpers/lxc.py", line 394, in wait_for_running raise OSError("container failed to start") OSError: container failed to start (017676) [23:16:00] OSError: container failed to start (017759) [23:17:45] % tail -n 60 -F /var/lib/waydroid/waydroid.log (017759) [23:17:45] *** output passed to waydroid stdout, not to this log *** ```
waydroid logcat
[23:23:50] WayDroid container is STOPPED

waydroid/waydroid/issues/1576#issuecomment-{2379535684,2399851229} lead to:

waydroid show-full-ui
Output: ``` [23:37:40] Starting waydroid session [23:37:40] Skipping clipboard manager service because of missing pyclip package [gbinder] Service manager /dev/anbox-binder has appeared ```

but after a few minutes no window shows up.

Maybe running as root is the issue.

Same issue when waydroid show-full-ui from weston of regular user.

waydroid log
Output: ``` During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/waydroid/tools/__init__.py", line 126, in main actions.app_manager.showFullUI(args) File "/usr/lib/waydroid/tools/actions/app_manager.py", line 132, in showFullUI maybeLaunchLater(args, justShow) File "/usr/lib/waydroid/tools/actions/app_manager.py", line 72, in maybeLaunchLater tools.actions.session_manager.start(args, launchNow, background=False) File "/usr/lib/waydroid/tools/actions/session_manager.py", line 35, in start name = dbus.service.BusName("id.waydro.Session", dbus.SessionBus(), do_not_queue=True) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 209, in __new__ return Bus.__new__(cls, Bus.TYPE_SESSION, private=private, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 (009767) [23:42:59] Starting waydroid session (000394) [23:42:59] % /usr/lib/waydroid/data/scripts/waydroid-net.sh start vnic is waydroid0 (000394) [23:42:59] % systemctl is-active -q nfcd (000394) [23:42:59] % chmod 777 -R /dev/dri (000394) [23:42:59] % chmod 777 -R /dev/fb0 (000394) [23:42:59] % mv /var/lib/waydroid/config_session /var/lib/waydroid/lxc/waydroid (000394) [23:42:59] % mount -o ro /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs (000394) [23:42:59] % mount -t overlay -o ro,lowerdir=/var/lib/waydroid/overlay:/var/lib/waydroid/rootfs,upperdir=/var/lib/waydroid/overlay_rw/system,workdir=/var/lib/waydroid/overlay_work/system,xino=off overlay /var/lib/waydroid/rootfs (000394) [23:42:59] % mount -o ro /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor (000394) [23:42:59] % mount -t overlay -o ro,lowerdir=/var/lib/waydroid/overlay/vendor:/var/lib/waydroid/rootfs/vendor,upperdir=/var/lib/waydroid/overlay_rw/vendor,workdir=/var/lib/waydroid/overlay_work/vendor,xino=off overlay /var/lib/waydroid/rootfs/vendor (000394) [23:42:59] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop (000394) [23:42:59] Save config: /var/lib/waydroid/waydroid.cfg (000394) [23:42:59] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init (000394) [23:42:59] New background process: pid=9810, output=background (000394) [23:42:59] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH RUNNING (009767) [23:42:59] Skipping clipboard manager service because of missing pyclip package (009767) [23:49:00] Clipboard service is not even started (000394) [23:49:00] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH RUNNING (000394) [23:49:00] % lxc-stop -P /var/lib/waydroid/lxc -n waydroid -k lxc-start: waydroid: ../src/lxc/conf.c: run_buffer: 322 Script exited with status 126 lxc-start: waydroid: ../src/lxc/start.c: lxc_end: 985 Failed to run lxc.hook.post-stop for container "waydroid" (000394) [23:49:00] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (000394) [23:49:00] % /usr/lib/waydroid/data/scripts/waydroid-net.sh stop vnic is waydroid0 (000394) [23:49:01] % systemctl is-enabled -q nfcd Failed to get unit file state for nfcd.service: No such file or directory (000394) [23:49:01] % umount /var/lib/waydroid/rootfs/vendor/waydroid.prop (000394) [23:49:01] % umount /var/lib/waydroid/rootfs/vendor (000394) [23:49:01] % umount /var/lib/waydroid/rootfs/vendor (000394) [23:49:01] % umount /var/lib/waydroid/rootfs (000394) [23:49:01] % umount /var/lib/waydroid/rootfs (084433) [23:49:16] % tail -n 60 -F /var/lib/waydroid/waydroid.log (084433) [23:49:16] *** output passed to waydroid stdout, not to this log *** ```
Benjamin-Loison commented 1 month ago

@gmankab Can you elaborate on why you are interested in Waydroid for ARM?

Are you able to show Waydroid window on Oracle always free ARM VPS (note that as far as I know only Marseille Home region at account creation gives always free ARM CPU architecture VPS)? As described above, I quickly tried on Ubuntu and Debian without luck.

gmankab commented 1 month ago

@Benjamin-Loison

i posted android 13 guide in my telegram channel, and one of my friends asked about arm - https://t.me/gmankachat/1303710

there are some people using postmarket os on phones in our telegram chat

also i plan to buy xiaomi pad 5 and install postmarket os on it

about oracle, i have oracle arm server, but i never tried to run waydroid on it

if you need people to test some scripts or anything on arm hardware with postmarket os, feel free to ask

solitudealma commented 1 month ago

how to use libhoudini on android13

Benjamin-Loison commented 1 month ago

@gmankab Can you try running Waydroid on Oracle ARM server?

Benjamin-Loison commented 1 month ago

@solitudealma waydroid_script does not work?

solitudealma commented 1 month ago

@solitudealma waydroid_script does not work?

only libndk

solitudealma commented 1 month ago

i want to run a game, which cant run with libndk

Benjamin-Loison commented 1 month ago

What is the game @solitudealma? I can't help you further yet but who knows maybe someone will step in or later on I'll have more skills concerning this topic.

solitudealma commented 1 month ago

What is the game @solitudealma? I can't help you further yet but who knows maybe someone will step in or later on I'll have more skills concerning this topic.

http://a.9game.cn/sdxl this chinese game,and its platform also cant run. intel cpu, nvidia 1660ti This game is rarely played.

gmankab commented 1 month ago

@gmankab Can you try running Waydroid on Oracle ARM server?

yes, if you explain how to do it and provide bash commands

Benjamin-Loison commented 1 month ago

My point is that, as described from #issuecomment-2422208834 to #issuecomment-2423360068, I was not able to run Waydroid on Oracle ARM server. If you are able on your own to make it run, then I can investigate how to build Waydroid LineageOS 20 (Android 13) on ARM.

gmankab commented 1 month ago

i don't really know how to do it

Benjamin-Loison commented 1 month ago

Then I can't really help much more because it would mean that I'm unable to even test my ARM build.

Benjamin-Loison commented 1 month ago

@gmankab I contacted on Telegram the person you mentioned in https://github.com/Benjamin-Loison/waydroid/issues/16#issuecomment-2423395180 for further investigation of what this person is able to concerning Waydroid and ARM.

Hello, I am the one who made the LineageOS 20 (Android 13) Waydroid build. It seems that you are looking for an ARM version of it (https://github.com/Benjamin-Loison/waydroid/issues/16#issuecomment-2423395180). Are you able to run official builds of Waydroid on ARM? (https://t.me/gmankachat/1303710)

Personal notes:

I do not have ARM hardware so I use Oracle Always Free ARM VPS. Are you able to run Waydroid on such VPS?

ryanrudolfoba commented 1 month ago

@Benjamin-Loison thanks for the Android 13 image, I'm able to use it on SteamOS / Steam Deck by making minor modifications from this repo - https://github.com/ryanrudolfoba/SteamOS-Waydroid-Installer

@gmankab thanks for the guide also on how to use the custom image i've used it as a guide in making minor modifications to my script.

I've used casualsnek waydroid_script to add libndk, playstore and widevine and it seems to have installed fine - image

Playstore is working too I'm able to login and download games from the Playstore - image

However launching games that are ARM fails. In theory it should work since the LIBNDK translation layer is installed but ARM apps close - image

LIBNDK ARM translation layer works fine on Android 11 as we've been using it for several months now. It seems its only broken when on Android 13. LIBNDK translation layer will be really useful as majority of the apps in the Playstore are ARM based.

I'll poke around and between Android 11 and Android 13 and compare if the files needed are getting copied to the right location. If you guys have any other ideas how to troubleshoot this that will be awesome.

Benjamin-Loison commented 1 month ago

Thanks for the feedback @ryanrudolfoba. I am not comfortable on how libndk works, so won't be able to help you much. Your best luck is to understand how libndk is installed on Android 11 and try to adapt it to Android 13.