root_termux/README.md

90 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2024-08-07 19:07:01 +00:00
# # root_termux
2024-08-07 10:16:38 +00:00
Gives root shell on Termux while being able to run Termux commands as root for non-rooted deviced.
2024-08-07 19:07:01 +00:00
---
2024-08-07 19:07:01 +00:00
**Install Root in the Termux**
<img src="Screenshot_20240807_100014_Termux.png" alt="Screenshot" title="Root(sudo) in the Termux">
2024-08-07 19:07:01 +00:00
<br>
<img src="20240807_102225.png" alt="Screenshot" title="Root(sudo) in the Termux">
## Usage
2024-08-07 19:07:01 +00:00
Gives u root shell on Termux while being able to run sudo 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>
2024-08-07 19:07:01 +00:00
Enter the following command and go through the installation process:
```bash
# run bash script `install.sh`
yes | bash install.sh
```
<br>
2024-08-07 19:07:01 +00:00
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>
2024-08-07 19:07:01 +00:00
> [!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>
2024-08-07 19:07:01 +00:00
Now u can install **sudo** after installing Ubuntu:
```bash
apt install sudo
```
<br>
2024-08-07 19:07:01 +00:00
If evrythings goes smooth ur prompt should look lik3 this:
2024-08-07 19:07:01 +00:00
<mark>`root@localhost:~#`
2024-08-07 19:07:01 +00:00
---
2024-08-07 19:07:01 +00:00
# Copyright
2024-08-07 19:07:01 +00:00
root_termux is distributed under an WTFPL license. Refer to [LICENSE](LICENSE) for details.
2024-08-07 19:07:01 +00:00
---
2024-08-07 19:07:01 +00:00
@disu1950 What do you think about these :alien:?