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

    Anbox in OTA-16 Release Candidate

    Scheduled Pinned Locked Moved Solved General
    28 Posts 10 Posters 8.2k Views 3 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.
    • K Offline
      kugiigi @AntiDroid
      last edited by kugiigi

      @antidroid I think your purged the anbox tools that are used for installing actual anbox. Try Rodney's suggestion. To be fair, anbox documentation needs to be updated. Other stuffs there are not needed anymore like kernel installation.

      1 Reply Last reply Reply Quote 0
      • AntiDroidA Offline
        AntiDroid
        last edited by

        I had a chance to quickly test the release candidate again and on this boot the icons were gone so that seems to confirm they were left behind from the previous install.

        On stable when i try and remove anbox-ubuntu-touch it says it is not installed. But when i try on RC i get

        screenshot20210225_224537626.png

        Which you can see would remove ubuntu-touch, ubuntu-touch-core and ubnutu-touch-hybris which to me means it is deeply integrated in to the core of UT now and can not be removed.

        When I have enough time to run the RC channel (be without a stable phone) for more than a few minutes I will see if disabling anbox works.

        I hope the devs have solved the battery drain issues that Anbox is reported to cause or that just another reason Anbox should not be installed by default.

        TL;DR OTA-16 for certain devices does indeed include Anbox by default but it is not enabled. I only noticed because of residual .desktop files from a previous Anbox install.

        This is confirmed in the OTA-16 announcement,
        "Anbox packages are now included with Ubuntu Touch by default. This means that supported Anbox devices can use Anbox without installing more packages, and Anbox installations will no longer break with every Ubuntu Touch update."

        OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
        OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

        dobeyD 1 Reply Last reply Reply Quote 0
        • dobeyD Offline
          dobey @AntiDroid
          last edited by

          @antidroid said in Anbox in OTA-16 Release Candidate:

          I hope the devs have solved the battery drain issues that Anbox is reported to cause or that just another reason Anbox should not be installed by default.

          No, the battery issues are not solved. But again what is installed by default is only the components necessary for people to install and enable anbox. The anbox image and apps are not installed nor enabled by default.

          AntiDroidA 1 Reply Last reply Reply Quote 0
          • AntiDroidA Offline
            AntiDroid @dobey
            last edited by

            @dobey said in Anbox in OTA-16 Release Candidate:

            @antidroid said in Anbox in OTA-16 Release Candidate:

            I hope the devs have solved the battery drain issues that Anbox is reported to cause or that just another reason Anbox should not be installed by default.

            No, the battery issues are not solved. But again what is installed by default is only the components necessary for people to install and enable anbox. The anbox image and apps are not installed nor enabled by default.

            You are 100% correct. I just had to run one more test to confirm for myself.

            I ran

            apt list anbox*
            

            and got

            anbox/now 8+........... armhf [installed,local]
            anbox-common/now 8+........... all [installed,local]
            anbox-ubuntu-touch/now 8+........... all [installed,local]
            

            then I tried

            anbox-tool disable
            

            to which it says you need to run install

            So it looks like the only step you have to take to install a container with the Anbox system image is

            anbox-tool install
            

            Which should install a container with a minimal android system inside of it. As to why it saw my old Anbox .desktop files is still a mystery. I did not have any other components of Anbox installed on stable and the container and all of it's config files had been wiped. I should have tried running them before deleting them, it would have been obvious they were not linked to any programs.

            Conclusion :
            Everything required to install an instance of Anbox in a container on a OnePlus One Bacon (and a few other devices) is now installed but not active. It only appeared to be active for me because of residual .desktop files from previous Anbox tests.

            OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
            OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

            1 Reply Last reply Reply Quote 0
            • U Offline
              UdenGoogle
              last edited by

              I might comment in here that I cant see the point of getting the installation of Anbox and suddenly to get preinstalled so many useless apps from Android. Whats the point of it? It miught be a point, but I cant see it, sorry. It will be more awesome if we can decide by ourselves which apps we want, cause maybe we dont want any preinstalled?

              arubislanderA 1 Reply Last reply Reply Quote 0
              • arubislanderA Offline
                arubislander @UdenGoogle
                last edited by arubislander

                @udengoogle said in Anbox in OTA-16 Release Candidate:

                I cant see the point of getting the installation of Anbox and suddenly to get preinstalled so many useless apps from Android.

                A point might be to make it clear that Anbox has been installed correctly and to have a set of apps for a minimal test of what works and what doesn't in the particular installation.

                It might also simply be that a minimal image of android always has that set of applications included.

                It might be possible to modify this in the UT Anbox repos. But that just adds to the maintainance burden. So I would propose that questions about which apps are or are not included in a fresh install be raised in the upstream anbox project

                πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                Happily running Ubuntu Touch
                JingPad (24.04-1.x daily)
                OnePlus Nord N10 5G (24.04-2.x daily)
                PinePhone OG (20.04)
                Meizu Pro 5 (16.04 DEV)

                1 Reply Last reply Reply Quote 0
                • MoemM Offline
                  Moem @dobey
                  last edited by

                  @dobey said in Anbox in OTA-16 Release Candidate:

                  all you need to do is run sudo anbox-tool disable and then remove the ~/anbox-data/ directory and ~/.local/share/applications/anbox/ directories, and then the anbox apps and image should be gone from your device.

                  I'm having trouble with this. When I try to remove ~/anbox-data/ I get 'permission denied'. Any pointers please?

                  Is currently using an Op5t
                  Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                  stanwoodS 1 Reply Last reply Reply Quote 0
                  • stanwoodS Offline
                    stanwood @Moem
                    last edited by

                    @Moem The right key is:

                    sudo rm -rf ~/anbox-data/ ~/.local/share/applications/anbox/
                    

                    Then, there are desktop files named anbox* at ~/.local/share/applications which you can delete the apps on the drawer

                    Maybe try that way πŸ˜‰

                    Redmi Note 9S Stable
                    If God has a computer, it must be a GNU/Linux

                    MoemM 1 Reply Last reply Reply Quote 1
                    • MoemM Offline
                      Moem @stanwood
                      last edited by

                      @stanwood said in Anbox in OTA-16 Release Candidate:

                      Maybe try that way

                      THANK you! I feel a lot happier now! 🌞

                      Is currently using an Op5t
                      Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                      stanwoodS 1 Reply Last reply Reply Quote 1
                      • stanwoodS Offline
                        stanwood @Moem
                        last edited by

                        @moem You're welcome! πŸ˜‰

                        Redmi Note 9S Stable
                        If God has a computer, it must be a GNU/Linux

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better πŸ’—

                        Register Login
                        • First post
                          Last post