How to install Ubuntu on Meizu Pro 5 that was originally with Android?

I have bought Meizu Pro 5, the Flyme OS version. I want to install Ubuntu Phone on it. How can I do it and where can I get the needed firmware and tools?

Thank you very much!


  1. XDA Developers: [TUTORIAL] Change region/ID to International in Meizu Pro 5

    If you are using the global version, you needn't do this step.

  2. XDA Developers: [TUTORIAL] Unlock the bootloader of Meizu PRO 5

  3. XDA Developers: [RECOVERY][M86][UNOFFICIAL] TWRP 3.0 for Meizu PRO

  4. Read these 3 articles about Ubuntu Touch

    • Hacking Ubuntu Touch, Part 1: ubuntu-device-flash
    • Hacking Ubuntu Touch, Part 2: devices and images
    • Hacking Ubuntu Touch, Part 3: How images are flashed

Meizu pro 5 is named turbo.

             Install ubuntu with TWRP(Android edition's kernel):

Download the ROM you need.

You can show images use

ubuntu-device-flash query --device=turbo --channel=ubuntu-touch/stable/meizu.en --show-image

Download the kernel-OTA-10.2.zip which I packaged here for OTA 10.2.

CAUTION: If you want to install other version then OTA 10.2. you need to replace 4 files in the above kernel*.zip from the device*.tar.xz file you had downloaded. boot.img, dtb and logo.bin are in partitions folder, ldfw is in blobs. DO NOT FLASH bootloader and recovery! (meaning do not put these files into the above kernel*.zip file)

Enter to recovery mode (TWRP) by pressing the volume up + down + power buttons for 5 seconds.

In TWRP wipe data,cache,system.

In TWRP install kernel-OTA-10.2.zip (with the replaced boot.img, dtb, logo.bin, ldfw)

In TWRP mount the system partition (remove the readonly mode).

In TWRP run commands below in terminal:

cd /
tar -xf /external_sd/ubuntu*.tar.xz
tar -xf /external_sd/device*.tar.xz
tar -xf /external_sd/custom*.tar.xz
tar -xf /external_sd/version*.tar.xz
sync

Reboot to system.

Notes:

It may not get OTA updates without a recovery provide by Ubuntu edition.

You can do all the steps above without external sd card, the mobile can be seen all the time through usb.