Skip to content

How to get root access in Termux without root?

  • 3 min read
root access in termux

Unwanted applications, including games and bloatware, are preinstalled on Android devices. To uninstall these programs, you’ll need to root your Android phone. A rooted phone enables you to remove unnecessary apps, change the boot animation, set CPU to overclock and underclock settings manually, and update the system.

There may be times when you don’t want to install sudo on your device because it voids the warranty. In my termux terminal, I was having difficulties installing a package that needed rooted phones. Installing  the FakeRoot module successfully avoided this problem by allowing me to access applications requiring root privileges within Termux.

How to get root access in Termux without root

If you want to enable root access or install sudo in termux without rooting the device, you need to download and install the fakeroot package; if you don’t know how to do so, then we will help you out.

Step 1: Install Termux terminal

The termux terminal has already been installed on your device, I presume. One thing to keep in mind is that termux must have access to your local SD card storage.

After that, Run the below command.


When you execute the following command, a pop-up box will appear requesting permission to access your local storage. Allow it.

Step 2: Update and Upgrade the packages

You may already have uninstalled the old version, so now you need to update the applications and other binaries to the most recent edition. Execute the following command.

apt update && apt upgrade

Updating termux

Step 3: Install Git package

You can use the Git module to retrieve sources from public servers by utilizing it. Execute the following command.

READ ALSO  How to Fix Xbox One Error 0x97e107df ?

pkg install git -y

Step 4: Install Python2

Python is a high-level programming language used for both big and little tasks. Two versions of Python are available on Termux: Python 2 and Python 3. The fakeroot module works with python2 source codes. As a result, you’ll need to install python2 executable files.

Run the below command.

pkg install python2 -y

Step 5: Download FakeRoot Repo

You may download and install the FakeRoot project from the source code repository. Run the following command:

git clone

Step 6: Run the FakeRoot module

To use the FakeRoot module on Termux, you must now execute it from the termux terminal. To run the fake root, Follow me


cd FakeRoot



After that, follow the steps below. fakeroot or proot are the two options provided by FakeRoot. You must select “FakeRoot” and then hit enter here. The rooting procedure for your termux terminal will begin automatically once you’ve chosen “Fake Root.” This may take a while, so please be patient.

That’s all there is to it. You’ve now obtained root access in Termux without rooting your Android device, which is excellent news for you and me as well.

4 thoughts on “How to get root access in Termux without root?”

  1. Pingback: How to install Python in Termux on Android?[No root] 2022

Leave a Reply

Your email address will not be published.


Roshan K is a writer and content creator. He is the founder of The Himalayantime, a gaming blog. Roshan also writes for techpana, a local newspaper. He enjoys playing basketball, watching movies, and listening to music.Learn More