I have my answer from a post in a thread that is discussing this since 2014 for several linux flavours. I will share my way of installing without the optional parts from the guide.
What still won't work
- Chrome browser is flickering/tearing (turn off hardware acceleration in settings of chrome to avoid it)
- Brightness control via FN buttons
- Sound works, but not with a mainline kernel yet. It probably will be in mainline with version 4.11 or later. (There is the option of compiling a more advanced kernel, but this is not what I did.)
- Sound through headphones does not work even with patch, but you can use this workaround to get it to work (I did not try it).
Preparing in Windows
If starting from Windows: Turn off BitLocker (this will allow Ubuntu to mount and/or resize the primary data drive). In Windows, click on PC Settings/PC and devices/PC info; scroll to the bottom of the screen and click to turn off BitLocker/decrypt drive
Preparing USB Live
UPDATE: Making a bootable USB-stick is also possible with harryharryharry's script
Otherwise:
Prepare Ubuntu Live bootable USB memory stick. Download .iso file for 64-bit Ubuntu 16.04. In Linux, sudo apt-get install unetbootin
. Run unetbootin
with the downloaded .iso.
Copying special bootia32.efi onto USB
After the memory stick is set up, copy bootia32.efi
to the /EFI/BOOT
directory on the memory stick. Fetch bootia32.efi
from github. I am not sure if this is the right link, because I forgot which one I used during the installations. If anyone encounters problems, please comment and I will update. There are several such files, or guides how to create them, on the web, although firstly I fetched one that did not work (it was for Arch Linux).
Boot Ubuntu Live from USB
Insert memory stick in Asus X205TA USB port. In Windows, hold Shift key and click on Restart; choose Advanced Options/UEFI Firmware to enter BIOS. Turn off SecureBoot. Select USB stick as boot device. Save and exit
If starting from an existing Linux install, you will need to press ESC when you first turn on the machine; this should pull up a small menu to choose the boot device. Choose the USB stick. When grub menu loads, select Try Ubuntu.
Backup of SSHD
Plug in a USB external hard disk or USB thumb drive with at least 32GB of free space. Right-click on any mounted drives in the Unity launcher (e.g., OS and Recovery if doing a dual-boot with Windows) and choose Unmount for each. Open a terminal and run the following:
dd if=/dev/mmcblk0 of=/media/ubuntu/HD/FILENAME bs=1M`
Replace HD with the name by which the external drive was mounted. Replace FILENAME
with the filename you wish to use for the resulting image (or set another path as desired). It will take about 20 minutes for the command to complete; do NOT interrupt it, or you will have to start over! Note: to restore the X205TA to its original state, you can run this command “in reverse”: dd if=/media/ubuntu/HD/FILENAME of=/dev/mmcblk0 bs=1M
Dual-boot
Resize Recovery partition (note that the Recovery partition is required for booting Windows on this machine, so it cannot be removed if you want dual-boot, but it can be reduced in size to allow some additional room). Right-click on the OS and Recovery icons in the Unity launcher and make sure each is unmounted (choose Unmount for each if needed). Run gparted (note: this runs very slowly at this point; be patient!). Shrink the Recovery partition as small as it will go (a little less than 6 GB). Expand the OS partition to take up the extra room.
Installation from Live-USB-Stick
Reboot into the Live-USB.
Set up a wireless connection
This is necessary to download updates during installation. Insert a USB based wifi adapter (Ubuntu will not yet recognize the internal wifi). Choose a wireless connection and connect.
Double-click on Install Ubuntu. Allow the installation to complete
Reboot. It should come up perfectly, with grub-efi-ia32
already installed (and not grub-efi-amd64
).
Finalize installation
If dual-booting, clean up Windows. Reboot to grub menu and choose Windows. Allow Windows to check and “repair” drive C: (basically Windows is responding to the fact that the drive has been re-sized). When finished, it will automatically reboot; choose Windows again to verify that the Windows installation is still functioning properly. Reboot again and choose Ubuntu.
Update Ubuntu (assumes the USB wifi adapter is still installed; if not wait until the wifi is fixed) with sudo apt update
and sudo apt upgrade
.
Set up internal Wifi
Two files are needed in the /lib/firmware/brcm
directory:
brcmfmac43340-sdio.bin
– this was already in place in my 16.04 installation.
brcmfmac43340-sdio.txt
– you may be able to copy the nvram* file from /sys/firmware/efi/efivars/ (e.g., nvram-74b00bd9-805a-4d61-b51f-43268123d113) as brcmfmac43340-sdio.txt: sudo cp /sys/firmware/efi/efivars/nvram* /lib/firmware/brcm/brcmfmac43340-sdio.txt
If either of the above files does not exist, download brcmfmac43340-sdio.bin
and brcmfmac43340-sdio.txt
from internet and copy to /lib/firmware/brcm
(requires sudo
)
sudo -H gedit /etc/modprobe.d/blacklist-custom.conf
(possibly creating the file) and add the following lines:
blacklist brcmfmac
blacklist brcmutil
And
sudo -H gedit /etc/rc.local and add the following line:
modprobe brcmfmac
Make sure rc.local
is executable (sudo chmod a+x /etc/rc.local
)
Instead of blacklisting, you can add the following lines to /etc/rc.local
BEFORE the modprobe command:
modprobe -r brcmfmac
modprobe -r brcmutil
Reboot; internal wifi should now be working
Setup wifi so it finds 5Ghz band
sudo mv /lib/firmware/brcm/brcmfmac43340-sdio.txt /lib/firmware/brcm/brcmfmac43340-sdio.txt.bak
sudo wget https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/brcmfmac43340-sdio.txt -O /lib/firmware/brcm/brcmfmac43340-sdio.txt
sudo modprobe -r brcmfmac
sudo modprobe brcmfmac
Note: no need to fix the SD card reader -- it works from the start.
Note: no need to fix the touchpad -- it works correctly (including two-finger scrolling) from the start.
Suspend
Fix problems caused by attempts to suspend. Goto System Settings/Power and choose “Do not suspend” for “Suspend when inactive for” (do this for both battery and AC).
At this point, everything is working great, except sound and internal bluetooth.You may address both of those with a USB bluetooth dongle until the currently made fixes are included in one of the mainline kernels.
If you need more fixes for freezing, check out the original post from user awakephd here. Be aware that he has a typo in modEprobe
.
UPDATE: Applying patches to a mainline kernel
It is possible to apply the most recent patches to a normally installed kernel. Here is an Ubuntu Forums post on how to do this.