There are a lot of guides and discussions that get updated sometimes and therefore are hard to follow.
I did an install twice on my laptop and wanted to share an up-to-date way of installing Ubuntu 16.04 (or one of its flavors - in my case Lubuntu 16.04) on this laptop.
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
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
. Rununetbootin
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. Fetchbootia32.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:
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 notgrub-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
andsudo 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
andbrcmfmac43340-sdio.txt
from internet and copy to/lib/firmware/brcm
(requiressudo
)(possibly creating the file) and add the following lines:
And
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:Reboot; internal wifi should now be working
Setup wifi so it finds 5Ghz band
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.
If you have access to an existing Linux system on the X205TA or any other device, I highly recommend using one of harryharryharry's scripts to prepare installation media. The most up-to-date version supports many distros and has the option to create a bootable USB for you. I use an old and much shorter version of the script and make the bootable myself.
NB: USB tethering to an Android device is usually effective for gaining internet access before wifi has been set up on this device. USB wifi adapters sometimes worked for me.
Here's the script (written by harryharryharry and made available on Ubuntu Forums)
To use, copy the text into a file, save it as whatever you like, for example
iso2zip
, download any 64-bit Ubuntu iso (tested by me for 16.04, 16.10 and 17.04) and place the iso file and the script file in the same directory where you have at least 8GB free space. RunIt will repack the iso as a zip file. Insert a spare USB flash drive and identify it with
lsblk
. Let's assume it is/dev/sdc
(you must correct this and use the right name!) If the drive has mounted filesystems, unmount them (egudisksctl unmount -b /dev/sdc1
) Run these commands from the directory where the iso.zip file is, or use your own favourite method to make a bootable USB:Please note that this destroys all data on
/dev/sdc
On the X205TA, from powered off, switch on and hit F2 to bring up the UEFI menu and turn off secure boot if not done already. To boot from USB, either select it in the boot order from here, or start again and hit esc to get the boot menu and select the USB. Select Try Ubuntu and connect to WiFi (it will work). Run the installer selecting whatever options you like. Reboot when done.
After installation, edit the config file for GRUB to pass a boot parameter to prevent freezing:
Change
to
Save, exit, run
For sound run the code from harryharryharry's post here to install a kernel that supports it:
or compile yourself
TODO: make hibernation work with sound support kernel. (it works with the stock kernels with some tweaks- see my answer here)
For brightness controls see workaround
I'm a noob and thanks to you all I can now enjoy to use that wonderful laptop with ubuntu 18.04. (Special thanks to Harry )
For all the rookies here comes the simplest way to make it :
After this you'll have a pretty ubuntu naked (without wifi, sound, bluetooth, and freezing).
Now for wifi and freeze avoïdance follow the step above
For the sound i recomand following this: No sound on my Asus X205TA (it's the simplest way to do it, and moreover harry's github is not accessible anymore) It will fix bluetooth too.
And you are good to GO with the best ultra light laptop experience ever !!!
Thanks Again to you all linux community ! Freedom is awsome !