SvelteKit Web App for Android Device Management via ADB
A functional web application for managing Android apps through ADB commands. Features batch processing, app metadata analysis, and bulk operations for device cleanup.
Functional table interface with batch processing, selection tools, and app metadata
- High-Accuracy Names: AAPT-powered real app display names (no more
com.package.names) - Comprehensive Metadata: Install source, target SDK, last used dates, data usage, app flags
- Smart Device Detection: Auto-detects Samsung Fold models and other devices with pretty names
- Sortable Data Table: Click column headers to sort by size, date, SDK version, etc.
- Range Selection: Shift-click to select multiple apps at once
- Batch Progress: Live progress tracking during app processing
- User Feedback: Toast notifications for actions and errors
- Batch Processing: Processes apps in groups of 5 to prevent system overload
- Stop Control: Cancel batch operations in progress
- Caching: File-based cache for faster subsequent loads
- Error Handling: Tracks and displays failed operations
- Bulk Operations: Select and uninstall multiple apps at once
- System App Protection: Basic safety checks to prevent removing system apps
- Device Detection: Identifies connected Android devices with friendly names
- App Store Links: Click app names to open store pages (where available)
- ADB (Android Debug Bridge): Bundled with app, no setup needed
- USB Debugging: Enabled on your Android device
- Chrome/Chromium: For best app mode experience (auto-detected)
- β Android devices with ADB support
- β Samsung Galaxy series (tested with Fold 5, enhanced detection)
- π Multiple device support (UI implemented, backend switching in progress)
- π macOS: Tested and working
- πͺ Windows: Should work (ADB path may need adjustment)
- π§ Linux: Should work (ADB path may need adjustment)
Settings β Developer Options β USB Debugging β ON
# Check connection (bundled ADB)
./tools/sdk/platform-tools/adb devicesnpm install # Install dependencies + setup AAPT
npm run dev # Start at http://localhost:5173- App opens in browser
- Select your device from dropdown
- Apps load progressively with real-time progress
- Select apps β Uninstall β Clean device! π
- Node.js 18+ or Bun 1.0+
- PNPM (recommended) or NPM
git clone <repository>
cd android-cleaner
pnpm install # Auto-runs AAPT setuppnpm dev # http://localhost:5173# Build for production
pnpm build
# Preview production build
pnpm preview # http://localhost:4173- Frontend: SvelteKit + DaisyUI + TailwindCSS
- Backend: SvelteKit API routes + Node.js child_process
- ADB Integration: Android SDK build-tools + AAPT
- Caching: File-based JSON with device-specific invalidation
src/
βββ routes/
β βββ +page.svelte # Main UI
β βββ api/
β βββ adb/status/ # Device detection
β βββ apps/
β βββ list/ # Package enumeration
β βββ list-batch/ # Batch processing
β βββ details/ # Individual app data
β βββ uninstall/ # Bulk uninstall + cache updates
βββ lib/
β βββ app-names.js # AAPT integration
β βββ cache.js # Smart caching system
βββ tools/ # Bundled Android SDK tools
Practical Android App Management
- App Analysis: View installed apps with metadata like install dates, sizes, and sources
- Bulk Cleanup: Remove multiple unwanted apps efficiently before device migration
- Device Auditing: Review what's installed and identify apps for removal
Useful for:
- Cleaning devices before migrations
- App auditing and storage cleanup
- Android development and testing workflows
Built with β€οΈ for Android power users. Contributions welcome!
- Read
docs/next-session.mdfor current priorities - Check
docs/roadmap.mdfor planned features - Follow existing code patterns and conventions
- Test with real Android devices when possible
Private Project - Built for Android device management.
π§ Functional Android device management via ADB with web interface
