Gives root shell on Termux while being able to run Termux commands as root for non-rooted deviced.
**install Root in the Termux**
<imgsrc="Screenshot_20240807_100014_Termux.png"alt="Screenshot"title="Root(sudo) in the Termux">
<imgsrc="20240807_102225.png"alt="Screenshot"title="Root(sudo) in the Termux">
## Usage
Gives u root shell on Termux while being able to run Termux commands as root.
### Run these commands in Termux:
```bash
# install git
pkg install git -y
```
```bash
# clone from github with git
git clone https://gitea.dmz.rs/disu1950/root_termux && cd root_termux && chmod +x *
```
```bash
# install packages
pkg install wget proot -y
```
<br>
then enter the following command and go through the installation process:
```bash
# run bash script `install.sh`
yes | bash install.sh
```
<br>
after installing and creating the executable file, run the root environment with the following command:
```bash
# run bash script `start.sh`
bash start.sh # or `./start.sh`
```
<br>
Note: after running **Termux** as root, you need to install all the packages from the beginning, and be sure to update the terminal with the following commands after installation so that you don't have any problems installing the packages:
```bash
apt update
```
```bash
apt upgrade
```
<br>
! After `apt upgrade` following packages will be upgraded: