Rooting your Android device is a complex process, but what if you could gain root-like privileges within Termux without actually rooting your device? The “root” tool is designed for Termux users to achieve exactly that, offering both fake and real root privileges within the terminal environment. This guide will walk you through how to use this tool to enhance your Termux experience.
Understanding Fake Root Privileges
The “root” tool provides a “fakeroot” command, granting you fake root privileges within Termux. This can be useful for simulating a root environment for testing purposes or running scripts that require root access without system-wide changes. To utilize fake root privileges, simply type the following command in your Termux terminal:
fakeroot
Upon execution, you will gain access to fake root privileges, allowing you to explore commands and actions typically reserved for the root user, all within the isolated Termux environment.
Exploring Real Root Privileges
Beyond fake root privileges, the “root” tool also offers access to “real root” privileges within Termux. While not true system-level root, these privileges are more potent than fakeroot and can be used for more advanced tasks within Termux. To access real root privileges, use the command:
root
Executing this command will grant you real root privileges within your Termux session, enabling a wider range of actions and functionalities compared to fake root. This is achieved without requiring you to root your actual Android operating system.
Installation Guide
To start using the “root” tool, follow these straightforward installation steps in your Termux terminal:
-
Update and Upgrade Packages: Ensure your Termux packages are up-to-date by running:
apt-get update && apt-get upgrade -y
-
Install Git: Git is required to clone the “root” tool repository. Install it using:
apt-get install git -y
-
Clone the Repository: Download the “root” tool from GitHub:
git clone https://github.com/adarshaddee/root.git
-
Navigate to the Directory: Enter the newly cloned “root” directory:
cd root
-
Grant Execute Permissions: Make the installation script executable:
chmod +x main
-
Run the Installation Script: Execute the installation script to complete the setup:
./main
Add-ons for Enhanced Termux (Optional)
To further enhance your Termux experience, consider using the fish
shell. It offers a more user-friendly and visually appealing interface. You can install and use it after installing the “root” tool by simply typing:
fish
This is an optional add-on and does not affect the functionality of the “root” tool, but it can improve your overall Termux environment.
One-Line Installation
For a quicker installation, you can use this one-line command that combines all the necessary steps:
apt-get update && apt upgrade-y && apt-get install git -y && git clone https://github.com/adarshaddee/root.git
This command will update your packages, install Git, and clone the “root” repository in a single step.
Uninstalling Root Tools
If you wish to uninstall the “root” tool, navigate to the “root” directory and run the uninstallation script:
-
Navigate to the Directory:
cd root
-
Grant Execute Permissions to Uninstall Script:
chmod +x uninstall.sh
-
Run the Uninstall Script:
./uninstall.sh
This script will remove the “root” tool from your Termux environment.
Copyright
The “root” tool is created by Adarsh Addee and is available for public use.
© Copyright credits goes to Adarsh Addee. This tool is public tool anyone can use this tool.
By following this guide, you can effectively utilize the “root” tool to gain both fake and real root privileges within Termux, expanding your capabilities within the Android terminal environment without needing to root your device.