ClipShield

klmmlk

KernelSU
v1.2.1
Version
1.44 MB
Size
Oct 13, 2026
Updated

Module Info

  • Contributors klmmlk
  • Source Code View Repository
  • Tags
    #ClipShield #Clipboard #Privacy #Zygisk #KernelSU #Zygisk Next #ReZygisk #klmmlk

About this module

ClipShield (shown as 别动我的剪切板, "don't touch my clipboard") by klmmlk blocks apps you pick from reading your clipboard in the background or at launch, so they can't grab codes or text you copied. Normal pasting still works.

What it does

  • Inside each blocked app's own process it hooks ClipboardManager, so clipboard reads return nothing.
  • It also suppresses addPrimaryClipChangedListener, because watching for clipboard changes is snooping too.
  • Writes (setPrimaryClip) are allowed by default so copying keeps working; you can block them globally in the WebUI.
PolicyBehaviour
Smart (default)Reads are allowed only when you tap Paste in a text field (a 3-second window), when the app reads back what it copied in the last 30 seconds, or when the call comes from the framework's paste path
BlockBlocks both reading and writing
AllowLeaves the app alone

Hooks run only in the target app's process, never in system_server, so the worst case is one app crashing.

Requirements and installation

  1. KernelSU (or a compatible manager) with Zygisk Next or ReZygisk, Android 13 or newer, arm64.
  2. Install the zip in the KernelSU manager and reboot.
  3. Open the module's WebUI and tick the apps to block. Presets group apps by category (shopping, short video, food delivery, communities and so on), or add them by package name.
  4. Force-stop those apps, or reboot, so Zygisk injects into them again.

To check: copy some text and open a blocked app; it shouldn't read it any more, and adb logcat -s ClipShield shows each decision. Pasting inside an app's WebView can be blocked by mistake in smart mode; set that app to Allow. Don't block your keyboard app, or clipboard suggestions stop working. The config is in /data/adb/clipshield/config.json. GPL-3.0.