Sunday, 20 March 2016

How to flash Samsung Galaxy Nexus with Ubuntu OS

As pointed out by our readers, this flashing may not work, as it has been discontinued. We will let you know as soon as we find any more ports to Ubuntu.

Samsung Galaxy Nexus with Ubuntu Touch
Samsung Galaxy Nexus with Ubuntu Touch

If you have a spare Samsung Galaxy Nexus, you can flash it with Ubuntu OS easily. You will need to unlock the bootloader first which will allow the custom ROMs to be installed on your device. In this article, I am going to discuss how you can flash Samsung Galaxy Nexus with Ubuntu OS.

To flash the Samsung Galaxy, you will need to have Ubuntu installed in your Desktop. In case you would like to buy an out of box Ubuntu Phone, here's the list of Ubuntu Phones.

Step 1: Setting up your desktop for the flash

Before you can flash your device, you will have to download and install the repository needed for the flash.

Open Terminal in Ubuntu ( Press  CTRL + ALT + T), and run the following commands,

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

Enter your root password whenever required. Once you are done successfully with this step, the next step is to unlock your Samsung Galaxy Nexus.

Step 2: Unlocking the device

To unlock the device, turn off your phone. Now press the power button + Volume Up + Volume Down keys simultaneously. The phone will restart showing the bootloader menu. Plus the device to your Desktop with USB chord.

Now, open terminal again, and run the following command,

sudo fastboot oem unlock

Once this step completes, your phone will show the "Unlock Bootloader" option on the screen of your Samsung Galaxy Nexus. Since the touch won't be working, pressing Volume Down key will mean a yes to your device. Then press the Power Button to select it. Now the fast boot status is accessible. Press the power button again to boot up the device again. Your phone will still boot up with Android with factory reset, since we have yet not flashed the device with the Ubuntu OS, but just only unlocked the phone.

Step 3: Initial device set up 

The next step is to enable USB debugging on your device. Go to Settings > About Phone > Tap on build no. 7 times. A prompt will open notifying you that you are in the developer mode now. 

Again, Go to Settings > Developer Option > USB Debugging and allow it. Select OK to the screen message. 

Note: This step can slightly vary depending on the android version present.

Step 4: Deploying image to device

The next and final step to flash Samsung Galaxy Nexus with Ubuntu OS is to deploy the image to the device. 

Open Terminal for the last time, and run the following command: 

phablet-flash -b -l 

Enter password where it asks. 

Once completed, the device should reboot into Ubuntu on itself. Enjoy the Ubuntu Experience on your Samsung Galaxy Nexus. We will soon be coming up with the steps covering other devices that can be flashed with Ubuntu OS. Let us know if you face any problem. OnePlus One also gets the Ubuntu OS.


  1. Where is the link to the Ubuntu Touch image? Kind of important, considering everything else is here.


  2. you must use phablet-flash cdimage-touch -b instead of old phablet-flash -b -l

  3. Greetings! This is my first comment here so I just wanted to give a quick shout out and tell you I genuinely enjoy reading through your blog posts. Can you recommend any other blogs/websites/forums that deal with the same topics? Thank you so much! samsung mobiles online