Skip to content

Releases: tiann/KernelSU

v0.8.0

23 Feb 17:10
8685fa1
Compare
Choose a tag to compare

For a long time, the module functionality of Magisk / KernelSU was limited to executing boot scripts and modifying system files. Now, we are exploring the possibility of endowing modules with the capability to display UI interfaces!

Previously, after installing some modules, users needed to configure them either through the command line or by directly modifying configuration files in specific locations. Clearly, this process was quite inconvenient for users. At times, in order to configure settings, it was even necessary to write a separate app. With the ability for modules to display interfaces, these issues could become a thing of the past.

Moreover, the display interface can be used for more than just configurations. You have the freedom to present anything you'd like to showcase and interact with the user.

The current interface is implemented through WebUI. You can create HTML pages using any web technology and place them in the module's webroot directory. After the module is installed, users can access this page through the KernelSU manager's list of modules. KernelSU also provides a JavaScript library to facilitate interaction with the system.

However, these trials are still in their infancy, and the jsapi is not yet stable. We welcome your feedback!

Changelog:

  • [Module] Add support for displaying WebUI in modules.
  • [Module] Use sparse image to store module files to solve the problem of installation failure of certain large modules and dynamically sized modules.
  • [Module] Use new mount API when it is available for mounting module files.
  • [Module] Allow to set upperdir for OverlayFS to make the partition writable (CLI Only).
  • [Kernel] Fix some detections.
  • [Kernel] Fix a bug that causes some root processes cannot be killed.
  • [Manager] Add an option to disable automatic update check.
  • [Manager] Fix the misleading tips when manager grant root failed.

v0.7.6

18 Jan 17:39
Compare
Choose a tag to compare

Fix memory leak

v0.7.5

07 Jan 06:38
90d63fe
Compare
Choose a tag to compare
  • To Make ZygiskNext Happy
  • [Script] Update allowlist.bt for devs
  • [SU] Support set gid and groups when su
  • [Module] Extract binaries properly and necessarily
  • [Kernel] Fix exec su in post-fs-data
  • [Module] Fix ksud temp path
  • [Manager] Update translation

v0.7.2

31 Dec 05:09
Compare
Choose a tag to compare
  • [SU] Fixed the issue of incorrect allowlist after an app with root permissions is uninstalled.
  • [SU] Fixed an issue that caused bootloop when uninstalling an application in multi-user after being granted root permissions.
  • [kernel] Support Linux kernel version 6.4.
  • [Module] Fixed the problem of non-standard module.prop causing module directory confusion.
  • [Module] Update busybox to 1.36.1.
  • [Module] Support using /debug_ramdisk as temporary directory.
  • [Security] Strengthen signature verification to avoid root privileges being taken over when using unofficial managers (CVE-2023-49794).

v0.7.1

14 Nov 08:07
0617c44
Compare
Choose a tag to compare
  • [Kernel] Fix su not working on android14-6.1 kernel.
  • [Kernel] Fix wifi not working on android14-6.1 kernel.
  • [Module] Add missing groups for App Profile.
  • [Module] Fix changelog fetch failed.
  • [Module] Fix module page blank when module id is absent.
  • [Manager] Add translations.

v0.7.0

24 Oct 12:40
92d4de3
Compare
Choose a tag to compare

We’re excited to report that we’ve delivered on the App Profile feature we promised 5 months ago! In this release, we have added an important feature to App Profile: Templates. You can create templates by yourself, import templates created by others, or directly use online templates. Templates can be directly applied to App Profile, without having to manually set each configuration! Therefore, even if you don’t understand the complex concepts in App Profile, you can easily restrict ROOT permissions through templates. In addition, welcome to contribute rules to online templates!

Changelog:

  1. [Security] Fix a security issue similar to CVE-2023-5521, please upgrade as soon as possible; credits to qwerty472123@github!
  2. [SU] App Profile now supports templates!
  3. [Module] Fixed the bug that the module directory may be accidentally umounted, causing the manager module directory to be empty.
  4. [SU] Fixed the issue where the allowlist may be messed up after an app is uninstalled.
  5. [Kernel] Add android14-5.15 and android14-6.1, supporting Pixel8 series.
  6. [SU] App Profile’s capability no longer requires CAP_DAC_READ_SEARCH and can run without any capability.
  7. [Kernel] Fixed the bootloop issues when working with Magisk.

v0.6.9

11 Oct 11:51
Compare
Choose a tag to compare
  • [Kernel] Fixed security vulnerability.
  • [Module] The GKI kernel supports automatic umount of modules to solve the problem of certain applications detecting module mount points.
  • [Manager] Fixed the issue where the update log was too long causing the update dialog box to be abnormal.
  • [Module] Adapt to the init process below Android 9.

v0.6.8

16 Sep 07:08
1f42bba
Compare
Choose a tag to compare
  • [Module] Fixed an issue that caused all modules to disappear after the installation of some modules failed.
  • [Manager] Fixed the problem of incorrect module file name when updating modules.
  • [Manager] It is now possible to display the changelog before module updates.
  • [Manager] The changelog can also be displayed when the manager is updated.
  • [Kernel] Fixed the issue where applications granted su permissions would execute certain commands abnormally.
  • [Kernel] Add some newly GKI kernel branches.

v0.6.7

21 Aug 05:43
d394fd2
Compare
Choose a tag to compare
  • [Kernel]: Fix kernel version strings.
  • [Kernel]: Fix build for 4.9 kernels.
  • [Module]: Add post-mount stage for module and common scripts.
  • [Module]: Fix module failed to install in some cases.
  • [Manager]: Fix the bug that some modules cause the module list to be empty.

v0.6.6

09 Aug 12:25
Compare
Choose a tag to compare

Changelog:

  • [Manager] Lots of translation updates in many languages, thanks to all developers who contributed on Weblate.
  • [Manager] Fixed a bug where module list doesn't show in manager under some cases.
  • [Module] Boot scripts now support a new boot stage boot-completed, which will run after system finished booting, available for both common and module scripts.
  • [Kernel] Kernel tasks are now queued and run in a global single thread, to avoid timing issues causing su allowlist mixup.
  • [Module] Fixed a bug where flashing large modules could fail.
  • [Manager] Optimized log output when installing modules in manager, UI only shows concise logs while saving detailed logs to file.
  • [Module] Uninstalling modules is now delayed until next reboot, avoiding potential incomplete uninstall.
  • [Manager] Added loading spinner for module operations in manager.
  • [Module] Fixed a bug where common post-fs-data scripts don't run if no modules installed.
  • [Manager] Fixed some untcentered prompt texts in manager.
  • [SU] Fixed incorrect parameter parsing in su.
  • [Manager] Module install log now auto-scrolls to bottom in manager.
  • [Manager] Module install screen now automatically mutes system volume keys for module volume key selection.
  • [Manager] Refreshes module list after install to avoid user confusion.
  • [Kernel] Fixed keyring not installed correctly on 4.9 kernels causing modules not working.
  • [Module] SELinux context of module dirs are fixed automatically on boot, avoiding some boot failures.

更新日志:

  • [Manager] 大量语言的翻译更新,感谢所有在 Weblate 上贡献的开发者。
  • [Manager] 修复某些情况下,管理器中模块列表全部不显示的 BUG。
  • [Module] 启动脚本支持一个新的启动阶段 boot-completed,将会在系统启动完毕后执行,支持 common 和模块脚本。
  • [Kernel] 内核任务使用全局单线程排队执行,避免时序问题导致 su 允许列表错乱。
  • [Module] 修复刷入大体积模块可能会失败的 BUG。
  • [Manager] 优化管理器中模块刷入时的日志输出,用户界面仅显示简洁日志,保存时文件写入详细日志。
  • [Module] 卸载模块改为下次重启时执行,避免卸载可能不干净的问题。
  • [Manager] 管理器中模块操作添加加载等待框。
  • [Module] 修复没有安装模块时,common post-fs-data 脚本不执行的 BUG。
  • [Manager] 修复管理器中若干提示文字没有居中的问题。
  • [SU] 修复 su 参数解析不对的问题。
  • [Manager] 管理器中安装模块时,输出日志自动滚动到底部。
  • [Manager] 管理器中安装模块界面,自动屏蔽系统音量键,方便模块进行音量键选择。
  • [Manager] 模块安装完毕后,刷新模块界面,避免用户误以为没有安装。
  • [Kernel] 修复 4.9 上内核 keyring 没有正确安装导致模块无法使用的问题。
  • [Module] 系统启动时,自动修复模块目录的 SELinux Context,避免部分启动失败问题。