FORUMS
Remove All Ads from XDA
H10 Turbo

[TOOL] [v3.2] [09NOV] Ubuntu Touch "system-image" Installer // w/o computers

311 posts
Thanks Meter: 146
 
By Zittoro, Senior Member on 17th October 2013, 04:18 AM
Post Reply Email Thread
# All credit goes to Ubuntu and contributors

ut-system-installer
I wanted to install Ubuntu Touch system-image (official, ro, OTA-enabled, for-sale-in-the-future) on my Galaxy Nexus, but there were some limitations and disadvantages to do so. It requires Ubuntu on my computer and completely wipes my device. Compared to cdimage-touch, which one can install easily with his/her phone, system-image is hard for some people to try, so I made a simple recovery-flashable zip with shell scripts to install it without computer and losing data. It downloads and installs system-image on your device(officially supported ones only).

What is does:
The same thing as doing
Code:
phablet-flash ubuntu-system --channel devel --no-backup
but without wiping the device, so
-Download files for installing Ubuntu Touch system-image (half-automatically)
-Install it on your device (supported ones by Canonical)

Supported Devices:
-Galaxy Nexus (maguro, toro, toroplus)
-Nexus 7 (grouper, tilapia)
-Nexus 4 (mako)
-Nexus 10 (manta)

Downloads:
http://d-h.st/users/zittoro/ut
Do not use anything in wip folder.


* This will install a CWM-based recovery from Ubuntu, and your device could brick but will not be compensated. *
How-to:
1. Download the zip.

2. Unzip it in /sdcard/Download/ut

3. Move or copy ut-system-dl(read "Arguments for "ut-system-dl"" in second post for options) to /data. Then run the script with root(su). You can just type these in terminal instead of doing this step manually (You need busybox and su installed)
Code:
su
cp -a /storage/emulated/0/Download/ut/ut-system-dl /data
sh /data/ut-system-dl
4. Zip everything in /sdcard/Download/ut

5. Flash it in recovery and reboot recovery (Just use the default install menu at home if you are using special recoveries like MultiROM)

6. Enjoy Ubuntu Touch

Bug reports: post your /sdcard/Download/ut/ut-system.log, /cache/recovery/last_log, and copy of the error if possible
The Following 6 Users Say Thank You to Zittoro For This Useful Post: [ View ] Gift Zittoro Ad-Free
 
 
17th October 2013, 04:19 AM |#2  
OP Senior Member
Thanks Meter: 146
 
More
Changelogs:
Code:
09NOV2013
v3.2
-Added official UT disclaimer link
-Cleaner code

07NOV2013
v3.1
-Support for "generic customization" channels

03NOV2013
v3
-Support for "*-customized" channels
-More consistent and easier way of configuring files names to download

v2.2
-Download the recovery image properly as saucy-named doesn't exist in the path anymore.  --Thanks to @pildoc for reporting.

21OCT2013
v2.1
-Log file support to the installation script; still need recovery log because of "system-image-installer"
-Support for trusty-related channels
-Workaround for delta images when device files are the same
-Dropped support for old-channel device images
-Workaround for non-patched recoveries
-Show the actual device names rather than codenames to avoid confusion

19OCT2013
v2
-Add support for deciding which build number to download --$4
-Fix delta image download
-Mount before extracting files

18OCT2013
v1.2
-Fix for script error
-Aborts installation if script fails

v1.1
-Recovery installation fix; it wasn't moved to the correct path, my bad:(
-Added log file: ut-system.log

16OCT2013
v1
-Initial


Arguments for "ut-system-dl":
-$1: -auto: default for script, automatically detects the device's codename using the value for "ro.build.product"
-DEVICE_NAME: images for DEVICE_NAME devices
-$2: -full: default for script, full images used for initial installation
-delta: delta images used for updates(OTA)
-$3: -CHANNEL: use CHANNEL channel to download images, default "devel"
-$4: -BUILD_NUMBER: build number of image
17th October 2013, 08:30 AM |#3  
gazhead's Avatar
Senior Member
Thanks Meter: 114
 
More
I dont get it

Sent from my Nexus 4 using xda app-developers app
17th October 2013, 02:18 PM |#4  
OP Senior Member
Thanks Meter: 146
 
More
Quote:
Originally Posted by gazhead

I dont get it

Sent from my Nexus 4 using xda app-developers app

It basically installs the recommended version of ubuntu touch
17th October 2013, 03:42 PM |#5  
Member
Thanks Meter: 3
 
More
Looks like your path is wrong? If its going into download/ut shouldn't it be:

su
cp -a /storage/emulated/0/download/ut /data
sh /data/ut-system-dl
The Following User Says Thank You to hockeyadc For This Useful Post: [ View ] Gift hockeyadc Ad-Free
17th October 2013, 04:12 PM |#6  
OP Senior Member
Thanks Meter: 146
 
More
Quote:
Originally Posted by hockeyadc

Looks like your path is wrong? If its going into download/ut shouldn't it be:

su
cp -a /storage/emulated/0/download/ut /data
sh /data/ut-system-dl

Dang I made a mistake
17th October 2013, 04:13 PM |#7  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by Zittoro

Dang I made a mistake

Haha no problem. I'm trying this out on my phone(Maguro) and it gets stuck at connecting to the server. Any ideas? Just a ton of people trying to download right now?
17th October 2013, 04:16 PM |#8  
OP Senior Member
Thanks Meter: 146
 
More
Quote:
Originally Posted by hockeyadc

Haha no problem. I'm trying this out on my phone(Maguro) and it gets stuck at connecting to the server. Any ideas? Just a ton of people trying to download right now?

Can you get a screenshot for me?
17th October 2013, 04:22 PM |#9  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by Zittoro

Can you get a screenshot for me?

Actually, i just tried again and its working. 53 min ETA but its ok. When I zip this and flash it, does it remove my current recovery? How do I go back to my current rom in the future?
The Following User Says Thank You to hockeyadc For This Useful Post: [ View ] Gift hockeyadc Ad-Free
17th October 2013, 04:28 PM |#10  
OP Senior Member
Thanks Meter: 146
 
More
Quote:
Originally Posted by hockeyadc

Actually, i just tried again and its working. 53 min ETA but its ok. When I zip this and flash it, does it remove my current recovery? How do I go back to my current rom in the future?

It installs a CWM-based recovery with some tweaks and workout for system-image installation. Since it doesn't even touch your system partition, you can just flash an android kernel and get back to android.
17th October 2013, 04:30 PM |#11  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by Zittoro

It installs a CWM-based recovery with some tweaks and workout for system-image installation. Since it doesn't even touch your system partition, you can just flash an android kernel and get back to android.

Nice! That makes it pretty easy. Now we just need a way to dual boot lol. Perhaps a program that allows you to select android or ubuntu, and upon android selection it flashes a new kernel?
Post Reply Subscribe to Thread

Tags
installer, system-image, ubuntu, ubuntu touch

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

Advanced Search
Display Modes