FORUMS

[TOOL] Ubuntu-Touch Installer

92 posts
Thanks Meter: 65
 
By st0rm77, Member on 26th September 2016, 06:15 PM
Post Reply Email Thread
Disclaimer/Requirements:

>> Only run on unlocked bootloader <<
>> TWRP 3.0 patched by st0rm77 as recovery <<
>> Scripts are released under GPlv2 license <<
>> Run at own risk <<

Watch the video

Hi,

I wrote a simple Ubuntu-Touch installer for the Meizu Pro 5. Its been tested on OTA-12 and OTA-13
but will probably work for any future version unless they change something.

Make sure you have the TWRP_3.0_m86_patched_st0rm77 recovery installed.
Only this version will backup the bootlogo and device tree.

Steps to install:

1. Make a backup of your device <-- ALWAYS
- select backup from TWRP
2. Install ubuntu-device-flash
# sudo apt-get install ubuntu-device-flash
# ubuntu-device-flash --download-only touch --device=turbo --channel=ubuntu-touch/stable/meizu-pd.en
(For Windows,Mac and lazy people: Ubuntu-Touch OTA-12 & Ubuntu-Touch OTA-13)
3. Open the folder ~/.cache/ubuntuimages and copy the following files onto your internal storage or sdcard:
- version-*.xz, custom-*.xz, device-*.xz and ubuntu-*.xz
- ubuntu-touch-installer*.zip (attached to this post)
4. Start your device in TWRP and wipe your device
- select wipe > advanced wipe
- select Dalvik/Art, Cache, System, Data and >>swipe to wipe<<
5. Install Ubuntu-Touch
- select install
- select ubuntu-touch-installer*.zip.

Wait until the installer finishes and reboot your device

Enjoy
Attached Files
File Type: zip ubuntu-touch-installer_v0.1b.zip - [Click for QR Code] (2.2 KB, 1712 views)
The Following 7 Users Say Thank You to st0rm77 For This Useful Post: [ View ] Gift st0rm77 Ad-Free
3rd October 2016, 07:21 PM |#2  
Junior Member
Thanks Meter: 2
 
More
Does OTA work ?
4th October 2016, 09:55 AM |#3  
PYCON's Avatar
Senior Member
Thanks Meter: 278
 
More
Sign
Really nice and wonderful job !!!

Let me ask some details :

* there're some apps to try in ubuntu ?! 'cause if I remember well, one of the big obstacle of ubuntu phone was the lack of apps / programs to install in the system...

* once done this procedure, TWRP Recovery ( your version, in this case ), will remain ?! Or it's been overwritten / disappeared ?!

* In above case, imaging that TWRP is still present, what's the procedure to go back to an Android system ( Flyme e.g. or RR or whatever ) ?

4th October 2016, 02:30 PM |#4  
OP Member
Thanks Meter: 65
 
More
Quote:
Originally Posted by Benni009

Does OTA work ?

Yes, but not until you flash the Ubuntu recovery manually.
Extract /partitions/recovery from the device-*.xz
Flash this to recovery via fastboot.
4th October 2016, 02:38 PM |#5  
OP Member
Thanks Meter: 65
 
More
Quote:
Originally Posted by PYCON

Really nice and wonderful job !!!

Let me ask some details :

* there're some apps to try in ubuntu ?! 'cause if I remember well, one of the big obstacle of ubuntu phone was the lack of apps / programs to install in the system...

Look in the Ubuntu store, lets say its somewhat limited.

Quote:
Originally Posted by PYCON

* once done this procedure, TWRP Recovery ( your version, in this case ), will remain ?! Or it's been overwritten / disappeared ?!

TWRP remains, it does not touch recovery at all.

Quote:
Originally Posted by PYCON

* In above case, imaging that TWRP is still present, what's the procedure to go back to an Android system ( Flyme e.g. or RR or whatever ) ?

Backup you current state (flyme/aicp/cm/rr).
Install Ubuntu
If you do not like it, reboot into TWRP and restore from backup.

Just follow the instructions in post 1.
4th October 2016, 03:19 PM |#6  
PYCON's Avatar
Senior Member
Thanks Meter: 278
 
More
Quote:
Originally Posted by st0rm77


* Look in the Ubuntu store, lets say its somewhat limited.

* TWRP remains, it does not touch recovery at all.

* Backup you current state (flyme/aicp/cm/rr). Install Ubuntu. If you do not like it, reboot into TWRP and restore from backup. Just follow the instructions in post 1.

* Ok, nice... I'll try to look for some apps like them I'm using

* Nice ! It's the most important thing

* Ya, I've asked to u this 'cause for example, when I want to delete CM13 ( RR ) and return to Flyme, I cannot simply restore the nandroid of previous Flyme' based rom I've to flash a Flyme rom FIRST and only then I'll be able to restore the nandroid
4th October 2016, 07:32 PM |#7  
OP Member
Thanks Meter: 65
 
More
Quote:
Originally Posted by PYCON

* Ya, I've asked to u this 'cause for example, when I want to delete CM13 ( RR ) and return to Flyme, I cannot simply restore the nandroid of previous Flyme' based rom I've to flash a Flyme rom FIRST and only then I'll be able to restore the nandroid

...... i wonder if that could be the reason why i patched the recovery ?

I think it is

And you know what the beauty is of this ?

You can now do it too

(no more reflashing of flyme, just backup/restore in twrp)
The Following User Says Thank You to st0rm77 For This Useful Post: [ View ] Gift st0rm77 Ad-Free
4th October 2016, 07:45 PM |#8  
PYCON's Avatar
Senior Member
Thanks Meter: 278
 
More
Thumbs up
Quote:
Originally Posted by st0rm77

...... i wonder if that could be the reason why i patched the recovery ?

I think it is

And you know what the beauty is of this ?

You can now do it too

(no more reflashing of flyme, just backup/restore in twrp)

U'r a genius man, thank u very much !
4th October 2016, 09:23 PM |#9  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by st0rm77

Yes, but not until you flash the Ubuntu recovery manually.
Extract /partitions/recovery from the device-*.xz
Flash this to recovery via fastboot.

Done. Thanks man. Nice work =) It's not simple to get from chinese-version with former owner logged in to pro5 ubuntu OTA 13 =) You made it easier.

Lets wait for OTA 14
11th October 2016, 05:02 PM |#10  
OP Member
Thanks Meter: 65
 
More
Quote:
Originally Posted by Benni009

Done. Thanks man. Nice work =) It's not simple to get from chinese-version with former owner logged in to pro5 ubuntu OTA 13 =) You made it easier.

Lets wait for OTA 14

So you cant get root ? I have something that might work, but its early stage and you might be the perfect person to test this.

PM me
9th November 2016, 02:10 PM |#11  
Senior Member
Thanks Meter: 6
 
More
good job

Sent from my PRO 5 using XDA-Developers mobile app
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes