[Meizu Pro 5 Guides, News, & Discussion] Pleytos:
It looks like it's not a very successful guide. Better not use it I guess.

How to get from the Android to Ubuntu on the Meizu 5 Pro.

Here is a little guide of how I installed/returned to Ubuntu after installing Android on my Meizu 5 Pro Ubuntu edition.

My desktop pc is running Ubuntu, so these commands are for the Ubuntu terminal. But should be very similar on Windows, probably.

First, install ADB and Fastboot on your pc :

sudo apt-get update
sudo apt-get install fastboot adb

Connect the Meizu phone to your pc with a usb cable. Then power up the Meizu 5 Pro with both the power button and volume down.

Type:

sudo fastboot devices

If all went well you’ll see a screen with an number/letter combination with the text fastboot behind it, and the Meizu logo.

Now download TWRP_3.0_m86.img from http://xep.8800.org/pro5/.

With the next command you are going to flash TWRP custom recovery to your phone.

sudo fastboot flash recovery TWRP_3.0_m86.img

This should be done pretty fast. Power off your phone, and restart it with volume up and power button both pressed.

If all went well you’ll see a screen like this:

Your recovery is set. . You’ll see the Team Win Recovery Project if correct.

Do a full wipe:

- go to settings and select "use rm -f instead to formatting"

- Got to wipe -> advanced wipe and select all except the last/bottom one, and swipe to wipe.

Now check to see if ADB devices works correctly

sudo adb devices
List of devices attached
0123456789ABCDEF	device

If not restart adb by typing adb kill-server, and the restart adb with the sudo adb devices command.

Download the Canonical recovery-turbo, recovery.img, form:

https://wiki.ubuntu.com/Touch/Devices

And install ubuntu device flash program :

sudo apt-get update
sudo apt-get install ubuntu-device-flash

Now here comes the harder part. Open 2 terminals, you’ll see later why.

Now go back to the recovery on your phone. Go to Mount, and mount the system partion. And be sure it looks like this:

With three checkmarks.

Now type, BUT DO NOT PRESS ENTER, in the first terminal window:

sudo fastboot flash recovery recovery.img

And leave it there for later.

Then in the second terminal window, you are gonna use the ubuntu device flash program with this command:

sudo ubuntu-device-flash touch --channel=ubuntu-touch/stable/meizu.en --device turbo

If everything is alright, this command will first download files, than start pushing them to your phone, and will end with this message:

Rebooting into recovery to flash

You will have to be quite quick because you’ll need to intercept this. When you see this message you will need to press volume down + power button at once, so you can go to the fastboot screen.

Now you will have to use the second terminal to use this command:

sudo fastboot flash recovery recovery.img

When done you need to manually turn the phone into recovery mode by pressing volume up + power button. It is really important that you reach the recovery mode. If you reach the normal boot mode you will have to run the ubuntu device command from the beginning. You will not see the recovery screen if you reach the recovery mode. The screen turns black and will be like this for a little bit of time.

The screen wil go black, that’s normal. Wait a 5-10 minutes, and if everything is alright you’ll see a FlymeOS recovery. That is normal and good. Now power the phone off and on again, and if everything happened like it did on my phone, Ubuntu starts.

Now you can enjoy Ubuntu on your phone. You should have a white Meizu Powered by Ubuntu screen and an orange Ubuntu recovery logo, but sometimes it doesn't come in the first install. From my experience you will need to run the command one more time from a different channel, and this will be fixed aswell.

You can also use the Release candidate proposed channel, the software is newer.

sudo ubuntu-device-flash touch --channel=ubuntu-touch/rc-proposed/meizu.en

I will also try to make a TWRP backup image, maybe that will be easier for people with Windows PC's. But I haven't tested that yet.

Thanks to all the people on XDA and the people who made the TWRP recovery. I hope I can give something back to the community with this guide.

If you have any questions. Please ask.