# Android Optimizer

> Deep diagnostic, thermal inspection, verified backup, and 100% reversible bloatware removal for Android via ADB.

Android Optimizer is a paid AI agent skill on Agensi by Vitor Teixeira, in Mobile Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Vitor Teixeira](https://www.agensi.io/creators/vitortsouza)
- Category: [Mobile Development](https://www.agensi.io/skills/mobile-development)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/android-optimizer
- Tags: automation, security, mobile, android, adb, python, debloat, battery-health

## About this skill

Android phones slow down over time due to OEM telemetry, background service bloat, and thermal throttling. This skill provides a structured, ADB-based framework to diagnose and optimize any Android device without requiring root access.

### What it does
- **Deep Diagnostics** audits battery health, RAM saturation, storage bloat, and CPU thermal profiles.
- **Safe Debloating** removes factory bloatware using reversible user-space commands to ensure the system remains stable.
- **Security Auditing** scans sideloaded APKs for suspicious behavior, miners, or spyware.
- **Thermal Analysis** identifies aggressive throttling on Xiaomi, POCO, and Redmi devices running HyperOS or MIUI.
- **Verified Backups** performs byte-for-byte comparisons of media files before reclaiming storage space.

### How it works
1. **Connection Check** uses `verificar_conexao.py` to establish a secure ADB handshake with the device.
2. **Health Scan** runs `saude_rapida.py` to generate a markdown report of memory, battery, and background pressure.
3. **Plan Formulation** categorizes packages into safety tiers (Safe, Optional, Protected) based on the device brand.
4. **Staged Execution** runs a dry-run first, then applies debloating or background restrictions only after explicit user approval.
5. **Recovery** generates local restoration files to undo any package removals instantly if needed.

### Frameworks & tools
The skill utilizes Python 3.8+ scripts and standard Android Debug Bridge (ADB) binaries. It interfaces with Android's `dumpsys`, `pm` (package manager), and `cmd` subsystems across brands like Samsung, Xiaomi, Motorola, and Google Pixel.

### Why this beats prompting it yourself
Generic prompts often suggest dangerous commands that can bootloop a device. This skill follows a strict "read-only first" philosophy, automates the generation of restoration scripts, and uses verified file comparisons to prevent accidental data loss during cleanup.

### Use cases
- Speed up a sluggish Xiaomi or Samsung phone by disabling non-essential OEM background services.
- Diagnose why a device is overheating during normal use by analyzing thermal daemon logs.
- Audit a device for spyware by pulling and inspecting suspicious sideloaded APKs.
- Safely clear gigabytes of old WhatsApp media after verifying they are backed up to a PC.

### Known limitations
Requires a physical USB cable connection and Developer Options enabled. It cannot perform actions requiring root access or bootloader unlocking.

### Compatibility: Xiaomi (HyperOS/MIUI), Samsung, Motorola e Pixel.

## Requires

- Python 3.8+
- Android Platform Tools (adb)
- USB Cable & Android Device

Requires USB Debugging enabled on your Android phone. No root or bootloader unlocking needed. Windows, macOS, and Linux supported.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Android Optimizer skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does my Android device need to be rooted to use these optimization tools?

No root access or bootloader unlocking is required. The skill uses standard ADB (Android Debug Bridge) commands to modify system behavior at the user level, ensuring your device warranty remains intact.

### What exactly is included in the download package?

You will receive a suite of Python-based scripts, the necessary ADB binaries for communication, and brand-specific optimization profiles for manufacturers like Samsung and Xiaomi. It also includes automated recovery scripts to undo changes instantly.

### How does the skill ensure that my phone won't get stuck in a bootloop during debloating?

Yes, the skill is designed with a 'read-only' diagnostic phase and a dry-run execution mode. It categorizes system packages into safety tiers and generates local backup files before any changes are made, preventing accidental bootloops.

### What are the technical requirements for setting this up?

The skill requires a computer running Python 3.8+ and a physical USB connection to your Android device. You must also have 'Developer Options' and 'USB Debugging' enabled on the handset you wish to optimize.

### Are there specific optimizations for different phone brands like Xiaomi or Samsung?

While it works on most Android devices, it features specialized thermal and background service profiles specifically tuned for HyperOS, MIUI, and Samsung One UI to address brand-specific throttling.

### Which AI agents or environments are compatible with this skill?

This skill is built to interface with AI agents capable of executing Python scripts and managing file outputs. It works best with agents that have local environment access to run the ADB handshake.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
