Changelog:
• Improved gaming mode with updated performance parameters and tighter behavior tuning.
• Added notification support for on-device status signaling.
• Added automatic ionice-based renice handling for all the mode.
• Added full revert options for the associated tools.
• Added automated mode-tweak detection inside the action.
• Thanks to t.me/dcx401 and t.me/Koneko_dev for their contributions.
- old mode tweaks are now killed automatically when flashing a new mode
Bug Fix: adjusted running-script detection to avoid matching the action script itself by excluding the current process ID.
• Improved gaming mode with updated performance parameters and tighter behavior tuning.
• Added notification support for on-device status signaling.
• Added automatic ionice-based renice handling for all the mode.
• Added full revert options for the associated tools.
• Added automated mode-tweak detection inside the action.
• Thanks to t.me/dcx401 and t.me/Koneko_dev for their contributions.
- old mode tweaks are now killed automatically when flashing a new mode
Bug Fix: adjusted running-script detection to avoid matching the action script itself by excluding the current process ID.
❤2
Read the must-read file carefully.
This module is for nonroot use, and its configuration is hardcoded for AxManager and for my device.
Adjust everything as required for your own setup.
Download
Credits: @HoyoSlave @Dcx400
This module is for nonroot use, and its configuration is hardcoded for AxManager and for my device.
Adjust everything as required for your own setup.
Download
Credits: @HoyoSlave @Dcx400
Changelog:
• Improved the action interface to enhance overall user experience.
• Applied further optimizations to the script for cleaner and more efficient operation.
• Moved force-stop into setup so it doesn’t trigger on mode changes.
• Cleaner action code thanks to t.me/koneko_dev.
• Added new mode to rerun setup.
Download Here
• Improved the action interface to enhance overall user experience.
• Applied further optimizations to the script for cleaner and more efficient operation.
• Moved force-stop into setup so it doesn’t trigger on mode changes.
• Cleaner action code thanks to t.me/koneko_dev.
• Added new mode to rerun setup.
Download Here
Runtime is essentially complete. If there’s interest, I can either continue expanding it with additional tools or shift focus to another module, feel free to suggest the direction.
while IFS= read -r p; do
[ -z "$p" ] && continue
{ cmd } &
doneto run while read in pararel
Should I release a new module that functions like runtime but remains universal across devices by excluding any tools, and what would be an appropriate name for it?
Note: mode will be preserved.
Note: mode will be preserved.
❤5
Module Name: CoreShift
Version: 69.0
Developer: Diky
Function: Targeted system-refinement module that traces and optimizes processing pipelines while enforcing strict background controls on system apps.
Status: Refined
Notes: Cleaned codebase, reduced overhead, tightened background controls
Download: Download Here
Credit: Dcx | Koneko | Hoyoslave
Changelog:
• Added Network Control Utility for blocking app internet access.
Note: Behavior varies by device; not guaranteed to work universally.
• Improved help output for clearer, more user-friendly instructions.
❤1
Run the following commands in your terminal to display their usage information:
modenetCoreShift Changelog
New Features
Performance Gains
CoreShift v67.0
Credits
New Features
- Added unified Tools Overview (compile, mode, net, pkg) with clear usage help.Improvement
- Added full Dashboard system showing frame stats, temps, memory, load, mode state, compile status, etc.
- Added I/O Metrics viewer (page-in/out, faults, stall %).
- Added Thread / PID inspector using /proc for accurate thread counts.
- Added Vulkan auto-detection (libvulkan.so → enable skiavk).
- Mode detection fixed
- PID discovery optimized: fewer forks, faster, more accurate.
- Reduced heavy loops: replaced repeated subshells with efficient awk/xargs.
- Uninstall script simplified; all modified settings properly restored.
Performance Gains
- Lower CPU usage in monitoring scripts.
- Faster PID and thread scanning.
- Reduced IO and fork pressure.
- Scripts run fewer processes overall.
CoreShift v67.0
Credits
- ChatGPT - make thing easier
- hoyoslave - core commands logic inspiration
- koneko_dev - kasane utility
- dcx400 - commands logic
- pujipungkas - king settings
👍3❤2🔥2
Because the mode system is complex and not immediately intuitive, I will consolidate the modes and tools into a single, structured module.
❤1
CoreShift Changelog
- The watchdog now works by allowing all your user installed apps automatically.
If you want it to affect system apps too, you’ll need to add those manually to the blacklist.
CoreShift Frameworks
What CoreShift Is
Supported Managers
Credits
What CoreShift Is
A unified optimization framework built from multiple components that manage system behavior, enforce performance rules, and provide tools for deeper control.
Included Modules
• CoreShift Manager
• CoreShift Runtime
• CoreShift Watchdog
• CoreShift Preloader
• CoreShift Compaction
• CoreShift UClamp (ROOT)
• CoreShift GameShell
• CoreShift GameShellSched
Full usage guide here
Supported Managers
• Root: Magisk / KernelSU / APatch
• Non-root: AxManager
CoreShift Essential
Coreshift QoL
Credits
• @ChatGPT
• @HoyoSlave
• @dcx400
• @Koneko_dev
• @Brains82
• @pujipungkas
• @AduhaiWelewele
• @reljawa
• @Zexshia
👍2😁1
CoreShift
CoreShift Frameworks What CoreShift Is A unified optimization framework built from multiple components that manage system behavior, enforce performance rules, and provide tools for deeper control. Included Modules • CoreShift Manager • CoreShift Runtime •…
Changelog - CoreShift GameShell
Added boot-completion gating (sys.boot_completed) and SystemUI readiness check for deterministic behavior
Dynamic refresh-rate switching using detected device max FPS
Automatic foreground app detection with per-state switching (Game / Normal)
Game Mode: high refresh rate, reduced animations, ADPF enabled, aggressive frame pacing, thermal override disabled
Normal Mode: 60 Hz fallback, balanced animations, ADPF disabled, thermal control restored
Renderer alignment (SkiaVK / SkiaGL) without forced overrides
MediaTek-specific guards for display/game PQ handling
Memory-factor tuning per mode (Game: higher responsiveness, Normal: balanced)
Background interference reduction during gameplay
State-change guarded application to prevent redundant reapplication
Improved stability and consistency across reboots
CoreShift
CoreShift Frameworks What CoreShift Is A unified optimization framework built from multiple components that manage system behavior, enforce performance rules, and provide tools for deeper control. Included Modules • CoreShift Manager • CoreShift Runtime •…
Changelog - CoreShift Compaction
Boot-completion gating using sys.boot_completed and SystemUI readiness for deterministic startup
Android-version-aware behavior:
Android 14+: uses cmd activity compact system
Android 13 and below: per-package compaction via am compact (some/full)
Screen-idle-driven execution using cmd deviceidle get screen to avoid foreground interference
Two-step idle confirmation (screen off twice with delay) before triggering compaction
Periodic execution with cooldown interval to prevent excessive reclaim pressure
Full-package enumeration with UID awareness on legacy versions for correctness
Silent execution with error suppression to avoid logspam and crashes
No forced killing or stopping of apps; memory-only compaction
Designed to reduce RAM fragmentation and background pressure
Improves sustained responsiveness and multitasking stability
Safe to run continuously after boot with minimal overhead
State-independent operation (no persistent flags, no cumulative drift)
Consistent behavior across reboots and long uptimes
❤1
This media is not supported in your browser
VIEW IN TELEGRAM
How to rerun the modules after you killed it (axmanager only)
Changelog - CoreShift UClamp Scheduler (ROOT)
Boot-completion gated using sys.boot_completed and SystemUI readiness to ensure deterministic startup
Cgroup-aware uclamp tuning via /dev/cpuctl with safe existence checks
Class-based CPU utilization control:
Background / system-background constrained for power efficiency
Foreground balanced for responsiveness
Top-app aggressively boosted for UI and gameplay
RT and critical daemons capped to prevent starvation
Process-level enforcement using uclampset with thread-wide application (-a)
Dynamic top-app detection via ActivityManager stack inspection
Periodic reevaluation to follow app focus changes without relying on static assignments
No killing, freezing, or task suspension; scheduler-only behavior
Screen-off friendly: foreground boost naturally collapses when no resumed activity exists
Silent execution with error suppression to avoid logspam
Designed to reduce scheduler noise, stabilize frame pacing, and improve sustained responsiveness without increasing thermal load
CoreShift GameSet TaskProfile Scheduler
Credit
Boot-safe execution with continuous runtime monitoring
Foreground-aware scheduling using ActivityManager stack inspection
Game-only promotion via curated gamelist (no global boosting)
Automatic background demotion for dozelist applications
Thread-correct enforcement using settaskprofile (TID-based, not PID-based)
CPUSET and SCHED aggregate profile orchestration aligned with task_profiles.json
TOP_APP profiles applied exclusively to active foreground games
Immediate demotion of games upon foreground loss to preserve scheduler fairness
Background applications constrained using BACKGROUND profiles for power efficiency
PID de-duplication to prevent redundant scheduler reapplication
Periodic reevaluation to track process restarts and thread respawns
Thermal-aware boosting gated by battery temperature to avoid boost–throttle oscillation
No killing, freezing, force-stopping, or app suspension
Scheduler-only behavior: no wakelock, sensor, GPU, or thermal HAL interference
Screen-off friendly: no foreground promotion when no resumed activity exists
Silent execution without logspam or persistent state files
Designed to stabilize frame pacing, reduce scheduler noise, and improve sustained gaming performance while maintaining system responsiveness
Credit
@AduhaiWelewele
@reljawa
CoreShift Watchdog
Startup gating
Waits until Android finishes booting and SystemUI is alive.
Starts only after the system is fully usable.
Whitelist handling
Uses a persistent whitelist file.
Whitelisted packages are never touched.
Whitelist is the only protection for system apps.
Continuous scan loop (every 30 seconds)
Enumerates all currently running processes.
Skips:
itself,
empty or malformed entries,
whitelisted packages,
packages killed recently (cooldown enforced).
Decision model
System apps (UID < 10000):
Standby bucket is ignored.
If running and not whitelisted, they are eligible for termination.
Third-party apps (UID ≥ 10000):
Queries numeric standby bucket.
Only killed if bucket > 20 (FREQUENT, RARE, RESTRICTED).
ACTIVE (10) and WORKING_SET (20) are never touched.
Action
Eligible packages are terminated via cmd activity kill.
Kill time is recorded per package.
Fixed-string state updates prevent regex errors and corruption.
Stability controls
Cooldown prevents rapid re-kills and restart storms.
No thread counting, no heuristics, no guessing.
Deterministic decisions based on app state and policy.
Net effect
Aggressively cleans unused background apps.
Enforces strict control over non-essential system services.
Preserves foreground apps, recently used apps, and protected components.
Maintains long-term system responsiveness and resource headroom.
CoreShift Compaction
Startup gating
Waits for full system boot completion.
Waits until SystemUI is running to avoid early-boot interference.
Displays a toast to confirm the service is active.
API-aware compaction strategy
On Android 14+ (API ≥ 34):
Uses cmd activity compact system to trigger framework-managed system-wide memory compaction.
On older Android versions:
Enumerates all installed packages with UIDs.
Applies both some and full compaction per app to maximize reclaim.
This ensures compatibility and correct behavior across Android releases.
Initial compaction
Runs a full compaction cycle once after startup.
Allows the system to stabilize before entering the monitoring loop.
Screen-state monitoring loop
Polls screen state periodically using cmd deviceidle get screen.
Maintains counters to detect consecutive screen-off or screen-on states, avoiding false triggers.
Idle enforcement logic
If the screen is detected off twice consecutively:
Forces device idle using cmd deviceidle force-idle.
Marks idle as forced to prevent repeated calls.
Immediately runs a compaction cycle.
Sleeps for a long interval to avoid unnecessary churn.
If the screen is detected on twice consecutively:
Releases forced idle using cmd deviceidle unforce.
Returns control to normal Android power management.
Periodic maintenance
While the screen remains off:
Performs scheduled compaction at long intervals to reclaim memory steadily.
While the screen is on:
Sleeps lightly and avoids compaction to prevent foreground performance impact.
Stability guarantees
Idle forcing is stateful and reversible.
No compaction is spammed.
No interaction with foreground apps.
No dependency on heuristics like memory pressure or thread count.
Net effect
Reduces memory fragmentation over time.
Improves idle-time memory reclaim efficiency.
Preserves foreground responsiveness.
Works silently in the background with predictable, bounded behavior.
CoreShift Compaction acts as a low-frequency, idle-aware memory maintenance daemon, complementing Android’s own memory management without fighting it.
CoreShift Frameworks
What CoreShift Is
Supported Managers
What CoreShift Is
A unified optimization framework built from multiple components that manage system behavior, enforce performance rules, and provide tools for deeper control.
Included Modules
• CoreShift Manager
• CoreShift Runtime
• CoreShift Preloader
• CoreShift Compaction
• CoreShift Latency
• CoreShift UClamp (ROOT)
• CoreShift GameShell
• CoreShift GameShellSched
Full usage guide here & here
Supported Managers
• Root: Magisk / KernelSU / APatch
• Non-root: AxManager
CoreShift EssentialCredits
Coreshift Game
CoreShift Control
Coreshift QoL
• @ChatGPT • @Koneko
• @Hoyo • @Brains
• @dcx • @rowjik
• @puji • @Zexshia
• @reljawa • @bleble
🔥5❤1😁1