跳到主要内容
KernelSU 模块

KernelSU Grant Toast

不可变 Release 已同步

Show a root granted toast like Magisk.让KSU像Magisk一样显示超级用户授权Toast.

介绍

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.

历史版本

2.3

最新 2.3-KernelSUNewRepo

版本代码 14 2.3-resp

下载

该版本文件内容和上版本完全一致 只是为了上新的KernelSU模块仓库
如果管理器内没有更新提示则无需更新
功能更新...下次一定

文件 1

KernelSUGrantToast.zip 277.8 KiB

SHA-256 5a4c1725911af38afb2daf7286e604e1e76b5c6b03cc095079b7d79c381f627a · Attestation

透明度

Tag
2.3-resp 不可变 Release
Tag commit
7fd0b6184e6a
内容 commit
7fd0b6184e6a
SHA-256
5a4c1725911af38afb2daf7286e604e1e76b5c6b03cc095079b7d79c381f627a
最近同步到变更

自行复核

KernelSU 模块不对模块签名,也不审计模块代码。SHA-256 只证明下载内容与本索引一致。可使用 GitHub CLI 自行复核:

gh release verify 2.3-resp -R NativeStar/KernelSUGrantToast
gh release verify-asset 2.3-resp KernelSUGrantToast.zip -R NativeStar/KernelSUGrantToast