Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Android tools takes up too much space (solved)

    Support
    android nexus 5
    3
    6
    398
    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.
    • budrz
      budrz last edited by Lakotaubp

      Hi,

      I managed to get an android install set up on my Nexus 5, but now df is telling me that there is no space left on /. Doing

      sudo du -skh / | sort -r -h | head -n 10
      

      prints

      2.0G    userdata
      1.4G    usr
      768M    home
      410M    var
      146M    android
      35M     lib
      7.5M    sbin
      7.3M    etc
      6.9M    bin
      1.9M    run
      

      Not sure if there's anything that can be done about this without removing the android install. Is this going to be a problem?

      AppLee 1 Reply Last reply Reply Quote 0
      • AppLee
        AppLee @budrz last edited by

        @budrz
        I don't understand.
        If by "android install" you mean anbox then yes it takes some space and as all experimental tools use it at your own risk.

        1 Reply Last reply Reply Quote 0
        • budrz
          budrz last edited by budrz

          By 'android install' I mean

          $ sudo apt install anbox-ubuntu-touch
          

          followed by

          $ anbox-tool install
          

          I am noticing that the space problem doesn't seem to affect my ability to install UT apps despite the space issue. I don't understand how that is since it's sharing the same space. Is the data somehow partitioned or is a container where it won't affect my UT space?

          dobey 1 Reply Last reply Reply Quote 0
          • dobey
            dobey @budrz last edited by

            @budrz said in Android tools takes up too much space:

            Is the data somehow partitioned or is a container where it won't affect my UT space?

            Yes. The rootfs is a readonly loopback image, which has a set size. UT apps (click packages) are installed elsewhere, and Libertine is a container under the home directory, as is the anbox image.

            budrz 1 Reply Last reply Reply Quote 0
            • budrz
              budrz @dobey last edited by budrz

              @dobey I see. Thanks for clarifying!

              I was worried that I ran out of space to do anything.

              1 Reply Last reply Reply Quote 0
              • budrz
                budrz last edited by

                FYI for those that are having the same issue with 'not enough free space', see this post.

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