Installing Ubuntu on the Lenovo MIIX 510

I’ve got one of these laptops for work and got tired of running Windows so decided to do something about it… This is more just for general notes after much research to get things running correctly.

What works:
Power Management
Touchscreen / Stylus
Keyboard Cover
Brightness controls

What does not:
Screen Rotation (didn’t spend enough time on this to correct it as it is not something I use)


Starting off – Grab the latest Ubuntu x64 desktop installer and use Etcher to put this on a flash drive.

You’ll need to disable Secure Boot on your Lenobo MIIX – To do this, shut down the laptop and power it on with “Volume Up” + Power. Enter your Bios settings. Set Secure Boot to disabled along with Virtualisation to enabled. From here you may as well set your boot device and start the installer. I’m not going to walk through all the steps here.

You may have a problem with screen rotation like I did – Just rotate it to the correct orientation and lock the rotation by tapping the top right corner and locking it by tapping rotation lock (found it easier doing this with the touchscreen rather than the mouse). We’ll fix this soon.

Post Install:
Getting WiFi Running:
Run this in your terminal and reboot:

sudo tee /etc/modprobe.d/ideapad.conf <<< "blacklist ideapad_laptop"

Disable Auto Rotation:
In your terminal do the following:

sudo systemctl stop iio-sensor-proxy.service
sudo systemctl disable iio-sensor-proxy.service
sudo apt remove iio-sensor-proxy

Power Management:
Update to the latest Linux kernel:
I found updating to the latest Linux kernel helped immensely with power management and reported the correct battery / charging state. Use UKUU to do this. First we’ll install it:

sudo add-apt-repository ppa:teejee2008/ppa
sudo apt install ukuu
sudo -s
ukuu --check && ukuu --install-latest

Lenovo USB3 Docks:
If you’re using those USB3 docks grab and install the latest Ubuntu drivers from Displaylink here:

Citrix Workspace:
Grab and install the latest Citrix Workspace setup from here:

Updating time on a restricted network:
For me, I had an issue with updating time using NTP on our work network since it is blocked on the outbound firewall. A workaround for this was to add the following to root’s crontab (sudo crontab -e):

0 1-23/2 * * * date -s "$(wget -S  "" 2>&1 | grep -E '^[[:space:]]*[dD]ate:' | sed 's/^[[:space:]]*[dD]ate:[[:space:]]*//' | head -1l | awk '{print $1, $3, $2,  $5 ,"GMT", $4 }' | sed 's/,//')" >/dev/null 2>&1


  1. Hi,

    I just picked up a MIIX 510 myself. They’re a great little Surface Pro like device that works fairly well under Ubuntu 18.04.

    I’ve managed to sort out Screen Rotation under Ubuntu. Out of the box my display is rotated 90 degrees clockwise, but it can be fixed by mapping the sensor data. Apparently the Hardware Accelerometer data needs to be translated for the screen rotation to work well.

    Details for a complete and more accurate match for the MIIX 510 Hardware Accelerometer mapping that is needed can be found here:

    The following steps will map the data correctly for MIIX 510 screen rotation under Ubuntu 18.04:

    1) Install or reinstall iio-sensor-proxy

    2) Fix the issue by hacking a sensor match and and mapping by creating the file with the following content:

    ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1

    3) Run the command

    sudo systemd-hwdb update

  2. thanks a lot this precious explanation , i have also a problem of webcam
    my system is ubuntu 18.04 lenovo miix510

  3. Hi,

    Lost Bluetooth, Touchscreen and WACOM Stylus capability due to Windows Update (widely reported as of April 2021. So I’m thinking of wiping Windows and installing Linux onto my Miix510.

    Do you know if the latest Ubuntu X64 has solved the issues you detail in your How To (above) or do we need to manually apply the fixes? Do you know of another distro that installs with full functionality?


    1. Hey nik,

      I’ve been using elementary OS for the past 1-1,5 years as a second OS on my miix 510. Currently running eOS 6 beta 2, which is based on Ubuntu 20.04.1 LTS. Screen rotation and wifi has been fixed, they are working out of the box. I’d recommend going with Ubuntu 20+ for now, and I highly suggest keeping an eye on eOS 6 when it comes out of beta. Inbuilt webcam is something I could not figure out.

Leave a Reply

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