Meizu Pro 5 upgrade to OTA-4 (Ex Android version)
-
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-betaGo 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.zxthat 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-t3469296open 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 /cachestart adb shell by typing in terminal:
sudo adb shellunpack earlier copied files:
Example:cd /cache
tar xf device.tar.zx
tar xf keyring.tar.zx
tar xf version.tar.zxMove files to corresponding directories:
cp -a system /system
cp -a /dev /systemClear /cache partition
Example:rm * -R (Ensure that you are in cache partition )
Push the last file in to device:
adb push ubports.tar.zx /cacheUnpack the archive:
tar xf ubports.tar.xzcopy to system:
cp -a /dev /systemclear cache partition
Reboot he device in to recovery.
Hopefully enjoy your new OTA-4
-
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.