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

    Meizu Pro 5 upgrade to OTA-4 (Ex Android version)

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 919 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.
      • Z Offline
        Zerg
        last edited by

        Hello,

        This are the steps I've took to successfully upgrade to OTA-4 on my Meizu Pro 5 (ex Android edition).
        Posting it here since was unable to find any complete guide or solution anywhere.

        Hope it will help someone πŸ™‚

        I’m reproducing the steps I’ve took from memory so there is a chance for some slight mistakes, but the main concept is valid.

        Disclaimer: I don't take any responsibilities for bricked devices πŸ˜‰

        Main issue is that the cache partition on the android version is small and cannot accommodate all the installer file.

        UBports Installer 0.1.21-beta was unable to work for me saying that boot.img was not found...

        I've installed ubports-installer 0.1.12-beta that worked for me:
        https://github.com/ubports/ubports-installer/releases/tag/0.1.12-beta

        Go to the fastboot by holding Power + Volume down buttons until phone reboots.

        Connect phone to the PC (Linux Debian 9 in my case)

        Start ubports-installer (i've started it from command line with sudo ubports-installer -v)

        Select your device manually and chose stable 16.04 channel.

        Start the installation process.
        It will ask you to boot in to the recovery.
        Hold power + volume up intill phone reboots.
        Installation will now continue.
        ubports-installer will download all the necessary files but will fail to push them in to phone via adb shell
        since /cache partition is only 512MB in size.
        Once it will fail stop the process and locate installer cache files.
        in my case (/root/.cache/ubports/pool)
        there should be the following files that you will need:

        device-long-string-of-letters-and-numbers-.tar.zx
        keyring-long-string-of-letters-and-numbers-.tar.zx
        ubports-long-string-of-letters-and-numbers-.tar.zx
        version-long-string-of-letters-and-numbers-.tar.zx

        that files need to be manually pushed to the device since there is not enough space to copy all of them at the same time
        (ubports-installer should unpacking them 1 by 1 and clean the cache after each extract to avoid this πŸ˜‰ )

        Go to the fastboot by holding Power + Volume down buttons untill phone reboots.

        install TWRP_3.0_m86_patched_st0rm77.img
        https://forum.xda-developers.com/meizu-pro-5/development/recovery-twrp3-0m86patchedst0rm77-t3469296

        open a terminal in the location of your TWRP image and run the below:

        sudo fastboot flash recovery TWRP_3.0_m86_patched_st0rm77.img

        Reboot in to recovery (Hold power + volume up intill phone reboots)

        WIPE system and cache partitions (I’ve had some application issues with settings that were left fromm 15.04 so had to wipe user data as well later on)

        Mount cache and system partitions.

        push the installer files in to the device:

        Example:
        adb push device.tar.zx /cache
        adb push keyring.tar.zx /cache
        adb push version.tar.zx /cache

        start adb shell by typing in terminal:
        sudo adb shell

        unpack earlier copied files:
        Example:

        cd /cache
        tar xf device.tar.zx
        tar xf keyring.tar.zx
        tar xf version.tar.zx

        Move files to corresponding directories:

        cp -a system /system
        cp -a /dev /system

        Clear /cache partition
        Example:

        rm * -R (Ensure that you are in cache partition πŸ™‚ )

        Push the last file in to device:
        adb push ubports.tar.zx /cache

        Unpack the archive:
        tar xf ubports.tar.xz

        copy to system:
        cp -a /dev /system

        clear cache partition

        Reboot he device in to recovery.

        Hopefully enjoy your new OTA-4

        1 Reply Last reply Reply Quote 2
        • arubislanderA Offline
          arubislander
          last edited by

          Thank you so much for this comprehensive walk-through on how to get OTA-4 on a Meizu Pro 5 that has too small a cache partition. This will be such a help to anyone who faces the same problem.

          I would like to add though, that if you wanted to switch channels at any time in the future, the issue of the cache partition being too small would come back to bite. There is a comprehensive walk-through, similar to yours, on increasing the cache partition size written by @Stefano.
          I have successfully increased the cache partition size on my device following his instructions, without any data loss. All I would add is that the number the partition needs to start at must be divisible by 64.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

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