Ubuntu (or other Linux) on the Asus Transformer Book T100


This post is now out of date — see the latest update, here

The T100 is a nice little convertible tablet/netbook.

My aim is to get a “perfect” Ubuntu installation on the T100, such that it can be used successfully as a daily machine in both netbook and tablet modes.

GLXGears in tablet mode

GLXGears in tablet mode

Unfortunately Linux support right now is quite rudimentary, and installing it requires us to jump through a few hoops. The situation is improving rapidly however. So I will keep updating this How-to as new drivers become available and things improve. See the latest update.


Eventually I expect hardware support for the T100 will be excellent, but we are not there yet. In order to get the best support possible, we will be using bleeding-edge builds and the latest Linux kernels. If you’d just prefer an easy life, come back in October and just install Ubuntu 14.10.

That said, this little convertible is a lovely machine, and Ubuntu/unity works very nicely on it — finally Unity has a purpose! The more people get on for the ride now, the quicker we can test and iron out bugs.

*** This post will constantly be updated as in-kernel support improves ***

Current status (updated 23/03/2014)

I’ll update this whenever I manage to get new things working. I will only add items to the How-to below that are confirmed to work well.

  • Graphics: Working with accelerated (3D) graphics 7/10
  • Wifi: Working, but often drops connection [working on improving this] 6/10
  • Touchscreen: Working, with multi-touch out of the box 10/10
  • Sound: Working, with patches 8/10
  • SD card reader: Working, some configuration needed (thanks akira) 9/10
  • Battery monitoring: Working, with patches 8/10
  • Tablet keys (Volume up/down etc): Not yet working 0/10
  • Power management (Suspend/resume): Not yet working 0/10
  • Orientation sensor: Not yet working [currently testing] 0/10
  • Backlight & ambient light sensor: Backlight not adjustable. Light sensor works with custom driver 5/10
  • Touchpad: Working, no multitouch yet 8/10
  • Shutdown / reboot: Working, with patches 9/10

1. First steps: Preparing for the Ubuntu Install

First things first, update using Asus LiveUpdate to the latest “BIOS” available. At the time of writing, that is v304. Do any backing up of Windows / recovery partitions. I’ll leave the details of that up to you.

Before we attempt to boot Linux on the T100, we need to do some preparation, so start in Windows. Download the latest daily AMD64 build of Ubuntu 14.04 from here.

Download the Rufus USB bootable image creator, and “burn” your downloaded ISO to a spare USB stick. In Rufus, for “Partition scheme and target system type”, choose “GPT partition scheme for UEFI computer”. For “File System”, choose “FAT32″, and leave the rest at default. At the bottom, check “Create a bootable disk using: ISO Image” and select your downloaded Ubuntu image, then hit “Start”.

When your USB stick is ready, close Rufus. It should now be browseable in Windows. Browse to the EFI\Boot directory, and place this bootloader (named bootia32.efi) there. This bootloader was compiled from source using the latest Grub2. If you don’t trust random downloaded files from the Internet (and you shouldn’t), you can find the instructions for building it yourself here.

2. Booting the Live Image

Now, insert the USB stick and reboot to the firmware (BIOS). You can do this in Windows by holding shift when pressing “restart”, then touching Troubleshoot → Advanced Options → UEFI Firmware Settings → Restart.

Once there, disable SecureBoot, then visit the boot options, and ensure the USB stick is the first in the list.

Press F10 to save settings, and after a few seconds you will be in the GRUB bootloader. Before the timeout, immediately hit CTRL-ALT-DEL. This will reboot the computer again, but this time you will have the laptop’s native resolution (rather than being stuck at 800×600 from the “bios”).

In the GRUB menu, highlight “Try Ubuntu”, and press “e” to edit it. In the editing screen, scroll down to the command line options, where it says “quiet splash”. Delete “splash” and replace it with:
video=VGA-1:1368x768e reboot=pci,force

Then press F10 to boot. You should get all the way to the Desktop.

3. Installing the distro

Click the “Install Ubuntu” desktop icon to install Ubuntu permanently.

The partitioning scheme you choose is up to you — but you will need to preserve the EFI partition, so don’t just partition the entire disk for Ubuntu.

In addition to the EFI partition, I prefer separate /, /home and /boot mount points; but that is up to you. You could squish down the Windows partition and created the additional partition(s), or just delete the Windows partition altogether if you don’t need it.

When done, reboot, leaving the USB stick in.

4. First boot

Ubuntu won’t boot yet. We’ll need to compile our own bootia32.efi to use with Grub. To do that we really need a wireless connection. So we’ll boot manually, fix up wireless, and fix Grub.

Boot back to the Grub welcome screen on the USB stick. Hit ‘c’ to drop to a Grub command line.

You’ll need to provide Grub with the path to your kernel and initrd to boot. First, the path to the kernel:

linux (hd2,gpt5)/boot/vmlinuz-3.13-xxxx root=/dev/mmcblk0p5 video=VGA-1:1368x768e reboot=pci,force

Here, (hd2, gpt5) refers to the fifth partition on the third disk (Partition numbering begins at 1 and disk numbering begins at 0). This will vary depending on how yo uinstalled and your T100 model. On my 32GB model, Grub assigns the USB stick as hd0, the read-only recovery flash chip as hd1, and the main internal flash as hd2. gpt5 is the fifth partition, but it will depend on how you installed.

Fortunately, grub has good auto-completion features, so you can hit twice as you type, and grub will list possible completions for you — just keep trying until you see the various vmlinuz kernels.

The root=/dev/mmcblk0p5 will also depend on the partition you installed to. It will be your root partition. Unfortunately this can’t be auto-completed, so if you can’t remember your partition setup, you’ll need to try by trial and error.

To complete the line, press Enter.

Then you need to specify the location of your initrd. This is easy, it’s in the same place as the kernel:
initrd (hd2,gpt5)/boot/initrd-3.13-xxxx

Then Enter.

Then boot with:

With luck after hitting Enter, you’ll boot through to Ubuntu. If not, don’t be disheartened — keep trying.

5. Enabling wifi

To get further, we’ll need wifi. However internal wifi on the T100 isn’t terribly reliable under Linux yet. If you have access to another wifi dongle, you might want to try that until you’re fully set up.

The driver is already included, but it needs some firmware and a copy of your system’s wifi nvram:

  • Grab the Wifi firmware here (from the Linux-wireless repository). Copy it to /lib/firmware/brcm/brcmfmac43241b4-sdio.bin
  • The NVRAM is difficult to get right now, as 32-bit EFI runtime services aren’t yet available on 64-bit. But you can use my NVRAM — get it here and copy it to /lib/firmware/brcm/brcmfmac43241b4-sdio.txt

You’ll now need to reboot using the same procedure again, and wifi should be working.

However, I found wifi performance to be very poor — there are some bugs in the driver. This is improved somewhat with the latest kernel, which we will upgrade to in a later step. I managed to improve performance somewhat by using the NVRAMs from other platforms, and splicing in some of the missing variables. You can see my tries here. In all cases, copy them to /lib/firmware/brcm/brcmfmac43241b4-sdio.txt , and reboot or unload/reload the wifi driver:

sudo modprobe -r brcmfmac
sudo modprobe brcmfmac

If you find a firmware/nvram combination that works really well, please share.

6. Completing the installation

We can’t keep rebooting like this… so let’s fix Grub. This assumes you now have a working Internet connection.

We’ll need some build tools — install them:

sudo apt-get update && sudo apt-get install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo ia32_libs build_essential

Then get the Grub source:
git clone git://git.savannah.gnu.org/grub.git

Now build it:

cd grub
./configure --with-platform=efi --target=i386 --program-prefix=""

And install to efi:

cd grub-core
sudo ../grub-install -d . --efi-directory /boot/efi/ --target=i386

This will create a directory, ‘grub’, in your EFI partition.
We want to copy the grubia32.efi from there to the location Ubuntu created during installation:

cd /boot/efi/EFI
sudo cp grub/grubia32.efi ubuntu/grubx64.efi

This should be enough to allow you to boot from the “ubuntu” option in your EFI firmware.

Before you boot, let’s add the default command line options to Grub.

Open /etc/default grub in a text editor:
sudo nano /etc/default/grub

And edit the GRUB_CMDLINE_LINUX_DEFAULT exactly as we did before. When done, hit ctrl-o to save then ctrl-x to exit. Then, to update Grub:
sudo update-grub

Congratulations! you should now be able to boot/reboot directly to the Ubuntu desktop!

7. Upgrading to the bleeding edge to improve hardware support

There are still a lot of things to get working. The best way to improve hardware support further is to use the latest development branches of the kernel.

Unfortunately (as at the time of writing), even the latest development Linux kernel (3.14-rc5) lacks some key hardware support for Baytrail tablets. But we can improve that by pulling in latest patches for sound. We’ll also compile in a new experimental feature for accessing 32-bit EFI services from a 64-bit system, as we need that for tools like efibootmgr to work. Finally, we’ll pull in the latest wireless fixes and the latest power management changes. We need to power management changes for our battery patch.

I recommend you compile this on a fast desktop computer with a decent network connection. You could do this on your tablet, but it would be extremely slow. For the following instructions, I assume you’re using a recent 64-bit Ubuntu on a desktop. If you’re using 32-bit, you’ll have to change the instructions to cross-compile — I’ll leave that up to you (and Google).

On your compiling machine, install the packages you’ll need to build a kernel:

sudo apt-get install git build-essential fakeroot crash kexec-tools makedumpfile kernel-wedge libncurses5 libncurses5-dev
sudo apt-get build-dep linux-image-$(uname -r)

Then create a working directory, step into it, and download the sources you’ll need:

mkdir kernel
cd kernel
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd source
git remote add sound git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
git remote add efi git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git
git remote add pmfixes git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git remote add wifinext git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git
git fetch sound
git fetch efi
git fetch pmfixes
git fetch wifinext

Then merge the updates from sound, efi mixed-mode, power management and wireless onto the mainline kernel:

git merge sound/topic/intel
git merge efi/efi-for-mingo
git merge pmfixes/linux-next
git merge wifinext/master

There are still some patches we need to apply. Step back and create a patch directory, and download some patches into it:

cd ..
mkdir patches
git clone https://github.com/jfwells/linux-asus-t100ta.git

Now apply the patches:

cd ../source
git apply ../patches/linux-asus-t100ta/patches/*

They should all apply without error.

Now we’re almost ready to compile. Before we do, we need a .config file to tell the kernel build system what parts we want to compile. Start by copying over the current one from your T100. You’ll find it at /boot/config-xxxxxx , where xxxxxx is the version of the currently running kernel. Grab it and copy it to the kernel/source directory you’ve just been working in. Rename it to .config .

Now we need to update the config:

make oldconfig

This will prompt you to set configuration for the things that will be newer in this kernel. Select ‘m’ to compile relevant drivers as a module where offered (in particular all the ‘soc’ sound options). Select ‘Y’ to enable EFI mixed mode where offered. Leave the kernel debugging options off.

When done, we’re ready to compile. We can just do it the quick and dirty way:

make clean
make -j8 deb-pkg

The above assumes this is on a quad-core processor with hyperthreading (hence the ‘-j8′, or 8 simultaneous processes). Reduce this number appropriately if you have less cores.

This will take some time (anywhere from 20 minutes to over an hour. If you’re doing it directly on the T100, all bets are off – it could take all day.

When complete, you’ll have a set of .deb packages in the directory above (i.e. in the “kernel” directory). We need “linux-headers-xxxxx.deb” and “linux-image-xxxxx.deb”. Choose the smaller of the linux-image packages, the one without debug symbols. Copy them over to your T100.

On the T100, install the new kernel with:

cd <folder where you saved the .debs>
dpkg -i ./*.deb

Then reboot!

8. Sound

Sound won’t yet be working. First, you’ll need some more firmware. For now, you can grab it from ChromiumOS, here. Unpack the archive and copy the files to /lib/firmware/intel .

The drivers are in a bit of a raw state — they expose about a hundred oddly-named mixer and DSP devices to ALSA. We can set some defaults. Grab the defaults file here, and copy it to /var/lib/alsa/asound.state .

Reboot, and force-load the state file into alsa with :
sudo alsactl -f /var/lib/alsa/asound.state restore

For me, my sound still sounds pretty awful. I need to mute the distorted right channel in alsamixer, then at least it is bearable. I also find the CPU runs a bit hot with sound enabled. Let me know if you have more luck.

* please be careful — my sound is permanently distorted, even in Windows now; keep the volume low when testing the various options *

9. SD card reader

The SD card reader works with newer kernels, but the sdhci module needs some configuration. Create a new file:

sudo nano /etc/modprobe.d/sdhci.conf

Then add the following:

options sdhci debug_quirks=0x8000

ctrl-o then ctrl-x to save and exit, then:

update-initramfs -u -k all

Then reboot and the card reader should be working.

9. Other drivers

So far, the only additional driver I have working is the light sensor. Please download and test my driver here.

9. Other scripts

I have made some additional small scripts to improve usability.

Dock scripts: These enable/disable the Onboard on-screen keyboard when you undock/dock the tablet. Set up the onscreen keyboard first in System Settings → Accessibility, then the scripts will enable/disable they keyboard for text fields.

Rotate script: This will rotate the screen and touchscreen when run. You can place the desktop entry on your desktop. We can connect the orientation sensor to this later, once that is working.

Workable... for now.

Workable… for now.

476 thoughts on “Ubuntu (or other Linux) on the Asus Transformer Book T100

  1. Astra-Linux – Native linux for Asus T100

    Astra-Linux is a Debian-based Linux operating system, with Fly as its default desktop environment.

    You can try LiveCD(USB) before install on Your machine.
    URL for live-cd-usb image:

    or You can install it, and it’ll work on Your machine from the box
    URL for install cd image:

    repository with debs and sources:

  2. Astra-Linux – Native linux for Asus T100

    Astra-Linux is a Debian-based Linux operating system, with Fly as its default desktop environment.

    You can try LiveCD(USB) before install on Your machine.
    URL for live-cd-usb image:

    or You can install it, and it’ll work on Your machine from the box
    URL for install cd image:

    repository with debs and sources:

  3. You can earn some extra $$$ from your site, i see several
    opportunities here. You should search in google for:

    Yoogurn’s money making

  4. Another problem: how do you repartition the disk, since gparted can’t shrink bitlocker partition (c.f. here)? I can erase the recovery partition, but it is only 8G, wouldn’t hold the complete ubuntu installation, right?

  5. daniel

    kernel panic – not syncing attempted to kill init! exitcode =0×00000087 when i try install ubuntu on unusual 10w

    how can i solve this problem?

  6. Hi, I installed Mint on AsusT200TA, and touchscreen works only when the dock keyboard is connected! Isn’t there similar issue with Ubuntu? In not, I will consider switching to ubuntu.

  7. FD

    When I try and build into grub-core, I get ./autoshen.sh: line 86: autoreconf: command not found

    Tried installing to efi anyway and ../grub-install command isn’t found either

  8. Elton Woo

    I just came across this article / page, and would like to be placed on a mailing list to be updated on the latest developments. I recently purchased an Asus Transformer T300 Chi: http://www.asus.com/ca-en/Notebooks_Ultrabooks/ASUS_Transformer_Book_T300_Chi/overview/

    Currently, I am using Linux Mint 17.1 and would like to test a live CD on the Transformer.

    I’ve posted a request here: http://forums.linuxmint.com/viewtopic.php?f=90&p=1027929#p1027929

    Thank you.
    … respectfully…

  9. Edward

    Ok, tried this once and had to restore windows when on subsequent reboots I got an error message and the machine kept trying to fix the boot. I won’t give up, but one part of the instructions is just a little too vague for me, surprising since the rest is so wonderfully detailed, is the partitioning. I want to eliminate Windows completely and only have Linux. How do you partition for that?

  10. I do not even know the way I stopped up right here,
    but I thought this submit was good. I don’t know who you
    might be but certainly you’re going to a famous blogger if you are not already.

  11. Raymond Day

    The USB boots on it very good. But just can’t get the install to work. I dd backed up my Windows 10 on it and then just said use the hole eMMC. But can’t get it to run from it.

    It would be neat if some one got it working and just DD copied that with a live boot USB. Then post it to download it.

  12. Timothée

    Step 4;
    - When i write this line : ” linux (hd2,gpt5)/boot/vmlinuz-3.13-xxxx ”
    It’s written :
    error : disk `(hd2,gpt5)’ not found
    - When i write this line : ” linux (hd2,gpt5)/boot/vmlinuz-3.13-xxxx ” and other
    It’s written :
    error : file `/boot/vmlinuz-3.13-xxxx’ not found.
    error : unknow filesystem.

    I have do ” ls “, it’s written :
    (hd0,gpt1) (hd1) (hd1,gp3) (hd1,gpt2) (hd1,gpt1) (hd2) (hd2,gpt3) (hd2,gpt2) (hd2,gpt1) (hd3) (hd4)

    Help me please. Thanks.

  13. Antonello

    Hi, I’ve tried ubuntu gnome 15.10 live usb and not work these:
    - wifi
    - tablet keys
    - orientation
    - suspend/resume
    - camera

    there are possibilities to do work they?
    Thank you very much

  14. Chris

    Please help it won’t boot me to Ubuntu desktop when I click my flash drive on boot options I press enter then it quickly brings me back to boot options

  15. str8chat

    I used the info on this site to make a USB pen drive that boots Ubuntu 15.10 Live on my T100TA. I am sticking with Windows 8.1, but want to backup the whole 32 GB SSD in case Microsoft try to force their Windows 10 upgrade on to the device and screw the OS.

    Although I can back up the entire SSD, Ubuntu’s fdisk utility cannot show me the partition table as it says the drive is read only. This makes me wonder whether I would be able to do a restore is something went wrong. I don’t know whether this is a side effect of bitlocker, which seems a bit pointless on a machine that apparently does not have a drive that can be transferred to a different machine.

    The recovery partition does not cover the whole machine, but simply provides a few simple tools that will not allow the majority of users any chance of fixing a problem. Windows shows 3 partitions:

    Total disk space 29.00 GB
    EFI partition 100 MB
    Recovery partition 700 MB
    C: partition 28.22 GB NTFS (Bitlocker encrypted)

    No unallocated space.

  16. Hi guys ! I am really disappointed because i download Ubuntu, then make a usb stick, disable secure boot and then boot from the USB, now my T100HA only got a black screen at startup, No ASUS logo, F2 + Power doesn’t work, i can’t access to the BIOS….. What a lonely day.
    Please help me !

  17. KickyZero, I have a similar situation, but there are a couple tricks I found to get graphics on the T100HA

    A) Adding nomodeset to the grub commandline (does not allow screen roation to work though)
    B) Allow it to go to sleep, press a key to wake it up, and you usually have graphics.

    I have not got wifi working yet, and currently experimenting with xubuntu 16.04

  18. adding to that, I configured X to rotate the screen once I login, (and the screen rotation seems to spark it to life). For me, that means I can ctrl-alt-del, type in my password, press enter (repeat a couple of times), and after the login works, the screen turns on.

  19. Kate

    In step 2 after I reset the UEFI firmware setting I can’t get anything to show up on the screen. I’ve tried restarting it and holding down volume down and power. The screen is slightly backlit and definitely charged. Any ideas how I could fix this?

  20. Ronald van der Woude

    Thanks for the great guide! Maybe you can help me, when I enter de UEFI boot settings, I can only set the boot option to Windows Boot Manger or disabled. I’m on bios version 314. Thanks in advance!

  21. Charles

    i am on bios 314. I have disabled secure boot. but it does not boot the livecd stick. anything i need to do?
    under the usb configuration, it has controller selected as xhci, i will try ehci.

  22. mag

    Recently installed two asus t100 (a t100ta and a t100taf.
    Lessons learned: the kernel in ubuntu xenial have serious problems with mmc cards (also with raspberry pi)! I ended up installing wily server version, and brought up desktop using tasksel. I believe this must be a kernel regression.
    I cannot get touchscreen to scroll. Tried installing touchegg, put it in .xprofile, but it does not look like being able to recognize anything. Any ideas?
    With the t100taf I had to manually put grub on /dev/mmcblk0. Still does not work perfectly, but I can boot it from grub command line without the usb stick, so from there I believe I can solve this one.

  23. Dietmar Bott

    Hello and many THANKS from Germany!
    I use Trekstor twin 11.6 and your ‘bootia32.efi’ functionable very fine !!! I need this Tablet for Raspberry & Homeautomation as Screen. Now run Ubuntu-Mate and i am verry happy.

  24. Ryan Rolland

    Model: T100TAF
    For wifi support I had to copy to

  25. I have checked your blog and i’ve found some duplicate content, that’s why you don’t rank high
    in google’s search results, but there is a tool that can help you
    to create 100% unique articles, search for: Boorfe’s tips unlimited content

  26. I see you don’t monetize your site, don’t waste your traffic, you can earn additional bucks every month because you’ve
    got high quality content. If you want to know how to make extra $$$, search for: Mertiso’s tips best adsense alternative

  27. MiniGirly Nicky

    ASUS T100 Thanks for the post, but I can not re-install linuxmint-18.3-cinnamon-32bit.iso.

    Microsoft Windows 10 is after the last update renewed pure sabotage in the world and I never want to see it again in my environment. All computers should only get Linux.

    Can someone help me please? I have brought many Linux distributions with “rufus” on my USB3-Stick. On every PC boots the stick, but not on the ASUS T100 with current bios update. What else can I do? I had 6×18 hours of work and unfortunately I can not continue.

    Is the ASUS T100 generally suitable for Linux, or should we continue to torment with Microsoft? = But such endless saboteurs who are arrested for all time! What do you do with such saboteurs? Only distance? M$ ruined every business in this world, it is so mega puuuuh!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>