Ubports installer not working with Meizu Pro 5
Their is a article that i read that spoke about this in the xda forums that once you go from android to ubuntu touch you have to make sure that android is completely removed. The problem is that the bootloader contains flyme os recovery. So for ubuntu touch to be installed the flyme os has to be removed. The other reason is that the partition is not reporting the correct size. This is why ubuntu touch wont boot .
@jamesp First flash TWRP recovery and wipe the phone, all but external sd.
Then power off the phone.
Next boot to bootloader (power +volume down)
Install recovery-turbo.img via fastboot.
Then reboot to recovery (power +volume up)
Last thing is install Ubports.
Shouldn't be a problem, dozens times, from Flyne to Ubuntu, to RR to Ubports, works like a charm
Now i've done it. I thought i'll see how the Flyme works in pro5. Installed Flyme via TWRP and it works fine (except it's piece of crap), but now it locked the phone. Fastboot says (locked, unrooted). I tried fastboot oem unlock says ok, but changes nothing...
How do i unlock it again? This flyme is shit.
This is the one i installed.
Back on track. By installing this Flyme update phone is once again unlocked. Will continue the struggle tomorrow.
Gave it a try anyway. Wiped everything and it's a no go. FFS!
$ sudo ubuntu-device-flash --server=http://system-image.ubports.com touch --device=turbo --channel=15.04/stable --bootstrap --recovery-image=recovery-turbo.img
2017/06/18 00:35:32 Device is |turbo|
2017/06/18 00:35:33 Flashing version 1 from 15.04/stable channel and server http://system-image.ubports.com to device turbo
1.63 MB / 109.89 MB [__________________________________________________________________] 1.49 % 1.17 MB/s 1m32sCan't boot recovery image
I believe this was how it went down the first time i installed UT into this. Solution was to install UT image through TWRP.
@jamesp No bootstrap!
Just type this (in recovery mode) make sure you install recovery-turbo.img first ( in fastboot mode)
sudo ubuntu-device-flash --server=http://system-image.ubports.com touch --device=turbo --channel=15.04/stable
Yes works also for me.
@Stefano in general, is "sudo" needed for ubuntu-device-flash ? At least on debian it did not work for me, trying to flash Aquaris 4.5 (https://github.com/ubports/wiki.ubports.com/issues/15)
I found Canonical documentation about ubuntu-device-flash as well, that was without sudo.
@chris All depends if you have set android rules on your PC ( /etc/udev/rules.d/51-android.rules)
It's not needed if you have, otherwise it will show an error, permission problem.
@jamesp Happy to help!