Commit Graph

471 Commits

Author SHA1 Message Date
I g o r
589616a5ed Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/pt_BR/
2025-06-29 15:48:44 +02:00
I g o r
0c26677594 Translated using Weblate (English)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/en/
2025-06-29 15:48:42 +02:00
Mehrab Poladov
788cf0ed31 Translated using Weblate (Azerbaijani)
Currently translated at 65.0% (91 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/az/
2025-06-28 15:06:19 +02:00
Hosted Weblate
ef567a3e9e Merge remote-tracking branch 'origin/main' 2025-06-27 08:17:38 +02:00
NkBe
9a64eaa930 manger: fix lkm detection (#2654)
原因请看
https://github.com/SukiSU-Ultra/SukiSU-Ultra/pull/217#issuecomment-3004461174

文中介绍的是lkm的问题 但实测下来gki也有这样的问题 但修复方法通用
2025-06-27 14:17:31 +08:00
sus
0454510827 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/zh_Hant/
2025-06-25 06:03:10 +00:00
cvnertnc
6b0c8b852f Translated using Weblate (Turkish)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/tr/
2025-06-17 19:01:57 +02:00
Kazuki Nakashima
bb0e3de2a9 Translated using Weblate (Thai)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/th/
2025-06-14 18:12:13 +02:00
Weblate (bot)
46101c5b36 Translations update from Hosted Weblate (#2587)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Co-authored-by: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝) <coool@mail.lv>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: rehork <cooky@e.email>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Potato <ammarmo723@gmail.com>
Co-authored-by: Mehrab Poladov <thepoladov@protonmail.com>
Co-authored-by: Infer <infer.thetpainghtet@outlook.com>
Co-authored-by: elisenlebkuch <mm7shdk2@duck.com>
Co-authored-by: Chou Chamnan <chou.chamnan.kh@gmail.com>
Co-authored-by: Phạm Ngọc Vũ <telekinesis3275@gmail.com>
2025-06-13 12:57:57 +08:00
Phạm Ngọc Vũ
18415cb279 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/vi/
2025-06-10 17:01:46 +00:00
Phạm Ngọc Vũ
ff32f89231 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/vi/
2025-05-28 18:06:04 +02:00
Phạm Ngọc Vũ
57a7e01ca4 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/vi/
2025-05-26 18:03:07 +02:00
Chou Chamnan
7a70fa4080 Translated using Weblate (Khmer (Central))
Currently translated at 3.5% (5 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/km/
2025-05-23 14:01:46 +02:00
Chou Chamnan
55fa98908a Added translation using Weblate (Khmer (Central)) 2025-05-22 13:35:29 +02:00
elisenlebkuch
db9ff74811 Translated using Weblate (German)
Currently translated at 93.5% (131 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/de/
2025-05-22 13:35:28 +02:00
Hosted Weblate
dcd4acdff0 Merge remote-tracking branch 'origin/main' 2025-05-20 10:10:19 +02:00
ShirkNeko
d8ce238c37 Add a formatting string for the update list #2556 (#2597)
Fix module update failures caused by spaces and other non Linux readable
characters


Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
2025-05-20 16:10:12 +08:00
Infer
3e272090dc Added translation using Weblate (Burmese) 2025-05-18 20:21:22 +02:00
Wang Han
c5d8c5676d Fix fallback option for createRootShell() (#2593) 2025-05-17 20:24:27 +08:00
Weblate (bot)
fb42587387 Translations update from Hosted Weblate (#2558)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Co-authored-by: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝) <coool@mail.lv>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: rehork <cooky@e.email>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Potato <ammarmo723@gmail.com>
Co-authored-by: Mehrab Poladov <thepoladov@protonmail.com>
2025-05-16 00:50:34 +08:00
Faris
2d6890ce05 manager: hide root related features if kernelsu not available (#2555)
Without KernelSU installed, root-related features did not take any
effect. So, better to hide it.

Improving this pr:
https://github.com/tiann/KernelSU/pull/2483

Also attempt to address this:
https://github.com/tiann/KernelSU/pull/2483#issuecomment-2692048907

Tested-by: Faris <90097027+rsuntk@users.noreply.github.com>

Co-authored-by: Rifat Azad <33044977+rifsxd@users.noreply.github.com>

---------

Signed-off-by: Faris <90097027+rsuntk@users.noreply.github.com>
Co-authored-by: Rifat Azad <33044977+rifsxd@users.noreply.github.com>
2025-05-03 22:07:47 +08:00
Wang Han
ad004d48bf Fix opuls -> oplus typo (#2536) 2025-04-09 09:06:56 +08:00
Wang Han
fcfe038532 Avoid popping back stack right after navigation (#2477)
This fixes https://github.com/tiann/KernelSU/issues/2462.
2025-02-27 09:47:50 +08:00
Weblate (bot)
985cd1f015 Translations update from Hosted Weblate (#2425)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Co-authored-by: weishu tian <twsxtd@gmail.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
2025-02-24 12:20:40 +08:00
Rifat Azad
7a6ec8b284 manager: allow multiple modules to be installed sequentially (#2459)
It's now okay to merge
2025-02-23 12:10:58 +08:00
Js0n
6936520515 fix: crash #2463 (#2465)
my bad
2025-02-22 18:30:13 +08:00
Js0n
1f2f4136e6 feat: properly set OkHttp header (#2463)
properly send `User-Agent` and `Accept-Language` to `updateJson` server,
module developers can check `User-Agent` whether to send update to user
and set user preferred language for changelog.

also added cache to reduce update server load
2025-02-22 15:18:00 +08:00
Wang Han
f33b12cd52 Provide TMPDIR for boot image repacking (#2458)
/data/local/tmp is never writable for normal apps, why previously it
works is that Rust's temp_dir() gets path from env, and since A13,
TMPDIR is set to app's cache dir. This is not the case for A12, so it
breaks. Fix it by set TMPDIR ourselves.
2025-02-21 11:09:02 +08:00
weishu
107a34789e manager: refine flashing module utilities 2025-02-20 20:56:21 +08:00
Wang Han
eeffecbd1b Allow toggling unmount setting for all apps (#2450)
This fixes https://github.com/tiann/KernelSU/issues/2416.
2025-02-18 11:07:52 +08:00
weishu
4593ae81c7 kernel: Allow to re-enable sucompat 2025-02-16 21:33:26 +08:00
weishu
9bb39ff760 manager: Add support to disable sucompat mode. 2025-02-16 19:35:35 +08:00
Wang Han
32f84dcb1f Hide namespace config in app profiles (#2426)
This is never implemented in kernel (and likely never will be), so let's
remove it from UI for now to avoid misleading users.
2025-02-09 21:26:04 +08:00
weishu
de2100e1e9 manager: Create a new root shell for action.sh to avoid blocking the global root shell. 2025-02-06 19:28:01 +08:00
Weblate (bot)
7b0876d7e8 Translations update from Hosted Weblate (#2376)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: Astoritin Ambrosius <TakasugiMerlan@outlook.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: 김강민 <bookwormkkm00@gmail.com>
Co-authored-by: 淡い夏 <93428659+lightsummer233@users.noreply.github.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Co-authored-by: Pang YS <devbx@proton.me>
Co-authored-by: NEURAX <1603528439@qq.com>
Co-authored-by: rehork <cooky@e.email>
Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Co-authored-by: weishu tian <twsxtd@gmail.com>
2025-02-05 13:43:13 +08:00
changhuapeng
1728c6dc61 manager: Disable interactions for uninstalled & disabled module (#2380)
Uninstalled module has no enabled interactions (e.g. run action script,
open webui, update).
Disabled module cannot run action script or open webui.
2025-01-25 20:01:18 +08:00
Weblate (bot)
fa8b3bf29c Translations update from Hosted Weblate (#2341)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: Astoritin Ambrosius <TakasugiMerlan@outlook.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: 김강민 <bookwormkkm00@gmail.com>
Co-authored-by: 淡い夏 <93428659+lightsummer233@users.noreply.github.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Co-authored-by: Pang YS <devbx@proton.me>
2025-01-24 19:29:51 +08:00
Weblate (bot)
0da9b123fa Translations update from Hosted Weblate (#2174)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: 孟武尼德霍格龍 <7708801314520.tony@gmail.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: rehork <cooky@e.email>
Co-authored-by: Caner Karaca <canerkaraca_23@hotmail.com>
Co-authored-by: hsfg6 <hsfg6@proton.me>
Co-authored-by: Krisztián Molnár <krisztian.molnar94@gmail.com>
Co-authored-by: Kanbi Dungaitj <genshoopen+public@gmail.com>
Co-authored-by: Rene Schimmelpfennig <r.schimmelpfennig@gmail.com>
Co-authored-by: Rem01Gamingf3be1ce80d8a4e1b <wisnugunawan2008@gmail.com>
Co-authored-by: Inches Hwang <me@coldified.dev>
Co-authored-by: magisk-for-arm <lin666_666@outlook.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
2025-01-07 13:53:32 +08:00
5ec1cff
0a617959f9 manager: support search module list (#2331) 2024-12-31 16:30:58 +08:00
bryanyee33
d3ed55f1eb manager: module: refresh after webui usage (#2317)
- This commit fixes issue tiann#2250


https://github.com/user-attachments/assets/19dcca12-cb34-4e6e-88b4-72c26c2773f3

Tested by: backslashxx <118538522+backslashxx@users.noreply.github.com>
2024-12-26 16:10:16 +08:00
Michelle Rodriguez
2e2d9b9c04 manager: Add sort options on module's appbar (#2308)
module list will be sorted by options when these are enabled:

![83d5cd3d23b8f6c36b52e731f5e21a97](https://github.com/user-attachments/assets/eaadc1a3-21c6-4b73-a55f-206b6faa7d2d)
It will be very friendly and convenient  when manager has many modules.
2024-12-25 19:48:28 +08:00
bryanyee33
18ba8cc719 Imitate terminal clear command in manager (#2307)
The current implementation of KSU manager's output screen simply prints
`[H[J` when the `clear` command is used (in both the flashing module &
action button screen) instead of clearing the screen:
<img
src="https://github.com/user-attachments/assets/c30ceb87-13ac-4ba6-a7c5-045564e83181"
width="300" />

This limits the ability of shell scripts to purely textual & linear
outputs, and prevents more flexible outputs such as a refreshing
progress bar or even a progress circle for long running scripts. The
current implementation moreover limits the output to 65536 bytes for the
String `text`, causing the app to hang once this limit has been reached
for scripts with more verbose outputs.

This PR fixes these issues by allowing for usage of the `clear` command
in shell scripts to clear the screen. It works by checking if the
current output line starts with "", which is the default output of
the `clear` command in KSU's busybox, and clears the previous outputs if
there is a match. This should work universally since the `clear` command
defaults to this implementation when ran in KSU manager.

A working example can be seen below, where the `clear` command is
heavily used (24 times a second) to test for performance & reliability
of the code:


https://github.com/user-attachments/assets/c45fb6f1-1b40-4b67-8837-4d9a00429715

Tested-by: backslashxx
2024-12-25 10:26:34 +08:00
silvzr
29e2b9fac7 Minor UI improvements (#2305)
**Changes**
1. With the addition of the Action button the module card feels pretty
bloated when all of them are present at the same time.

![Screenshot_20241220-221644_KernelSU](https://github.com/user-attachments/assets/c8d7ce07-0cb2-43a0-aea2-95864d2bd018)
To improve it we can use icons only instead of text since they take less
space; this also means adding an icon for Update and Uninstall buttons.

![Screenshot_20241220-220450_KernelSU](https://github.com/user-attachments/assets/2991f7fa-71f8-49b9-872c-ca0d9a8bf373)
Below are displayed other possible behaviors when not all of them are
present:

![Screenshot_20241220-221227_KernelSU](https://github.com/user-attachments/assets/b61374e6-00c4-4216-9c0f-21c60301b22b)

![Screenshot_20241220-221214_KernelSU](https://github.com/user-attachments/assets/6df3535f-b451-4053-9b86-928a282a943f)

![Screenshot_20241220-220428_KernelSU](https://github.com/user-attachments/assets/6eebd4d3-956b-46b3-a402-9e09954a46c8)
Since the Update button appears less frequently than the others, make it
always display its text unless both Action and WebUI are present.

![Screenshot_20241220-221401_KernelSU](https://github.com/user-attachments/assets/3ff8ce6d-80b9-4bdd-b66a-04dd6a5e44ca)

2. Minor change to avoid possible missclicks caused by smaller buttons.
Enabling and disabling modules is pretty rare by itself and considering
overlayfs isn't as fast as magic mount a missclick often feels pretty
punishing.

3. The commit 7b3e732 readded transitions to all sections but I noticed
they were missing from Home. With the help of @rifsxd I found out it was
cause of the lag generated by the install function, which is called
everytime you go to Home. Since installing magiskboot multiple times
isn't needed, moving it to MainActivity ensures it's executed on app
launch only avoiding unnecessary lag.

Tested-by: backslashxx 118538522+backslashxx@users.noreply.github.com

---------

Co-authored-by: changhuapeng <9205678+changhuapeng@users.noreply.github.com>
Co-authored-by: Rifat Azad <33044977+rifsxd@users.noreply.github.com>
2024-12-22 21:45:29 +08:00
silvzr
e4e34df9ca manager: Reset search filter after moving from SuperUser destination (#2204)
By default there's an annoying behaviour for which the manager leaves
the search filter after changing destination without even showing the
search bar anymore. Fix that and reset the list to the top instead of
leaving it at the searched app's height


https://github.com/user-attachments/assets/268672af-ced9-4293-81df-4e1c7ef33489
original behaviour



https://github.com/user-attachments/assets/b9b318cf-273a-4130-b199-712e99f6ed72
changed behaviour

Tested-by: backslashxx
[118538522+backslashxx@users.noreply.github.com](mailto:118538522+backslashxx@users.noreply.github.com)
2024-11-11 20:51:13 +08:00
Rissu
0f81c41537 manager: Fix not refreshing after action button was pressed (#2201)
- This commit fix issue #2171


Tested-by: backslashxx <118538522+backslashxx@users.noreply.github.com>

---------

Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2024-11-11 19:11:34 +08:00
Light_summer
b7b704ede7 manager: Fix save log (#2170)
https://github.com/user-attachments/assets/69467e00-0af9-4d46-add8-e24e767462bd

Use `ContextCompat` in `DownloadListener`
Bump ksp to `2.0.21-1.0.26`
Misc changes (See the
[commit](1fb49d918a)
directly)
2024-10-31 18:06:11 +08:00
Weblate (bot)
deb2f5cfe2 Translations update from Hosted Weblate (#2065)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: SchweGELBin <abramjannikmichael06@gmail.com>
Co-authored-by: Karl Schrader <pokemetti@gmail.com>
Co-authored-by: Dawid2849 <dawid2849@gmail.com>
Co-authored-by: Iker García Calviño <72529208+ikergcalvino@users.noreply.github.com>
Co-authored-by: Madis Otenurm <robotkoer@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: rehork <cooky@e.email>
2024-10-29 14:00:29 +08:00
铃柒柒
aefb1aaed2 manager: Add action.sh for user to manually trigger modules' functionality from manager (#2156)
Commits:
- manager: Add `action.sh` for user to manually trigger modules'
functionality from manager
- manager: Optimize ModuleItem
- manager: uninstall button: TextButton -> FilledTonalButton
- Optimize `run_action` function

Commit Author & Thank:
- @lightsummer233
- @lingqiqi5211
- [APatch](https://github.com/bmax121/APatch)

Demo Show:

![image](https://github.com/user-attachments/assets/a5778a86-fa60-485f-ac49-2b581711f60e)

---------

Co-authored-by: Light summer <93428659+lightsummer233@users.noreply.github.com>
2024-10-27 10:07:13 +01:00
Light_summer
7b3e732404 manager: Bump dependencies, Adjust pull refresh UI, Add transitions back (#2139)
Bump dependencies


| Add transitions back for predictive back | Fix SnackBar overlap on FAB
& Make SnackBar can dismiss
| :-- | :-- |
|
![Screenshot_20241016-235706](https://github.com/user-attachments/assets/f2718523-9800-42ff-ad2f-ad8583c56be7)
|
![Screenshot_20241018-220552](https://github.com/user-attachments/assets/ed53338b-1ac4-4d0a-a5fb-7056f81cac18)
|

Use `androidx.compose.material3.pulltorefresh.PullToRefreshBox` instead
of `androidx.compose.material.pullrefresh.*`
| Before | After |
| --: | --: |
|
![Screenshot_20241016-234930](https://github.com/user-attachments/assets/6b9dbb87-627b-4a02-8f77-9f9f81ae1b4a)
|
![Screenshot_20241016-235336](https://github.com/user-attachments/assets/9134dde4-93c8-4f85-8540-56a7c5a1b0af)
|

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-19 08:40:02 +08:00
Shatyuka
05a90542c6 manager: detect init_boot with Android version in uname (#2142)
Redmi Note 12 Turbo (marble) comes shipped with Android 13, but the
baseline/kernel target version is Android 12.

```
# getprop | grep api_level
[ro.board.api_level]: [31]
[ro.board.first_api_level]: [31]
[ro.product.first_api_level]: [33]
[ro.vendor.api_level]: [31]
# uname -a
Linux localhost 5.10.198-android12-9-00085-g226a9632f13d-ab11136126 #1 SMP PREEMPT Wed Nov 22 14:16:37 UTC 2023 aarch64 Toybox
```

Maybe we should use `ro.board.first_api_level` instead of
`ro.product.first_api_level`, or the minimum value. But anyway, it's
better to be consistent with ksud.

2f9210b2e7/userspace/ksud/src/boot_patch.rs (L407)
2024-10-17 19:46:25 +08:00