• 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 expand the root partition ?

Scheduled Pinned Locked Moved Xiaomi
13 Posts 5 Posters 1.2k 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.
    • K Offline
      Keneda @reeered
      last edited by Keneda 8 Oct 2023, 13:01 10 Aug 2023, 12:58

      @reeered
      https://forums.ubports.com/topic/9226/resize-expand-2gb-root

      For fixing your device reinstall using ubports installer.

      2015-2023 : Meizu MX4 ☠️⚰️✝️
      2023-2024 : Nexus 5 ☠️⚰️✝️
      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
      🇲🇫🇬🇧

      R 1 Reply Last reply 10 Aug 2023, 14:37 Reply Quote 1
      • C CiberSheep moved this topic from General on 10 Aug 2023, 13:03
      • A Offline
        AppLee @reeered
        last edited by 10 Aug 2023, 13:04

        Hi @reeered and welcome

        I was going to refer you to the link Keneda already sent (damn he's fast).

        So I would avoid messing with the partition size as you risk bricking your device with an update.
        The best course of action is to use the userdata partition and to make it work.

        You can link folder in /opt to /userdata

        But when someone asks question about this stuff it's often because this is above their skill-set.
        So my advice is not to try anything that can make it worse.

        Trying to hack the OS this way is a dangerous endeavor. Be sure that you understand what you're doing.

        R 1 Reply Last reply 10 Aug 2023, 14:40 Reply Quote 0
        • R Offline
          reeered @Keneda
          last edited by 10 Aug 2023, 14:37

          @Keneda It seems has been bricked😿 , ubports didn't work. It may because I use " parted " to delete userdata partition 😿 😿 😿 😿 😿 😿 😿 😿

          K 1 Reply Last reply 10 Aug 2023, 15:06 Reply Quote 0
          • R Offline
            reeered @AppLee
            last edited by 10 Aug 2023, 14:40

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • K Offline
              Keneda @reeered
              last edited by Keneda 8 Oct 2023, 15:08 10 Aug 2023, 15:06

              @reeered
              If there is a Xiaomi rescue tool use it to reinstall the right android for installing UT then reinstall UT using ubports installer.

              I can't say much more as partitioning is above my skills.

              Maybe wait for more skilled users to give you advices before doing anything 😅

              2015-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
              🇲🇫🇬🇧

              R 1 Reply Last reply 10 Aug 2023, 15:33 Reply Quote 0
              • R Offline
                reeered @Keneda
                last edited by 10 Aug 2023, 15:33

                @Keneda NEVER TRY PARTITION!!!!!!!!!!!!!😭 😭 😭 😭 😭 😭 😭 😭 😭 😭

                1 Reply Last reply Reply Quote 0
                • A Offline
                  arubislander @reeered
                  last edited by 10 Aug 2023, 18:18

                  @reeered when you get your device back to a working condition, about all those Python packages installed in /opt. Is it possible to install them locally in your home folder?

                  🇦🇼 🇳🇱 🇺🇸 🇪🇸
                  Happily running Ubuntu Touch
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

                  R 1 Reply Last reply 11 Aug 2023, 01:30 Reply Quote 0
                  • R Offline
                    reeered @arubislander
                    last edited by 11 Aug 2023, 01:30

                    @arubislander ok, I will hava a try to store Python in /userdata if I could reboot my device:cat_face_with_tears_of_joy:

                    K 1 Reply Last reply 11 Aug 2023, 02:12 Reply Quote 0
                    • K Offline
                      Keneda @reeered
                      last edited by Keneda 8 Nov 2023, 02:14 11 Aug 2023, 02:12

                      @reeered
                      I don't know if it works for python, but maybe you could ask to @Fuseteam that devs this tool, take a look at this : https://forums.ubports.com/topic/6283/snap-crackle-and-pop-readwrite-rootfs-is-overrated?_=1691694874642

                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                      2023-2024 : Nexus 5 ☠️⚰️✝️
                      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                      🇲🇫🇬🇧

                      R 1 Reply Last reply 12 Aug 2023, 05:45 Reply Quote 0
                      • R Offline
                        reeered @Keneda
                        last edited by 12 Aug 2023, 05:45

                        @Keneda Thank you. But now I have resolve my problem by partitioning haha

                        K 1 Reply Last reply 12 Aug 2023, 09:20 Reply Quote 0
                        • K Offline
                          Keneda @reeered
                          last edited by 12 Aug 2023, 09:20

                          @reeered
                          That is not to solve your problem.
                          That is to install some command line tools or apps in a way you don't have to mess with root FS or partitioning on an Ubuntu Touch device.

                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                          2023-2024 : Nexus 5 ☠️⚰️✝️
                          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                          🇲🇫🇬🇧

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            klh
                            last edited by 13 Aug 2023, 12:13

                            @reeered start by restoring your device with Xiaomi's tool: https://forum.xda-developers.com/t/miflash-guide-use-xiaomi-flash-tool.4262425/

                            1 Reply Last reply Reply Quote 1
                            • M MrT10001 referenced this topic on 5 Mar 2025, 17:40
                            11 out of 13
                            • First post
                              11/13
                              Last post