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

    Improve system settings disk usage analyzer

    Scheduled Pinned Locked Moved Design
    settingsanalyzermemorydiskspace
    98 Posts 17 Posters 27.3k Views 8 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.
      • flohackF Offline
        flohack
        last edited by flohack

        Wow so many replies πŸ™‚

        I love that improvement. Just to make sure we are also not only making a better UI but to also get a few numbers right here that probably were wrong since ever, and where people always complain they dont understand the huge amount of "used by Ubuntu" files:

        • First it should read "Used by Ubuntu Touch"

        Then, this is a bit complicated category:

        • Some space is just wasted by the partition layout
        • Some space is unused, even if it would be designated for the system, but its too small of a partition
        • Then you have the real system files
        • Some devices need to repurpose a part of data for their cache, since otherwise they cannot update properly.

        So the breakdown for any device could be calculated as follows:

        • Total space: 32GB
        • "Reserved space" new category: Total Space - size of userdata partition, lets say 27GB remain
        • "Used by Ubuntu Touch" the file /data/ubuntu.img if it exists plus the size of the /data/cache folder - lets say its 3.4GB
        • In this case, the user has still 23.6GB space to be allocated with Apps and data.

        Rest remains the same I think. On some devices ubuntu.img will not be there because their system partition is large enough to host that file. But, unfortunately, on some devices system partition is lets say only 2.5GB, too small, and it cannot be used. That space is kinda wasted then.

        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

        mymikeM 1 Reply Last reply Reply Quote 0
        • mymikeM Offline
          mymike @flohack
          last edited by

          @flohack said in Improve system settings disk usage analyzer:

          • First it should read "Used by Ubuntu Touch"

          Oh yeah, of course! How did we missed that one :grinning_face_with_sweat: ?

          • "Reserved space" new category: Total Space - size of userdata partition, lets say 27GB remain

          I think then people will start asking what is it reserved for... To be honest I don't like this naming that much but if you think it suits the category I'll go for it. Maybe I can put a little β„Ή icon that opens a little popup that explains the partition thing

          • "Used by Ubuntu Touch" the file /data/ubuntu.img if it exists plus the size of the /data/cache folder - lets say its 3.4GB

          I'll need to sort out how to do

          Rest remains the same I think. On some devices ubuntu.img will not be there because their system partition is large enough to host that file. But, unfortunately, on some devices system partition is lets say only 2.5GB, too small, and it cannot be used. That space is kinda wasted then.

          How this should be handled then?

          Thank you for your inputs on this Flo πŸ™

          mateo_saltaM 1 Reply Last reply Reply Quote 0
          • mateo_saltaM Offline
            mateo_salta @mymike
            last edited by

            "Resevered for System Usage" ?

            1 Reply Last reply Reply Quote 0
            • AppLeeA Offline
              AppLee
              last edited by

              "Wasted due to former OS" πŸ˜‰

              1 Reply Last reply Reply Quote 1
              • flohackF Offline
                flohack
                last edited by

                I think we should be very clear about what size is consumed by our installation, and whats just reserved by Android partitioning. You know we get the bad press "UT consumes 8GB space for nothing" when in fact its much less. We want to be as transparent as possible.

                I dont think people will be confused by that, you could also call it "Reserved Android partitions" maybe. BUt make clear how much space the actual installation takes up.

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                1 Reply Last reply Reply Quote 1
                • C Offline
                  Capsia
                  last edited by

                  Hello! I liked this designs very much. Is there any news? πŸ™‚

                  1 Reply Last reply Reply Quote 1
                  • D domubpkm referenced this topic on
                  • KenedaK Offline
                    Keneda
                    last edited by

                    Wow, what a usefull work you did @mymike !
                    How can i missed this thread...

                    I will just up it with link to one of your post : https://forums.ubports.com/post/57940

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                    πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                    1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack
                      last edited by

                      Its merged to devel now πŸ˜‰

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        domubpkm @flohack
                        last edited by

                        @flohack Is the worked shown in OTA-21 project ? I don't see it.

                        danfroD 2 Replies Last reply Reply Quote 0
                        • danfroD Offline
                          danfro @domubpkm
                          last edited by

                          @domubpkm No. As Florian said, this is available in devel channel. OTA20 was made available in stable channel last week.

                          For a short description of the channels please see our FAQ Telegram channel: https://t.me/UTFAQ/36

                          I can confirm it landed in todays devel. My opinion: neat! Looks great. Well done @mymike .

                          1 Reply Last reply Reply Quote 0
                          • danfroD Offline
                            danfro @domubpkm
                            last edited by

                            @domubpkm Oh, sorry. You said OTA 21. My mistake.

                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              domubpkm @danfro
                              last edited by

                              @danfro πŸ™‚

                              1 Reply Last reply Reply Quote 0
                              • danfroD Offline
                                danfro @mymike
                                last edited by

                                @mymike The disk usage part is already available in devel and is going to land in the next OTA. Nice!

                                Is there any ETA when the other part with clearing apps cache, settings and data is going to be available?

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

                                  @danfro unfortunately as @mymike knows, on Pixel 3a (Halium 9 device) new categories display is kinda broken, maybe due to the fact that an Anbox (Waydroid?) partition isn't available. Hope this will be fixed in the long run. Thanks to Michele for the great job anyways. Matteo

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

                                    This post is deleted!
                                    danfroD 1 Reply Last reply Reply Quote 0
                                    • danfroD Offline
                                      danfro @Guest
                                      last edited by

                                      @dpitti Can you please

                                      1. delete this entirely unrelated post here
                                      2. stop spamming the forum with post like this one
                                        Otherwise you might get banned here too, as has already happened in some Telegram groups. @arubislander
                                      1 Reply Last reply Reply Quote 0
                                      • LakotaubpL Offline
                                        Lakotaubp
                                        last edited by

                                        @DPITTI Please take note of danfros comments and keep things relevant to the thread you are posting in. Thanks

                                        1 Reply Last reply Reply Quote 0
                                        • danfroD Offline
                                          danfro @mymike
                                          last edited by

                                          @mymike Just remembered this (old, old) discussion and your work for app clearup options in system settings. Wondering what did happen to that? πŸ€” That would be such a great thing to have "native".

                                          flohackF mymikeM 2 Replies Last reply Reply Quote 0
                                          • flohackF Offline
                                            flohack @danfro
                                            last edited by

                                            @danfro Specifically, removing App data for Apps no longer being installed. I got quite a ton of those πŸ˜›

                                            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                            1 Reply Last reply Reply Quote 0
                                            • mymikeM Offline
                                              mymike @danfro
                                              last edited by

                                              Hi @danfro ! Yeah, I'm sorry but I'm less motivated in developing for UT than few years ago :loudly_crying_face:, even though I still follow and contribute to this fantastic project!
                                              It's on my to do list and I'd like to say I'll work on it soon, but that would be rather unrealistic...

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