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

    problems flashing UBports on Meizu PRO 5 (Android international edition)

    Scheduled Pinned Locked Moved Support
    39 Posts 9 Posters 13.3k 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.
      • B Offline
        BlandCorporation
        last edited by

        Dude thank you so much for your guidance! Your instructions worked perfectly (a minor note for others reading is that the sda43 partition should be named "cache"). I've now got a nifty partition table all set up for 16.04. 😄

        I'm currently fighting with the UBports Installer and ubuntu-device-flash to try to get actual flashing of UBports system images to the device working (still the only working system has arisen from your TWRP backup). I've no idea what's wrong, but am wondering if there's an ADB authorization problem preventing the installers/flashers from working. I may try getting a UBports 16.04 image and manually transferring files from it to partitions on the device using the TWRP terminal...

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          Stefano @BlandCorporation
          last edited by

          @blandcorporation I might do a new16.04 backup of fresh install and upload it, then you can try to restore it and later update it.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Stefano @BlandCorporation
            last edited by Stefano

            @blandcorporation Here is the 16.04 PRO 5 latest backup zip file, unpack it, put it to your TWRP backup folder and restore.
            https://drive.google.com/file/d/1e91EPP0RfP3T8xFsNH26f4ORNeJbz__A/view?usp=sharing

            M 1 Reply Last reply Reply Quote 0
            • B Offline
              BlandCorporation
              last edited by

              My goodness, thanks again! Genuinely thanks for your guidance on this. It is hugely appreciated. 😄

              I actually went and manually downloaded the partition images for 16.04 and (carefully) extracted them on the phone and that worked also. I'm now happily running UBports 16.04 development with Anbox. I can't believe what I'm seeing. What the UBports team has achieved is amazing!

              1 Reply Last reply Reply Quote 2
              • M Offline
                Marathon2422 @Stefano
                last edited by

                @stefano oow thats tempting

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TartanSpartan @Stefano
                  last edited by TartanSpartan

                  @stefano Hi there. I am trying to resize my 64GB Pro 5's partition table to enable me to install Xenial. I installed TWRP again and did an adb shell on my desktop. Following your guide, I get to chroot /system /bin/bash and then the prompt says "bash: groups: command not found". Then the user in the prompt changes to "root@localhost:/#". I then tried the command again and now it says "bash: chroot: command not found". Puzzled, I tried to do it from TWRP's integrated terminal, straight on the phone. Is there a reason a host PC has to do it via ADB, though? Then on TWRP the command returned "bash: groups: command not found", "bash: lesspipe: command not found" and "bash: dircolors: command not found". Are any of these warnings problematic enough for me to not be able to resize the partitions without correcting for them?

                  Furthermore, can anyone list the exact metrics of their sda41 through sda44 partitions after a succesful resize on a 64GB model? The start and end points, the size, etc?

                  Note: I came back to edit this message because the browser on my M10 often cuts out because of too many tabs, so I didn't want to lose it and made it a work in progress.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Stefano @TartanSpartan
                    last edited by

                    @tartanspartan just read the post about, you'll understand it.

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      TartanSpartan @Stefano
                      last edited by

                      @stefano As is now clear I elaborated on my problem. The guide does not cater for these issues. Can you please read what I said and see if you can help me?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Stefano @TartanSpartan
                        last edited by

                        @tartanspartan yeah, it might trow out some errors, but should be ok to continue with resizing. It thrown errors for me too.
                        With exact sda41 up to sda44 I can't help as I only have 32Gb version of Pro 5. Maybe some else could help?

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Math
                          last edited by

                          @Stefano : Hello. I try to put my Pro 5 15.04 in 16.04 (formerly Android) but I can't.
                          I tried with your method to increase the cache but I have too much error message.
                          I wonder if you received an echo with the use of gparted. if it works or not.

                          And second query, if I turn everything except TWRP, will it work with "ubports-installer" or I would still have to increase the cache?

                          thank you in advance

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            Stefano @Math
                            last edited by

                            @math if you follow the guide carefully, you should be able to resize the .cache partition. Ignore the error messages and just continue.

                            By restoring the Backup 16.04 stable with TWRP, just download it, unpack it and then restore it. Afterwards, you'll only need to flash Ubuntu Recovery with fastboot.
                            But, the future updates (OTA-stable, rc, devel ) might fail due the size of the .cache (if you don't resize it before) , otherwise you should be able to use Ubports installer.

                            M 1 Reply Last reply Reply Quote 0
                            • M Offline
                              Math @Stefano
                              last edited by

                              @stefano Thank you very much. I will try again. But you think OTAs in the future will be bigger and bigger. Or it's only for the passage in 16.04

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                Stefano @Math
                                last edited by

                                @math Difficult to say, but I've seen a discussion of Ubports devs about shrinking the image size of futures OTA's .

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Math @Stefano
                                  last edited by

                                  @stefano I made the change sda42-43.
                                  But when I wanted to install the 16.04 with ubsports-installer 0.1.20, it still put me the error "boot.img".
                                  Whereas with the version 0.1.12, the installation 16.04 did well.
                                  Hoping that the OTA 5 will be fine.

                                  thank you for your explanations

                                  S ? 2 Replies Last reply Reply Quote 0
                                  • S Offline
                                    Stefano @Math
                                    last edited by

                                    @math Make sure you have installed latest fastboot and adb on your PC and try again.

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

                                      @math I have got the same problem even after resize the partition, what i have done and worked for me :

                                      sudo ubuntu-device-flash --server=http://system-image.ubports.com touch --device=turbo --channel=ubports-touch/16.04/rc --wipe

                                      S 1 Reply Last reply Reply Quote 2
                                      • S Offline
                                        Stefano @Guest
                                        last edited by

                                        @xray2000 For me as well it was the only option.

                                        1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Mirv
                                          last edited by

                                          Noting my success details posted at https://forums.ubports.com/post/14164

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Marathon2422
                                            last edited by

                                            I have re flashed flyme 6, and downgraded to flyme 5, then flashed the unlocked bootloader,then flashed UB, some times It will not go past the UB,recovery screen, I have then flashed twrp wiped, then flash a twrp made restore of UB,then flashed UB recovery to get a working OTA,and then updated.
                                            I have done this with ch/en, flyme.

                                            I quess,adb,is not,recognized sometimes

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