Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    SOLVED Waydroid crashes my phone

    Support
    4
    8
    607
    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
      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?

      arubislander Lakotaubp L 3 Replies Last reply Reply Quote 1
      • L
        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 X605, Pinephone, Moto Z2 Force

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

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

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          BQ Aquaris M10 FHD (16.04 RC)
          Google Pixel 3a (20.04 DEV)
          JingPad (16.04 DEV)
          Meizu Pro 5 (16.04 DEV)
          PinePhone / PineTab UT CE (16.04 DEV)

          R 1 Reply Last reply Reply Quote 1
          • Lakotaubp
            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
              RapidRotator @arubislander last edited by

              @arubislander Same result.

              1 Reply Last reply Reply Quote 0
              • L
                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 X605, Pinephone, Moto Z2 Force

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

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

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    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 X605, Pinephone, Moto Z2 Force

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      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