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 209.2k 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.
      • M Offline
        matteo
        last edited by

        @mihael and @Stefano before trying myself again to test Anbox with the updated Turbo image, could you kindly confirm to me which issues have been resolved according to the following Anbox issue filed on Github?

        https://github.com/ubports/ubuntu-touch/issues/774

        Thank you.

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

          @matteo I wrote in that github issue as well: IMEI, SIM and Camera work. I still have to check GPS. There is a battery drain which I will detail bellow.

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

            There is a constant battery drainage which occurs now after installing anbox. @mariogrip Could it be something related to the kernel? - like maybe it doesn't know how to go into standby or something... It is not related to using the phone or having the android apps on or even the android container on - it is the same drainage even when the container is not on and I cannot start the android apps.
            0_1537469994631_battery_drain.png

            B T mariogripM S 4 Replies Last reply Reply Quote 1
            • B Offline
              BryWilson @mihael
              last edited by

              Hey @mihael, that's interesting - I'm on a Meizu Pro 5 (16.04/devel) with Anbox installed - and my battery profile is seemingly utterly unaffected. I fully charged three hours ago - and I'm at 98% now.

              Although, I did disable anbox (with "anbox-tool disable")...

              mihaelM 1 Reply Last reply Reply Quote 0
              • J Offline
                joe @nfsprodriver
                last edited by

                @nfsprodriver said in Development testers for Anbox:

                On N5 I recognized: Installing System updates seem to cause the reinstallation of the native kernel. This causes a disfunctionallity of anbox and heating of your device (100% CPU). I recommend to disable automatic System updates.

                @mariogrip maybe this ^ above case is what happened here:
                https://github.com/ubports/anbox/issues/10

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tricky @mihael
                  last edited by

                  @mihael My OPO is not affected by this issue. One of my Anbox apps has been running for ~24 hours and my battery statistics looks the same as without Anbox installed.

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

                    I also wanted to add that my battery life in Hammerhead with the custom kernel and anbox seems to run just fine. No battery drain, everything is normal. Happy with the results because this was one of the first things that I was most worry about it but so far so good.

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

                      @brywilson anbox-tool disable does the trick! Thanks! The battery consumption is now back to normal...

                      mariogripM 1 Reply Last reply Reply Quote 0
                      • M Offline
                        matteo @mihael
                        last edited by

                        @mihael that's a great news! Thank you for reporting me also on Github, I appreciate.
                        Nonetheless, I'll wait a little bit more prior to install Anbox again, because this time I'd like to be sure not having big surprises 😜

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