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

Recreate partition table for UT

Scheduled Pinned Locked Moved Support
7 Posts 4 Posters 460 Views 1 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
      marek_python
      last edited by marek_python 4 Apr 2020, 08:04 3 Apr 2020, 20:48

      Hi community,

      I've got confession to make. I messed up big time when I was trying to resize partitions for UT on my Meizu 5 pro. It got to the point where the phone won't mount partitions. I admit I'm tired. I've spent so much time with this and for nothing. I've got access to TWRP recovery as well as unlocked bootloader.

      Is there a way to recreate the partition table for UT without me doing all the legwork ? Like run an installer from bootloader that will create appropriate partitions for me ?

      With disappointment I'm realizing that I need functional partitions in order to flash ROM and everything else.

      I'm gonna follow this https://forums.ubports.com/topic/2755/meizu-pro-5-flyme-os-to-ubuntu-touch-modem-update-fingerprint-function and hopefully I'll see light at the end of the tunnel.

      A 1 Reply Last reply 4 Apr 2020, 08:48 Reply Quote 0
      • A Offline
        AppLee @marek_python
        last edited by 4 Apr 2020, 08:48

        @marek_python
        I'll recommend to start over, it's probably the easiest way.
        Why have you tried to resize the partition in the first place?
        Messing with the partition size is not supported and you'll have issues with OTAs.

        M 1 Reply Last reply 4 Apr 2020, 10:46 Reply Quote 0
        • M Offline
          marek_python
          last edited by 4 Apr 2020, 10:38

          I had to mess with partition size 'coz it had very little room for cache and recommended size for cache partition is somewhere between 700MB - 2GB.

          1 Reply Last reply Reply Quote 0
          • M Offline
            marek_python @AppLee
            last edited by marek_python 4 Apr 2020, 11:07 4 Apr 2020, 10:46

            @AppLee Is there a way to assign new created partition to specific number ? Like "cache" to sda43 ? I'm asking 'coz Parted assigns numbers to new partitions chronologically by default. I can't see the option of giving new "cache" partition the partition number 43. That will mess up the mounting of the partition.
            imageedit_1_4820005601.png

            1 Reply Last reply Reply Quote 0
            • M Offline
              mihael
              last edited by 4 Apr 2020, 12:10

              Maybe the path I took to resize the cache partition on my device will help you with an idea of how you can recreate your partitions: https://forums.ubports.com/topic/927/how-to-increase-cache-partition-or-any-partition-on-ubuntu-touch-phone-question?_=1586002103147

              1 Reply Last reply Reply Quote 0
              • M Offline
                marek_python
                last edited by 4 Apr 2020, 13:56

                OK guys ... I've managed to put my phone into working condition again. I got to the point where I was able to flash it with UT image and UT recovery. Both successfully. No errors. However I'm now stuck at this:
                imageedit_1_5938799877.png
                The phone boots into recovery but all I see is the Ubuntu logo in the centre of the screen and that's all. It doesn't give me option to tap into terminal.

                recorded here: https://www.dropbox.com/s/xdkyfixgszbkkfa/DSCN0002.AVI?dl=0

                Any suggestions ?

                S 1 Reply Last reply 4 Apr 2020, 19:30 Reply Quote 0
                • S Offline
                  Stefano @marek_python
                  last edited by Stefano 4 Apr 2020, 19:30 4 Apr 2020, 19:30

                  @marek_python use Terminal from within running UBUNTU TOUCH operating system, yes, it works that way. No TWRP is needed. ( only for a full backup if wanted , you can always reflash UT recovery afterwards )

                  1 Reply Last reply Reply Quote 0
                  4 out of 7
                  • First post
                    4/7
                    Last post