1. Home
  2. Android

Install Ubuntu Touch Preview On Nexus Devices The Easy Way From Recovery [Complete Guide]

The announcement of Ubuntu for Phones and the more recent one of Ubuntu for Tablets had sparked huge interest in the entire smartphone enthusiast community and kept countless Nexus device owners waiting to get their hands on the Ubuntu Touch experience.  Finally, the wait is over, as Ubuntu Touch Developer Preview has landed on the Nexus series of devices including Nexus 10, Nexus 7, Nexus 4 and Galaxy Nexus, just as Canonical promised it would.  Though if you have rushed to the original installation method provided by Canonical at the official Ubuntu Wiki, many of you must have been disappointed at learning that the method required you to be running Ubuntu on your PC in order to install it. A Linux based OS running PC is not everyone’s cup of tea and it’s hardly fair to install or even dual boot a new OS only to be able to install a new one on your mobile device – and one that is already highly experimental at this point. Luckily, there is an easier and much more more familiar way to get Ubuntu Touch up and running on your Nexus devices, irrespective of the OS on your PC. That’s right – we are talking about the usual flashing from a custom recovery. So let’s get on with it.


Disclaimer: Please follow this guide at your own risk. AddictiveTips will not be liable if your device gets damaged or bricked during the process.

Flashing Ubuntu on your phone will wipe your phone completely, including all your app data and media. That’s why taking a backup from recovery and then transferring all the contents of your device’s internal storage to your computer is extremely important, if you later want to get everything back to the way it was. We will also be providing instructions for backup as well as restoration.


Installing Ubuntu Touch Developer Preview



If you already have a custom recovery installed, skip the first 3 steps; just reboot into recovery and start from step 4.

  1. Reboot your device into bootloader. Since you already installed the Android SDK in the bootloader unlocking process, and have USB debugging enabled, you can easily do so with the following command:
    adb reboot bootloader
  2. Install the downloaded recovery image using this command:
    fastboot flash recovery recovery.img
  3. Press any of the volume keys till it says ‘Recovery mode’ on your screen, and then use the power button to enter recovery.
  4. Once in recovery, take a backup from ‘backup and restore’. If you are using another recovery such as TWRP, use its own backup method to perform a full backup.
  5. Now reboot back into Android mode using the options provided in recovery.
  6. Transfer all the contents of your internal storage to your PC. This step is important because the next steps will wipe everything from your device, including the backup you just took from recovery.
  7. Transfer the downloaded Phablet armhf package, and the device-specific zip file to the internal storage of your device (not in any sub-folder).
  8. Reboot into recovery again.
  9. Perform ‘wipe data/factory reset’, followed by ‘wipe cache’, and then ‘wipe dalvik cache’ from the ‘advanced’ menu. If you are using another recovery such as TWRP, use its own wiping method to perform the same three wiping operations.
  10. Now get back to your recovery’s main menu, select ‘install zip from sdcard’ followed by ‘choose zip from sdcard’ and choose the Phablet armhf zip file. If you are using another recovery such as TWRP, use its own installation method to flash this file.
  11. Once the Phablet armhf package has been installed, use the same method to install the device-specific zip file (the one with maguro, mako, grouper or manta in its name, depending on your device).
  12. Lastly, reboot the device into system using ‘reboot system now’ from ClockworkMod recovery’s main menu, or the appropriate option from any other custom recovery that you’re using.

That’s it – keep your fingers crossed, as Ubuntu Touch boots up on your device, which doesn’t take long. Once its lock screen shows up, you can get to the home screen as follows.

  • On a phone such as Galaxy Nexus or Nexus 4, simply swipe leftward from the right edge, and you’ll land on the home screen.
  • On a tablet such as Nexus 7 or Nexus 10, you will be shown multiple user accounts. You can either use the Guest account without any password, or one of the preconfigured accounts using the first name of that account (in all lowercase letters) as the password.

Enjoy playing around with Ubuntu. Not many apps work for now, and the ones that are working don’t really have that much to offer, but since it’s a preview rather than a daily driver build, that is expected. The overall user interface works, and it is both stunning and intuitive in our opinion.

Nexus-4-Ubuntu-Touch-Developer-Preview-home Ubuntu-Touch-Preview-Unity-Launcher-Nexus-4

Reinstalling Android & Restoring Your Backup

Had your fun with the preview and want to get back to Android? Let’s get the latest version of Android up and running on your device, and restore your backup to take everything back to the way it was.


  • Latest Android factory image for your device. Use this information to select the correct factory image:
    • takju for Galaxy Nexus GSM US edition (with Google Wallet)
    • yakju for Galaxy Nexus GSM International edition (without Google Wallet)
    • occam for Nexus 4
    • nakasi for Nexus 7 Wi-Fi
    • nakasig for Nexus 7 GSM/HSPA+
    • mantaray for Nexus 10
  • A utility to extract contents of compressed archives. We recommend the excellent and free 7-zip for Windows.
  • The backup you transferred to your computer before installing Ubuntu.


  1. Extract the contents of the factory image you downloaded. You will probably need to extract the contents of the extracted file again, to get a folder.
  2. Connect your device to your computer via USB, and put it into bootloader mode using the same method you used when installing Ubuntu.
  3. Windows: Run the flash-all.bat file from the folder extracted in step 1.
    Linux or Mac: Run the flash-all.sh file from Terminal.
  4. Wait patiently as the factory image installs on your device.
  5. Once it has installed successfully, the device will reboot into Android. Do the initial configuration of your device after it boots up.
  6. Now transfer the backup you had taken on your PC back to your device, taking care to keep the folder structure the same.
  7. Next, flash a custom recovery using the same method used above, and reboot your device into recovery.
  8. In recovery, go to ‘backup and restore’, and select ‘restore’ and choose the backup you had made in recovery just before installing Ubuntu. If you are using TWRP or any other recovery, use its own backup restoration method to restore the backup you took before Ubuntu installation.
  9. After the backup has been successfully restored, reboot your device into system, and you should have everything back the way it was.

For any queries and updates related to Ubuntu Touch, head over to Ubuntu Wiki.

UPDATE: Our detailed review of Ubuntu Touch Developer Preview is up, so don’t forget to check it out!

Zayed Rehman contributed to this post

Leave a comment