Skip to content

Troubleshooting

Harshal Sawant edited this page Feb 5, 2026 · 1 revision

No Logs Created

  • Verify the module path is /data/adb/modules/task_optimizer/
  • Confirm service.sh exists and is executable
  • Wait for boot completion plus 30 seconds

SCHED_FIFO Errors

  • Some kernels block real time scheduling
  • Check error.log for sched_setscheduler failures
  • Consider lowering the RT group scope by editing patterns

Task Not Matched

  • Matching uses /proc/<pid>/comm, not full command line
  • Confirm the task name using cat /proc/<pid>/comm
  • Update the pattern in src/main.cpp if needed

Build Issues

  • Confirm ANDROID_NDK is set correctly
  • Ensure CMake 3.18 or newer is installed
  • Try a clean build with ./build.sh clean

Clone this wiki locally