ps -o pid,user,comm \
| awk '$2=="shell" && $3!="sh" && $3!="ps" && $3!="grep" {print $1}' \
| while read pid; do
kill -9 "$pid" 2>/dev/null
doneKill all the shell server
installed_packages="$(pm list packages | cut -d: -f2)"
pm list packages -u | cut -d: -f2 | while IFS= read -r a; do
echo "$installed_packages" | grep -Fxq "$a" || pm install-existing "$a"
doneto get your uninstalled apps pkg id, you can do a lot of thing to it like pm delete dexopt them
Changelog
• Script cleaned and refactored.
• Mode state moved to /data/local/tmp/ so reflashing applies changes immediately.
• Execution flow simplified and redundant logic removed.
• Script cleaned and refactored.
• Mode state moved to /data/local/tmp/ so reflashing applies changes immediately.
• Execution flow simplified and redundant logic removed.
Changelog:
• Added a new softreboot tool, experimental and may behave unpredictably.
• Added a default or “none” mode so the module can return to its normal mode without applying any specific behavior.
• Added a new softreboot tool, experimental and may behave unpredictably.
• Added a default or “none” mode so the module can return to its normal mode without applying any specific behavior.
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