ShizuStore

Shappky

YasserNull

2.0.0 · GitHub

Download APK
Task manager Android 7.0+ 1 month ago GPL-3.0 Recommended
621 ShizuStore
49.4k GitHub
594 Stars
4 MB Size

More about this app

A simple app to boost performance by stopping background apps.

Shappky

Logo

What is Shappky?

Shappky, short for Shell App Killer, is an app that stops background applications using either Shizuku or Root permissions, improving device performance, reducing memory usage, and lowering heat in a lightweight and safe way.

How does Shappky work?

Shappky relies heavily on shell commands to identify and kill applications. You can read more about it here: how_shappky_works.md

Features

  • Flexible Permissions: Works with either Shizuku or Root access.
  • Simplified User Interface: Practical and easy-to-use design.
  • Fast Performance: Stops applications with high efficiency.
  • App Protection: Ability to protect certain apps from being killed, such as Keyboard, Launcher, and core system services.
  • Quick Tile: Activate the background service that automatically kills unused apps via a Quick Tile.
  • Trigger Support:
    • Service triggers: Customize a new background service through rules.
    • Profile triggers: Instant execution to kill specific apps with one tap.
  • Tasker compatible: Full support for integration and custom actions.
  • Intent: Send commands from external apps.
  • Widgets: Home screen widgets for quick control.

Screenshots

Shappky Service

The Shappky background service runs in the background to automatically stop active apps once enabled. General service options can be customized, though app-killing rules are not customizable within the service itself.

Note: You can create a Service Trigger to customize app-killing rules if you want full control over the service behavior.

Triggers

Triggers come in two types:

  1. Profile trigger: This trigger must be executed manually, allowing you to select a specific group of apps.
  2. Service trigger: This lets you create and customize a background service using available rules, with automatic enable/disable options based on those rules.

triggers

Intent & Tasker Integration

Intent

The app also supports Broadcast Intent.

  1. Select Intent type : Broadcast Intent.
  2. Package: com.yassernull.shappky
  3. Select an Action:
    • To execute a profile trigger: com.yassernull.shappky.EXECUTE_TRIGGER
    • To enable a service trigger: com.yassernull.shappky.ENABLE_TRIGGER
    • To disable a service trigger: com.yassernull.shappky.DISABLE_TRIGGER
    • To enable Shappky service: com.yassernull.shappky.ENABLE_SHAPPKY_SERVICE
    • To disable Shappky service: com.yassernull.shappky.DISABLE_SHAPPKY_SERVICE
  4. Extra Key: TRIGGER_NAME (enter the trigger name).

Tasker

The app includes a plugin for Tasker integration. tasker

  1. Create a new Task.
  2. Select the Shappky plugin.
  3. Tap Configure.
  4. Choose the action that suits your needs.

Widgets

The app features 2 widgets:

  1. Action Widget: You can create a 1x1 shortcut and assign a profile trigger to it. Tapping the widget will execute the trigger.

  2. App List Widget: You can display a list of running background apps directly on your home screen with a one-tap kill feature.

Requirements

  • Android Version: 7.0 or higher.
  • Shizuku or Root: Shappky requires Root or Shizuku permissions to work.

Installation

You can download and install Shappky via one of the following methods: GitHub Releases: Download the latest APK from the Releases page.

License

Shappky is licensed under the GNU General Public License v3.0.

Donate

If you want to support me, I would be very grateful.

Ko-fi

Close

How Shizuku is used

Can stop background apps and inspect running processes via Shizuku shell commands with `am kill`.

This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.

How this app uses Shizuku

Shizuku is used to run privileged shell commands that find, inspect and stop background apps to boost performance.

  • Stop background apps: selected or automatically detected apps are stopped with am kill, escalated to am force-stop when still running, with remaining processes ended by kill -9, plus am kill-all for system-wide trimming.
  • List running processes: the current process table is read with the bundled toybox ps command to build the app list with RAM and CPU usage.
  • Show app details: per app process info, thread counts from cat /proc/[pid]/stat and foreground state from dumpsys activity services are shown in the detail view.
  • Skip recent apps: dumpsys activity recents and dumpsys activity activities are read to detect recent and foreground apps so the automatic killer and triggers do not stop apps in use.
  • Protect special apps: dumpsys wallpaper and dumpsys appwidget are read to identify the current wallpaper and active widget packages so they can be excluded from killing.
  • Prepare helper binary: a bundled toybox binary is copied to temporary storage and made executable so the process and detection commands above can run.

Android APIs or commands used

  • am kill
  • am force-stop
  • am kill-all
  • kill -9
  • ps -A -o %cpu,pid,user,rss,name,uid
  • pidof
  • grep
  • awk
  • dumpsys activity recents
  • dumpsys activity activities
  • dumpsys activity services
  • dumpsys wallpaper
  • dumpsys appwidget
  • cat /proc/[pid]/stat
  • cp
  • chmod 755
Close

Changelog

What's new for version 2.0.0

Changelog

About the App

  • Updated app icon to support monochrome dynamic icons (#6).
  • Changed app package name from com.yn.shappy to com.yassernull.shappky.
  • Raised minimum supported Android version from 6.0 to 7.0 due to Shizuku library updates.
  • Migrated codebase and tech stack from XML & Java to Kotlin & Jetpack Compose.
  • The app now builds multiple APK files per architecture: Universal, arm64-v8a, armeabi-v7a, x86, and x86_64.

User Interface

Numerous UI improvements and visual enhancements, including:

  • Added icons to buttons.
  • Added type-specific indicators/icons for apps.
  • Added app search bar, which was also integrated into the "Hide App" menu (#17).
  • Fixed layout and design bugs (#13, #15).
  • Added smooth animations across the app list.
  • Added a long-press context dialog showing detailed app information with direct actions to mark an app as protected or hidden (#17).

App-Killing Algorithm & Background Detection

  • Enhanced the app-killing algorithm to intelligently stop applications and terminate stubborn background processes if an application fails to stop normally.
  • Improved background app detection logic to identify individual sub-processes rather than monitoring only the main process.
  • For full technical details, see docs/how_shappky_works.md.

Settings

Introduced a dedicated Settings screen featuring multiple customization options:

  • Language: Added support for English and Arabic, with community localization support.
  • Theme: Added Light, Dark, and OLED Black themes (#9).
  • Dynamic Colors: Added Material You dynamic color scheme support based on system wallpaper (#6).
  • Permission Switching: Seamlessly toggle between Root and Shizuku authorization modes.
  • Protected Apps: Manage protected applications globally to exempt them from background termination.
  • Backup & Restore: Export and import application settings (#17).

Shappky Service

  • Added configuration options to customize the Shappky background service, preventing performance issues or system lag caused by killing essential background tasks (#12).

Triggers

Implemented trigger features (#4, #16):

  1. Profile Trigger: A manual trigger allowing instant termination of a predefined group of apps with one tap.
  2. Service Trigger: A rule-based background service trigger that automatically enables or disables execution based on customizable conditions.

Tasker Integration

  • Added Tasker plugin support for seamless integration and custom automated workflows (#2).

Intent

  • Added Broadcast Intent support to enable external apps and automation tools to trigger commands directly (#17, #21).

Widgets

  • Added 2 interactive home screen widgets: Action Widget and App List Widget (#19).

Other Fixes & Improvements

  • Updated and fixed donation link (#18).
  • Resolved issue regarding Shappky service status reporting (#8).
Close

Permissions

13 permissions requested

  • android.permission.QUERY_ALL_PACKAGES
  • android.permission.FOREGROUND_SERVICE
  • android.permission.FOREGROUND_SERVICE_DATA_SYNC
  • android.permission.FOREGROUND_SERVICE_SPECIAL_USE
  • android.permission.POST_NOTIFICATIONS
  • android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
  • android.permission.RECEIVE_BOOT_COMPLETED
  • android.permission.ACCESS_WIFI_STATE
  • android.permission.BLUETOOTH
  • android.permission.NFC
  • android.permission.SCHEDULE_EXACT_ALARM
  • com.yassernull.shappky.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
  • moe.shizuku.manager.permission.API_V23
Close

Sources

5 sources

2.0.0 Universal GitHub · com.yassernull.shappky
Selected Download
2.0.0 arm64-v8a GitHub · com.yassernull.shappky
Download
2.0.0 armeabi-v7a GitHub · com.yassernull.shappky
Download
2.0.0 x86 GitHub · com.yassernull.shappky
Download
2.0.0 x86_64 GitHub · com.yassernull.shappky
Download