Code Monkey home page Code Monkey logo

Comments (15)

axtloss avatar axtloss commented on June 24, 2024 1

It's running the initialization as root for some reason, ctrl+c the process and try vso android launcher again.

Also, does Waydroid really need Secure boot to be disabled, it worked fine for me in Fedora previously (when I had it installed) with Secure Boot On too.

waydroid doesn't, but since we aren't able to sign the kernel modules it's not possible to load them with secureboot enabled, meaning waydroid doesn't work. Fedora resolves this issue by having the binder module in the kernel directly.

from vanilla-system-operator.

axtloss avatar axtloss commented on June 24, 2024 1

the waydroid container runs as root, you have to check podman ps as the root user.

from vanilla-system-operator.

mirkobrombin avatar mirkobrombin commented on June 24, 2024

This should have been fixed by this e2ffc3c

Re-open if you still face the bug with recent builds.

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

Re-open if you still face the bug with recent builds.

Sure, will test it after there's an update to the desktop image.

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

I am reopening this issue, as it persists even after the fix (which is present in all the latest images).

Also, it now shows a missing waydroid-props file as an error.

Ref.

image

from vanilla-system-operator.

axtloss avatar axtloss commented on June 24, 2024

The waydroid-props warning can be ignored, the file not existing doesn't cause any issues.
I'm unable to reproduce the issue though, can you run vso android init --force and see if the issue persists

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

Sure, btw before I run the init force command this is the output of installing an application (the desktop entry isn't exported).

kbdharun@apx-vso-pico:~/Downloads$ vso android install newpipe
1) PipePipe - A FLOSS Android app to let you browse YouTube, NicoNico and BiliBili freely. [FDroid]
2) NewPipe - Lightweight YouTube frontend [FDroid]
3) NewPipe Legacy - Lightweight YouTube frontend for OS versions 4.x [FDroid]
4) PipePipe - A FLOSS Android app to let you browse YouTube, NicoNico and BiliBili freely. [izzyondroid]
5) NewPipe preunified - NewPipe with the old UI [izzyondroid]

Pick an application to install (1): 2
Install application NewPipe? [Y/n]: y
 INFO  Downloading apk from https://f-droid.org/repo/org.schabi.newpipe
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
 INFO  Installation successful

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

Done, this is the output I get

kbdharun@apx-vso-pico:~/Downloads$ vso android init --force
Trying to pull ghcr.io/vanilla-os/waydroid:main...
Getting image source signatures
Copying blob 4f4fb700ef54 skipped: already exists  
Copying blob 53bd4b62bab2 skipped: already exists  
Copying blob f25ea3a519f3 skipped: already exists  
Copying blob 7177b8eb8ef1 skipped: already exists  
Copying blob 1646d9e6f263 skipped: already exists  
Copying blob 334e837f625f skipped: already exists  
Copying blob a5b83e6f761b skipped: already exists  
Copying blob a2f5e0064bef skipped: already exists  
Copying blob 9010b31ceb7c skipped: already exists  
Copying blob b758466e7382 skipped: already exists  
Copying blob a3625feaa85a skipped: already exists  
Copying config 1b2faefb39 done   | 
Writing manifest to image destination
1b2faefb39b4aa0c916a6789acd0317d45081e27225b4200b1f9ab3739ab1a07
Creating 'apx-vso-waydroid' using image ghcr.io/vanilla-os/waydroid:main	 [ OK ]
Distrobox 'apx-vso-waydroid' successfully created.
To enter, run:

apx vso-waydroid enter
Starting container...                   	 [ OK ]
Installing basic packages...            	 [ OK ]
Setting up devpts mounts...             	 [ OK ]
Setting up read-only mounts...          	 [ OK ]
Setting up read-write mounts...         	 [ OK ]
Setting up host's sockets integration...	 [ OK ]
Integrating host's themes, icons, fonts...	 [ OK ]
Setting up distrobox profile...         	 [ OK ]
Setting up sudo...                      	 [ OK ]
Setting up user groups...               	 [ OK ]
Setting up kerberos integration...      	 [ OK ]
Setting up user's group list...         	 [ OK ]
Adding user...                          	 [ OK ]
Setting up user home...                 	 [ OK ]
Ensuring user's access...               	 [ OK ]
Setting up init system...               	 [ OK ]
Firing up init system...                	 [ OK ]
/usr/bin/ewaydroid: line 7: /root/.config/waydroid-props: No such file or directory
[10:27:26] Failed to load binder driver
[10:27:26] modprobe: ERROR: could not insert 'binder_linux': Key was rejected by service
[10:27:26] ERROR: Binder node "binder" for waydroid not found
[10:27:26] See also: <https://github.com/waydroid>
Run 'waydroid log' for details.
apx-vso-waydroid
Starting container...                   	 [ OK ]
Installing basic packages...            	 [ OK ]
Setting up devpts mounts...             	 [ OK ]
Setting up read-only mounts...          	 [ OK ]
Setting up read-write mounts...         	 [ OK ]
Setting up host's sockets integration...	 [ OK ]
Integrating host's themes, icons, fonts...	 [ OK ]
Setting up distrobox profile...         	 [ OK ]
Setting up sudo...                      	 [ OK ]
Setting up user groups...               	 [ OK ]
Setting up kerberos integration...      	 [ OK ]
Setting up user's group list...         	 [ OK ]
Setting up user home...                 	 [ OK ]
Ensuring user's access...               	 [ OK ]
Setting up init system...               	 [ OK ]
Firing up init system...                	 [ OK ]
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
 SUCCESS  The waydroid subsystem has been initialized.
kbdharun@apx-vso-pico:~/Downloads$ vso android launcher
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"
ERROR: WayDroid is not initialized, run "waydroid init"

from vanilla-system-operator.

axtloss avatar axtloss commented on June 24, 2024

modprobe: ERROR: could not insert 'binder_linux': Key was rejected by service

please disable secureboot and try again

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

modprobe: ERROR: could not insert 'binder_linux': Key was rejected by service

please disable secureboot and try again

Tried it, that made the init to go to next step but it's stuck at waiting for wayland platform while I am on Wayland.

kbdharun@apx-vso-pico:~$ vso android init --force
Distrobox named 'apx-vso-waydroid' already exists.
To enter, run:

apx vso-waydroid enter
/usr/bin/ewaydroid: line 7: /root/.config/waydroid-props: No such file or directory
[10:51:14] Downloading https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86_64/lineage-18.1-20240427-VANILLA-waydroid_x86_64-system.zip/download
[Downloading] 769.86 MB/769.86 MB      11.37 mbps(approx.)[10:52:25] Validating system image
[10:52:27] Extracting to /var/lib/waydroid/images
[10:52:46] Downloading https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86_64/lineage-18.1-20240427-MAINLINE-waydroid_x86_64-vendor.zip/download
[Downloading] 181.67 MB/181.77 MB    13808.73 kbps(approx.)[10:53:04] Validating vendor image
[10:53:05] Extracting to /var/lib/waydroid/images
 /usr/bin/ewaydroid: line 7: /root/.config/waydroid-props: No such file or directory
[10:53:14] Already initialized
apx-vso-waydroid
Starting container...                   	 [ OK ]
Installing basic packages...            	 [ OK ]
Setting up devpts mounts...             	 [ OK ]
Setting up read-only mounts...          	 [ OK ]
Setting up read-write mounts...         	 [ OK ]
Setting up host's sockets integration...	 [ OK ]
Integrating host's themes, icons, fonts...	 [ OK ]
Setting up distrobox profile...         	 [ OK ]
Setting up sudo...                      	 [ OK ]
Setting up user groups...               	 [ OK ]
Setting up kerberos integration...      	 [ OK ]
Setting up user's group list...         	 [ OK ]
Setting up user home...                 	 [ OK ]
Ensuring user's access...               	 [ OK ]
Setting up init system...               	 [ OK ]
Firing up init system...                	 [ OK ]
/usr/bin/ewaydroid: line 7: /home/kbdharun/.config/waydroid-props: No such file or directory
[10:53:29] Skipping clipboard manager service because of missing pyclip package
[10:53:38] Failed to get service waydroidplatform, trying again...
[10:53:39] Failed to get service waydroidplatform, trying again...
[10:53:40] Failed to get service waydroidplatform, trying again...
[10:53:41] Failed to get service waydroidplatform, trying again...
[10:53:42] Failed to get service waydroidplatform, trying again...
[10:53:43] Failed to get service waydroidplatform, trying again...

Also, does Waydroid really need Secure boot to be disabled, it worked fine for me in Fedora previously (when I had it installed) with Secure Boot On too.

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

It's running the initialization as root for some reason, ctrl+c the process and try vso android launcher again.

This says the session is already running and waiting for the binder service manager.


Btw, I just now remembered does vso android (Waydroid container) even work with VMs?

from vanilla-system-operator.

axtloss avatar axtloss commented on June 24, 2024

This says the session is already running and waiting for the binder service manager.

You have to stop the podman container, since its still running in the background

Btw, I just now remembered does vso android (Waydroid container) even work with VMs?

I'm not sure, I never tried it in VMs

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

You have to stop the podman container, since its still running in the background

I checked podman ps and the container isn't running (even then vso android launcher gives the same output), maybe I will try again after a reboot.

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

the waydroid container runs as root, you have to check podman ps as the root user.

Thanks, tried it and then checked vso android launcher (still "Failed to get service waydroidplatform, trying again..." message is shown and the launcher doesn't get launched).

from vanilla-system-operator.

kbdharun avatar kbdharun commented on June 24, 2024

Update: It took a while, I didn't exit out of the Console but the launcher works now and I can use it (also icon entries were successfully exported). Will test other functions and update this comment/issue. Btw, can we add a check/message before using vso android command that it needs Secure boot to be disabled to work.

from vanilla-system-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.