How littleyouran/littleyouran_cts_3 works
LittleYouran_CTS is a rooted Android CPU scheduler that applies scenario and per-app modes to device scheduling controls. The main path is startup, configuration and mode initialization, foreground-app detection, mode selection, then applying tuning to kernel/device interfaces; the WebSocket and Scene integrations provide separate control and status paths. Some wiring is inferred only where the sampled scheduler excerpt shows it; README-documented capabilities without sampled implementation are represented at their existing directory or module paths.
Main entry points: scheduler.hpp Scheduler · app_modes.hpp App mode service · WebSocket.hpp WebSocket server · main.cpp Runtime entry
Components 20
Runtime control
- Runtime entry
src/main.cpp - Scheduler
include/scheduler.hpp - Foreground monitor
include/ForegroundAppMonitor.hpp
Modes and configuration
- App mode service
include/app_modes.hpp - Config loader
include/Config.hpp - SoC profiles
config - App mode files
include/app_modes.hpp - Game package list
include/GamePackageFile.hpp
Device tuning
- Extra optimizations
include/Function.hpp - CPU policy controls
include/scheduler.hpp - Power controls
vtools - Oppo support
include/oppo.hpp - Xiaomi Feas
include/xiaomi.hpp
Control interfaces
- WebSocket server
include/WebSocket.hpp - Web UI
webroot - Scene integration
include/app_modes.hpp
Other components
- Android device
- Kernel interfaces
- Web UI user
- Scene toolbox
Connections 23
- Android device → Runtime entry: starts runtime
- Runtime entry → Scheduler: creates
- Scheduler → App mode service: initializes
- Scheduler → Config loader: loads settings
- Config loader → SoC profiles: reads profile
- App mode service → App mode files: reads and writes
- Scheduler → Foreground monitor: starts monitor
- Foreground monitor → Scheduler: reports app
- Scheduler → App mode service: selects mode
- Scheduler → CPU policy controls: applies state
- Scheduler → Extra optimizations: applies extras
- CPU policy controls → Kernel interfaces: writes policy
- Extra optimizations → Kernel interfaces: writes tuning
- Scheduler → Oppo support: initializes support
- Scheduler → Xiaomi Feas: initializes support
- Scheduler → Game package list: updates package list
- Scheduler → WebSocket server: starts server
- WebSocket server → Web UI user: serves control and state
- Web UI user → Web UI: uses interface
- Web UI → WebSocket server: connects
- App mode service → Scene integration: syncs rules
- Scene integration → Scene toolbox: provides mode rules
- Power controls → Kernel interfaces: configures power