How To Install and Run Linux on Android (With/Without Root)

Technology is moving at such a pace that users prefer smaller handhelds as their preferred choice of hardware. Phones have become smaller in size and more powerful in terms of computing power. They are more than enough capable of running a full-sized operating system.

Follow the guide below to learn how to get a fully functional Ubuntu Linux or any other distro on your personal Android device without needing Termux or Root.

About Running Linux on Android

Linux file system ownership and permissions are already used by Android smartphone devices. Superuser is the root.

As you log in to the device, you are able to perform various functions based on user permissions. Superuser or the root user can perform anything to any file like uninstall any application it wants.

Now you first need to unlock the bootloader and install a custom recovery before granting yourself superuser permissions.

When you root your device it adds in a standard function which got removed by placing a small fly su (switch user) along with permission in the system.

Now all the permissions and credentials are switched from regular to superuser with full control as we run a file without any other parameters. We recommend you check if your phone is more compatible with rooting to minimize installer issues further down the line.

3 Apps To Use for Installing Linux on Android (With or Without Root)

BusyBox – No Root Access Needed

Install Linux Without Root

It provides or smartphone device with access to Linux commands which we would not have otherwise. It is needed to enable many root applications to work.

ALSO CHECK: Hide the root status of your device with Magisk.

Linux Deploy – #1 OS Installer

Linux Deploy

This is an open-source program through which we can install Linux operating system easily and quickly on our Android Phone device.

It actually created a disk image on the flashcard, mounted it, and install ting an operating system distribution.

For this just open the application and be sure to have root access (which you should once you have installed BusyBox). Hit the “download” button which is present on the top or bottom right side of the screen.

  • You shall see the options menu. You need to leave most settings to default. From under the properties: Linux, you need to choose your distribution.
  • Change the Linux flavor by choosing an option there from the distribution suite.
  • Choose the desktop you desire from under “desktop environment” in order to change the app’s look and feel.
  • From under the GUI settings, turn off “enable” to be sure that your device carries a graphical interface. Once done head over to settings in order to change options like screen resolution.
  • Under properties, you need to give yourself superuser privileged access by keeping your username as root.

If you want to open the menu then you need to hit three dots present at top ride side on the screen. Choose “install” and then hit “ok” in order to begin installing the application on your phone.

All this installation process of installing the distribution on Android smartphone devices takes some time.

Once installation is completed you need to click on “start” to open fruit (sub-compartment) and then click on “stop” once finished.

VNC Viewer – Remote Connection Made Easy

VNC Viewer

This is the final application that you need to get. This shall turn your device into a remote desktop and allow users to view the graphical user interface.

You need to open the application, add in a new connection, then use localhost:5900 for the address, then hit “create”. This shall open up a new window for the local host. Hit “CONNECT”.

When asked for authentication you need to type in the “password” which was set earlier and hit “done”. You shall now be able to see Linux and be able to use it as well.

RECOMMENDED: How To Emulate Windows 11 on Android.

Bonus Method: Using Linux on Android like a pro with UserLAnd

There is another way in which you can install the Linux operating system on an Android device is by using is this method. With this, you don’t need to root your device.

You need to head over to Google Play store, download and then install UserLand. This program shall get a layer on your device, thus enabling you to run the Linux distribution you select.

UserLAnd App for Android

After this launch of the application, select Ubuntu, hit “ok”. Grant application permissions by hitting “allow”.

You need to provide with login details of the user. Type in your username, password and VNC passcode for the Ubuntu session, then hit VNC > CONTINUE.

It shall download all the needed required assets for Ubuntu. Such a process varies in length as it depends upon the speed of your internet.

You shall use this VNC and ssh access. You need to wait for the process of installation to complete, progress shall be displayed.

ALSO CHECK: How To Root Android 11/12 Without a PC.

Now, it shall download all the required assets for Ubuntu at this point, yet again how long it takes depends upon internet speed.

As the process of installation gets completed, you shall be redirected to Playstore to download bVNC.

bVNC Secure VNC Viewer

Hit install, go back to return to the application, provide permissions to bVNC in order to access files when asked and then hit “Allow”.

If you see an option for Ubuntu, click it to start the Linux session, if not then hit “sessions” present at the bottom, and click + sign present at the top right side.

Name this new session as Ubuntu > choose apps:Ubuntu for filesystem > select ssh for service type in > Done.

If you want to launch a Linux session then click on “sessions” present at the bottom. The new session shall open to the desktop environment.

To open apps, you need to hit the “start menu” present on the bottom left side. Then install the new program with help of the command terminal by clicking system tools > LXTTerminal.

Now, if you want to close the desktop click anywhere on the screen > three vertical dots > disconnect.

The methods explained above are quite useful, Linux is more flexible when compared by enabling users to perform functions like advanced image editing, working in a real desktop environment and application development.

The only downside is that you need to work on a small screen. However, if you wish and have the ability to carry a desktop in your pocket do give this one a try.

FEATURED: 5 Smartphones that can natively run Linux as Primary OS.

Conclusion: Replacing Android with Linux

Linux is a great platform and is trusted on the most mission-critical infrastructure from satellites to servers. There are a great number of FOSS applications that can be used as alternatives to the current selection in the PlayStore. Our guide shares various methods on how you can install Linux on Android with root and without it giving you more flexibility over your device.

Lee is currently a full-time writer at DekiSoft that is eager to discover new and exciting advancements in Technology, Software, Linux and Cyber Security. Lee has spent the past 18 years working as an Systems Engineer providing support for various operating systems and networks. When not at his desk or writing, you will find him tinkering with retro tech.

Leave A Reply

Please enter your comment!
Please enter your name here