-
-
Notifications
You must be signed in to change notification settings - Fork 3
How It Works
Harshal Sawant edited this page Feb 5, 2026
·
1 revision
-
service.shwaits forsys.boot_completedand sleeps 30 seconds - The binary creates the log directory under
/data/adb/modules/task_optimizer/logs/ - The optimizer scans
/procfor matching task names - For each matching process, all threads under
/proc/<pid>/taskare collected - Policies are applied per group using direct syscalls
- Results and a summary report are logged
- The module matches
/proc/<pid>/commusing regular expressions - Each pattern is applied across all processes that match
- All thread IDs for each process are optimized
Each syscall is retried up to 3 times with a 50 ms delay. Failures are logged and do not abort the run.