get root access in termux

How to Get Root access in Termux without Rooting the Phone?

Termux is a popular terminal emulator app for Android that allows users to access a Linux command-line environment on their mobile devices. While Termux can be a powerful tool for performing various tasks, many users may want to gain root access to their devices in order to perform certain tasks that require administrative privileges.

In this article, we will discuss how to get root access in Termux without rooting the phone. While this method doesn’t provide full root access to your device, it does allow you to run certain commands with root privileges using the sudo command.

What is Root Access?

Before we dive into how to get root access in Termux, let’s first define what root access is. In Linux, root access refers to the highest level of administrative privileges that can be obtained on a system. The root user, also known as the superuser, has full access to all files, directories, and commands on the system, and can perform any action, including modifying system files, installing or removing software, and creating or deleting user accounts.

Having root access is essential for performing certain tasks, such as installing system updates, configuring network settings, and performing security-related tasks such as vulnerability assessments and penetration testing. However, it also comes with a higher level of risk, as any mistakes made with root privileges can potentially cause serious damage to the system.

How to Get Root Access in Termux

As mentioned earlier, it’s not possible to take full root access in Termux without rooting your phone. However, Termux provides a way to access a limited set of root commands via the sudo command. Here’s how you can use by just running the following commands.

sudo su
pkg install tsu
apt update && apt upgrade
apt install proot -y
apt install wget -y
apt install git
git clone
cd ubuntu-in-termux/
chmod +x

How to Exit from Root Access?

In order to exit from root access jut write given command.



While it is not possible to gain full root access in Termux without rooting your phone, using the sudo command can allow you to run commands with root privileges. This can be useful for performing advanced tasks in Termux, but it is important to exercise caution and use this privilege wisely to avoid causing damage to your device.

Leave a Comment

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

error: Content is protected !!