How To Root Termux Without Rooting Android

We can operate termux without root access, but the specific termux scripts, such as wifite, instabrute, and hydra, require root access. So, to run those scripts on termux, we have to root termux first. We can root termux, although android hasn’t root access yet. Then if termux is rooted, it will not affect your android.

The following are the steps to root termux easily.

Step 1: Install fakeroot package

Fakeroot is a termux package to fake root access on termux. If we run this program, termux will have root access. Then if we close it, termux will lose the root access. So, the root access is only temporary.

To install the fakeroot package on termux, enter the command below.

					pkg install fakeroot

*Wait a minute until termux finishes to install the program.

fakeroot package has installed

Step 2: Run fakeroot

After fakeroot have installed, we have to run it to get root access.

Use this command:


If the prompt logo ($) changes to #, the root is active.

Now, you can run script termux that needs root access without getting an error.

fakeroot is run

How To Check Root Status On Termux?

Many users don’t know whether termux already has root access or not. Actually, we only enter one line command to know root status on termux.

That command is:


If the “root” word appears, it means termux has root access. Then if there is no “root” word, termux doesn’t have root access.

how to check root access in termux

Bonus: The Alternative Ways To Root Termux

Besides fakeroot, we also use the following tools to get root access on termux.

  • proot
  • kali linux


PRoot is a user-space implementation of chroot, mount –bind, and binfmt_misc. This means that users don’t need any privileges or setup to do things like using an arbitrary directory as the new root filesystem, making files accessible somewhere else in the filesystem hierarchy, or executing programs built for another CPU architecture transparently through QEMU user-mode.

The simple explanation is proot is a termux package to get root access, like the fakeroot package.

Proot installation:

					pkg install proot

Run Proot:

					proot -0 $(which bash)

*If proot has run, termux will get root access.

Kali Linux

Kali Linux (formerly known as BackTrack Linux) is an open-source, Debian-based Linux distribution at advanced Penetration Testing and Security Auditing. It does this by providing common tools, configurations, and automations which allows the user to focus on the task that needs to be completed, not the surrounding activity.

To install Kali Linux, we must enter many commands and do some things. I will share that in the next post.

Then if we run Kali Linux, termux will automatically have root access.

Do I Have To Root Termux?

To make termux more powerful, we have to root termux because it is one of the activities that must be done after installing termux.

Don’t worry about rooting on termux. It is only temporary and will lose when we close the termux. Then when we open termux again, we have to activate it to get root access.

Well, that is all about how to root termux without rooting android. I hope it can help you to solve your problem. Thanks for reading.