Saturday 26 November 2016

How To Install Ubuntu Touch On Android Device The Easy Way

How To Install Ubuntu Touch On Android Device The Easy Way


Installing Ubuntu Touch has become quite easy these days and Android enthusiasts and developers across the globe have already started testing this brand new OS onto their devices. Ubuntu Touch brings a new platform to mobile devices and opens new opportunities to the developers. As we know, some of the BQ and Meizu devices officially run Ubuntu OS as part of their OEM and the OS is quite impressive.


Ubuntu developers have made the installation quite easy. It starts with just a couple of Linux commands and the installation process starts. It will verify your device and download and flash the software for you automatically. So you don’t need to worry about bricking your device by flashing the wrong file. However, you will need to connect your mobile device to a PC running Linux based OS and issue commands using ADB and Fastboot.

Follow the instructions below and get the server URL from the download section. Before you proceed, backup everything and read the instructions first. There are two methods. First will completely remove your previous ROM and perform a clean install. However, if you don’t want to lose your previous ROM, then go through the MultiROM method. This will help you install Ubuntu Touch OS alongside your primary OS.

Note: Needs a bootloader unlocked device.

Download Ubuntu Touch URL for Android

[lock]OnePlus One:
Code:
ubuntu-device-flash -v –server=http://system-image.ubports.com touch –channel=ubuntu-touch/stable –device=bacon –bootstrap
MultiROM file: (MultiROMMgr-UT.apk)
For more devices ? Visit Ubuntu Page
Or visit XDA forum page for your device to get the Code:
[/lock]

Install Flash Factory Images On Android Devices Using Fasboot

Step 1: Enable USB Debugging on your device. To do so, go to Settings>About Phone> Tap on the Build Number several times until you get a new Developer Options in theSettings. Open Developer Options and enable USB Debugging from there. Trust the connection by allowing it when you connect it to your PC for the first time. Also, enable OEM Unlock from Developer Options; if such an option is available.


Step 2: Make sure you have Ubuntu or Linux based OS running on your PC and open terminal on it. Now connect your device to PC and issue the following command to install necessary drivers to perform operation:

sudo apt-get install ubuntu-device-flash phablet-tools


Step 3: Now turn off your Android device completely and unplug it from your PC.


Step 4: Boot into the bootloader or Fastboot mode. To do so, turn off your device and then press and hold volume down + the power button simultaneously for a few seconds. When you see the bootloader/Fastboot screen, connect your device to the PC using a USB cable.(Choose Fastboot if option is available) For an alternative method look at the end of this method.


Step 5: Connect your device to PC and launch terminal on PC.


Step 6: Now issue the following command in the command prompt to check your device connectivity

fastboot devices


Step 7: Now issue the following command to start the installation process:

ubuntu-device-flash -v --server=http://system-image.ubports.com touch --channel=ubuntu-touch/stable --device=bacon --bootstrap


Note: Now, each port for a device has its own system-image server owned by some community member. This means they support OTA updates and can be installed using ubuntu-device-flashscript with --server="<url>" parameter. The one listed above is for OnePlus One. Check out the code from download section or from Ubuntu website from source. Hence the code:

ubuntu-device-flash -v --server=<url for your device>


Step 8: Once done, reboot.


Once the operation completes, you can now enjoy your new Ubuntu ROM.

How to boot into bootloader or Fastboot mode using ADB

You can also issue the following command through your terminal in order to boot into the bootloader. Connect your device to the PC and open terminal. Once into terminal, issue the following command in Linux OS:

sudo adb reboot bootloader

How to install Ubuntu Touch using MultiRom

Step 1: Download the temporary version of MultirROM manager.


Step 2: Install the .apk file (if you already have MultiROM manager installed, then uninstall it first)


Step 3: Open the app and install MultirROM v32j, Recovery 2015-06-07 (It will say you have it already installed, this is just a workaround to get ubuntu touch work. YOU NEED TO INSTALL THIS ANYWAY) and kernel for your android version



Step 3: When it’s done installing and booted back up, you can install Ubuntu Touch going through the Method 1 above.


Available link for download