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

    Waydroid crashes my phone

    Scheduled Pinned Locked Moved Solved Support
    8 Posts 4 Posters 931 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.
      • R Offline
        RapidRotator
        last edited by RapidRotator

        I run UT on a OnePlus 3 (stable channel). I have installed waydoird using:

        $ sudo ubports-qa install xenial_-_android9_-_wayland
        $ wget -O - https://github.com/Anbox-halium/anbox-halium/raw/lineage-17.1/scripts/install.sh | bash
        

        Afterwards, I tried to run it using:

        $ sudo /home/anbox/run-container.sh
        

        This fails after:

        modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/3.18.31-halium-gac6f57d5/modules.dep.bin'
        modprobe: FATAL: Module binder_linux not found in directory /lib/modules/3.18.31-halium-gac6f57d5
        modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/3.18.31-halium-gac6f57d5/modules.dep.bin'
        modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/3.18.31-halium-gac6f57d5
        mount: unknown filesystem type 'binder'
        ERROR: Binder and ashmem nodes not found!
        

        After this nothing happens for a second or two, then the screen goes black and the phone becomes unresponsive except for the power button, which allows me to reboot the phone.

        Since apt doesn't work on UT, how do I install the required modules?

        arubislanderA LakotaubpL LuksusL 3 Replies Last reply Reply Quote 1
        • LuksusL Offline
          Luksus @RapidRotator
          last edited by

          @rapidrotator because of Halium 7.1 you are bound to Anbox.
          Maybe there will be a Halium 9 port some day.
          Look here for example: https://forums.ubports.com/topic/4481/halium9-gsi-oneplus-3-t .
          But that is outdated, since the GSI meanwhile is old and not maintained anymore.

          But in theory someone could do a proper H9 port with generic Halium 9 system.image...

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

          R 1 Reply Last reply Reply Quote 0
          • arubislanderA Offline
            arubislander @RapidRotator
            last edited by arubislander

            @rapidrotator
            Try switching to the Development channel and trying again.

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            Happily running Ubuntu Touch
            Google Pixel 3a (20.04 DEV)
            JingPad (24.04 preview)
            Meizu Pro 5 (16.04 DEV)

            R 1 Reply Last reply Reply Quote 1
            • LakotaubpL Offline
              Lakotaubp @RapidRotator
              last edited by

              @rapidrotator Waydroid is still in development so maybe here is a good place to seek advice https://t.me/anbox_halium too.

              1 Reply Last reply Reply Quote 1
              • R Offline
                RapidRotator @arubislander
                last edited by

                @arubislander Same result.

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

                  @rapidrotator that looks like the kernel is not patched right to run waydroid.
                  Also, the Oneplus3 Port is based on Halium 7.1, which is not capable of running the new waydroid way.

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

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    RapidRotator @Luksus
                    last edited by RapidRotator

                    @luksus Interesting. Is there a way to get the right kernel or should I run anbox?

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

                      @rapidrotator because of Halium 7.1 you are bound to Anbox.
                      Maybe there will be a Halium 9 port some day.
                      Look here for example: https://forums.ubports.com/topic/4481/halium9-gsi-oneplus-3-t .
                      But that is outdated, since the GSI meanwhile is old and not maintained anymore.

                      But in theory someone could do a proper H9 port with generic Halium 9 system.image...

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

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        RapidRotator @Luksus
                        last edited by RapidRotator

                        @luksus I actually bought a Pinephone, but the OnePlus 3 is so much faster and also has more memory. The only thing the pinephone has over it is the hardware kill switches.

                        I will try and install anbox and see if if performs. Thanks!

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