Open Benjamin-Loison opened 8 months ago
I definitively need a virtual environment able to run recent LineageOS Waydroid, notably to run untrusted apps.
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.
Working LineageOS 20 (Android 13) Waydroid image:
Archive with both
.img
s. https://www.mediafire.com/file/ogg607lky6say0h/archive.7z/file Password:i4yUhPaS4dSy3tb4h42T7Lcy7gdxzwDEamyyP3
Source: #issuecomment-2226210183
I tested it, and it works.
Thank you.
Thanks for letting me know @gmankab.
For reference: gmankab/waydroid/releases/tag/jul-12-2024
I wrote a guide how to test Android 13 - https://github.com/gmankab/waydroid
@gmankab Thank you for your insights.
@Benjamin-Loison, can you please also build images for arm?
@gmankab
I've never run Waydroid or build Waydroid images for ARM but I'll investigate that.
thank you a lot!
Related to gmankab/waydroid/issues/1.
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
curl -s https://repo.waydro.id | sudo bash
sudo apt install -y waydroid
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
sudo waydroid init
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.
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.
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 4Memory 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
Same for binder-linux
.
waydroid init
Even after startx
:
waydroid show-full-ui
waydroid log
waydroid/waydroid/issues/1195#issuecomment-1858959470 solves this issue.
sudo apt install -y weston
weston
From terminal in weston
:
waydroid show-full-ui
waydroid log
waydroid logcat
[23:23:50] WayDroid container is STOPPED
waydroid/waydroid/issues/1576#issuecomment-{2379535684,2399851229} lead to:
waydroid show-full-ui
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
@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.
@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
how to use libhoudini on android13
@gmankab Can you try running Waydroid on Oracle ARM server?
@solitudealma waydroid_script does not work?
@solitudealma waydroid_script does not work?
only libndk
i want to run a game, which cant run with libndk
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.
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 Can you try running Waydroid on Oracle ARM server?
yes, if you explain how to do it and provide bash commands
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.
i don't really know how to do it
Then I can't really help much more because it would mean that I'm unable to even test my ARM build.
@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?
@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 -
Playstore is working too I'm able to login and download games from the Playstore -
However launching games that are ARM fails. In theory it should work since the LIBNDK translation layer is installed but ARM apps close -
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.
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.
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