How to root termux is an attempt to get root access from android to run certain programs. But how do you get termux root access without having to root your phone? Here’s the explanation.
Termux has its own OS (operating system), namely Linux. And the cellphone that we use is the Android OS. So there are 2 OS in our cellphone.
The termux application can request root access on its own operating system without having to ask the cellphone OS (android). This allows us to run the rooted termux script without having to root the cellphone.
So, how do you root termux and what tools do you use? Read my full summary below.
How to Root Termux With 3 Tools
Okay, I will share 3 tools that can be used to root termux without rooting a cellphone. All three are very easy to install just by typing certain commands.
There is one tool that can change the way the termux application works like on a computer. But this is not a problem, it makes us feel like using computer software.
Just install one of them so that there are no clashing tools or colliding work processes.
Next, leave free storage and internet quota to install to termux.
Here are the tools to root termux
1. Kali linux
This is a tool that I mean can change termux to be like on a computer. Because after installing kali linux, the command termux pkg is no longer valid.
And again we have to reinstall modules such as python, git, php, etc. which are much larger in size. How to install also use apt install or apt-get install.
However, all termux root scripts will run smoothly using kali linux without exception.
Kali linux installation process is a bit long and requires more understanding. So I have written in full on how to install kali linux.
2. Fakeroot
The fakeroot installation process is easier, because it only writes one command. That is:
pkg install fakeroot
If it shows an error, try entering it first apt update && apt upgrade before writing the install command.
Once installed, to use this tool we simply write:
fakeroot
If the $ sign changes to #, it means that termux has got root access and can be used to run rooted scripts.
To be even more convincing, you just write whoami then enter. If the word “root” appears, it means that termux already has root access.

3. Proot
Proot also has an easy installation method. You just type the following command:
pkg install proot
And to run Proot just use the following command:
proot -0 $(which bash)

Information:
-0 : create a fake identity as root
$(which bash) : bash script to find the location of the bash shell, because by default PRoot uses the sh shell instead of bash.
So, which of the three tools above is the best?
In my opinion, Kali Linux is clear, because after installing it, we will also get additional features from Kali Linux. It’s just that we also have to leave large enough storage (75+mb) to install kali linux.
For those of you who want an easy process, then just try fakeroot or proot.
Alright, that’s all for our discussion this time. Hope it can help solve your problem.
To be more useful, help share this article on social media. Thanks for reading.