Modules / ksuGrantToast

KernelSU Grant Toast

让KSU像Magisk一样弹出授予超级用户权限Toast./Show a root granted toast like Magisk.

README

KernelSU Grant Toast

简体中文 English

Make KernelSU display a “Superuser access granted” toast, like Magisk.

Screenshots

Features

  • Shows a toast notification when an app gains elevated privileges.
  • Supports custom notification text.
  • Supports ignoring privilege-grant notifications for specified apps.

Installation

Download the module package from the Releases page, then select and install it in KernelSU.

After installation, reboot the device for the module to take effect.

This module does not depend on Zygisk or MetaModule.

Compatibility Notes

This module is intended only for the latest version of KernelSU that supports Su logging, and has only been tested with the official release.

Compatibility with other forks is unknown. In theory, it should work as long as their Su logging implementation has not been modified.

How It Works

When Su logging is enabled, KernelSU starts a persistent process that receives log data forwarded by the kernel and writes it to a file.

This data is highly real-time, making it fully suitable for event monitoring.

After the module is installed and the device has finished booting, the module kills the original process responsible for writing the logs. It then obtains the file descriptor used to receive the relevant data (only one process can hold this descriptor, so the original process must be terminated) and takes over event handling.

If an Android app is found to have been granted root access, the module retrieves information about the app and displays a notification when the configured conditions are met.

Notes

Because the process that originally writes the log file is terminated after the device finishes booting, Su logs will no longer be recorded.

To prevent files from accumulating, the module also deletes old log files after it starts.

As a result, you will no longer be able to view Su log data in the manager.

(In theory, the original process could be left running and the module could obtain information by monitoring changes to the log file, but this may have poor performance.)

Final Note

This module is mainly for fun.

Thanks for using it.

Release History

v21

Published on August 29, 2026
Download

修复在最新KernelSU Release(32601)上无法工作
修复设备软重启后模块进程崩溃
长按添加应用按钮时支持通过手动输入包名添加应用(适用于将普通应用转系统应用后)
卸载后清理残留的部分内容
使用KernelSU的特性注册接管Su日志 后续使用时不再需要保持SU日志功能打开
Fixed an issue that prevented the module from working on the latest KernelSU Release (32601).
Fixed a crash of the module process after a soft reboot.
When the Add App button is long-pressed, apps can be added by manually entering their package names (useful after converting a regular app into a system app).
Residual files and data are cleaned up after uninstallation.
Uses KernelSU's built-in feature to register and take over Su logs; the Su logging feature no longer needs to remain enabled.

v20

Published on June 30, 2026
Download

由于工作方式优化 不再支持设置是否检查SuCompat事件
尝试支持对部分设置项热更新 需要在WebUI中开启'设置实时生效(实验性)'开关并重启
修复新的判定方式未使用缓存的应用名 提高性能
其他优化

v19.1

Published on June 26, 2026
Download

(不知道为啥这里没能更新 重新推一遍)
修复在最新版本KernelSU(32525)上无法工作
改为基于应用UID获取提权数据 感谢@hgcjd666666

v19

Published on June 21, 2026
Download

WebUI:
修复应用列表项长按时误触发振动
修复打开添加应用对话框时自动弹出输入法
其他:
支持设置是否在启动后删除启动时生成的SuLog日志文件
开启r8

v18

Published on June 12, 2026
Download

改用基于Shadcn的全新WebUI界面 支持多语言、深色模式等
新增预置繁体中文和英语默认提示消息 将在模块启动时根据系统语言自动选择
增加应用名缓存列表大小

v17

Published on May 19, 2026
Download

支持设置对提权应用的搜索深度 避免一些极端情况无法被检测(默认值1 过高会影响性能 酌情调整)
支持设置对兼容提权的检测 避免少数情况下的提权事件被忽略(如果发现模块失效或严重漏提醒可尝试开启 但会带来性能影响)
修复崩溃后可能无法修改模块描述提醒
优化异常处理

v19Fix

Published on June 25, 2026
Download

修复在最新版本KernelSU(32525)上无法工作
改为基于应用UID获取提权数据 感谢@hgcjd666666

v15

Published on May 15, 2026
Download

在初始化完成后删除启动时生成的SuLog文件 避免堆积
优化安装方式 一定程度上降低安装后模块体积(降低近100kb)
修改安装时文案

v14

Published on May 3, 2026
Download

修复自定义文本只能接受长度为63的字符(实际应为64)
修复自定义提示文本含有某些符号时可能出现异常
优化性能 移除了兼容模式提权的判定(根本用不到这个路径)

v13

Published on May 2, 2026
Download

修复忽略提示应用列表只有一个应用时功能失效
新增在发生异常时修改模块描述提醒
优化Android应用提权判断方式(不再会对管理器发出提醒 但进入SuLog页面除外)
优化性能
更改部分文案
(我以为是tag设置错导致上传失败 结果好像只是卡了 两个1.3Release文件完全一样 随便挑一个下就好)

4-1.3

Published on May 2, 2026
Download

修复忽略提示应用列表只有一个应用时功能失效
新增在发生异常时修改模块描述提醒
优化Android应用提权判断方式(不再会对管理器发出提醒 但进入SuLog页面除外)
优化性能
更改部分文案

Module Details

Module ID
ksuGrantToast
Authors
51
Stars
11
Releases

Latest Version

v21
Released 8/29/2026
Download Now