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

    Development testers for Anbox

    Scheduled Pinned Locked Moved OS
    222 Posts 72 Posters 220.9k Views 16 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.
      • mariogripM Offline
        mariogrip Administrators @mihael
        last edited by

        @mihael Did you install any android apps? since android allow background services so they would run in the background, this is something we can make more strict later (with options). Since my testing running "just anbox" without any extra apps installed is good.

        mihaelM S 2 Replies Last reply Reply Quote 0
        • mariogripM Offline
          mariogrip Administrators @mihael
          last edited by mariogrip

          @mihael anbox disable stops all anbox services[0], so if that work we can rule out that the kernel is an issue. I would assume its an android app stealing your battery, but if you don't have other apps then per-installed please tell me then i need to dig into it.

          [0] Anbox consists of two always running services, one root service that creates and managers the container itself (anbox-container) and one running as users acting as the fronted providing the container with graphics windows, audio, scaling etc (anbox-session).

          1 Reply Last reply Reply Quote 2
          • mihaelM Offline
            mihael @mariogrip
            last edited by

            @mariogrip Thank you for all the help! Yes, I installed WhatsApp and Viber. Do you thing the battery drainage might be because of these two apps?

            Yes, anbox-tool disable stops the battery drainage so is definitely not the kernel's fault.

            I was misled by the situations when android apps would not start (thinking this is because of the container not running) but the battery drainage being still constant. Later I discovered that the services can be stopped with anbox-tool disable and then battery drainage stops.

            There is still this question: sometimes the android apps would not start and I cannot login into the container and then my only solution is to restart the device. Is there a command to restart the android services or the container or something?

            Again, thank you!

            1 Reply Last reply Reply Quote 1
            • A Offline
              Alkis
              last edited by Alkis

              was anyone able to update FDroid's repos? Because I can't.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                Stefano @mihael
                last edited by

                @mihael Yes, there is a high battery drain while Anbox is runnning, even whith no open app(android)
                I installed some other apps as well.
                When : sudo anbox-tool disable.
                the battery drain stops, or get's back to normal.

                1 Reply Last reply Reply Quote 1
                • S Offline
                  Stefano @mariogrip
                  last edited by

                  @mariogrip works like a charm. Mobile and wifi connections works normal.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Stefano @mariogrip
                    last edited by

                    @mariogrip Any chance to implement Lineage Privacy Guard where we can disable startup apps and/or control the permissions?

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Stefano @mariogrip
                      last edited by

                      @mariogrip My android apps that require network access(mobile data, wifi) can't connect to internet.

                      mihaelM 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Stefano @Alkis
                        last edited by

                        @alkis My Fdroid works just fine, downloading apps, installing, updating(Fdroid itself updated just fine)

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          malditobastardo
                          last edited by malditobastardo

                          Hi, any idea how to uninstall single apps? I just messed up my anbox by installing a "Booking.com" app and now I want to just delete it because it goes crazy. Thank you

                          S ? 2 Replies Last reply Reply Quote 0
                          • mihaelM Offline
                            mihael @Stefano
                            last edited by

                            @stefano Whatsapp and Viber work for me...

                            S W 2 Replies Last reply Reply Quote 0
                            • S Offline
                              Stefano @mihael
                              last edited by

                              @mihael That's interesting. Have you tried Chrome, Chromium or any other Browser? It just hangs here.

                              mihaelM 1 Reply Last reply Reply Quote 0
                              • S Offline
                                Stefano @malditobastardo
                                last edited by

                                @malditobastardo install Root Uninnstaller app and then its easy.

                                1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @malditobastardo
                                  last edited by A Former User

                                  @malditobastardo You can do this also when you do this:

                                  adb shell
                                  sudo mount -o rw,remount /
                                  sudo apt update
                                  sudo apt install android-tools-adb
                                  anbox-tool app-list
                                  this is a example of the app-list installed apps on your device:
                                  Aftershock (com.asvcorp.aftershock)
                                  adb uninstall com.asvcorp.aftershock

                                  M 1 Reply Last reply Reply Quote 0
                                  • mihaelM Offline
                                    mihael @Stefano
                                    last edited by

                                    @stefano Chrome doesn't work. Opera mini neither...

                                    1 Reply Last reply Reply Quote 1
                                    • J Offline
                                      joe
                                      last edited by

                                      So how would one uninstall anbox completely?

                                      S 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        joe
                                        last edited by

                                        Not sure if a bug or not, but when I run:

                                        sudo lxc-console -ndefault -P /home/phablet/anbox-data/containers -t0

                                        The out put is:
                                        https://pastebin.ubuntu.com/p/bxDsZ4Qv3z/

                                        And it keeps looping over and over...

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          Stefano @joe
                                          last edited by Stefano

                                          @joe sudo apt remove anbox-tool
                                          sudo apt purge anbox-tool
                                          ???
                                          Flash it over with Ubports installer without wipe?

                                          J 1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            malditobastardo @Guest
                                            last edited by

                                            @xray2000 Thank you a lot, this worked perfectly 🙂

                                            @Stefano thanks for your tip I will try it next time

                                            1 Reply Last reply Reply Quote 0
                                            • zx81Z Offline
                                              zx81
                                              last edited by

                                              Hi
                                              i'm having a play around with my pro 5 and trying to install Anbox to see what works etc
                                              for some reason it seems to have got stuck on the install at his point and keep getting this reply :

                                              "sudo fastboot flash boot anbox-boot-turbo.img
                                              [sudo] password for ****:
                                              sudo: fastboot: command not found"

                                              am i doing something wrong here ?

                                              thanks
                                              p.s i'm fairly new to all this and am using terminal on linux mint if that has any bearing on things ?

                                              Somewhere, the sun is shining ☀

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