HTC Nexus 9 is one of the first 64-bit ARM platform with powerful ARMv8 cores (e.g. not Cortex A53) that both commercially available, and relatively affordable at $399 to $599, at least significantly cheaper than the server boards such as Applied Micro X-C1. The tablet comes with Android 5.0 Lollipop, but for those of you who wish to have an ARM64 platform running Ubuntu or other 64-bit Linux operating systems, Ubuntu installation instructions provided by Ryan Houdek, Dolphin emulator developer, might come handy, especially it won’t affect your Android installation provided you have already unlocked your bootloader.
- Install dependencies such as Aarch64 toolchain:
1sudo apt-get install gcc g++ git gcc-4.9-aarch64-linux-gnu g++-4.9-aarch64-linux-gnu
- Build a initramfs with buildroot. You’ll need to enable Aarch64 Linaro toolchain, set consolle output to ttyFIQ0, and select cpio roots in menuconfig step:
1234git clone https://github.com/buildroot/buildroot.gitcd buildrootmake menuconfigmake -j8
- Build the Linux kernel. Again you’ll have to change a bunch of options in make menuconfig step related to watchdog, graphics supports, and overall system configuration:
12345678git clone https://android.googlesource.com/kernel/tegra.gitcd tegragit checkout android-tegra-flounder-3.10-lollipop-releaseexport ARCH=arm64export CROSS_COMPILE=aarch64-linux-gnu-make flounder_defconfigmake menuconfigmake -j8
- Extract a rootfs (e.g. ubuntu-core-14.04.1-core-arm64.tar.gz) to a USB flash drive formatted with EXT-2/3/4, make some minor modifications to the rootfs, and rebuil the kernel. Once everything is don and well, boot Ubuntu with fastboot as follow:
1fastboot -c "console=fbcon=rotate:1 root=/dev/sda1 rootwait rw" boot arch/arm64/boot/Image.gz-dtb
Beside the Nexus 9, a USB OTG cable, and a USB flash drive required for installing Ubuntu ARM64 with these instructions, you should really make a headphone UART debug cable as accessing the serial console with make it easier to spot potential issues during installation.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
5 Replies to “How to Install Ubuntu ARM64 on Nexus 9 Tablet”
Not sure i want to install normal linux, prefer u touch, but this shows HW works
What apps are available with Ubuntu ARM64? Can you still install Google Play apps after switching to Ubuntu? What about u touch, what apps are available to install with u touch?
ARM64 is officially supported by Ubuntu. So I guess most packages will work.
How it’s possible some bugs still need to be fixed to have all Nexus 9 features work.
The instructions above are for booting from USB flash drive, and it does not affect your Android installation, and next time you boot normally, it will just go to Android.
Have you tried this headset -> UART adapter? Is it working? I have some troubles with doing my own
I have not tried myself, but the person who wrote the instructions did.