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

How to increase cache partition ( or any partition ) on Ubuntu Touch phone? Question.

Scheduled Pinned Locked Moved Support
21 Posts 3 Posters 7.5k Views 2 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
      mihael
      last edited by 25 Jan 2018, 20:35

      From terminal even...

      I don't know... Mine shows

      /dev/disk/by-partlabel/cache     679M  768K  664M   1% /android/cache
      
      S 1 Reply Last reply 25 Jan 2018, 20:43 Reply Quote 0
      • S Offline
        Stefano @mihael
        last edited by Stefano 25 Jan 2018, 20:43

        @mihael for some reason it did not change/save even after I saved id with w and rebooted and formated the cache ???
        Device Start End Sectors Size Type
        /dev/block/sda1 1024 1279 256 1M Microsoft basic data
        /dev/block/sda2 1280 1343 64 256K Microsoft basic data
        /dev/block/sda3 1344 1407 64 256K Microsoft basic data
        /dev/block/sda21 2048 3071 1024 4M Microsoft basic data
        /dev/block/sda22 3072 5119 2048 8M Microsoft basic data
        /dev/block/sda23 5120 5631 512 2M Microsoft basic data
        /dev/block/sda24 5632 6655 1024 4M Microsoft basic data
        /dev/block/sda25 6656 7679 1024 4M Microsoft basic data
        /dev/block/sda26 7680 13823 6144 24M Microsoft basic data
        /dev/block/sda27 13824 22015 8192 32M Microsoft basic data
        /dev/block/sda28 22016 30207 8192 32M Microsoft basic data
        /dev/block/sda29 30208 35327 5120 20M Microsoft basic data
        /dev/block/sda30 35328 40447 5120 20M Microsoft basic data
        /dev/block/sda31 40448 45567 5120 20M Microsoft basic data
        /dev/block/sda32 45568 50687 5120 20M Microsoft basic data
        /dev/block/sda33 50688 55807 5120 20M Microsoft basic data
        /dev/block/sda41 65536 720895 655360 2.5G Microsoft basic data
        /dev/block/sda42 720896 851967 131072 512M Microsoft basic data
        /dev/block/sda43 851968 983039 131072 512M Microsoft basic data
        /dev/block/sda44 983040 7633914 6650875 25.4G Microsoft basic data

        But when I saved it the table was this:

        dev/block/sda21 2048 3071 1024 4M Microsoft basic data
        /dev/block/sda22 3072 5119 2048 8M Microsoft basic data
        /dev/block/sda23 5120 5631 512 2M Microsoft basic data
        /dev/block/sda24 5632 6655 1024 4M Microsoft basic data
        /dev/block/sda25 6656 7679 1024 4M Microsoft basic data
        /dev/block/sda26 7680 13823 6144 24M Microsoft basic data
        /dev/block/sda27 13824 22015 8192 32M Microsoft basic data
        /dev/block/sda28 22016 30207 8192 32M Microsoft basic data
        /dev/block/sda29 30208 35327 5120 20M Microsoft basic data
        /dev/block/sda30 35328 40447 5120 20M Microsoft basic data
        /dev/block/sda31 40448 45567 5120 20M Microsoft basic data
        /dev/block/sda32 45568 50687 5120 20M Microsoft basic data
        /dev/block/sda33 50688 55807 5120 20M Microsoft basic data
        /dev/block/sda41 65536 720895 655360 2.5G Microsoft basic data
        /dev/block/sda42 720896 797700 76805 300M Microsoft basic data
        /dev/block/sda43 797952 983039 185088 723M Microsoft basic data
        /dev/block/sda44 983040 7633914 6650875 25.4G Microsoft basic data

        SO WHAT NOW, WHY IT DID NOT SAVE???

        1 Reply Last reply Reply Quote 0
        • M Offline
          mihael
          last edited by 25 Jan 2018, 21:26

          I'm sorry, I really don't know... Maybe it's some linux issue that someone with more experience could shed light upon...

          1 Reply Last reply Reply Quote 0
          • M Offline
            mihael
            last edited by 25 Jan 2018, 22:16

            What does df -h from twrp console show?

            S 2 Replies Last reply 26 Jan 2018, 07:28 Reply Quote 0
            • S Offline
              Stefano @mihael
              last edited by Stefano 26 Jan 2018, 07:28

              @mihael Did you do it on the phone TWRP terminal or via adb? I mean the whole repartitioning. Cos I have used adb shell for it.

              1 Reply Last reply Reply Quote 0
              • S Offline
                Stefano @mihael
                last edited by 26 Jan 2018, 07:29

                @mihael /dev/disk/by-partlabel/cache 496M 4.2M 482M 1% /android/cache

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mihael
                  last edited by 26 Jan 2018, 08:12

                  @Stefano I believe I did it through ssh...

                  S 1 Reply Last reply 26 Jan 2018, 08:39 Reply Quote 0
                  • S Offline
                    Stefano @mihael
                    last edited by 26 Jan 2018, 08:39

                    @mihael I give it a try again later, maybe I'll figure it out. (will try with TWRP terminal as well)

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mihael
                      last edited by 26 Jan 2018, 08:48

                      Let me know...

                      S 1 Reply Last reply 26 Jan 2018, 19:56 Reply Quote 0
                      • S Offline
                        Stefano @mihael
                        last edited by 26 Jan 2018, 19:56

                        @mihael I managed to do it. The problem was that I did not format the newly created partitions properly and did not change the names of them as I did not seen such an option in fdisk , but, there is an expert menu under ,x, and there is option to rename. After I renamed it, I format it and now it shows partition 43 = 723m, so I think that should suffice. Will try now to flash 16.04 now, we'll see what happens now! Thank you a lot for your help.

                        Edit. It flashed 16.04 without failing in recovery 🙂 🙂 🙂

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mihael
                          last edited by 26 Jan 2018, 20:42

                          @Stefano Wonderful!!! Thank you too for all your posts!

                          1 Reply Last reply Reply Quote 1
                          20 out of 21
                          • First post
                            20/21
                            Last post