Canonical released its developer preview of Ubuntu for Phones yesterday, and it provided a method for the public to flash the preview of the platform to their personal Nexus devices. After trying to the better part of two hours to get apt-get working on my MacBook Air, I turned to someone for help. I was pointed in the direction of xda-developers, where I learned that flashable images were hosted on Ubuntu’s site.
The instructions, however, were a little scarce, particularly for anyone who isn’t well-versed in the world of Android modding. If you’re wondering how to get Ubuntu on your Nexus 4, look no further.
Files you will need
You will also need ADB (Android Debug Bridge) installed and setup on your computer. And the bootloader on your device needs to be unlocked. (Backup first!) Once those two things are done, you are ready to begin.
How to install Ubuntu
- Boot the Nexus 4 to the bootloader (power down, press and hold power, volume up and volume down simultaneously), and plug it into the computer. In Terminal, change directory to where you saved the TWRP file and type “fastboot flash recovery openrecovery-twrp-18.104.22.168-mako.img”.
- Once TWRP is flashed and you have booted to recovery mode, perform a backup and move the backup to an external hard drive. Then perform a factory reset from within TWRP.
- From the home page of TWRP, select Advanced, then select ADB Sideload. From Terminal on the computer, change directory to where you have the Ubuntu images saved. Type “adb sideload quantal-preinstalled-armel+mako.zip” first. Once that finishes, type “adb sideload quantal-preinstalled-phablet-armhf.zip”. This process will take some time. Once it completes, tap Reboot System and wait.
- You now have Ubuntu 12.10 Touch on your Nexus 4.