Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Use more recent LineageOS versions #16

Open
Benjamin-Loison opened this issue Mar 6, 2024 · 81 comments
Open

[Feature] Use more recent LineageOS versions #16

Benjamin-Loison opened this issue Mar 6, 2024 · 81 comments

Comments

@Benjamin-Loison
Copy link
Owner

Benjamin-Loison commented Mar 6, 2024

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
Copy link
Owner Author

Benjamin-Loison commented Jul 2, 2024

Concerning the comment about explaining how to try on our own a more recent LineageOS version, see waydroid/issues/1337#issuecomment-2049517200, it is unclear what wiki the person is referring to, as the repository does not have a wiki which would otherwise be at waydroid/wiki.

@Benjamin-Loison
Copy link
Owner Author

https://waydro.id seems to mostly redirect to https://docs.waydro.id/, see https://waydro.id/#docs.

@Benjamin-Loison
Copy link
Owner Author

The Android runtime environment ships with a minimal customized Android system image based on the LineageOS. The used image is currently based on Android 11.

Source: https://docs.waydro.id

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 2, 2024

May help:

Virtual machine, see https://docs.waydro.id/faq/get-waydroid-to-work-through-a-vm.

Otherwise there does not seem to be any interesting resource on https://docs.waydro.id.

@Benjamin-Loison
Copy link
Owner Author

Related to #38.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 6, 2024

I guess that the downloaded LineageOS update is not somehow partially executed without Waydroid start but maybe not updating it except if I use the outdated LineageOS Waydroid makes sense.

Only using Waydroid in a virtual machine may make sense.

Related to Benjamin-Loison/android/issues/62.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 7, 2024

In theory blocking Improve_websites_thanks_to_open_source/issues/{31,739}.

@Benjamin-Loison
Copy link
Owner Author

Once solved, consider Umay (I delete old snapshots).

@Benjamin-Loison
Copy link
Owner Author

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 11, 2024

# Source: https://narkive.com/QFd5Huo9.2
git config --global color.ui true
repo init -u https://github.com/LineageOS/android.git -b lineage-20.0 --git-lfs
Output:
Downloading Repo source from https://gerrit.googlesource.com/git-repo
repo: Updating release signing keys to keyset ver 2.3
warning: gpg (GnuPG) is not available.
warning: Installing it is strongly encouraged.


Your identity is: Benjamin Loison <benjamin.loison@example.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/debian
repo sync build/make
Output:
Fetching: 100% (1/1), done in 6.168s
repo sync has finished successfully.
wget -O - https://github.com/waydroid/android_vendor_waydroid/raw/lineage-20/manifest_scripts/generate-manifest.sh | bash

output.txt

https://wiki.lineageos.org/devices/FP4/build/#download-the-source-code

time repo sync -j $(nproc --all)
matrix-commander '`repo sync` finished!'

output.txt

Related to Benjamin_Loison/openssh/issues/6.

. build/envsetup.sh
including vendor/extra/vendorsetup.sh
apply-waydroid-patches
matrix-commander '`apply-waydroid-patches` finished!'

output.txt

Have to execute again . build/envsetup.sh?? See https://docs.waydro.id/development/compile-waydroid-lineage-os-based-images#waydroid-build-commands and https://matrix.to/#/!rLTECBThFGLDQRuPIg:connolly.tech/$81Twx5vP3n2CKCrvrTHWYjulMn14qxEUbc74tWG0h8k.

sudo apt install -y python-is-python3
lunch lineage_waydroid_x86_64-userdebug
Output:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
LINEAGE_VERSION=20.0-20240711-UNOFFICIAL-waydroid_x86_64
TARGET_PRODUCT=lineage_waydroid_x86_64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.1.0-22-cloud-amd64-x86_64-Debian-GNU/Linux-12-(bookworm)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=TQ3A.230901.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/waydroid/waydroid
============================================

image

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 11, 2024

Could investigate https://wiki.lineageos.org/devices/FP4/build/#turn-on-caching-to-speed-up-build.

sudo apt install -y libncurses5 zip
make systemimage -j$(nproc --all)
matrix-commander 'Make finished!'

output.txt

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 11, 2024

Git LFS is necessary.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 12, 2024

ls -l $OUT/system.img
-rw-r--r-- 1 debian debian 754659500 Jul 12 19:01 /home/debian/out/target/product/waydroid_x86_64/system.img
simg2img $OUT/system.img ~/system.img
ls -l ~/system.img
-rw-r--r-- 1 debian debian 754659328 Jul 12 19:09 /home/debian/system.img
file $OUT/system.img ~/system.img
Output:
/home/debian/out/target/product/waydroid_x86_64/system.img: Android sparse image, version: 1.0, Total of 184243 4096-byte output blocks in 12 input chunks.
/home/debian/system.img:                                    Squashfs filesystem, little endian, version 4.0, zlib compressed, 754657660 bytes, 4862 inodes, blocksize: 131072 bytes, created: Sat Jul 13 13:14:15 2024
sha512sum ~/system.img
d6f5f104b8718112422a8d1faaacfd5b9746324875c536b10f70e4d2b68701b0cf5ae78750659f5e135cd8fa138377611d07fa452c8339c9e7a374c22d9762d1  /home/debian/system.img

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 12, 2024

See the end of the comment for download.

sudo apt install -y meson glslang-tools pkg-config python3-mako byacc flex
make vendorimage -j$(nproc --all)
matrix-commander 'Make finished!'

output.txt

ls -l $OUT/vendor.img
-rw-r--r-- 1 debian debian 159273024 Jul 12 19:42 /home/debian/out/target/product/waydroid_x86_64/vendor.img

Could try to waydroid show-full-ui or sudo waydroid init if necessary, see below, despite not running simg2img.

simg2img $OUT/vendor.img ~/vendor.img
ls -l ~/vendor.img
-rw-r--r-- 1 debian debian 159272960 Jul 12 19:45 /home/debian/vendor.img
file $OUT/vendor.img ~/vendor.img
Output:
/home/debian/out/target/product/waydroid_x86_64/vendor.img: Android sparse image, version: 1.0, Total of 38885 4096-byte output blocks in 3 input chunks.
/home/debian/vendor.img:                                    Squashfs filesystem, little endian, version 4.0, zlib compressed, 159272661 bytes, 766 inodes, blocksize: 131072 bytes, created: Sat Jul 13 13:31:51 2024
sha512sum ~/vendor.img
8a762bef4919333229df47ae16677619b49e154ed52f5ecfe0d06ec429bceb9353cee142d47ccdc4085122d6e3166bb493567ef137737da95f50a73734e90e86  vendor.img

Working LineageOS 20 (Android 13) Waydroid image:

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

Build mentioned publicly at https://matrix.to/#/!rLTECBThFGLDQRuPIg:connolly.tech/$Eu9p_h-Ev9n7enq6Sa7qjPFrwnGtTy3hXFEgB8IFnb4.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 12, 2024

On Debian 12 GNOME VirtualBox virtual machine:

sudo mkdir -p /etc/waydroid-extra/images/
sudo mv {system,vendor}.img /etc/waydroid-extra/images/
waydroid init -h
Output:
usage: waydroid init [-h] [-i IMAGES_PATH] [-f] [-c SYSTEM_CHANNEL] [-v VENDOR_CHANNEL] [-r ROM_TYPE] [-s SYSTEM_TYPE]

options:
  -h, --help            show this help message and exit
  -i IMAGES_PATH, --images_path IMAGES_PATH
                        custom path to waydroid images (default in /var/lib/waydroid/images)
  -f, --force           re-initialize configs and images
  -c SYSTEM_CHANNEL, --system_channel SYSTEM_CHANNEL
                        custom system channel (options: OTA channel URL; default is Official OTA server)
  -v VENDOR_CHANNEL, --vendor_channel VENDOR_CHANNEL
                        custom vendor channel (options: OTA channel URL; default is Official OTA server)
  -r ROM_TYPE, --rom_type ROM_TYPE
                        rom type (options: "lineage", "bliss" or OTA channel URL; default is LineageOS)
  -s SYSTEM_TYPE, --system_type SYSTEM_TYPE
                        system type (options: VANILLA, FOSS or GAPPS; default is VANILLA)

Could try waydroid show-full-ui at this stage.

sudo waydroid init

does not produce any output.

waydroid show-full-ui
Output:
[22:12:08] Starting waydroid session
[22:12:10] Skipping clipboard manager service because of missing pyclip package
[22:12:10] Failed to add service waydroidusermonitor: -2147483647

Before applying https://docs.waydro.id/faq/get-waydroid-to-work-through-a-vm.

After get:
[22:13:50] Starting waydroid session
[22:13:50] Skipping clipboard manager service because of missing pyclip package
[gbinder] Service manager /dev/anbox-binder has appeared
[22:13:50] Failed to add service waydroidusermonitor: -2147483647
[22:13:50] Failed to add service waydroidusermonitor: -2147483647

Running on a host seems to make sense.

On Pegasus Debian 12 GNOME get:
[22:38:48] Starting waydroid session
[22:38:48] WAYLAND_DISPLAY is not set, defaulting to "wayland-0"
[22:38:49] Skipping clipboard manager service because of missing pyclip package
[22:38:49] Failed to add service waydroidusermonitor: -2147483647

Should investigate waydroid log.

@Benjamin-Loison
Copy link
Owner Author

Could compile for 18.1 to check if it works fine.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 12, 2024

Searching the Internet for Failed to add service waydroidusermonitor.

/etc/gbinder.d/

setenforce
Output:
Command 'setenforce' not found, but can be installed with:
sudo apt install selinux-utils

Source: waydroid/issues/1032#issuecomment-1675843509

@Benjamin-Loison
Copy link
Owner Author

Look at waydroid/issues/new?assignees=&labels=&projects=&template=bug_report.yml&title=%5BBUG%5D to see what debugging is recommended.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 12, 2024

Thanks to Benjamin-Loison/waydroid/issues/19 testing on my Linux Mint 21.3 Cinnamon Framework 13 could make sense. However, should make sure not to lose data/setup.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 12, 2024

/var/lib/waydroid/waydroid.log:
<pre>(321564) [01:12:59] Starting waydroid session
(321564) [01:12:59] WAYLAND_DISPLAY is not set, defaulting to &quot;wayland-0&quot;
(319625) [01:12:59] % /usr/lib/waydroid/data/scripts/waydroid-net.sh start
vnic is waydroid0
(319625) [01:12:59] % systemctl is-active -q nfcd
(319625) [01:12:59] % chmod 777 -R /dev/dri
(319625) [01:12:59] % mv /var/lib/waydroid/config_session /var/lib/waydroid/lxc/waydroid
(319625) [01:12:59] % mount -o ro /etc/waydroid-extra/images/system.img /var/lib/waydroid/rootfs
(319625) [01:12: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
(319625) [01:12:59] % mount -o ro /etc/waydroid-extra/images/vendor.img /var/lib/waydroid/rootfs/vendor
(319625) [01:12: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
(319625) [01:12:59] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(319625) [01:12:59] Save config: /var/lib/waydroid/waydroid.cfg
(319625) [01:12:59] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init
(319625) [01:12:59] New background process: pid=321637, output=background
(319625) [01:12:59] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
RUNNING
(321564) [01:12:59] Skipping clipboard manager service because of missing pyclip package
(319625) [01:12:59] Failed to add service waydroidhardware: -2147483647
(319625) [01:12:59] Failed to add service waydroidhardware: -2147483647
(321564) [01:12:59] Failed to add service waydroidusermonitor: -2147483647
(321564) [01:12:59] Failed to add service waydroidusermonitor: -2147483647</pre>
sudo waydroid shell -- logcat -h
Output:
Usage: logcat [options] [filterspecs]

General options:
...
  -d                          Dump the log and then exit (don't block).
...

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 12, 2024

Should search error in compilation logs and pay attention to have complete ones.

waydroid_script mentions Android 13.

Source: waydroid/issues/563

waydroid_script: 1.5k stars
waydroid: 7.3k stars

git clone --depth 1 https://github.com/casualsnek/waydroid_script
cd waydroid_script/

sudo apt install -y python3.11-venv
python3 -m venv venv
venv/bin/pip install -r requirements.txt
sudo venv/bin/python3 main.py
Output:
? Select Android version Android 13
? Please select an action Install
? Select apps ([↑↓]: Select Item. [Space]: Toggle Choice), [Enter]: Confirm 
❯ ○ gapps
  ○ microg
  ○ libndk
  ○ magisk
  ○ smartdock
  ○ fdroidpriv

should be at least 1 selection
? Select apps ['fdroidpriv']
Traceback (most recent call last):
  File "/home/user/Desktop/waydroid_script/main.py", line 358, in <module>
    main()
  File "/home/user/Desktop/waydroid_script/main.py", line 354, in main
    interact()
  File "/home/user/Desktop/waydroid_script/main.py", line 256, in interact
    install_app(args)
  File "/home/user/Desktop/waydroid_script/main.py", line 91, in install_app
    install_list.append(FDroidPriv(args.android_version))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/Desktop/waydroid_script/stuff/fdroidpriv.py", line 29, in __init__
    self.dl_link = self.dl_links[android_version][0]
                   ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: '13'
? Select apps ['microg']
? Select MicroG variant 
❯ Standard
  NoGoolag
  UNLP
  Minimal
  MinimalIAP
? Select apps ['microg']
? Select MicroG variant Standard
ERROR: Cannot locate waydroid config file, reinit wayland and try again!

So it is assuming that we achieved to install somehow Android 13?

Searching Android 13 in opened and closed issues leads to the more or less interesting:

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 12, 2024

Trying to compile LineageOS 18.1:

Based on https://wiki.lineageos.org/devices/FP4/build/, no instruction differ in theory.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 13, 2024

git config --global color.ui true
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1 --git-lfs
Output:
Downloading Repo source from https://gerrit.googlesource.com/git-repo
repo: Updating release signing keys to keyset ver 2.3
warning: gpg (GnuPG) is not available.
warning: Installing it is strongly encouraged.


Your identity is: Benjamin Loison <benjamin.loison@example.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/debian
repo sync build/make

output.txt

wget -O - https://github.com/waydroid/android_vendor_waydroid/raw/lineage-18.1/manifest_scripts/generate-manifest.sh | bash

output.txt

time repo sync -j$(nproc --all)
matrix-commander '`repo sync` finished!'

output.txt

. build/envsetup.sh
including vendor/extra/vendorsetup.sh
apply-waydroid-patches
matrix-commander '`apply-waydroid-patches` finished!'

output.txt

With git-lfs:
real	2m40.254s
user	2m14.221s
sys	0m33.103s

Have to execute again . build/envsetup.sh??

sudo apt install -y python-is-python3
lunch lineage_waydroid_x86_64-userdebug
Output:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
LINEAGE_VERSION=18.1-20240713-UNOFFICIAL-waydroid_x86_64
TARGET_PRODUCT=lineage_waydroid_x86_64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.1.0-22-cloud-amd64-x86_64-Debian-GNU/Linux-12-(bookworm)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ3A.211001.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/waydroid/waydroid packages/apps/Bluetooth
============================================
sudo apt install -y libncurses5 zip
make systemimage -j$(nproc --all)
matrix-commander 'Make finished!'

output.txt

Related to Improve_websites_thanks_to_open_source/issues/798.

ls -l $OUT/system.img
-rw-r--r-- 1 debian debian 1724445264 Jul 13 03:23 /home/debian/out/target/product/waydroid_x86_64/system.img
simg2img $OUT/system.img ~/system.img
ls -l ~/system.img
-rw-r--r-- 1 debian debian 3547480064 Jul 13 03:25 /home/debian/system.img
sha512sum ~/system.img
d17befbcad7b9230ee23f5846100196a0f2770206ca45f427365d17b86b80b656ff4bbc7c0917d1c3b28e2c8df951ff6faa7ebf16de012f0be19ad87cceb7ad4  /home/debian/system.img
sudo apt install -y meson glslang-tools pkg-config python3-mako byacc flex
make vendorimage -j$(nproc --all)
matrix-commander 'Make finished!'

stdout.txt

sudo apt install -y meson

output.txt

sudo apt install -y glslang-tools

output.txt

sudo apt install -y pkg-config

output.txt

sudo apt install -y python3-mako

output.txt

sudo apt install -y byacc

output.txt

sudo apt install -y flex

output.txt

ls -l $OUT/vendor.img
-rw-r--r-- 1 debian debian 519426340 Jul 13 03:50 /home/debian/out/target/product/waydroid_x86_64/vendor.img
simg2img $OUT/vendor.img ~/vendor.img
ls -l ~/vendor.img
-rw-r--r-- 1 debian debian 1547481088 Jul 13 03:52 /home/debian/vendor.img
sha512sum ~/vendor.img
74bc9c79e0af436bb1dd4279dc1b994326fba3291e2574bc3df7cfa73f2890b2704f74e83385eb67c28deec4eb9be1ae3c93b1c510604ed68bcf2596ab0fbd0c  /home/debian/vendor.img
sudo mv {system,vendor}.img /etc/waydroid-extra/images/
sudo waydroid init -f
waydroid show-full-ui

It works for LineageOS 18.1.

image

image

Maybe should retry from scratch to build LineageOS 20 or test on most recent Ubuntu LTS to oldest recommended one.

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

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Jul 13, 2024

Still the same issue (nothing appears in Weston on Pegasus Debian 12 GNOME) from scratch after 1:37:13 on LineageOS 20:

waydroid show-full-ui
Output:
[15:37:58] Starting waydroid session
[15:37:58] WAYLAND_DISPLAY is not set, defaulting to "wayland-0"
[15:37:58] Skipping clipboard manager service because of missing pyclip package
[gbinder] Service manager /dev/anbox-binder has appeared
[15:37:58] Failed to add service waydroidusermonitor: -2147483647
[15:37:58] Failed to add service waydroidusermonitor: -2147483647

@gmankab
Copy link

gmankab commented Oct 18, 2024

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

@Benjamin-Loison
Copy link
Owner Author

@gmankab

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

@gmankab
Copy link

gmankab commented Oct 18, 2024

thank you a lot!

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Oct 18, 2024

Related to gmankab/waydroid/issues/1.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Oct 18, 2024

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/<container>/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: <https://github.com/waydroid>
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: <https://github.com/waydroid>
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: <https://github.com/waydroid>
[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: <https://github.com/waydroid>
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: <https://github.com/waydroid>
(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
Copy link
Owner Author

Benjamin-Loison commented Oct 18, 2024

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
Copy link
Owner Author

Benjamin-Loison commented Oct 18, 2024

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
Copy link
Owner Author

@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
Copy link

gmankab commented Oct 19, 2024

@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
Copy link

how to use libhoudini on android13

@Benjamin-Loison
Copy link
Owner Author

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

@Benjamin-Loison
Copy link
Owner Author

@solitudealma waydroid_script does not work?

@solitudealma
Copy link

@solitudealma waydroid_script does not work?

only libndk

@solitudealma
Copy link

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

@Benjamin-Loison
Copy link
Owner Author

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
Copy link

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
Copy link

gmankab commented Oct 19, 2024

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

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

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Oct 19, 2024

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
Copy link

gmankab commented Oct 19, 2024

i don't really know how to do it

@Benjamin-Loison
Copy link
Owner Author

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

@Benjamin-Loison
Copy link
Owner Author

@gmankab I contacted on Telegram the person you mentioned in #16 (comment) 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 (#16 (comment)). 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
Copy link

@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
Copy link
Owner Author

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.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Nov 29, 2024

I removed sudo waydroid upgrade from my updateall .bashrc alias, notably due to #47 and probably empty updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants