Canonical has released tools that let you install a preview of Ubuntu 12.10 Touch on the latest Google Nexus phones and tablets. But using the official tools requires a computer running Ubuntu (or a similar Linux-based operating system), and a lot of patience: The process can take a very long time.

But there’s a simpler way to install Ubuntu, and it doesn’t require a Linux PC.

Here’s how I installed Ubuntu 12.10 Touch Preview on my Nexus 7 tablet.

Google Nexus 7 with Ubuntu Linux

Before you start, you’ll want to make sure you have a rooted phone or tablet with a custom recovery such as ClockworkMod or TWRP installed. You’ll also want to make sure that you have the proper drivers for your device on your PC, and that you can run fastboot commands.

I’m not going to walk you through all of those steps right now, but there are tools and guides at the xda-developers forum that can help. For instance, there’s a toolkit that you can use to root a Nexus 7, install a custom recovery, backup your device, and do more.

Once you’ve done that, it’s a very good idea to not only backup your phone or tablet using your recovery tool, but also copy that backup to a PC so that if the storage space on your device is wiped, you should be able to restore from your backup and get Android up and running again.

Download the Ubuntu 12.10 Touch Preview files

Canonical offers a series of files which you can use to install Ubuntu on the Galaxy Nexus and Nexus 4 smartphones and the Nexus 7 and Nexus 10 tablets.

Update: There are also daily builds available, which may offer new features… but which may also introduce new bugs. Proceed with caution if using a daily build. 

The Nexus 7 is code-named “grouper,” so the files you need to download to install Ubuntu on this tablet all have grouper in the name. If you have a different device, look for the files that match its codename.

Here are the files you need to install Ubuntu on the Nexus 7:

  • quantal-preinstalled-boot-armel+grouper.img

The first is the boot image, while the following files are the disk image that contain the touch-friendly version of Ubuntu for tablets.

Copy files to your device

Connect your Nexus 7 to your PC, and use Windows Explorer (or another file browser) to manually copy the and files to your tablet’s main storage.

Installing the boot image (Optional)

Update: This step may not actually be required. I’ve seen a number of reports suggesting that you can use the existing boot image on your Nexus device, and simply flash the and files using ClockworkMod or TWRP, as described in the next section.

The simplest way to install the boot image is to use fastboot. If you’ve ever used fastboot before, you’re probably all set. If you’ve installed the Android SDK on your computer, you’ve probably got what you need.

But you don’t need the entire Android SDK. For instance, using the Nexus 7 Toolkit (the one that roots your device, among other things), probably means you have a working Fastboot utility.

So all you need to do is plug your Nexus 7 (or other device) into your PC with a USB cable, enter fastboot mode (see the first two steps below), open up the directory where fastboot is located, and type “fastboot devices” without the quotes to see if your Nexus 7 device shows up in a list of connected devices.

n7 ubuntu flash

If it does, then the next step is to reboot into fastboot mode and load the boot image. With a Nexus 7, here’s how you do that:

  • Press and hold the power button and then choose the option to turn off your tablet.
  • Once it’s off, press and hold the volume down button at the same time as the power button until you reboot into fastboot.
  • On your PC, place the quantal-preinstalled-boot-armel+grouper.img in the same directory as your fastboot.exe file.
  • Type the following: fastboot flash boot “quantal-preinstalled-boot-armel+grouper.img”

That’s it. Now you’ve got the boot image installed. You can disconnect your tablet from the PC for the rest of the steps if you want, but you don’t have to.

Install Ubuntu using your custom recovery

You may have noticed that Canonical offers a “recovery” file along with a boot image. But by leaving ClockworkMod or TWRP intact, you can use your existing recovery to install Ubuntu.

From the fastboot screen, press the volume buttons until you see an option to reboot into recovery.

Once you’ve done that, it’s probably a good idea to perform a factory reset and wipe your system — but you don’t necessarily have to do that. Installing Ubuntu will overwrite Android for you.

So all you really need to do at this point is choose the option to flash an update from your recovery software, navigate to the directory containing the and files, and install them one after the other.


Once you’ve done that, you can reboot your Nexus 7 and in a few moments it should boot into Ubuntu for the first time.

Restoring Android

Remember how I told you it was a good idea to backup your device using ClockworkMod or TWRP before starting all of this?

If you followed my advice, all you need to do is reboot into your custom recovery, choose  the restore option, find your latest backup, and a few minutes later you should have your Android tablet back.

If you somehow deleted your backup files from your device, I hope you followed my other suggestion, and made a copy on your desktop or notebook PC. Then you can just copy those files back to your mobile device and use TWRP or CWM to restore your backup.

But if you didn’t do either of those things, all is not lost. You’ll just need to be able to flash the factory image back to your device.

Canonical provides instructions for doing that from a Linux computer at the end of its instructions for installing Ubuntu the hard way. If you don’t have a Linux PC handy, you can follow instructions posted at the xda-developers forum for flashing a factory image using fastboot to return your tablet to its factory state.

Support Liliputing

Liliputing's primary sources of revenue are advertising and affiliate links (if you click the "Shop" button at the top of the page and buy something on Amazon, for example, we'll get a small commission).

But there are several ways you can support the site directly even if you're using an ad blocker* and hate online shopping.

Contribute to our Patreon campaign


Contribute via PayPal

* If you are using an ad blocker like uBlock Origin and seeing a pop-up message at the bottom of the screen, we have a guide that may help you disable it.

Subscribe to Liliputing via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 9,437 other subscribers

11 replies on “How to install Ubuntu Touch on a Nexus 7 (with Windows, Mac, or Linux)”

  1. Do you know if I can install ubuntu os in a Samsung Wave II or the procedure is valid only for the Nexus family? Thank you 🙂

  2. where exactly in the nexus are we supposed to copy the two zip files is “ComputerNexus 7Internal storage” good?

  3. I followed antother tutorial when I installed Ubuntu touch on my nexus 7, so I didn’t follow your advises :/ But do the XDA-developerguide work when your working on a Mac as well?

  4. all there is to download is a zip and 3 other .img files, your tutorial mentions two zips, how does this work?

    1. For me, it worked perfectly with this tutorial. I saw there are other files, bud I havent used them and everything works fine.

  5. If we have TWRP or CWM already, can’t we just flash and and boot up?

    1. That’s pretty much the short version of what the article above says. 🙂

      It turns out the fastboot commands to install the boot image might not be necessary. I’ve seen reports that you can just flash the other two components and be done with it.

  6. You can’t use “fastboot devices” when you aren’t in the bootloader. Users will be confused when they read this guide and try to do that.

Comments are closed.