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

    cannot install waydroid new anbox

    Scheduled Pinned Locked Moved Solved Support
    19 Posts 6 Posters 3.1k Views 4 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.
      • F Offline
        FP2andFP3-User
        last edited by

        @luksus
        this is my error:

        2021-08-05 21:29:06 (1.21 MB/s) - ‘anbox.conf’ saved [193/193]

        mount: / is busy
        Going back to phablet user
        Restarting Pulseaudio service
        pulseaudio stop/waiting
        pulseaudio start/running, process 28479
        Installing Finished!
        Run anbox container with "sudo /home/anbox/run-container.sh" on terminal
        Stop anbox container with "sudo /home/anbox/stop-container.sh" on terminal
        phablet@ubuntu-phablet:~$ sudo /home/anbox/run-container.sh
        modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.146+/modules.dep.bin'
        modprobe: FATAL: Module binder_linux not found in directory /lib/modules/4.4.146+
        modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.146+/modules.dep.bin'
        modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/4.4.146+
        mount: unknown filesystem type 'binder'
        ERROR: Binder and ashmem nodes not found!

        and after that i try...

        phablet@ubuntu-phablet:~$ check-kernel-config.sh halium_device_defconfig -w
        bash: check-kernel-config.sh: command not found

        What shall I do or how is it running....

        https://github.com/Anbox-halium/anbox-halium

        thanks

        LuksusL 1 Reply Last reply Reply Quote 0
        • LuksusL Offline
          Luksus @FP2andFP3-User
          last edited by Luksus

          @fp2andfp3-user when did you flash boot.img last time?

          I just realized, that I did no stable and rc rebuilds with the new kernel. They are running now.

          If you want to stay on stable, you can just download https://gitlab.com/ubports/community-ports/android9/fairphone-3/fairphone-fp3/-/jobs/1444361618/artifacts/download
          and find the boot.img in the partition folder.

          Then flash it with fastboot.
          Boot, reinstall waydroid.
          In stable channel you additionally need to install:
          sudo ubports-qa install xenial_-_android9_-_wayland.

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

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            FP2andFP3-User @Luksus
            last edited by

            @luksus OK thanks i will try it and give feedback

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              FP2andFP3-User @FP2andFP3-User
              last edited by

              @Luksus

              ok on rc level waydroid is starting, and then it crashes before desktop are open. I only see lineage sign before it stops.....

              on stable it will not start although i have installed wayland.

              you told us, that it is not stable at the moment....we will see the next days

              thanks for your support

              LuksusL 1 Reply Last reply Reply Quote 0
              • LuksusL Offline
                Luksus @FP2andFP3-User
                last edited by

                @fp2andfp3-user

                Did you run the container from ther terminal application on the phone?
                If yes, you should disable "background suspension" (not sure if its the right word) for terminal with UT Tweak Tool...

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

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  FP2andFP3-User @Luksus
                  last edited by

                  @luksus yes i run it from terminal....
                  I try
                  what is the second option to start it?

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    FP2andFP3-User @FP2andFP3-User
                    last edited by FP2andFP3-User

                    @Luksus

                    I see now the green and black backround picture from lineage and it will not go further....

                    I do this

                    sudo ubports-qa install xenial_-_android9_-_wayland
                    

                    and then

                    wget -O - https://github.com/Anbox-halium/anbox-halium/raw/lineage-17.1/scripts/install.sh | bash
                    

                    and after that

                    sudo /home/anbox/run-container.sh
                    

                    I'm not sure shall I do this before (sometimes I have done this before)

                    sudo mount -o rw,remount / 
                    

                    I have also installed the old anbox....

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      FP2andFP3-User @FP2andFP3-User
                      last edited by FP2andFP3-User

                      @fp2andfp3-user said in cannot install waydroid new anbox:

                      @Luksus

                      I see now the green and black backround picture from lineage and it will not go further....

                      I do this

                      sudo ubports-qa install xenial_-_android9_-_wayland
                      

                      and then

                      wget -O - https://github.com/Anbox-halium/anbox-halium/raw/lineage-17.1/scripts/install.sh | bash
                      

                      and after that

                      sudo /home/anbox/run-container.sh
                      

                      I'm not sure shall I do this before (sometimes I have done this before)

                      sudo mount -o rw,remount / 
                      

                      I have also installed the old anbox....

                      disabled "background suspension" and did it on rc-channel on FP3

                      LuksusL 1 Reply Last reply Reply Quote 0
                      • LuksusL Offline
                        Luksus @FP2andFP3-User
                        last edited by

                        @fp2andfp3-user

                        the second option is, to connect over usb/ssh and run the container from ssh session.

                        hm, I don't know if old anbox can cause issues here..
                        To be honest, I only tried it on the dev channel.
                        Also make sure to run the stop-command in a second terminal-tab to avoid issues, with hardware access from host-os.

                        So my attempt would be:

                        • remove /home/anbox
                        • install the ubports dev channel
                        • install waydroid using the install.sh script (like you already did)
                        • run container

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

                        F 1 Reply Last reply Reply Quote 0
                        • F Offline
                          FP2andFP3-User @Luksus
                          last edited by

                          @luksus thanks I will try it

                          F 1 Reply Last reply Reply Quote 0
                          • F Offline
                            FP2andFP3-User @FP2andFP3-User
                            last edited by FP2andFP3-User

                            @fp2andfp3-user wow now it runs....the setup perfect! Ok at the moment approximately only on dev channel.

                            Internet is also running it looks good first impression!

                            magdesignM 1 Reply Last reply Reply Quote 0
                            • magdesignM Offline
                              magdesign @FP2andFP3-User
                              last edited by

                              @fp2andfp3-user

                              Can you give us a quick step-by-step instruction?

                              like:

                              1. switch to rc channel (keep in mind this or that is not working)
                              2. download this... etc.

                              I guess this would be very helpful for a lot of useres 😉

                              Oneplus 6 (A6003)
                              UBports 16.04 RC 2021-W32

                              F 1 Reply Last reply Reply Quote 0
                              • F Offline
                                FP2andFP3-User @magdesign
                                last edited by

                                @magdesign
                                1: I switched to dev-channel
                                2: I installed like it Here described

                                https://github.com/Anbox-halium/anbox-halium
                                

                                wget -O - https://github.com/Anbox-halium/anbox-halium/raw/lineage-17.1/scripts/install.sh | bash

                                And then I have Started the container.

                                I have only Tried 3 apps

                                1: fdroid is running
                                2: signal is not running
                                3 threema is running With chat. No videocall.

                                I

                                magdesignM R 2 Replies Last reply Reply Quote 0
                                • magdesignM Offline
                                  magdesign @FP2andFP3-User
                                  last edited by

                                  @fp2andfp3-user
                                  Thank you so much!!
                                  I will test too... need somehow to get GPS with organicmaps running 😉

                                  Oneplus 6 (A6003)
                                  UBports 16.04 RC 2021-W32

                                  magdesignM 1 Reply Last reply Reply Quote 0
                                  • magdesignM Offline
                                    magdesign @magdesign
                                    last edited by magdesign

                                    @magdesign
                                    It works here too.. following your install steps... this is great 😉

                                    started container with:

                                    sudo /home/anbox/run-container.sh
                                    

                                    Internet working out of the box,
                                    f-droid installs without problems,
                                    opening the browser and going to youtube is causing a crash (just to mention),
                                    camera works,
                                    organicmaps installs without problems, but not getting any location yet...
                                    its enabled on waydroid but gps is currently broken on UBPorts Oneplus6 (hope to find a fix soon)...

                                    Will report further tests since the only Waydroid usecase is having offline maps...

                                    Edit:
                                    It seems that I am not able to reboot the phone after switching to RC channel... ;(

                                    Oneplus 6 (A6003)
                                    UBports 16.04 RC 2021-W32

                                    R 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      RapidRotator @FP2andFP3-User
                                      last edited by RapidRotator

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        RapidRotator @magdesign
                                        last edited by

                                        @fp2andfp3-user When I start waydroid as indicated, I see this output:

                                        phablet@ubuntu-phablet:~$ sudo /home/anbox/run-container.sh
                                        [sudo] password for phablet: 
                                        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 the screen goes black and the phone becomes unresponsive except for the power button, which allows me to reboot the phone.

                                        How do I install the required modules?

                                        AppLeeA 1 Reply Last reply Reply Quote 0
                                        • AppLeeA Offline
                                          AppLee @RapidRotator
                                          last edited by

                                          Hi @rapidrotator
                                          The thread has been mark as solved by its creator.
                                          If the instructions found here don't work for you I think it's best to open a dedicated thread for your own issue.

                                          It will be easier for other people seeking help to find what they're looking for.

                                          In your own thread you can refer to this one to show you followed instructions found here.

                                          Thanks for understanding.

                                          1 Reply Last reply Reply Quote 0
                                          • LakotaubpL Offline
                                            Lakotaubp
                                            last edited by

                                            There may also be help available here https://t.me/anbox_halium

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