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

    Anbox: device offline

    Scheduled Pinned Locked Moved Unsolved Support
    8 Posts 3 Posters 868 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

        Since Waydroid is not (easily) available for my OnePlus 3, I installed Anbox using the instructions at https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html#run-anbox-installer.

        However, when I try to install an app using adb install, it sits waiting for devices, and then times out.

        adb devices on my phone responds with:

        List of devices attached
        emulator-5558   offline
        

        I tried adb start-server but I can't seem to get it running. Also, when I start one of the default apps, all I get is a black screen.

        What do I do to start the adb server?

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

          @rapidrotator Hi again 😉
          What is the result of # anbox-tool status ?

          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

            @luksus

            Kernel: OK
            System: OK
            Enabled: YES
            Running: YES
            

            Now I'm confused.

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

              @rapidrotator hmmmm...
              Perhaps try to reinstall anbox with anbox-tool? Or did you install it just now?
              Did you reboot in between?

              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

                @luksus I installed it an hour ago, and did a reboot, yes.

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

                  @rapidrotator hm no idea then...
                  Perhaps try to watch the different options of anbox-tool with # anbox-tool --help .
                  Perhaps anbox-tool disable and after it anbox-tool enable.
                  Or maybe adb is deactivated, but you still are able to install apps using anbox-tool app-install?

                  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

                    @luksus Yes, using sudo I van install F-Droid.apk but it doesn't show up in the drawer.

                    1 Reply Last reply Reply Quote 0
                    • CodenulC Offline
                      Codenul
                      last edited by

                      Phone : OnePlus One

                      I have recetly installed Anbox on my phone while waiting for Waydroid to mature more. Hopefully its easy to switch over when it comes times.

                      In doing so, one thing i have noticed is what OP os talking about. Usually what i have to do is run

                      adb kill-server
                      

                      Reboot the phone and then try

                      adb devices
                      

                      and that should show your device with it being online

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