How doaideai/doaide-debloat works
DoAide Debloat is an agent-friendly Android device-safety toolkit operated over ADB. Its main workflow probes a device, snapshots its state, plans profile-based changes, applies them reversibly, then supports restore and post-update checks. Separate product branches audit scam-related risks in Parent mode and measure network activity in X-ray, which can produce shareable reports and a community Phone-Home Index. The graph reflects documented workflows and visible imports; unsampled implementation details and uncertain links are omitted.
Main entry points: xray.py X-ray Commands · debloat.py Debloat CLI · parent.py Parent Mode · xray_index.py Index Generator
Components 20
Device Debloating
- Debloat CLI
tools/debloat.py - Device Probe
tools/debloat.py - OEM Profiles
data/profiles - Protected Packages
data/never-disable.txt - UAD Package Data
tools/uadlist.py - Plan and Apply
tools/debloat.py - Restore and Check
tools/debloat.py
Parent Safety
- Parent Mode
tools/parent.py - Parent Risk Lists
data/parent - Safety Card
tools/parentcard.py
Network X-ray
- X-ray Commands
tools/xray.py - PCAP Scanner
tools/pcapscan.py - Tracker Database
tools/trackerdb.py
Community Index
- Index Generator
tools/xray_index.py - Phone-Home Data
site/phone-home.json - Phone-Home Site
site/phone-home.html
Other components
- Owner or Agent
- Android Device
- PCAPdroid
- GitHub Reports
Connections 25
- Owner or Agent → Debloat CLI: runs commands
README.md - Debloat CLI → Device Probe: probes device
tools/debloat.py - Device Probe → Android Device: reads state
README.md - Debloat CLI → Plan and Apply: plans and applies
README.md - Plan and Apply → OEM Profiles: matches packages
README.md - Plan and Apply → Protected Packages: protects packages
README.md - Plan and Apply → UAD Package Data: enriches plan
tools/debloat.py - Plan and Apply → Android Device: disables packages
README.md - Debloat CLI → Restore and Check: restores or checks
README.md - Restore and Check → Android Device: re-enables packages
README.md - Owner or Agent → Parent Mode: runs audit or apply
README.md - Parent Mode → Debloat CLI: uses device tooling
tools/parent.py - Parent Mode → Parent Risk Lists: checks risk lists
README.md - Parent Mode → Android Device: audits and changes
README.md - Parent Mode → Safety Card: builds share card
tools/parent.py - Owner or Agent → X-ray Commands: runs analysis
README.md - X-ray Commands → Debloat CLI: probes device
tools/xray.py - X-ray Commands → PCAPdroid: captures traffic
tools/xray.py - PCAPdroid → X-ray Commands: provides capture
tools/xray.py - X-ray Commands → PCAP Scanner: parses capture
tools/xray.py - X-ray Commands → Tracker Database: classifies hosts
tools/xray.py - Owner or Agent → Index Generator: generates index
tools/xray_index.py - Index Generator → GitHub Reports: fetches reports
tools/xray_index.py - Index Generator → Phone-Home Data: writes data
- Phone-Home Site → Phone-Home Data: presents data