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.
      • AppLeeA Offline
        AppLee @reeered
        last edited by

        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 Reply Quote 0
        • R Offline
          reeered @Keneda
          last edited by

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

          KenedaK 1 Reply Last reply Reply Quote 0
          • R Offline
            reeered @AppLee
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • KenedaK Offline
              Keneda @reeered
              last edited by Keneda

              @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 Reply Quote 0
              • R Offline
                reeered @Keneda
                last edited by

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

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

                  @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 Reply Quote 0
                  • R Offline
                    reeered @arubislander
                    last edited by

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

                    KenedaK 1 Reply Last reply Reply Quote 0
                    • KenedaK Offline
                      Keneda @reeered
                      last edited by Keneda

                      @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 Reply Quote 0
                      • R Offline
                        reeered @Keneda
                        last edited by

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

                        KenedaK 1 Reply Last reply Reply Quote 0
                        • KenedaK Offline
                          Keneda @reeered
                          last edited by

                          @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
                          • klhK Offline
                            klh
                            last edited by

                            @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
                            • MrT10001M MrT10001 referenced this topic on
                            • First post
                              Last post