To access root in termux we need to install ubuntu in our termux. ubuntu in termuxis a program for linux -like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser. It originally stood for “superuser do” as the older versions of sudo were designed to run commands only as the superuser. You can access root in termux without rooted your phone.
How to access root in termux without root
- Open termux in your android type apt update && apt upgrade
- Now Install wget type:
apt install wget -y
- Now install proot:
apt install proot -y
- Now type
cd ubuntu-in-termux
- Now type
chmod +x *
- Run the script:
./ubuntu.sh -y
- Now just start ubuntu:
./startubuntu.sh
Now you can see root@localhost has been appeared 🙂 🙂
Comment below if still this is not working for you. please like and share if its work for you 🙂 :-).
ALso check:- How to install sudo in termux root required