Neman ja pojma oce ovo radit...
Testingg...
This commit is contained in:
parent
9dbbb05a31
commit
56006aa8ad
88
README.md
88
README.md
@ -1,3 +1,89 @@
|
||||
# root_termux
|
||||
|
||||
Gives root shell on Termux while being able to run Termux commands as root for non-rooted deviced.
|
||||
Gives root shell on Termux while being able to run Termux commands as root for non-rooted deviced.
|
||||
|
||||
|
||||
|
||||
**install Root in the Termux**
|
||||
|
||||
<img src="Screenshot_20240807_100014_Termux.png" alt="Screenshot" title="Root(sudo) in the Termux">
|
||||
|
||||
<img src="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:
|
||||
|
||||
```md
|
||||
apt base-files bash bsdutils coreutils dpkg gcc-12-base
|
||||
libapt-pkg6.0 libblkid1 libc-bin libc6 libgcc-s1 libgnutls30
|
||||
libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libmount1
|
||||
libpam-modules libpam-modules-bin libpam-runtime libpam0g
|
||||
libprocps8 libsmartcols1 libssl3 libstdc++6 libsystemd0 libudev1
|
||||
libuuid1 login mount passwd perl-base procps tar util-linux
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
command to install **sudo** after installing Ubuntu:
|
||||
|
||||
```bash
|
||||
apt install sudo
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
If evrythings goes smooth ur prompt should look lik3 this:
|
||||
|
||||
`root@localhost:~#`
|
Loading…
Reference in New Issue
Block a user