- Introduction
- Prerequisites
- Setting Environment Variables
- Connecting the Android Phone
- Developer Mode and USB Debugging
- Checking ADB Connection
- Usage
- Contributions
Visita el siguiente enlace: Recursos
This script provides an interface for managing applications on Android devices using ADB (Android Debug Bridge). It allows forcing the stop and resetting permissions for all applications, only for the user, or only for the system.
WARNING! Misuse of these functions can cause issues with the normal operation of applications and the system. Use this code responsibly. We are not responsible for any problems arising from misuse.
Before running the script, ensure you have the following components installed:
-
ADB (Android Debug Bridge):
- If ADB is not installed, visit the official Minimal ADB page and follow the installation instructions.
-
Python 3.x:
- If Python 3.x is not installed, download it from the official Python page and follow the installation instructions.
After installing ADB and Python, add the following paths to your system's environment variables. This will make it easier to access these programs from any location in your terminal.
-
For Python:
%USERPROFILE%\AppData\Local\Programs\Python\Python311\
-
For ADB:
C:\Program Files (x86)\Minimal ADB and Fastboot
Adding these environment variables allows you to execute ADB and Python commands from any directory in your terminal.
Before running the script, make sure your Android phone is connected to the PC via a USB cable.
For ADB to work correctly, enable Developer Mode and USB Debugging on your Android phone. Follow these general steps:
- Go to your phone's settings.
- Find the "About Phone" option and tap it several times until "Developer Options" appears.
- Within "Developer Options," enable "USB Debugging."
Note: Disable "USB Debugging" after using the script for security reasons.
To check if your Android phone is correctly connected to the PC via ADB, follow these steps:
- Open your terminal (cmd, PowerShell, or your preferred terminal compatible with the added environment variables).
- Run the following command:
adb devices
- You should see your Android device in the list of connected devices.
-
Clone the repository or download the script.
-
Open your terminal.
-
Navigate to the directory where the script is located.
-
Run the script with the command
python adb_fsrp_en.py
. -
Follow the instructions in the interactive menu.
-
From Termux, download the files xclear_es.py and exclr_es.sh using wget.
-
Grant execution permission with the following command:
chmod +x exclr_es.sh
-
Click HERE for more details.
-
Run the script with the command
./exclr_es.sh
-
Follow the instructions in the interactive menu.
Your contribution is welcome! If you find improvements or have suggestions, feel free to contribute. Open an issue to discuss changes or submit a pull request with your enhancements.
This file was created by Greg Jara, Systems and Computer Engineer.