Android Linux

How To Install The Ubuntu Touch Preview On Your Nexus Android Device

Chris Hoffman 08-03-2013

ubuntu touch previewUbuntu is developing on a touch-focused interface for smartphones Smartphone Buying Guide, For 2013 Thinking of buying a smartphone, but don't know where to start and what smartphone to buy? This guide goes over everything you need with full smartphone reviews, to know to make your purchase. Read More and tablets, with plans to ship Ubuntu smartphones in 2014. If you’re interested in trying it right now, there’s good news: You can install the preview release of Ubuntu Touch on a Nexus device (the Galaxy Nexus, Nexus 4, Nexus 7 Google Nexus 7 (16GB) Android Tablet Review and Giveaway We purchased a 16GB Nexus 7 for $249 which I've been reviewing for a week or so now, and I've really grown to love the little thing. We'll be giving it away at the end... Read More , or Nexus 10).


Warning: This is an early version of Ubuntu Touch. It’s been called beta, but it’s actually alpha. Many things don’t work and some apps are non-functioning placeholders containing mock-up graphics. Installing this preview release will also wipe your Nexus device’s data, so ensure you back up any important data How to Back Up Your Android Device Properly Here's how to completely back up your Android device by protecting your photos, SMS, contacts, and everything else. Read More before continuing.

If you’re still interested in trying out Ubuntu Touch and experiencing a preview of what the final Ubuntu Touch operating system will be like, feel free to continue. But be aware of what you’re getting into!

What’s Ubuntu Touch?

Ubuntu Touch is a touch interface for Ubuntu Linux Ubuntu: A Beginner's Guide Curious about Ubuntu, but not sure where to start? Everything you could possibly need to get started with the latest version of Ubuntu is right here, written in easy-to-understand, plain English. Read More designed for smartphones and tablets. Ubuntu plans on shipping Ubuntu smartphones beginning in 2014.

The most interesting feature of Ubuntu Touch is probably the way it can potentially integrate all hardware form factors into a seamless experience. The operating system can power smartphones, tablets, desktop PCs, and even smart TVs, adapting its interface to each different type of device. That’s the concept, at least. For a more in-depth explanation, watch Ubuntu’s official demonstration video below.

Prepare Ubuntu On The Desktop

We’ll be using Ubuntu on a PC to install Ubuntu Touch , as that’s the officially supported method. If you don’t have Ubuntu installed, you should be able to boot from an Ubuntu live CD and perform this process from the live Ubuntu environment without even installing Ubuntu on your computer.


To install the required software, open a terminal and run the following commands on your Ubuntu system:

sudo add-apt-repository ppa:phablet-team/tools
sudo apt-get update
sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot

ubuntu touch preview

Unlock Your Device

To install another operating system on your Nexus device, you’ll need to unlock its boot loader. Note that this step will wipe all data on your device. (If you’ve already unlocked the boot loader to install a custom ROM How to Install a Custom ROM on Your Android Device Ready to revitalize your Android phone or tablet? Installing a custom ROM is the best way to do that -- powering it up with even better performance and features. Read More or root your device, you can skip this section.)

To unlock the device, first power it off completely. Next, power it on by pressing the Power, Volume Up, and Volume Down buttons all at once. It will boot into fastboot mode.


ubuntu touch

Connect the Nexus device to your computer with a USB USB 3.0: Everything You Need to Know USB 3.0 beats USB 2.0 in so many ways. Here's everything you need to know about why you should always pick USB 3.x when possible. Read More cable, open a terminal, and run the following command:

sudo fastboot oem unlock

Confirm that you want to unlock your device, then press the Power button to boot the device. Go through the typical Android setup process until you reach the home screen.

ubuntu touch


Device Preparation

Now you’ll need to enable USB debugging What Is USB Debugging Mode on Android? Here's How to Enable It Need to allow USB Debugging on your Android? We explain how to use debugging mode for pushing commands from your PC to your phone. Read More on your device. The instructions here assume your device is running Android 4.2 Top 12 Jelly Bean Tips For A New Google Tablet Experience Android Jelly Bean 4.2, initially shipped on the Nexus 7, provides a great new tablet experience that outshines previous versions of Android. It even impressed our resident Apple fan. If you have a Nexus 7,... Read More .

First, open the Settings screen and select About phone or About tablet. On the About screen, tap the Build number field seven times. You’ll see the message “Congratulations, you are now a developer” appear on the screen.

ubuntu touch

Return to the main Settings screen and select the now-visible Developer options option. Enable the USB debugging option on the Developer Options screen.


ubuntu touch nexus

Next, run the following commands on your computer:

adb kill-server
adb start-server

Connect the Nexus device to your computer and you should see a confirmation pop-up on your device. Agree to the message. (If your Nexus device has an older version of Android, you may not see this popup.)

ubuntu touch nexus

On the About Phone or About Tablet screen, locate the build number you tapped earlier and write it down. You’ll need this number when you reinstall Android later.

Install Ubuntu Touch

If you’ve followed the instructions above, you should be able to install Ubuntu Touch by running the following command:

phablet-flash -b

ubuntu touch nexus

This command will erase everything on your Nexus device, download the latest image of Ubuntu Touch, and install it on your device. After everything is done, your device will automatically reboot into the Ubuntu Touch environment. Be patient while the process completes.

(If you see an error message saying there isn’t enough space, uninstall some apps or remove some files from your Nexus device and try again.)


Reinstalling Android

There’s a good chance you’ll want to reinstall Android after playing with the Ubuntu Touch preview. To do so, visit the Factory Images for Nexus Devices page on Google’s website. Locate the factory image that corresponds to the build number you wrote down earlier and download it.

Extract the downloaded file, open a terminal, and cd into the extracted directory.

Connect your Nexus device to your computer and ensure it’s powered on.

Next, run the following command:

adb reboot-bootloader

After your device reboots into fastboot mode, run the following command:

sudo ./

(If you see an error, be sure that you’ve extracted the factory image and that you used the cd command An A-Z of Linux - 40 Essential Commands You Should Know Linux is the oft-ignored third wheel to Windows and Mac. Yes, over the past decade, the open source operating system has gained a lot of traction, but it’s still a far cry from being considered... Read More to enter its directory.)

This will reinstall Google’s official Android image back onto your device. After the process is complete, your Nexus device should reboot into Android.

ubuntu touch preview

If you have any trouble, you may want to consult the official installation guide on the Ubuntu Wiki.

Have you played with the Ubuntu Touch preview yet? Are you looking forward to Ubuntu phones, tablets, smart TVs, and PCs? Leave a comment and share your experience!

Related topics: Google Nexus, Ubuntu.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Michael Heffner
    March 29, 2013 at 3:19 am

    I'd love to be able to put this on my Vizio tablet.

    • robinpecha
      August 6, 2013 at 9:39 am

      Im fan of amd and ubuntu. Could be great combination. Vizio tablet + turbo dock from amd with ubuntu. Yes!!!
      Lets write to vizio mail, Will you support Ubuntu on your products? Just to tell them that we want it.

  2. Aaron Clifford
    March 28, 2013 at 3:12 pm

    Now I need TWO Nexus 7s! One for Ubuntu and one for testing apps. (This, ladies and gentlemen, is the very definition of a first world problem)

  3. David Commini
    March 12, 2013 at 12:35 am

    I'll just have to wait until Ubuntu comes out with this for other phones. I don't have a Nexus and do not plan on going to buy one.

  4. tech dude
    March 9, 2013 at 1:44 pm

    Can you make a guide to install this to the android SDK?

  5. Dr Ramraj
    March 9, 2013 at 11:43 am

    cant wait to get one

  6. Rev RD White II
    March 9, 2013 at 12:53 am

    I am wondering if I can install this mobile ubuntu on a virtual machine on my pc. I would like to play with it and see if it is something I can use, and perhaps contribute my 2¢ toward making this available on other devices. I personally use the Samsung Galaxy SIII and the LG Optimus.

  7. Igor Rizvic
    March 8, 2013 at 11:57 pm

    cant wait to get my hands on oen of those :))

  8. moch84bdg
    March 8, 2013 at 11:35 pm

    Minimum required spec?...

  9. ReadandShare
    March 8, 2013 at 9:21 pm

    I look forward to 2014.