-
Notifications
You must be signed in to change notification settings - Fork 0
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
Comments
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. |
https://waydro.id seems to mostly redirect to https://docs.waydro.id/, see https://waydro.id/#docs. |
Source: https://docs.waydro.id |
Related to #38. |
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. |
Once solved, consider Umay (I delete old snapshots). |
# 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:
repo sync build/make Output:
wget -O - https://github.com/waydroid/android_vendor_waydroid/raw/lineage-20/manifest_scripts/generate-manifest.sh | bash https://wiki.lineageos.org/devices/FP4/build/#download-the-source-code time repo sync -j $(nproc --all)
matrix-commander '`repo sync` finished!' Related to Benjamin_Loison/openssh/issues/6. . build/envsetup.sh
apply-waydroid-patches
matrix-commander '`apply-waydroid-patches` finished!' Have to execute again sudo apt install -y python-is-python3
lunch lineage_waydroid_x86_64-userdebug Output:
|
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!' |
Git LFS is necessary. |
ls -l $OUT/system.img
simg2img $OUT/system.img ~/system.img
ls -l ~/system.img
file $OUT/system.img ~/system.img Output:
sha512sum ~/system.img
|
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!' ls -l $OUT/vendor.img
Could try to simg2img $OUT/vendor.img ~/vendor.img
ls -l ~/vendor.img
file $OUT/vendor.img ~/vendor.img Output:
sha512sum ~/vendor.img
Working LineageOS 20 (Android 13) Waydroid image:Archive with both Build mentioned publicly at https://matrix.to/#/!rLTECBThFGLDQRuPIg:connolly.tech/$Eu9p_h-Ev9n7enq6Sa7qjPFrwnGtTy3hXFEgB8IFnb4. |
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:
Could try sudo waydroid init does not produce any output. waydroid show-full-ui Output:
Before applying https://docs.waydro.id/faq/get-waydroid-to-work-through-a-vm. After get:
Running on a host seems to make sense. On Pegasus Debian 12 GNOME get:
Should investigate |
Could compile for 18.1 to check if it works fine. |
Searching the Internet for Failed to add service waydroidusermonitor.
setenforce Output:
|
Look at waydroid/issues/new?assignees=&labels=&projects=&template=bug_report.yml&title=%5BBUG%5D to see what debugging is recommended. |
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. |
|
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 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:
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:
|
Trying to compile LineageOS 18.1: Based on https://wiki.lineageos.org/devices/FP4/build/, no instruction differ in theory. |
git config --global color.ui true
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1 --git-lfs Output:
repo sync build/make wget -O - https://github.com/waydroid/android_vendor_waydroid/raw/lineage-18.1/manifest_scripts/generate-manifest.sh | bash time repo sync -j$(nproc --all)
matrix-commander '`repo sync` finished!' . build/envsetup.sh
apply-waydroid-patches
matrix-commander '`apply-waydroid-patches` finished!' With
|
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:
|
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. |
http://a.9game.cn/sdxl |
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 #16 (comment) for further investigation of what this person is able to concerning Waydroid and ARM.
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. |
I removed |
# Have not achieved to write on multiple lines thanks to `\`.
alias waydroid_upgrade="if [ \"$(curl -s 'https://ota.waydro.id/system/lineage/waydroid_x86_64/VANILLA.json' | jq -r '.response[0].version')\" != '18.1' ]; then sudo waydroid upgrade; fi" |
Related to Benjamin-Loison/android/issues/136. |
I got a arm64 device with debian and yes waydroid works on it |
@WesleyVanNeck I don't have an ARM64 device, so as stated above I tried quickly running Waydroid on Oracle Cloud ARM but failed to, if you give me a working procedure to run Waydroid on Oracle Cloud ARM, then I can compile Waydroid on ARM for you. |
You need to recompile the kernel and eneble psi Here are the config hexdump0815/kernel-config-options@ba3a004 |
@WesleyVanNeck |
Just edited it |
@WesleyVanNeck If I recompile with your patch, I would like to ensure on my side that the compilation build works fine on ARM, which requires me to be able to run Waydroid on Oracle Cloud ARM, so see #issuecomment-2599866530 to help me be able to do so if you want me to compile LineageOS ARM for you. |
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.
+50
Describe the solution you'd like.
Not read.
Describe alternatives you've considered.
Not read.
Additional context
No response
The text was updated successfully, but these errors were encountered: