Curious to try Ubuntu Touch but it upsets the idea of having to delete Android to try the new operating system made by Canonical?
If you are in possession of a Nexus 4, Nexus 7 or Nexus 5, dual booting between Android and Ubuntu Touch is easier than you think thanks to MultiROM that we have already reviewed in a previous article.
let's not get lost in small talk and see how to do it:
These operations can cause damage to your terminal and even the loss of all your data (it is advisable to perform a complete backup before proceeding) I do not assume any responsibility for any malfunctions deriving from the use of this guide.
- Nexus 4 or Nexus 7 (both 2012 and 2013)
- MultiRom Manager downloadable from the Playstore
- Enabled root permissions
- Bootloader unlocked
If your Nexus is still stock, you can read our guides related to unlocking the bootloader and enabling root permissions:
Start Multirom manager, check all the boxes in the section Install / Upgrade as shown in the figure:
- the first box "Multirom v22" will install multirom on your device
- the Recovery box will install a properly modified version of TWRP recovery
- the third box related to the kernel will install a kernel among those in the list, choose a correct kernel based on your version of android (for example if you have android 4.4.2 select the kernel related to android 4.4.1 / 4.4.2 from the drop-down menu): in case you use a modified kernel and you are not going to change it, check that it is compatible with Multirom, which needs a specific patch for its proper functioning, and remove the tick from the kernel box.
Below is a list of compatible Kernels (which have already implemented the patch)
Compatible Custom Kernel: motley intersectRaven M-kernel Trinity Seven Omega 3 kernel vorcers' kernel franco.Kernel DMORE.Kernel Timur's Kernel (USB host power management) Faux's kernel Oxydo kernel
after verifying that the MultiRom manager has recognized in your kernel the kexec-hardboot patch (colored green in the section "State"As shown in the previous image), select Install: automatically Multirom manager will install multirom, recovery and kernel.
In this phase you will be asked to restart in recovery to finish the installation, obviously we will have to consent and wait for the end of the procedure, the device will restart showing us a countdown at the end of which Android will start.
UBUNTU TOUCH INSTALLATION FOR NEXUS 4 AND NEXUS 7
Let's open Multirom Manager again and this time we'll focus on the "Install Ubuntu Touch"
Channel: from this menu we select the type of distribution we wish to choose from Saucy (stable version based on ubuntu 13.10) or Trusty (non-stable version based on ubuntu 14.04)
Version: we select the latest version available for the type of distribution previously chosen
We select "Install " and we await, as for the previous point, the end of the procedure (also this time we will be asked to restart in recovery to give Multirom the possibility to carry out all the operations).
At the next reboot we will find a Boot menu similar to the one in the PC dualboot from which we can select which ROM to boot.
We have finished all the operations, enjoy your Ubuntu Touch and also your Android Rom; -)
Resolution Bug Diplay Nexus 7
For this guide I used a Nexus 7 2012, and with any version of Ubuntu Touch I encountered an annoying Bug (due to MIR) that made Ubuntu unusable due to the display flickering, I solved by deleting a file from ADB, here's how to do it if you too have the same problem:
- Install ADB on your Linux PC distribution, for ubuntu 13.04 + use:
$ sudo apt-get install android-tools-adb $ sudo apt-get install android-tools-fastboot
- for Ubuntu 12.04:
$ sudo add-apt-repository ppa: phablet-team / tools $ sudo apt-get update $ sudo apt-get install android-tools-adb $ sudo apt-get install android-tools-fastboot
at this point start the Nexus 7 with Ubuntu Touch and, once started connect it via USB to the PC, verify that it is correctly recognized by typing in the "adb devices" terminal (you should get an alphanumeric ID as answer)
- Remove the file that causes problems with the following terminal commands:
$ adb shell rm -f /home/phablet/.display-mir $ adb shell reboot
on reboot Ubuntu Touch will work without problems.
UBUNTU TOUCH INSTALLATION FOR NEXUS 5
A first port of Ubuntu touch (14.04 version) has been created for Nexus 5, but not being an official version, it cannot be installed automatically by Multirom, so we will have to flash the image from Recovery:
Download the file system-armel + hammerhead.zip | Download in English
Download the file rootfs-armhf.zip | Download in English
After transferred the 2 files to the internal memory restart in recovery and follow the excellent video guide created by colleagues from Chimera Revo: