CoreShift
696 subscribers
45 photos
7 videos
1 file
40 links
Developer-facing tooling only. Not intended for casual or personal use. Assumes you understand shell behavior, Android service boundaries, and the side effects of touching ART, app-ops, system properties, and device_config.
Group chat - @diky_IC
Download Telegram
pm list packages -3 \
| awk -F: '{print $2}' \
| xargs -n1 -P5 sh -c 'pm compile -m everything --full "$1"' _

compile 5x faster
MODDIR=/data/data/com.android.shell/AxManager/plugins/Runtime
xargs -n1 -P8 sh -c '
pkg="$1"
dumpsys package "$pkg" 2>/dev/null | grep -F "reason" || true
' _ <"$MODDIR/compile.txt" \
| cut -f2 -d: \
| awk '{count[$1]++; total++} END{for (s in count) printf "%s: %.2f%%\n", s, (count[s]/total)*100}' \
| sort -nr

find compile status for apps inside the file
1
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
done

Kill 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"
done

to 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.
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.
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.
2
CoreShift pinned Deleted message
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
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
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 } &
done

to 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.
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:
mode

net
CoreShift Changelog

New Features
- Added unified Tools Overview (compile, mode, net, pkg) with clear usage help.
- 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).
Improvement
- 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

👍32🔥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
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