UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Waydroid Not Working on the new 24.04.01 & 24.04.02

    Scheduled Pinned Locked Moved Unsolved Support
    waydroid
    6 Posts 3 Posters 1.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • E Offline
        evilgenius
        last edited by

        Hello Guys
        I tested waydroid on my AZMP m1 , the waydroid is not working on the latest 24.04.01 or 02 (tried all the dev,stable and rc channels)

        Phone : Asus Zenfone Max Pro m1 (Supported by ubports)

        PLEASE HELP!

        Error its showing to me is as below :

        root@ubuntu-phablet:/home/phablet# waydroid log
        (030969) [17:24:52] % tail -n 60 -F /var/lib/waydroid/waydroid.log
                               (030969) [17:24:52] % tail -n 60 -F /var/lib/waydroid/waydroid.log
           (030969) [17:24:52] *** output passed to waydroid stdout, not to this log ***
                                             (030969) [17:24:52] *** output passed to waydroid stdout, not to this log ***
                                    (005303) [09:44:13] waiting 2 seconds for container to start...
        (005303) [09:44:14] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
        STOPPED
        (005303) [09:44:14] waiting 1 seconds for container to start...
        (005447) [09:44:15] 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 35, in Start
            do_start(self.args, session)
          File "/usr/lib/waydroid/tools/actions/container_manager.py", line 193, in do_start
            helpers.lxc.start(args)
          File "/usr/lib/waydroid/tools/helpers/lxc.py", line 402, in start
            wait_for_running(args)
          File "/usr/lib/waydroid/tools/helpers/lxc.py", line 396, in wait_for_running
            raise OSError("container failed to start")
        OSError: container failed to start
        
        (005447) [09:44:15] OSError: container failed to start
        (028069) [17:18:22] ERROR: Action "init" needs root access
        (028069) [17:18:22] See also: <https://github.com/waydroid>
        (028069) [17:18:22] Traceback (most recent call last):
          File "/usr/lib/waydroid/tools/__init__.py", line 63, in main
            actionNeedRoot(args.action)
          File "/usr/lib/waydroid/tools/__init__.py", line 21, in actionNeedRoot
            raise RuntimeError(
        RuntimeError: Action "init" needs root access
        
        (028135) [17:18:34] % tail -n 60 -F /var/lib/waydroid/waydroid.log
        (028135) [17:18:34] *** output passed to waydroid stdout, not to this log ***
        (030202) [17:22:51] % tail -n 60 -F /var/lib/waydroid/waydroid.log
        (030202) [17:22:51] *** output passed to waydroid stdout, not to this log ***
        (030854) [17:24:34] Already initialized
        (030907) [17:24:44] ERROR: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally with the following error: Authorization required, but no authorization protocol specified
        
        Autolaunch error: X11 initialization failed.
        
        (030907) [17:24:44] See also: <https://github.com/waydroid>
        (030907) [17:24:44] Traceback (most recent call last):
          File "/usr/lib/waydroid/tools/__init__.py", line 70, in main
            actions.session_manager.start(args)
          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 with the following error: Authorization required, but no authorization protocol specified
        
        Autolaunch error: X11 initialization failed.
        
        
        (030969) [17:24:52] % tail -n 60 -F /var/lib/waydroid/waydroid.log
        (030969) [17:24:52] *** output passed to waydroid stdout, not to this log ***
        

        Any suggestions would be welcomed

        I used these commands :

        sudo mount -o remount, rw /
        
        apt update
        
        apt install waydroid -y
        
        waydroid init 
        
        ikozI 1 Reply Last reply Reply Quote 0
        • ikozI Offline
          ikoz @evilgenius
          last edited by

          @evilgenius use the waydroid helper app from the openstore.

          May the source be with you

          E 1 Reply Last reply Reply Quote 1
          • E Offline
            evilgenius @ikoz
            last edited by

            @ikoz Not Working ,

            It doesnt even start!!

            LuksusL 1 Reply Last reply Reply Quote 0
            • LuksusL Offline
              Luksus @evilgenius
              last edited by

              @evilgenius waydroid is installed by default.

              Try to reinstall UT using the installer, then avoid the apt commands and try again with waydroid helper.

              Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

              E 1 Reply Last reply Reply Quote 1
              • E Offline
                evilgenius @Luksus
                last edited by

                @Luksus
                yes I tried that also recently

                phablet@ubuntu-phablet:~$ sudo su
                root@ubuntu-phablet:/home/phablet# waydroid init -s GAPPS
                [11:29:47] Already initialized
                root@ubuntu-phablet:/home/phablet# waydroid session start
                [11:29:57] ERROR: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
                [11:29:57] See also: <https://github.com/waydroid>
                Run 'waydroid log' for details.
                root@ubuntu-phablet:/home/phablet# waydroid log
                STOPPED
                (004619) [01:26:45] waiting 8 seconds for container to start...
                (004619) [01:26:46] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
                STOPPED
                (004619) [01:26:46] waiting 7 seconds for container to start...
                (004619) [01:26:47] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
                STOPPED
                (004619) [01:26:47] waiting 6 seconds for container to start...
                (004619) [01:26:48] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
                STOPPED
                (004619) [01:26:48] waiting 5 seconds for container to start...
                (004619) [01:26:49] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
                STOPPED
                (004619) [01:26:49] waiting 4 seconds for container to start...
                (004619) [01:26:50] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
                STOPPED
                (004619) [01:26:50] waiting 3 seconds for container to start...
                (004619) [01:26:51] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
                STOPPED
                (004619) [01:26:51] waiting 2 seconds for container to start...
                (004619) [01:26:52] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
                STOPPED
                (004619) [01:26:52] waiting 1 seconds for container to start...
                (004834) [01:26:53] 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 35, in Start
                    do_start(self.args, session)
                  File "/usr/lib/waydroid/tools/actions/container_manager.py", line 193, in do_start
                    helpers.lxc.start(args)
                  File "/usr/lib/waydroid/tools/helpers/lxc.py", line 402, in start
                    wait_for_running(args)
                  File "/usr/lib/waydroid/tools/helpers/lxc.py", line 396, in wait_for_running
                    raise OSError("container failed to start")
                OSError: container failed to start
                
                (004834) [01:26:53] OSError: container failed to start
                (009986) [11:29:47] Already initialized
                (010058) [11:29:57] ERROR: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
                (010058) [11:29:57] See also: <https://github.com/waydroid>
                (010058) [11:29:57] Traceback (most recent call last):
                  File "/usr/lib/waydroid/tools/__init__.py", line 70, in main
                    actions.session_manager.start(args)
                  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
                
                (010121) [11:30:17] % tail -n 60 -F /var/lib/waydroid/waydroid.log
                (010121) [11:30:17] *** output passed to waydroid stdout, not to this log ***
                

                Still its not working these are the logs 😞

                LuksusL 1 Reply Last reply Reply Quote 0
                • LuksusL Offline
                  Luksus @evilgenius
                  last edited by

                  @evilgenius

                  do you have a waydroid app-icon in the apps-drawer?
                  You should try to start waydroid using that app.

                  To make sure, everything is set up correctly before starting the app, execute in the terminal:

                  sudo systemctl restart waydroid-container.service
                  

                  Maybe have a look, if container was startet successfully:

                  sudo systemctl status waydroid-container.service
                  

                  Then launch the app.

                  Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post