Commit 70d9632
committed
v2.0.0 - Complete Rewrite: Dashboard-First Architecture with Modern MVVM
## MAJOR RELEASE - AppControlX v2.0.0
This is a COMPLETE REWRITE of AppControlX from the ground up with modern architecture,
new features, and improved user experience.
### NEW FEATURES
**Dashboard (DevCheck-style)**
- Real-time CPU usage and temperature monitoring
- Battery status with charging indicator and temperature
- RAM and Storage usage with visual indicators
- Network status (WiFi/Mobile/Ethernet)
- Display info (resolution, refresh rate)
- GPU info (requires root)
- Device info with uptime and deep sleep time
- Feature quick access cards for easy navigation
**Setup Wizard**
- Guided first-time setup experience
- Mode selection (Root/Shizuku/View-Only)
- Permission verification
- Clean onboarding flow
**Mode Loss Detection**
- Automatic detection when Root/Shizuku access is lost
- Dialog with options: Retry, Switch Mode, Continue View-Only
- Seamless recovery experience
**Display Refresh Rate Control**
- Set minimum and maximum refresh rate
- Reset to default option
- Requires Root or Shizuku mode
**Batch Progress UI**
- Visual progress during batch operations
- Per-app status indicators
- Success/failure counts
- Cancel operation support
### ARCHITECTURE CHANGES
**New Package Structure:**
- domain/executor/ - Command execution (Root, Shizuku)
- domain/manager/ - Business logic managers
- domain/scanner/ - App scanning with dumpsys
- domain/monitor/ - System monitoring
- domain/validator/ - Safety validation
- data/model/ - Clean data classes
- ui/ - Organized UI components
**Key Components:**
- CommandExecutor interface with RootExecutor & ShizukuExecutor
- AppControlManager for freeze/unfreeze/force-stop/uninstall/clear
- BatteryManager for background restriction
- ActionLogger for history and rollback
- DisplayManager for refresh rate control
- ModeWatcher for mode loss detection
- SystemMonitor for real-time system info
- AppScanner with accurate dumpsys-based detection
- SafetyValidator with comprehensive package protection
### SECURITY
- Command whitelist enforcement in RootExecutor
- Dangerous pattern blocking (rm -rf, reboot, format, etc.)
- Package name validation against injection attempts
- Critical system app protection (~200 packages)
- Force-stop-only packages for security apps
### UI/UX IMPROVEMENTS
- Material 3 with Dynamic Colors support
- Bottom navigation (Dashboard, Apps, Settings)
- Modern card-based layouts
- Status badges (Running, Stopped, Frozen, Restricted)
- Dark mode support
- Accessibility improvements
### CLEANUP
- Removed old code structure
- Deleted .old folder
- Removed unused .gitkeep files
- Updated ProGuard rules for new package structure
- Updated CHANGELOG.md
### TECHNICAL
- Version: 2.0.0 (versionCode 4)
- Min SDK: 29 (Android 10)
- Target SDK: 34 (Android 14)
- Kotlin 1.9
- Hilt DI
- Coroutines + Flow
- libsu 5.2.2
- Shizuku-API 13.1.5
- Navigation Component
- ViewBinding
### FILES CHANGED
- 90+ files modified/added/deleted
- Complete package restructure
- New layouts for Dashboard and cards
- Updated navigation graph
- New string resources
---
Built with using Kiro AI Assistant
Ready for GitHub Actions build!1 parent 56b4c59 commit 70d9632
104 files changed
Lines changed: 11541 additions & 3590 deletions
File tree
- app
- src/main
- java/com/appcontrolx
- data/model
- di
- domain
- executor
- manager
- monitor
- scanner
- validator
- executor
- model
- rollback
- service
- ui
- adapter
- applist
- components
- dashboard
- cards
- history
- settings
- setup
- utils
- res
- layout
- values-night
- values
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
6 | 46 | | |
7 | 47 | | |
8 | 48 | | |
| |||
23 | 63 | | |
24 | 64 | | |
25 | 65 | | |
26 | | - | |
| 66 | + | |
27 | 67 | | |
28 | 68 | | |
29 | 69 | | |
| |||
131 | 171 | | |
132 | 172 | | |
133 | 173 | | |
134 | | - | |
| 174 | + | |
135 | 175 | | |
136 | 176 | | |
137 | 177 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
146 | 214 | | |
147 | 215 | | |
148 | 216 | | |
| |||
151 | 219 | | |
152 | 220 | | |
153 | 221 | | |
154 | | - | |
| 222 | + | |
155 | 223 | | |
156 | | - | |
157 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
40 | 39 | | |
41 | | - | |
42 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
| |||
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
11 | 23 | | |
12 | 24 | | |
13 | 25 | | |
| |||
43 | 55 | | |
44 | 56 | | |
45 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
46 | 64 | | |
47 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
48 | 89 | | |
49 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
50 | 99 | | |
51 | 100 | | |
52 | | - | |
| 101 | + | |
53 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
54 | 115 | | |
55 | 116 | | |
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
0 commit comments