Clean & Speed Up Any
Android Phone via ADB
Automated rollback snapshots, zero personal data loss (-k flag), and 320+ curated OEM debloat rules.
Built for AI coding agents and CLI developers.
Enable Developer Options (tap Build Number 7 times) → turn on USB Debugging or Wireless Debugging → accept "Allow debugging" prompt on phone.
Enable Developer Options (tap Build Number 7 times) → turn on USB Debugging or Wireless Debugging → accept "Allow debugging" prompt on phone.
-k)Workflow & Verification Pipeline
Deterministic, verifiable execution. Every action is simulated before making any change to your device.
ADB Discovery & Device Detection --------------------------------- [OK] Connected: Samsung Galaxy S24 Ultra (Android 15, SDK 35, aarch64) Scanning installed packages for user 0: Total: 382 packages found (358 enabled) Safety Tier Breakdown: Tier 1 (Safe Bloat): 42 -> Safe to disable/remove Tier 2 (Advanced): 18 -> Assistants & cloud sync Tier 3 (Extreme): 3 -> Stock tool replacements Tier 4 (CRITICAL): 61 -> HARD PROTECTED (Core framework) Unknown / Custom: 258 -> Unmodified
4-Tier Safety Framework
Every package is classified before execution. Operations run strictly within Android's unprivileged user profile layer.
Safe Bloatware
Carrier diagnostics, ad daemons, Facebook/Meta background services, and telemetry stubs.
pm disable-user Assistants & Sync
OEM proprietary digital assistants, background cloud sync services, and AR avatar stickers.
pm disable-user Stock Apps
OEM bundled default apps when alternative apps (Gboard, Chrome, F-Droid) are already active.
pm uninstall -k Critical Sentinel
Hardcoded blacklist enforced at engine level. Any attempt to modify will immediately abort.
com.android.systemuicom.android.phonecom.google.android.gmsSystem partitions remain read-only. Zero firmware modification.
Personal databases in /data/user/0/ remain intact.
Pre-debloat snapshots saved for instant 1-click restore.
Warranty intact. Google Play Integrity and banking apps pass.
Curated OEM Bloatware Rules Explorer
Search and inspect all 331 verified package definitions from the repository.
Try another keyword or select "All Rules".
Feature Comparison
How AI-Phone-Debloater compares against legacy debloating tools and manual ADB commands.
| Capability | AI-Phone-Debloater | UAD-ng | ADB AppControl | Manual ADB |
|---|---|---|---|---|
| Rootless Execution | Yes (User 0) | Yes | Yes | Yes |
Zero Data Loss (-k flag) | Full (-k flag) | Partial | No | Manual Only |
| 1-Click AI Agent Integration | Native (Claude, Gemini, GPT) | None | None | None |
| Automatic Pre-Snapshots | Automatic JSON | Manual Export | Paid License ($$) | None |
| 1-Click Full Rollback | Instant (restore cmd) | Per-package | Manual | Manual shell |
| Curated OEM Rules | 320+ Rules | Community list | Basic | None |
| Zero Dependencies (No Pip / Executables) | Pure Python Stdlib | Rust GUI Binary | Windows Binary | Shell Only |
| Hardcoded Critical Blacklist Interception | Engine Enforced (61 pkgs) | Rule Enforced | Warning Prompt | None |
CLI Command Reference
Run scripts/debloat-engine.py directly. Standard Python 3 with zero pip dependencies.
.\debloat.bat ./debloat.sh Queries hardware specs via ADB and categorizes all user-0 packages into Safety Tiers (1-4).
Simulates debloating for a specific safety tier. Checks the 61-package blacklist with zero changes.
Executes package removal on user 0. Automatically saves a JSON safety snapshot in backups/ first.
Exports device profile and classified inventory to JSON & Markdown for feeding into Claude Code, ChatGPT, or Gemini.
Validates and executes an AI-generated JSON debloat plan. Intercepts and aborts if any critical package is referenced.
Restores packages from a snapshot back to their exact original states, or restores a single package by name.
Lists all available timestamped JSON backup snapshots stored in backups/ with metadata.
Launches the interactive terminal menu with numbered choices for scanning, debloating, and restoring.
Frequently Asked Questions
Rootless Android debloating, safety boundaries, data protection, and AI agent execution.