Skip to content
KernelSU Modules

KernelSU Tuner

Immutable release Synced

Kernel-level tuning for rooted Android. Performance profiles that switch themselves based on temperature, screen state and charging, plus charge limiting, per-app policies and a WebUI console.

Description

KernelSU Tuner

English | 简体中文

给 KernelSU 写的一个调优模块。主要想解决两件事:把散在各个 sysfs / proc 节点的性能参数集中管起来,以及让这些参数能根据实际情况自己切换。

起因是之前用过的那些"性能优化"脚本,改完之后想还原只能重刷,而且很多脚本不看机型,往同一个值上怼。所以这个模块从第一天起就定了两条规矩:写入前必须备份原值,设备不支持就跳过而不是报错。

代码全是 shell 和原生 JS,没有依赖任何第三方东西,装完断网也能用。


环境要求

项目 要求
KernelSU v0.9.0 以上(用到 ksud module config 和 initrc 注入)
Android 10 以上
内核 4.14+,我用 5.10 GKI 实测
架构 arm64-v8a / x86_64 都行,脚本层没有架构相关代码

没在 Magisk 上测过。Magisk 应该也能跑大部分功能,但 ksud 相关的那部分(动态模块描述)会直接失效。


它到底做了什么

四档预设

powersave / balanced / performance / gaming,切档会连带改动下面这些:

  • CPU 调度器 —— 从设备实际支持的 governor 列表里挑,不是硬写 performance。有的内核只有 walt 和 schedutil,那就挑得出来的那个。
  • GPU 调频 —— 高通走 kgsl-3d0,读 num_pwrlevels 算功率档位;Mali 和通用 devfreq 走 available_governors。两条路径都试,能中哪条算哪条。
  • IO 调度器 + 预读 —— read_ahead_kb 和 nr_requests 一起调,只改调度器其实意义不大。
  • VM 内存 —— swappiness、脏页回写比例、vfs_cache_pressure。
  • 网络 —— 优先开 BBR,开不了就退到 cubic;收发缓冲区、TCP Fast Open、tcp_tw_reuse 一并设。
  • DNS —— 按档位切,性能档会开加密 DNS(DoT)。
  • ZRAM 压缩算法 —— 优先 zstd,其次 lz4。已经在用的 swap 设备会跳过,不动它。

智能驾驶 AutoPilot

一个常驻循环,5 秒一轮,读温度 / 息屏状态 / 充电状态,决定该用哪一档。

温度 >= 阈值        -> 降温档
温度在降但没到位     -> 继续降温档(滞回)
屏幕关闭            -> 省电档
充电中(可选)       -> 性能档
其他                -> 基准档

滞回这块是必须的。最早我写的是"过热后强制降温 30 秒",结果温度卡在阈值附近时会反复切档,比不切还费电。现在改成状态机:只有温度掉回 AUTO_TEMP_LOW 以下才解除冷却。

温度取值会跳过 thermal_zone 里那些明显无关的传感器,优先看 type 里带 cpu / soc / gpu / tsens / battery / skin 的。有些设备 temp 单位是摄氏度而不是毫摄氏度,代码里判断了(小于 200 就当摄氏度处理)。

电池守护 BatteryGuard

充电到设定上限就断电,掉到「上限 - 3%」再恢复,来回循环。

控制节点会按顺序找这几个,找到哪个用哪个:

charging_enabled    input_suspend    batt_slate_mode
store_mode          charge_disable

高通的 charging_enabled 和 charge_disable 极性是反的,代码里分开处理了。如果这五个节点一个都没有,会直接告诉你不支持,而不是默默失败。

提示:上限设 80% 对循环寿命帮助最明显。设 100% 等于没开。

应用待机管理

直接操作 Android 的 App Standby Bucket,比"一刀切杀后台"温和很多。

档位循环:active → working → frequent → rare → restricted

可以给任意应用单独设档,也能加白名单让它不受批量操作影响。WebUI 里有搜索框,应用多了不至于翻半天。

应用性能策略 AppWatch

按前台应用自动切档。打开游戏进游戏档,切回桌面回基准档。

前台包名识别做了三级回退,因为不同 Android 版本 dumpsys 的输出差别很大:

dumpsys activity activities   (mResumedActivity / topResumedActivity)
  ↓ 没结果
dumpsys window                (mCurrentFocus / mFocusedApp)
  ↓ 没结果
dumpsys activity top          (ACTIVITY 行)

实测覆盖了 Android 11 ~ 14 的几种格式,包括多用户(u10)和包名带下划线数字的情况。

显示调优

  • 刷新率:按档位写 peak_refresh_rate / min_refresh_rate,均衡档会把设置删掉交还给系统
  • 触控采样率:扫描 9 类触控节点,游戏档拉到 300Hz

这块不是所有机器都有节点,没有就只调刷新率,不会报错。

自定义内核参数

最后加的功能,也是我觉得最实用的。填路径和值就行,模块负责备份原值。

/sys/module/xxx/parameters/yyy   ->  你想要的值

路径限 /sys 和 /proc,会拦 .. 和 |。每次写入前记录原始值,还原时只还原自己改过的那几项,不会动别的模块留下的备份。

initrc 常驻服务

用 KernelSU 的 initrc 注入,让 init 进程在 late_start 阶段直接拉起,比 service.sh 更早。

service KernelSU-Tuner_boot   /system/bin/sh .../bin/init-apply.sh
service KernelSU-Tuner_watch  /system/bin/sh .../bin/appwatch.sh run
on property:sys.boot_completed=1
    start KernelSU-Tuner_watch

改完配置想立刻生效的话,跑一下 ksud initrc refresh,下次开机用新的。

late-load 模式下 initrc 注入不可用(KernelSU 本身的限制),这种情况 service.sh 会兜底。


安装

  1. KernelSU 管理器 → 模块 → 从本地安装 → 选 zip
  2. 重启

WebUI 在模块列表里点进去就行,动作按钮会按 省电切档 → 智能驾驶 → 电池守护 → 应用追踪 → 关闭全部 循环。

界面右上角有个语言按钮,点一下在中文和英文之间切换,选择会记住。英文界面是 webroot/index.en.html,默认打开的仍然是中文的 webroot/index.html。


命令行

不想开 WebUI 的话,脚本都能直接调。

# 主控
sh /data/adb/modules/KernelSU-Tuner/bin/tuner.sh status      # 看当前所有状态
sh /data/adb/modules/KernelSU-Tuner/bin/tuner.sh apply gaming
sh /data/adb/modules/KernelSU-Tuner/bin/tuner.sh fast gaming  # 只切 CPU/GPU/VM,快一些
sh /data/adb/modules/KernelSU-Tuner/bin/tuner.sh monitor      # 连采 3 次实时数据
sh /data/adb/modules/KernelSU-Tuner/bin/tuner.sh revert       # 回滚所有内核参数
sh /data/adb/modules/KernelSU-Tuner/bin/tuner.sh set CPU_GOV 0
sh /data/adb/modules/KernelSU-Tuner/bin/tuner.sh trim

# 智能驾驶
sh .../bin/autopilot.sh start | stop | status
sh .../bin/autopilot.sh once     # 只跑一次决策,看看现在会选哪档

# 电池守护
sh .../bin/guard.sh start | stop | status
sh .../bin/guard.sh node         # 看识别到了哪个控制节点

# 应用待机
sh .../bin/appctl.sh list
sh .../bin/appctl.sh set com.xxx.yyy rare
sh .../bin/appctl.sh optimize    # 全部设成 rare
sh .../bin/appctl.sh hibernate   # 杀掉后台(跳过前台应用)

# 应用策略
sh .../bin/appwatch.sh set com.xxx.yyy gaming
sh .../bin/appwatch.sh fg        # 看当前识别到的前台包名

# 自定义参数
sh .../bin/custom.sh add /proc/sys/vm/swappiness 100
sh .../bin/custom.sh apply
sh .../bin/custom.sh revert

# 显示
sh .../bin/display.sh status
sh .../bin/display.sh apply gaming

# 内核扩展调优
sh .../bin/kernel.sh all gaming     # 一次跑完下面全部
sh .../bin/kernel.sh devfreq        # 总线与内存控制器调频
sh .../bin/kernel.sh devfreq-list   # 看设备有哪些 devfreq 节点
sh .../bin/kernel.sh ksm            # 内存去重
sh .../bin/kernel.sh thp            # 透明大页
sh .../bin/kernel.sh schedtune      # 调度增强
sh .../bin/kernel.sh tcp            # TCP 三层缓冲
sh .../bin/kernel.sh boost          # 触控 boost
sh .../bin/kernel.sh fs             # 文件系统上限
sh .../bin/kernel.sh status         # 各开关状态

# 自定义预设
sh .../bin/presets.sh list
sh .../bin/presets.sh save night powersave
sh .../bin/presets.sh apply night

# 守护看门狗
sh .../bin/watchdog.sh start | stop | status | log

# 配置读写与迁移
sh .../bin/cfg.sh version
sh .../bin/cfg.sh migrate

status 的输出是 KEY=VALUE 格式,好解析:

CFG_PROFILE=balanced
LIVE_GOVERNOR=walt
LIVE_CUR_FREQ=1286400
LIVE_GPUFREQ=490
...

配置文件

/data/adb/ksu_tuner/config.conf,KEY=VALUE 一行一条。重复的键以最后一条为准。

主要几个:

键 说明
PROFILE 当前预设
CPU_GOV GPU_TUNE IO_SCHED READ_AHEAD VM_TUNE NET_TUNE DNS_TUNE ZRAM_TUNE 各子系统开关,1 开 0 关
THERMAL_OPEN 温控解锁,默认关
SELINUX_PERM SELinux 宽容,默认关
AUTOPILOT AUTO_BASE AUTO_COOL AUTO_TEMP_HIGH AUTO_TEMP_LOW AUTO_SCREEN AUTO_CHARGE 智能驾驶
BATT_GUARD CHARGE_LIMIT 电池守护
APPWATCH WATCH_BASE 应用策略
DISP_TUNE 显示调优

温度阈值单位是毫摄氏度,45000 = 45°C。

改完不用重启,跑一次 tuner.sh apply 就生效。


目录结构

/data/adb/modules/KernelSU-Tuner/
├── module.prop
├── customize.sh           安装时初始化配置、设权限
├── post-fs-data.sh        建目录、校验配置、识别 late-load
├── service.sh             开机应用预设、拉起守护进程
├── boot-completed.sh      动画缩放、自动 fstrim、刷新模块描述
├── action.sh              动作按钮
├── uninstall.sh           卸载时完整还原
├── initrc/
│   └── KernelSU-Tuner.rc  init 常驻服务
├── bin/
│   ├── tuner.sh           主控,预设应用与状态查询
│   ├── autopilot.sh       温度/息屏/充电自适应
│   ├── guard.sh           充电上限
│   ├── appctl.sh          Standby Bucket 管理
│   ├── appwatch.sh        前台应用追踪
│   ├── custom.sh          自定义参数
│   ├── display.sh         刷新率与触控
│   ├── kernel.sh          devfreq/KSM/THP/schedtune/TCP/boost/fs
│   ├── presets.sh         自定义预设
│   ├── backup.sh          配置导出导入
│   ├── wipeshield.sh      防格机
│   ├── watchdog.sh        守护进程看门狗
│   ├── cfg.sh             配置原子读写与版本迁移
│   └── init-apply.sh      initrc 调用的入口
├── sepolicy.rule          SELinux 规则
└── webroot/
    ├── index.html         中文界面(管理器默认打开)
    └── index.en.html      英文界面

运行时数据在 /data/adb/ksu_tuner/(与模块 id 解耦,升级不丢配置):config.conf 配置、backup.conf 原始值备份、tuner.log 日志、各守护进程的 .pid 和 .log。


几个坑

温度阈值别设太低。 设 40°C 的话日常刷个网页都会触发降温,得不偿失。45~50 比较合理。

温控解锁和 SELinux 宽容默认关着是有原因的。 前者会让机身明显更热,长期高温反而伤电池;后者降低安全强度,调试完就该关掉。这俩我不建议长期开着。

自定义参数改之前先确认节点含义。 虽然能还原,但写错值可能当场就卡住,得进 recovery 删文件。不确定的先 cat 一下看看当前值和取值范围。

AppWatch 和 AutoPilot 别同时开。 两个都在抢着切预设,会打架。动作按钮的循环顺序已经考虑到了这点,但手动配置时容易踩。

revert 之后记得重新 apply。 回滚是把值恢复成模块第一次写入前的样子,此时配置里的开关还是开的,不重新应用的话状态和配置就对不上了。

WebUI 首次打开会读一圈状态,大概 1~2 秒。 标签页是懒加载的,切到「应用管理」才开始拉应用列表,应用多的话会再等一会儿。


卸载

直接在管理器里删就行,uninstall.sh 会:

  1. 杀掉所有守护进程
  2. 还原自定义参数和内核参数
  3. 恢复应用待机档位到 frequent
  4. 恢复刷新率和触控设置
  5. 清掉 /data/adb/ksu_tuner/

如果哪个环节没跑成功,backup.conf 里还有原始值,手动写回去就行。


测试情况

主控和守护进程都留了注入点,方便不刷机验证逻辑:

  • KSU_SYS=<路径> 把 /sys、/proc 的读取重定向到别处
  • autopilot.sh once 只跑一次决策
  • appwatch.sh fg / once 单独看前台识别结果

我用这套跑了这些场景:

  • AutoPilot 决策矩阵 12 组(常规 / 息屏 / 过热 / 临界 45°C / 充电提速 / 改基准档 / 关息屏省电 / 动态改阈值)
  • 冷却滞回时序(46°C 触发 → 43°C 保持 → 39°C 解除)
  • BatteryGuard 充放电循环 5 组(85% 断电 / 79% 保持 / 76% 恢复 / 再次断电 / 停止时恢复充电)
  • 前台识别 7 组(含 3 级回退链、多用户、特殊包名)
  • 自定义参数增删改查、非法路径拦截、节点缺失降级

在骁龙 8 Gen 2 / 内核 5.10.236 的机器上实机验证通过。


许可

GPL-3.0

Releases

v3.6.0

Latest

Version code 30060 v3.6.0

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

The white flash on opening the WebUI. It was two things stacked.

The html element had no background colour, only body did. Until body renders, the WebView paints the root element, which defaults to white. That is the flash you see. html now uses the same dark colour as body, and color-scheme: dark is set so form controls and scrollbars follow.

theme-color is set too, which the WebView uses for its own loading surface.

The language redirect was worse. It lived in the script at the end of body, so if you had picked English before, opening the WebUI would fully load the Chinese page first, then jump to the English one. Two loads, two flashes. It is in head now and uses location.replace, so only one page loads and no extra history entry is created.

Also the first load() call now runs in setTimeout(..., 0), so the browser paints the interface before doing any of the shell round-trips.

Expect it to still take a moment to open. That is the manager creating the WebView and injecting the bridge, which the module cannot shorten. What is gone is the white part.

versionCode 30060.

Assets 1

KernelSU-Tuner-30060-v3.6.0.zip 105.2 KiB

SHA-256 c620e975d52ade79bea8bdfbbe1ebecb4674f8465eef65b8ca58eeabc6975a4e · Attestations

Version code 30059 v3.5.9

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

The log showed the profile being applied three times on every boot:

13:45:23 已应用预设: balanced
13:45:23 initrc 服务已应用预设 balanced
13:45:24 已应用预设: balanced
13:45:36 已应用预设: balanced

initrc applies once, service.sh applies again, and appwatch applies a third time on its first poll because it started with an empty last and saw a change.

Each apply walks a few dozen nodes. Three of them back to back is a noticeable chunk of the startup lag, and the third one lands half a minute after boot, which is exactly when things feel worst.

Changes:

  • a marker keyed by /proc/sys/kernel/random/boot_id, so only the first caller applies and the rest skip. Whatever starts first wins; order does not matter.
  • appwatch seeds last with the current base profile instead of an empty string, so startup no longer triggers a redundant apply.
  • post-fs-data removes the previous boot's marker.

Verified: same boot id applies once then skips, a new boot id applies again.

versionCode 30059.

Assets 1

KernelSU-Tuner-30059-v3.5.9.zip 104.8 KiB

SHA-256 234d6603200f5190de6c5135dbed2009e6dd5420d2e46f8017c149c06791825e · Attestations

Version code 30058 v3.5.8

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

This is the actual cause of the lag. The IO scheduler I changed last release was a real problem, but not the main one.

initrc starts KernelSU-Tuner_watch with appwatch.sh run directly, which skips the switch check that lives in the start branch. So with APPWATCH=0 the foreground polling kept running anyway. You can see it in the log you sent:

13:45:31 启动
13:45:36 默认 -> balanced
13:51:11 默认 -> performance

That is the appwatch loop, while the switch was off.

What it does every 3 seconds is dumpsys activity activities. That is one of the heaviest commands in Android and it holds the ActivityManager lock while it builds its output. The back gesture, launching WeChat, opening the WebUI all need that same lock, so everything waits a beat and then continues, over and over.

Fixes:

  • run_loop checks the switch itself now and exits immediately when it is off, so it cannot be started around the check any more.
  • the poll interval went from 3 seconds to 10.
  • fg_pkg tries dumpsys window first, which is far smaller. It only falls back to dumpsys activity activities if that returns nothing.

After installing, reboot. The old polling process belongs to the previous version and only goes away on restart.

versionCode 30058.

Assets 1

KernelSU-Tuner-30058-v3.5.8.zip 104.4 KiB

SHA-256 0c8095243b6fa0d219479736d37681f10b6871aa6e9eb091b9a48e930666d24f · Attestations

Version code 30057 v3.5.7

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

The IO scheduler was the main cause. Samsung ships ssg as the default scheduler on this device, and the module replaced it with none. Every block IO goes through that scheduler, so changing it makes everything feel one beat slower: back gesture, opening a chat, even loading the WebUI.

The scheduler is only replaced now if the current one is cfq or deadline, both old and long past their best. Vendor schedulers (ssg, none, mq-deadline, bfq, kyber) are left alone.

Each apply also restores the recorded original first, then decides whether to change anything. That means simply installing this and applying once puts ssg back for you; no manual revert needed.

Also in this build:

  • read_ahead_kb dropped a lot: 128 power save, 256 balanced, 512 performance, 1024 gaming. It used to write 2048 on performance, against a stock value of 128. Over-reading hurts random IO more than it helps.
  • performance and gaming keep walt if the kernel has it, instead of forcing performance. Samsung defaults to walt; forcing performance just builds heat and gets throttled later.
  • turning a switch off now actually restores the node. CPU_GOV, CPU_FREQ, IO_SCHED and READ_AHEAD restore their recorded originals when disabled. Before, disabling only stopped future writes, so anything already changed stayed changed, which is why flipping switches did nothing.

versionCode 30057.

Assets 1

KernelSU-Tuner-30057-v3.5.7.zip 103.9 KiB

SHA-256 85836756a1c513a3c355373e2f5688f3f68a0c4399f55ed9bfe91fa0e8ac78a6 · Attestations

Version code 30056 v3.5.6

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

Two things were making the S25 Ultra slow.

First, the balanced profile replaced the CPU governor. Samsung ships performance as the governor, and the balanced candidate list started with schedutil, so applying the balanced profile quietly downgraded the whole device. Balanced no longer touches the governor at all. Powersave still switches it, and performance/gaming still set performance.

Second, the IO tuning walked every entry under /sys/block. On this device that is 160 loop devices plus a couple of dozen dm-* mappings, so every apply wrote close to four hundred nodes. It now skips loop, dm, ram, zram and sr, and only touches real storage.

Verified against a mock of the S25 Ultra layout: after applying balanced, both clusters keep performance and their original frequency range.

If you already have it installed, either uninstall and reinstall cleanly, or run tuner.sh revert first so the old governor value goes back.

versionCode 30056.

Assets 1

KernelSU-Tuner-30056-v3.5.6.zip 103.3 KiB

SHA-256 a64b8f96d210e2e2797acfb2b31fad7f9e83b51e68d035039b8dace60c56147e · Attestations

Version code 30055 v3.5.5

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

Three switches were writing to the system even when turned off.

The thermal unlock switch, while off, forced every thermal_zone to enabled. That means each apply re-armed all the throttling limits even though you never asked for the unlock. It leaves them alone now.

Same pattern for the IPv6 switch: while off, it set disable_ipv6=0 on every interface. On a network where IPv6 does not actually work, the system tries it first and waits for the timeout before falling back, which makes things slower. It does nothing now, and the uninstall script behaves the same way.

The DNS preset pointed the system private DNS at dns.google on the performance profile. That does not resolve in China. It uses opportunistic now: encrypted when the network offers it, otherwise the carrier DNS, and it cannot break connectivity. Balanced and powersave stop touching that setting entirely; before they would turn off a private DNS you configured yourself.

versionCode 30055.

Assets 1

KernelSU-Tuner-30055-v3.5.5.zip 103.0 KiB

SHA-256 8af0742d675a3baf7b528a8221fd81f19b392530144f32e11d4b45f8af3e789b · Attestations

Version code 30054 v3.5.4

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

This fixes the slowdown reported on the Galaxy S25 Ultra, and it was my bug.

The frequency floor and ceiling were taken from the first and last entry of the kernel's frequency table. That assumes the table is sorted ascending. On kernels that list frequencies from high to low, max and min came out reversed, and every core ended up pinned to the lowest step. Reading the list is now order-independent: the real minimum and maximum are compared directly.

Running the same code against a descending table now gives min 800 MHz / max 1.8 GHz instead of 300 MHz for both.

Also in this build:

  • walt and sugov_ext added to the governor candidates. Qualcomm and Samsung kernels expose those, so the CPU governor switch was silently doing nothing there.
  • watermark_scale_factor lowered from 150 to 100. 150 makes the kernel start reclaiming with plenty of memory still free.
  • boot TRIM is off by default now. On large flash fstrim saturates IO for a minute or two after boot.
  • balanced no longer caps the GPU performance level at half.
  • removed three functions that were defined twice in tuner.sh, plus a duplicated frequency block.

If you are on 3.5.3 or older and your device feels slow, uninstall and reboot, then install this. Do not overwrite while the old config is still applying.

versionCode 30054.

Assets 1

KernelSU-Tuner-30054-v3.5.4.zip 102.6 KiB

SHA-256 b8a365774ed48f07b5d47500c6bf7d6f901a073be72bfb86cf8504516973eade · Attestations

Version code 30053 v3.5.3

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

Security work this release.

Custom parameters could write to a handful of nodes that either kill the device or run arbitrary code: /proc/sysrq-trigger, /proc/sys/kernel/core_pattern, /proc/sys/kernel/modprobe, /proc/sys/kernel/hotplug, /sys/kernel/uevent_helper, and the raw memory devices. Those are refused now.

The wipe guard missed several ways to erase a device: blkdiscard, sgdisk --zap, mke2fs, fdisk, parted, and dd aimed at /dev/mmcblk or /dev/nvme. A path containing .. could also slip past the allowlist. All covered now.

Backup import copied config values straight in, newlines included, so a crafted file could append extra keys to config.conf. Newlines are flattened to spaces now.

appwatch.sh set did not validate its arguments, so a package name containing | corrupted the rules file. It checks both the package name and the preset name now.

Two places in the WebUI read a value back out of a DOM attribute and pasted it into a shell command without quoting. Both are escaped now.

versionCode 30053.

Assets 1

KernelSU-Tuner-30053-v3.5.3.zip 102.3 KiB

SHA-256 bf4098b2a7b35eb6695694937d6555cf694ae3543f4877f5be7466aed4b83746 · Attestations

Version code 30052 v3.5.2

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

Config writes are atomic now. Four scripts still used sed -i followed by an append, which leaves a half-written config.conf if the write is interrupted. They all go through a temp file and a rename now.

User input reaching the shell is escaped. The custom parameter, backup import, preset name and per-app fields used to be wrapped in bare single quotes, so a value containing a quote broke the command. Input is escaped properly now.

tuner.sh and cfg.sh shared the same lock directory, so running both could stall one for up to 150 seconds. cfg.sh uses its own lock now.

versionCode 30052.

Assets 1

KernelSU-Tuner-30052-v3.5.2.zip 101.6 KiB

SHA-256 707a5a116bd14977ec62830a08fe59ad7ea505a30d24f8fa6fd9dafe1f5f0bb2 · Attestations

Version code 30051 v3.5.1

Download

Install through the KernelSU manager under Modules - Install from storage, then reboot.

Four of the daemons could not actually be turned off. autopilot, guard, appwatch and wipeshield all started unconditionally when asked, and the watchdog asks every five minutes. So turning one off in the WebUI lasted until the next watchdog pass. Each one now checks its own switch first and refuses to start when it is disabled.

The watchdog also looked for wipeshield.pid while the script writes shield.pid, so it never saw the wipe guard as running. That is mapped now.

The language button stored your choice but nothing ever read it back. Both interfaces now check it on load, so picking English actually sticks.

The released zip was missing module.yaml, the icons, both READMEs, the license and the changelog. That was true of every release since 3.1.0. It now contains the full tree, which also means the GPL text ships with the binary.

versionCode 30051.

Assets 1

KernelSU-Tuner-30051-v3.5.1.zip 100.8 KiB

SHA-256 976a5e794e2abafaa3af1d09421b8233327e1c9916588cdb5c2b38c446327923 · Attestations

Transparency

Tag
v3.6.0 Immutable release
Tag commit
cdc9c7630744
Content commit
fcd7135fe2c7
SHA-256
c620e975d52ade79bea8bdfbbe1ebecb4674f8465eef65b8ca58eeabc6975a4e
Last change synced

Verify it yourself

KernelSU Modules does not sign or audit modules. The SHA-256 only proves the download matches this index. Verify the release yourself with the GitHub CLI:

gh release verify v3.6.0 -R ylh440104/KernelSU-Tuner
gh release verify-asset v3.6.0 KernelSU-Tuner-30060-v3.6.0.zip -R ylh440104/KernelSU-Tuner