How joshidhruv009/phonebackuptool works
This is a PySide6 phone-backup desktop tool. A user selects a connected Android device, inspects its storage items, chooses items and a destination, then monitors a cancellable backup with verification and progress. The implementation places the UI and coordination in main.py, ADB discovery and storage inspection in core/adb_manager.py, and backup execution in core/backup_engine.py. The excerpts establish ADB interactions and worker behavior; they do not show the UI’s full wiring, so those links are marked unverified.
Main entry points: main.py Storage selection · backup_engine.py Backup worker · adb_manager.py ADB manager
Components 8
Desktop interface
- Phone backup app
main.py - Storage selection
main.py - Backup progress UI
main.py
Device access
- ADB manager
core/adb_manager.py
Backup execution
- Backup worker
core/backup_engine.py - Local backup files
Other components
- User
- Android phone
Connections 9
- User → Phone backup app: uses
main.py - Phone backup app → Storage selection: opens
main.py - Storage selection → ADB manager: scans with
main.py - ADB manager → Android phone: queries
core/adb_manager.py - Storage selection → Backup progress UI: starts backup
main.py - Backup progress UI → Backup worker: runs
main.py - Backup worker → Android phone: pulls from
core/backup_engine.py - Backup worker → Local backup files: writes and verifies
core/backup_engine.py - Backup progress UI → User: reports progress