GMS Breaker Miyabi Core is an advanced, ultra-performance Magisk/KernelSU/APatch module designed to aggressively isolate Google Play Services at runtime. It completely halts background telemetry, wakelocks, and sync without deleting Google accounts or modifying system partitions.
Built for users who prioritize maximum gaming consistency, lower thermal throttling, reduced RAM footprint, and maximum battery life.
- Works out-of-the-box on Magisk, KernelSU, and APatch.
- Uses system-native
/system/bin/shshebangs and standard shell POSIX syntax rather than hardcoded Magisk-only paths.
- Automatically scans and isolates GMS instances across all users on the device (User 0, Work Profiles, Parallel Space, Island, Shelter, Xiaomi Dual Apps, etc.).
- Dynamically resolves UIDs for all target packages and drops both IPv4 (
iptables) and IPv6 (ip6tables) traffic. - Leak Fix: Implements safety checks to prevent rule duplication, solving networking overhead and memory leaks present in older versions.
- Heavy Java VM commands (
cmd/am) are replaced with lightweight nativepkill/pgrepchecks. - Runs with virtually zero CPU overhead, executing periodic deep audits only if GMS is detected waking up or every 5 minutes.
The module dynamically isolates the following packages if they are installed:
com.google.android.gms(Google Play Services)com.google.android.gsf(Google Services Framework)com.android.vending(Google Play Store)com.google.android.gms.setup(GMS Setup Wizard)com.google.android.feedback(Google Feedback/Crash Reporting)com.google.android.partnersetup(Google Partner Setup)com.google.android.onetimeinitializer(One-Time Initializer)com.google.android.backuptransport(Backup Transport)com.google.android.syncadapters.contacts(Contacts Sync)com.google.android.syncadapters.calendar(Calendar Sync)com.google.android.projection.gearhead(Android Auto)com.google.android.apps.gcs(Google Connectivity Services)com.google.android.gms.policy_sidecar(GMS Policy Sidecar)com.google.android.printservice.recommendation(Print Service Recommendation)
-
Initial Setup (At Boot):
- Removes target packages from the global deviceidle whitelist.
- Sets App Standby Buckets to
restricted(Android 12+) orrare(Android < 12). - Suspends packages across all user profiles.
- Sets critical AppOps to
ignore(RUN_IN_BACKGROUND,WAKE_LOCK,START_FOREGROUND,ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION,GET_USAGE_STATS,SYSTEM_ALERT_WINDOW,WRITE_SETTINGS). - Appends firewall rules to block network access for target UIDs.
-
Daemon Loop (Every 20 Seconds):
- Uses native
pgrepto check if any GMS components are running. - If running, terminates them immediately via
pkill -9and re-suspends them. - Enforces firewall rules and triggers a device deep-idle cycle.
- Runs a full deep restriction re-apply cycle every 5 minutes.
- Uses native
- Android Versions: Android 10, 11, 12, 13, 14, 15+
- OS Flavors: Stock Android, AOSP, MIUI, HyperOS, ColorOS, RealmeUI, OneUI, custom ROMs (SuperiorOS, LineageOS, Pixel Experience, etc.)
- Chipsets: Snapdragon, MediaTek, Exynos, Tensor, Unisoc
- Google Play Services will be completely suspended.
- Google push notifications (FCM) will stop working.
- Play Store downloading and sync will be paused.
- Google apps requiring sign-in or GMS (like YouTube, Drive, Maps) may not function correctly while the module is active.
- Account-Safe: Disabling the module in your root manager and rebooting fully restores normal behavior instantly without logging out.
GMS Breaker Miyabi Core v2.7.1 features a command-line terminal utility to control the GMS blocking status in real-time without needing a device reboot. You can run these commands from any terminal emulator (such as Termux) with root access.
- Temporarily Disable GMS Breaker (Activate GMS for Google Maps/GPS location tracking, ride-hailing apps, Play Store downloads, or contact sync):
su -c miyabi off
- Re-enable GMS Breaker (Instantly freeze GMS and optimize background environment for maximum gaming performance):
su -c miyabi on
- Check Isolation & Firewall Status:
su -c miyabi status
Note
Self-Healing Boot Reset: If you temporarily disable GMS (su -c miyabi off) and forget to turn it back on, GMS Breaker will automatically re-enable itself and freeze GMS upon the next device reboot to safeguard your gaming performance and battery life.
When you disable/remove the module and reboot, the dynamic uninstallation script automatically:
- Dynamic UID lookup removes all IPv4 & IPv6 firewall rules.
- Un-suspends all target packages across all active user profiles.
- Resets AppOps back to default values.
- Restores packages to the deviceidle whitelist.