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
    2 Posts 2 Posters 88 Views 1 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

          1 Reply Last reply Reply Quote 1
          • First post
            Last post