Guide to Install Ubuntu 13.04 on Nexus 7 using Windows
Ubuntu 13.04 (Raring Ringtail) for Google Nexus 7 was announced in late October, where Jono Bacon stated that they will run the stock Ubuntu Desktop on the Nexus 7 tablet while focussing on the core of Ubuntu.
According to Jono –
A core goal for Ubuntu 13.04 is to get Ubuntu running on a Nexus 7 tablet. To be clear, this is not going to be a tablet Unity interface running on the 8/16GB Nexus 7, but instead will focus on getting the current Ubuntu Desktop running on the Nexus so that we can ensure pieces such as the kernel, power management and other related areas are working effectively on a tablet device.
Canonical provides a native installer called ‘Ubuntu Nexus 7 Desktop Installer’ to help developers and interested users easily install Ubuntu on Nexus 7 through a graphical interface, where the latest image is downloaded automatically and flashed accordingly. But the only limitation is that the Ubuntu Nexus 7 desktop installer requires Ubuntu 12.04 LTS or later, hence making it difficult for non-Ubuntu users to install it. Though, Ubuntu Wiki has listed a manual procedure to flash Ubuntu on Nexus 7 but that requires Ubuntu as well, offering no choice for plenty of Windows users out there.
Apparently, our guide is first of its kind offering the procedure to flash Ubuntu on Asus Nexus 7 through Windows OS. 🙂
Disclaimer: Try this guide at your own risk! We wont be responsible in case your device gets bricked. This may also void your warranty.
Note: This is a developer preview image, not intended for general users. This process will replace your existing Android OS on Nexus 7 with Ubuntu 13.04. To revert back to Android, you need to flash the official Android 4.2.1 factory image on your Nexus 7.
- This process requires to unlock bootloader which Completely Wipes your device including /sdcard. So make a backup first.
- This procedure is meant only for Nexus 7 Tablet (8GB, 16GB, or 32GB).
Manually Installing Ubuntu 13.04 on Nexus 7 [Step-by-Step Instructions]
Step 1 – This is an important step. You need to install and configure the drivers on your Windows system. Refer our guide: How to Install ADB and Fastboot Drivers for Nexus 7 on Windows 7 & Windows 8
Step 2 – Download and Extract all the required files.
– Download Ubuntu 13.04 (Raring Ringtail) Daily Build (boot.img & img.gz) from http://cdimage.ubuntu.com/daily-preinstalled/current. (Only download these 2 files: ‘raring-preinstalled-desktop-armhf+nexus7.bootimg’ and ‘raring-preinstalled-desktop-armhf+nexus7.img.gz’). Then extract the img.gz file and change the file extension of extracted file from .raw to .img.
– Download platform-tools-v16. Extract the zip file to the folder ‘platform-tools-v16’ on your desktop. Then move the above two .img files into the same folder such that all the required files are placed in one folder. Refer to image:
Step 3 – Proceed with Unlocking Bootloader and Flashing Ubuntu
- Turn off Nexus 7. Then boot it into bootloader/fastboot mode by holding Volume Up + Volume Down key and power key simultaneously.
- Connect the tab to computer using USB cable.
- Now Right-click the folder ‘platform-tools-v16’ while holding down the Shift key and click on ‘Open command window here’.
- Command prompt window will open up. Type fastboot devices to confirm that your device is recognized while it’s in fastboot mode.
Unlock Nexus 7 Bootloader – Unlocking the bootloader will wipe entire data on your device including SD card. So, make sure you’ve taken a backup of important files.
In CMD, enter the command fastboot oem unlock .Then a screen titled ‘Unlock bootloader?’ will appear on your device. Select ‘Yes’ to unlock (use volume keys to navigate and power key to make your selection.) The lock state should say Unlocked.
Flashing Ubuntu 13.04 Manually on Nexus 7 –
When your device is in fastboot mode, enter all the below commands step-by-step in stated order (use copy-paste in CMD to input the command).
Note: Make sure to wait for the “finished.” notification in CMD before entering the next command. The userdata file takes few minutes to flash.
fastboot erase boot
fastboot erase userdata (Not required if you just unlocked prior to flashing)
fastboot flash boot raring-preinstalled-desktop-armhf+nexus7.bootimg
fastboot flash userdata raring-preinstalled-desktop-armhf+nexus7.img
That’s it! Nexus 7 will now reboot and boot into the Ubuntu installer. It will initially take a few minutes to prepare the root file system, so stay patient.
Video Tutorial –
Source: Ubuntu Wiki