Canonical announced Ubuntu & Android dual boot

Canonical, the company behind “Ubuntu” has hit yet another milestone with their latest Announcement of Ubuntu and Android dual boot developer preview. Official Dual boot support for Android and Ubuntu was unveiled by Canonical with the claim “Christmas has arrived early”. It is still however in developer preview stage and is currently targeted at developers who are familiar with their partition layouts and willing to go about reflashing since the recovery partition will be erased.

Ubuntu now supports many Android flavours and can be built from a “Stock” base. “Dual boot” is a GUI interfaced app to quickly switch between OSes and has been tested with the Nexus 4.

Installing in Dual Boot

1. First step is to install the “Developer Preview Tools”. Open a terminal and type the following.

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

2. Now, we need an unlocked Android device. This can also be done by enabling USB Debugging on your phone and connecting it in “Fastboot” to your system and opening a terminal and typing

sudo fastboot oem unlock

3. Make sure a current image of your OS is saved in order to return to it.

4. Now, download the installation script to your home directory from here and make it executable with the command

chmod +x dualboot.sh

5. To install dual-boot (“Ubuntu Installer”), run the following command on your desktop with your phone connected.

If  you are using a stock rom without a SuperUser app flashed

./dualboot.sh FULL

On non stock OSes like CyanogenMod, use this instead.

./dualboot.sh UPDATE

You phone may reboot several times and finally boot into Android. You should find “Ubuntu Installer” in the Apps section.

6. To install Ubuntu, we need to first clear up space. Type the following command in terminal.

adb shell "su sh rm -rf /cache/*"

Now run the “Ubuntu Installer” app. Choose “Trusty” channel. You will be required to make a few SU(Superuser) grants when prompted.

7. When done, press “Reboot to Ubuntu” to boot to Ubuntu.

Troubleshooting and returning to normal

If something goes wrong or if you need to return to your former state, you will need to reflash recovery and restore from your backup.

Choice is certainly great for the market, especially when one choice does not compromise another. Users should still be able to use their favourite android apps the way they love them and their PC apps just as seamlessly by connecting to monitor and keyboard without ever needing two devices. Canonical may have earned a few cold shoulders among the Linux community, but they definitely deserve credit for one thing.

About Tarun M Prabhu

I am a Linux user for a little over a year now and an ardent distro hopper. I have used LXDE, XFCE, RazorQT, Gnome 2, Gnome 3, the new MATE, and Cinnamon desktops. I have a soft corner towards Manjaro for being a rolling distro that provides stable packages but my daily driver at the moment is Ubuntu 13.10 with Gnome window manager running KDE 4.11 and Gnome 3.10 which I switch between based on my mood. I'm fond of R for being the most powerful statistical tool. Being a junior consultant in quality, I still don't have the money to purchase tools my peers use but R being flexible, free and completely cross platform was everything I have ever wanted. I also use Steam on Ubuntu to play Team Fortress from time to time, other open source software I use are LMMS and Openshot.

7 thoughts on “Canonical announced Ubuntu & Android dual boot

  1. Pingback: Hay Day Cheats
  2. Pingback: Trackback
  3. Pingback: Trackback
  4. Pingback: Trackback
  5. Pingback: Trackback
  6. Pingback: Trackback
  7. Pingback: Trackback

Leave a Reply