Mobile Legends running on Ubuntu with Waydroid
Mobile Legends running on Ubuntu via Waydroid.

How to Install Mobile Legends: Bang Bang on Ubuntu

I originally created this guide for myself because I often switched between computers and had to reinstall MLBB each time. I started playing on a computer because my phone was too cheap to handle screen touches properly. Since I had more experience with PC gaming than mobile gaming, I found that using a mouse allowed me to be faster and more precise with my inputs. Over time, I managed to reach Mythic three times while playing on a computer.

I regularly ensure that this guide remains up-to-date, and I will update it again when Ubuntu 25 LTS is released. While MLBB is now available on Google Play Games for Windows, this guide specifically focuses on installing it on Ubuntu Linux. One downside of playing on a computer is the lack of multitouch and ultra-fast follow-up aimed attacks. If you're already skilled with touch controls, switching to a PC might slow you down. However, for those who are more comfortable with a mouse than a touchscreen (like me), this guide will be helpful.

Should anything go wrong, you can always Reinstall Waydroid and try again.


Steps

1. Install Waydroid

Follow the official instructions to install Waydroid for Ubuntu: Waydroid Installation Guide (Ubuntu/Debian)


2. Install Android, Google Apps, and LibNDK

Start the Waydroid app once. It will show an Initialize Waydroid dialog. Select VANILLA as the Android type, as we don't want to be downloading Google Apps twice. (Though if you accidentally did select GAPPS, you can still continue)

Stop Waydroid after initialization. Use the following command:

waydroid session stop

Then use the Interactive Terminal Interface in casualsnek's Waydroid Script as instructed in their page, with the following in mind:

Then launch Waydroid after using the script.

You need LibNDK because Mobile Legends: Bang Bang does not have an x86 release. LibNDK provides essential ARM compatibility layers in Waydroid, allowing ARM-only apps like MLBB to function on x86 systems.


3. Certify Your Device for Google Play

Certification is required before you can install apps from the Play Store. It is also required for Google Play Services to function.

4. Enable Fake Touches in MLBB

Run this command in Ubuntu's terminal:

waydroid prop set persist.waydroid.fake_touch com.mobile.legends

MLBB used to accept native mouse inputs, but now it doesn't except for when playing via Google Play Games for Windows.

5. Log into Google Play


6. Install Google Play Games


7. Install Mobile Legends


Done!

You are all set to play! You also should be able to log into MLBB accounts linked to Google accounts.

I personally attest that this is better than the Google Play Games for Windows experience, since on GPG for Windows, mouse inputs are actually being handled natively instead of being simulated. Some interfaces like Yve's Ultimate skill can't be used without touch inputs.

If you have any suggestions, you are encouraged to contact me by my email in the About Page

Tips

↑ Back to Top