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

    (Solved) New UT on Pixel 3a user.

    Scheduled Pinned Locked Moved Waydroid
    19 Posts 4 Posters 1.3k 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.
      • saveurlinuxS Offline
        saveurlinux @globetrotterdk
        last edited by

        @globetrotterdk I have same phone as you and waydroid install throw WayDroid Helper. It works fine on my phone, except banking apps.
        Trying to launch throw the command line

        sudo waydroid session start
        

        raise the same error as you,
        but launching it throw the WayDroid Helper works

        saveurlinuxS 1 Reply Last reply Reply Quote 0
        • saveurlinuxS Offline
          saveurlinux @saveurlinux
          last edited by saveurlinux

          @saveurlinux I think, you should try to launch it with sudo but as:

          waydroid session start
          

          and in an other tab launch

          waydroid show-full-ui
          

          other command line are available look at

          waydroid help
          
          G 1 Reply Last reply Reply Quote 0
          • G Offline
            globetrotterdk @saveurlinux
            last edited by

            @saveurlinux
            1st. shell:

            $ adb shell
            phablet@ubuntu-phablet:~$ sudo waydroid session start
            [sudo] password for phablet: 
            [21:11:07] ERROR: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
            [21:11:07] See also: <https://github.com/waydroid>
            Run 'waydroid log' for details.
            

            2nd. shell:

            $ adb shell
            phablet@ubuntu-phablet:~$ sudo waydroid show-full-ui
            [sudo] password for phablet: 
            [21:12:19] Starting waydroid session
            [21:12:19] ERROR: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
            [21:12:19] See also: <https://github.com/waydroid>
            Run 'waydroid log' for details.
            

            Looks to me like a DBus issue, but I will take a look at waydroid help tomorrow and see if I can get something out of that. At this point, not holding out much hope however, as my experience is that when you cut out the gui and just using the cli, there is a better chance of understanding what is going on. While the errors are fairly verbose, the result isn't ringing any bells.

            saveurlinuxS 1 Reply Last reply Reply Quote 0
            • saveurlinuxS Offline
              saveurlinux @globetrotterdk
              last edited by

              @globetrotterdk have you tried without sudo ?

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                globetrotterdk @saveurlinux
                last edited by

                @saveurlinux The Waydroid icon appears, but no active window, and when I try to swipe from the right, the system tells me that there are no apps running.

                Here is the cli output from the same session:

                $ adb shell
                phablet@ubuntu-phablet:~$ waydroid session start
                [23:10:10] WAYLAND_DISPLAY is not set, defaulting to "wayland-0"
                [23:10:11] Failed to start Clipboard manager service, check logs
                [gbinder] Service manager /dev/anbox-binder has appeared
                [23:10:36] Android with user 0 is ready
                Traceback (most recent call last):
                  File "gbinder.pyx", line 499, in gbinder.LocalObject.callback
                  File "/usr/lib/waydroid/tools/interfaces/IUserMonitor.py", line 33, in response_handler
                    packageStateChanged(arg1, arg2, arg3)
                  File "/usr/lib/waydroid/tools/services/user_manager.py", line 87, in packageStateChanged
                    makeDesktopFile(appInfo)
                  File "/usr/lib/waydroid/tools/services/user_manager.py", line 35, in makeDesktopFile
                    for cat in appInfo["categories"]:
                TypeError: 'NoneType' object is not subscriptable
                Exception ignored in: 'gbinder.local_transact_callback'
                Traceback (most recent call last):
                  File "gbinder.pyx", line 499, in gbinder.LocalObject.callback
                  File "/usr/lib/waydroid/tools/interfaces/IUserMonitor.py", line 33, in response_handler
                    packageStateChanged(arg1, arg2, arg3)
                  File "/usr/lib/waydroid/tools/services/user_manager.py", line 87, in packageStateChanged
                    makeDesktopFile(appInfo)
                  File "/usr/lib/waydroid/tools/services/user_manager.py", line 35, in makeDesktopFile
                    for cat in appInfo["categories"]:
                TypeError: 'NoneType' object is not subscriptable
                ^C
                phablet@ubuntu-phablet:~$
                
                saveurlinuxS 1 Reply Last reply Reply Quote 0
                • saveurlinuxS Offline
                  saveurlinux @globetrotterdk
                  last edited by saveurlinux

                  @globetrotterdk maybe that's because you are doing it from adb and WAYLAND_DISPLAY is not available ? Try to do it from the phone terminal

                  When the command

                  waydroid session start
                  

                  succeed , you can open a new tab into the terminal phone app and then do this next one:

                  waydroid show-full-ui
                  
                  G 1 Reply Last reply Reply Quote 0
                  • G Offline
                    globetrotterdk @saveurlinux
                    last edited by

                    @saveurlinux Unfortunately, no such luck. I get a few of the same lines and then the process refuses to go any further:

                    $ waydroid session start
                    [07:49:53] Failed to start Clipboard manager service, check logs
                    [gbinder] Service manager /dev/anbox-binder has appeared
                    [07:50:19] Android with user 0 is ready
                    ^C
                    
                    arubislanderA 1 Reply Last reply Reply Quote 0
                    • arubislanderA Online
                      arubislander @globetrotterdk
                      last edited by

                      @globetrotterdk The last line says it is ready, maybe it doesn't go any further until you follow with what @saveurlinux suggests?

                      🇦🇼 🇳🇱 🇺🇸 🇪🇸
                      Happily running Ubuntu Touch
                      Google Pixel 3a (20.04 DEV)
                      JingPad (24.04 preview)
                      Meizu Pro 5 (16.04 DEV)

                      G 1 Reply Last reply Reply Quote 1
                      • G Offline
                        globetrotterdk @arubislander
                        last edited by

                        @arubislander Cool. That works. I was able to go in and get the Waydroid instance certified (through the adb shell) by following the Waydroid instructions and getting the android id.

                        Unfortunately, after using Wayroid stop and rebooting the phone, the system freezes at the Google splash screen.

                        A restart is possible, and I am able to get into Waydroid again by using the app tray.

                        1 Reply Last reply Reply Quote 1
                        • G Offline
                          globetrotterdk
                          last edited by

                          Thanks to everyone for all of the help and feedback!

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